From: Roland Hieber Date: Mon, 24 Aug 2009 01:23:07 +0000 (+0200) Subject: fixed translation of Insert button in index.php X-Git-Tag: REL_9.08.24~3 X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/commitdiff_plain/3794ba5084980f2c3abe9c6a7d2a63c718d79165 fixed translation of Insert button in index.php --- diff --git a/lang/mod_error-reporter.po b/lang/mod_error-reporter.po index c0bb92a..e206bd0 100644 --- a/lang/mod_error-reporter.po +++ b/lang/mod_error-reporter.po @@ -181,3 +181,6 @@ msgstr "error-reporter:alle Benutzer" msgid "error-reporter:no users" msgstr "error-reporter:keine Benutzer" + +msgid "error-reporter:Submit" +msgstr "error-reporter:Absenden" diff --git a/src/index.php b/src/index.php index a2a5ece..559fb42 100644 --- a/src/index.php +++ b/src/index.php @@ -98,7 +98,7 @@ if($getAction == "delete" and isset($getUid)) { echo sprintf("
\n", $_SERVER["PHP_SELF"]); // probably we have to insert an error report -if(($getAction == "submit" and $postSubmit == _("Insert"))) +if(($getAction == "submit" and $postSubmit == _c("error-reporter:Submit"))) { // All fields must be filled out if((trim($postMachine) == "") or (trim($postText) == "")) { @@ -165,7 +165,7 @@ echo sprintf("". - "d>\n", _("Insert")); + "\n", _c("error-reporter:Submit")); echo "

\n"; _PageBlue();