Renamed message send buttons

closes #702 (Sending a message and an irritating button)
main
Igor Scheller 5 years ago
parent a8333dd4d5
commit dfcacaa331

@ -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'),

@ -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'))
] ]
]; ];

@ -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);
} }

@ -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"

Loading…
Cancel
Save