fixed translation of Insert button in index.php
authorRoland Hieber <devnull@localhost>
Mon, 24 Aug 2009 01:23:07 +0000 (03:23 +0200)
committerRoland Hieber <devnull@localhost>
Mon, 24 Aug 2009 01:23:07 +0000 (03:23 +0200)
lang/mod_error-reporter.po
src/index.php

index c0bb92a..e206bd0 100644 (file)
@@ -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"
index a2a5ece..559fb42 100644 (file)
@@ -98,7 +98,7 @@ if($getAction == "delete" and isset($getUid)) {
 echo sprintf("<form action='%s' method='get'></form>\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("<tr><td /><td><input type='hidden' name='hidden' ".
   "Visible only for administrators (use this if your report is about security ".
   "issues)"));
 echo sprintf("<tr><td /><td><input type='submit' name='submit' value='%s' />".
-  "d></tr>\n", _("Insert"));
+  "</td></tr>\n", _c("error-reporter:Submit"));
 echo "</table></form><p />\n";
 
 _PageBlue();
This page took 0.02817 seconds and 4 git commands to generate.