Make send button translatable

This commit is contained in:
2023-02-22 17:57:11 +01:00
parent 4ff1c42b97
commit 2c5ddcc29f
2 changed files with 18 additions and 14 deletions

View File

@ -38,7 +38,7 @@ echo htmlspecialchars($_POST['real_subj'] ?? '');
echo htmlspecialchars($_POST['msg'] ?? ''); echo htmlspecialchars($_POST['msg'] ?? '');
?></textarea></label><br> ?></textarea></label><br>
<label><input type="checkbox" name="accept_privacy" required<?php echo isset($_REQUEST['accept_privacy']) ? ' checked' : ''; ?>><?php echo _('I have read and agreed to the <a href="/privacy.php" target="_blank">Privacy Policy</a>'); ?></label><br> <label><input type="checkbox" name="accept_privacy" required<?php echo isset($_REQUEST['accept_privacy']) ? ' checked' : ''; ?>><?php echo _('I have read and agreed to the <a href="/privacy.php" target="_blank">Privacy Policy</a>'); ?></label><br>
<input type="submit" name="action" value="Send"></form><br> <button type="submit" name="action"><?php echo _('Send'); ?></button></form><br>
<?php <?php
if($_SERVER['REQUEST_METHOD']==='POST'){ if($_SERVER['REQUEST_METHOD']==='POST'){
$subject='Formmail'; $subject='Formmail';

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-14 10:40+0100\n" "POT-Creation-Date: 2023-02-22 17:56+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -39,7 +39,7 @@ msgstr ""
msgid "Daniel" msgid "Daniel"
msgstr "" msgstr ""
#: index.php:27 common.php:117 #: index.php:27 common.php:121
msgid "Home" msgid "Home"
msgstr "" msgstr ""
@ -87,7 +87,7 @@ msgid ""
"this site" "this site"
msgstr "" msgstr ""
#: about.php:29 common.php:125 #: about.php:29 common.php:129
msgid "About" msgid "About"
msgstr "" msgstr ""
@ -227,7 +227,7 @@ msgid "Home hosted: 4 Raspberry Pi 4 with the main site and data"
msgstr "" msgstr ""
#: github-ipv6-proxy.php:6 github-ipv6-proxy.php:20 github-ipv6-proxy.php:30 #: github-ipv6-proxy.php:6 github-ipv6-proxy.php:20 github-ipv6-proxy.php:30
#: github-ipv6-proxy.php:33 common.php:123 #: github-ipv6-proxy.php:33 common.php:127
msgid "GitHub IPv6 proxy" msgid "GitHub IPv6 proxy"
msgstr "" msgstr ""
@ -319,7 +319,7 @@ msgstr ""
msgid "Contact Daniel Winzen" msgid "Contact Daniel Winzen"
msgstr "" msgstr ""
#: contact.php:27 common.php:127 #: contact.php:27 common.php:131
msgid "Contact" msgid "Contact"
msgstr "" msgstr ""
@ -351,6 +351,10 @@ msgid ""
"target=\"_blank\">Privacy Policy</a>" "target=\"_blank\">Privacy Policy</a>"
msgstr "" msgstr ""
#: contact.php:41
msgid "Send"
msgstr ""
#: contact.php:57 #: contact.php:57
msgid "You filled out the honeypot field :( Are you a human?" msgid "You filled out the honeypot field :( Are you a human?"
msgstr "" msgstr ""
@ -638,35 +642,35 @@ msgid ""
"Sorry guys, only considering females." "Sorry guys, only considering females."
msgstr "" msgstr ""
#: common.php:118 #: common.php:122
msgid "Chat" msgid "Chat"
msgstr "" msgstr ""
#: common.php:119 #: common.php:123
msgid "Online-Test" msgid "Online-Test"
msgstr "" msgstr ""
#: common.php:120 #: common.php:124
msgid "Onion link list" msgid "Onion link list"
msgstr "" msgstr ""
#: common.php:121 #: common.php:125
msgid "E-Mail + XMPP" msgid "E-Mail + XMPP"
msgstr "" msgstr ""
#: common.php:122 tutorials/index.php:27 #: common.php:126 tutorials/index.php:27
msgid "Tutorials" msgid "Tutorials"
msgstr "" msgstr ""
#: common.php:124 #: common.php:128
msgid "FAQ" msgid "FAQ"
msgstr "" msgstr ""
#: common.php:126 #: common.php:130
msgid "Privacy" msgid "Privacy"
msgstr "" msgstr ""
#: common.php:138 #: common.php:142
msgid "Add translation" msgid "Add translation"
msgstr "" msgstr ""