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

View File

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

View File

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

View File

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