]> source.dussan.org Git - nextcloud-server.git/commitdiff
translatable categories and other translations added
authorGeorg Ehrke <georg.stefan.germany@googlemail.com>
Fri, 9 Sep 2011 18:39:38 +0000 (20:39 +0200)
committerGeorg Ehrke <georg.stefan.germany@googlemail.com>
Fri, 9 Sep 2011 18:39:38 +0000 (20:39 +0200)
apps/calendar/ajax/newevent.php
apps/calendar/l10n/de.php
apps/calendar/templates/part.choosecalendar.php
apps/calendar/templates/part.newevent.php

index f3b95aae4bac81a9ae306d7ceb85217d6d33abda..827cfa014a941242e6153dc95cd68ca88d184c1c 100644 (file)
@@ -144,7 +144,7 @@ if($errnum != 0){
                $des = str_replace("\n","\\n", $description);
                $data .= "DESCRIPTION:" . $des . "\n";
        }
-       if($cat != "none"){
+       if($cat != $l->t("None")){
                $data .= "CATEGORIES:" . $cat . "\n";
        }
        if($repeat == "true"){
index 325a323d57ab2852198844a860048733e52e915e..7bebba206959d53932be1ebee0f3852d21e3b802 100644 (file)
@@ -12,7 +12,8 @@
 "Attendees" => "Teilnehmer",
 "Description" => "Beschreibung",
 "Submit" => "Speichern",
-"Reset" => "Zurücksetzen",
+"Save" => "Speichern",
+"Cancel" => "Abbrechen",
 "Title" => "Titel",
 "Sunday" => "Sonntag",
 "Monday" => "Montag",
 "Monthly" => "Monatlich",
 "Yearly" => "Jährlich",
 "Description of the Event" => "Beschreibung des Termins",
-"" => "",
+"None" => "Keine",
+"Birthday" => "Geburtstag",
+"Business" => "Geschäftlich",
+"Call" => "Anrufen",
+"Clients" => "Kunden",
+"Deliverer" => "Lieferanten",
+"Holidays" => "Ferien",
+"Ideas" => "Ideen",
+"Journey" => "Reise",
+"Jubilee" => "Jubiläum",
+"Meeting" => "Treffen",
+"Other" => "Andere",
+"Personal" => "Persönlich",
+"Projects" => "Projekte",
+"Questions" => "Fragen",
+"Work" => "Arbeit",
+"New Calendar" => "Neuer Kalendar",
+"Displayname" => "Anzeigename",
+"Calendar color" => "Kalendarfarbe",
 "" => "",
 "" => ""
 );
index 500e0a4ca21dfcfe5c464d35024a67ef63956e2d..82bd1ff5ab3963a2294c9f0aa70169e5f1d07fab 100644 (file)
@@ -17,7 +17,7 @@ for($i = 0; $i < count($option_calendars); $i++){
 </tr>
 <tr>
        <td colspan="4">
-               <input style="display:none;width: 90%;margin: 0 auto;" type="text" id="caldav_url" onmouseover="document.getElementById('caldav_url').select();" title="<?php echo $l->t("CalDav Link"); ?>">
+               <p style="margin: 0 auto;width: 90%;"><input style="display:none;width: 90%;float: left;" type="text" id="caldav_url" onmouseover="document.getElementById('caldav_url').select();" title="<?php echo $l->t("CalDav Link"); ?>"><img id="caldav_url_close" style="height: 20px;vertical-align: middle;display: none;" src="../../core/img/actions/delete.svg" alt="close" onclick="document.getElementById('caldav_url').style.display = 'none';document.getElementById('caldav_url_close').style.display = 'none';"/></p>
        </td>
 </tr>
 </table>
@@ -37,5 +37,6 @@ for($i = 0; $i < count($option_calendars); $i++){
        function showcaldavurl(username, calname){
                document.getElementById("caldav_url").value = totalurl + "/" + username + "/" + calname;
                document.getElementById("caldav_url").style.display = "block";
+               document.getElementById("caldav_url_close").style.display = "block";
        }
 </script>
index 692be344dec02b7cff3bf2e880df3564493bc32c..6260f2337ef879383a4ba7ddccfd12cc469a6a03 100644 (file)
                        <td width="75px"><?php echo $l -> t("Category");?>:</td>
                        <td>
                        <select class="formselect" id="formcategorie_select" style="width:140px;" id="newevent_cat">
-                               <option>none</option>
-                               <option>Birthday</option>
-                               <option>Business</option>
-                               <option>Call</option>
-                               <option>Clients</option>
-                               <option>Customer</option>
-                               <option>Deliverer</option>
-                               <option>Holidays</option>
-                               <option>Ideas</option>
-                               <option>Journey</option>
-                               <option>Jubilee</option>
-                               <option>Meeting</option>
-                               <option>Other</option>
-                               <option>Personal</option>
-                               <option>Projects</option>
-                               <option>Questions</option>
-                               <option>Work</option>
+                               <option><?php echo $l->t("None"); ?></option>
+                               <option><?php echo $l->t("Birthday"); ?></option>
+                               <option><?php echo $l->t("Business"); ?></option>
+                               <option><?php echo $l->t("Call"); ?></option>
+                               <option><?php echo $l->t("Clients"); ?></option>
+                               <option><?php echo $l->t("Deliverer"); ?></option>
+                               <option><?php echo $l->t("Holidays"); ?></option>
+                               <option><?php echo $l->t("Ideas"); ?></option>
+                               <option><?php echo $l->t("Journey"); ?></option>
+                               <option><?php echo $l->t("Jubilee"); ?></option>
+                               <option><?php echo $l->t("Meeting"); ?></option>
+                               <option><?php echo $l->t("Other"); ?></option>
+                               <option><?php echo $l->t("Personal"); ?></option>
+                               <option><?php echo $l->t("Projects"); ?></option>
+                               <option><?php echo $l->t("Questions"); ?></option>
+                               <option><?php echo $l->t("Work"); ?></option>
                        </select></td>
                        <td width="75px">&nbsp;&nbsp;&nbsp;<?php echo $l -> t("Calendar");?>:</td>
                        <td>