Renamed message send buttons

closes #702 (Sending a message and an irritating button)
This commit is contained in:
Igor Scheller 2020-04-07 21:14:14 +02:00
parent a8333dd4d5
commit dfcacaa331
4 changed files with 7 additions and 3 deletions

View File

@ -52,7 +52,7 @@ function admin_questions()
'question' => nl2br(htmlspecialchars($question->text)), 'question' => nl2br(htmlspecialchars($question->text)),
'answer' => form([ 'answer' => form([
form_textarea('answer', '', ''), form_textarea('answer', '', ''),
form_submit('submit', __('Save')) form_submit('submit', __('Send'))
], page_link_to('admin_questions', ['action' => 'answer', 'id' => $question->id])), ], page_link_to('admin_questions', ['action' => 'answer', 'id' => $question->id])),
'actions' => form([ 'actions' => form([
form_submit('submit', __('delete'), 'btn-xs'), form_submit('submit', __('delete'), 'btn-xs'),

View File

@ -66,7 +66,7 @@ function user_messages()
'from' => User_Nick_render($user), 'from' => User_Nick_render($user),
'to' => $to_select, 'to' => $to_select,
'text' => form_textarea('text', '', ''), 'text' => form_textarea('text', '', ''),
'actions' => form_submit('submit', __('Save')) 'actions' => form_submit('submit', __('Send'))
] ]
]; ];

View File

@ -59,7 +59,7 @@ function Questions_view(array $open_questions, array $answered_questions, $ask_a
heading(__('Ask the Heaven'), 2), heading(__('Ask the Heaven'), 2),
form([ form([
form_textarea('question', __('Your Question:'), ''), form_textarea('question', __('Your Question:'), ''),
form_submit('submit', __('Save')) form_submit('submit', __('Send'))
], $ask_action) ], $ask_action)
], true); ], true);
} }

View File

@ -1695,6 +1695,10 @@ msgstr "Nachrichten"
msgid "Select recipient..." msgid "Select recipient..."
msgstr "Empfänger auswählen..." 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 #: includes/pages/user_messages.php:61 includes/pages/user_messages.php:75
msgid "Y-m-d H:i" msgid "Y-m-d H:i"
msgstr "d.m.Y H:i" msgstr "d.m.Y H:i"