From dfcacaa3314b4b3f19bfc382e5486447f35b9698 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Tue, 7 Apr 2020 21:14:14 +0200 Subject: [PATCH] Renamed message send buttons closes #702 (Sending a message and an irritating button) --- includes/pages/admin_questions.php | 2 +- includes/pages/user_messages.php | 2 +- includes/view/Questions_view.php | 2 +- resources/lang/de_DE/default.po | 4 ++++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/includes/pages/admin_questions.php b/includes/pages/admin_questions.php index 24a818a8..0e341ef8 100644 --- a/includes/pages/admin_questions.php +++ b/includes/pages/admin_questions.php @@ -52,7 +52,7 @@ function admin_questions() 'question' => nl2br(htmlspecialchars($question->text)), 'answer' => form([ form_textarea('answer', '', ''), - form_submit('submit', __('Save')) + form_submit('submit', __('Send')) ], page_link_to('admin_questions', ['action' => 'answer', 'id' => $question->id])), 'actions' => form([ form_submit('submit', __('delete'), 'btn-xs'), diff --git a/includes/pages/user_messages.php b/includes/pages/user_messages.php index 2485514d..4b611fbc 100644 --- a/includes/pages/user_messages.php +++ b/includes/pages/user_messages.php @@ -66,7 +66,7 @@ function user_messages() 'from' => User_Nick_render($user), 'to' => $to_select, 'text' => form_textarea('text', '', ''), - 'actions' => form_submit('submit', __('Save')) + 'actions' => form_submit('submit', __('Send')) ] ]; diff --git a/includes/view/Questions_view.php b/includes/view/Questions_view.php index 61f9f312..82ca8eb9 100644 --- a/includes/view/Questions_view.php +++ b/includes/view/Questions_view.php @@ -59,7 +59,7 @@ function Questions_view(array $open_questions, array $answered_questions, $ask_a heading(__('Ask the Heaven'), 2), form([ form_textarea('question', __('Your Question:'), ''), - form_submit('submit', __('Save')) + form_submit('submit', __('Send')) ], $ask_action) ], true); } diff --git a/resources/lang/de_DE/default.po b/resources/lang/de_DE/default.po index 77fb5c88..20299c2c 100644 --- a/resources/lang/de_DE/default.po +++ b/resources/lang/de_DE/default.po @@ -1695,6 +1695,10 @@ msgstr "Nachrichten" msgid "Select recipient..." msgstr "Empfänger auswählen..." +#: includes/pages/user_messages.php:49 +msgid "Send" +msgstr "Senden" + #: includes/pages/user_messages.php:61 includes/pages/user_messages.php:75 msgid "Y-m-d H:i" msgstr "d.m.Y H:i"