I18n string fixes
authordahanc <dahanc@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Jan 2002 06:08:00 +0000 (06:08 +0000)
committerdahanc <dahanc@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Jan 2002 06:08:00 +0000 (06:08 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2217 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/calendar/event_delete.php
plugins/calendar/event_edit.php

index b771861..7ad4eaa 100644 (file)
@@ -48,14 +48,14 @@ function confirm_deletion()
          "       <INPUT TYPE=HIDDEN NAME=\"dhour\" VALUE=\"$dhour\">\n".
          "       <INPUT TYPE=HIDDEN NAME=\"dminute\" VALUE=\"$dminute\">\n".
          "       <INPUT TYPE=HIDDEN NAME=\"confirmed\" VALUE=\"yes\">\n".
-         "       <INPUT TYPE=SUBMIT VALUE=\"Yes\">\n".
+         '       <INPUT TYPE=SUBMIT VALUE="' . _("Yes") . "\">\n".
          "    </FORM>\n".
          "    </TD><TD ALIGN=LEFT BGCOLOR=\"$color[4]\">\n".
          "    <FORM NAME=\"nodelevent\" METHOD=POST ACTION=\"day.php\">\n".
          "       <INPUT TYPE=HIDDEN NAME=\"year\" VALUE=\"$year\">\n".
          "       <INPUT TYPE=HIDDEN NAME=\"month\" VALUE=\"$month\">\n".
          "       <INPUT TYPE=HIDDEN NAME=\"day\" VALUE=\"$day\">\n".
-         "       <INPUT TYPE=SUBMIT VALUE=\"No\">\n".
+         '       <INPUT TYPE=SUBMIT VALUE="' . _("No") . "\">\n".
          "    </FORM>\n".
          "    </TD></TR>\n".
          "  </TABLE>\n";
@@ -87,7 +87,8 @@ if (isset($dyear) && isset($dmonth) && isset($dday) && isset($dhour) && isset($d
     if (isset($confirmed)){
         delete_event("$dmonth$dday$dyear", "$dhour$dminute");
         echo '<br><br>' . _("Event deleted!") . "<BR>\n";
-        echo "<A HREF=\"day.php?year=$year&month=$month&day=$day\">Day View</A>\n";
+        echo "<A HREF=\"day.php?year=$year&month=$month&day=$day\">" .
+          _("Day View") . "</A>\n";
     } else {
         readcalendardata();
         confirm_deletion();
@@ -98,4 +99,4 @@ if (isset($dyear) && isset($dmonth) && isset($dday) && isset($dhour) && isset($d
 
 ?>
 </table></td></tr></table>
-</body></html>
\ No newline at end of file
+</body></html>
index de5e156..8c8fdfa 100644 (file)
@@ -184,7 +184,7 @@ if (!isset($updated)){
         confirm_update();
     } else {
         update_event("$month$day$year", "$hour$minute");
-        echo "<tr><td>Event updated!</td></tr>\n";
+        echo "<tr><td>" . _("Event updated!") . "</td></tr>\n";
         echo "<tr><td><A HREF=\"day.php?year=$year&month=$month&day=$day\">" . 
         _("Day View") ."</A></td></tr>\n";
         $fixdate = date( 'mdY', mktime(0, 0, 0, $event_month, $event_day, $event_year));
@@ -205,4 +205,4 @@ if (!isset($updated)){
 
 ?>
 </table></td></tr></table>
-</body></html>
\ No newline at end of file
+</body></html>