translatable categories and other translations added

This commit is contained in:
Georg Ehrke 2011-09-09 20:39:38 +02:00
parent f031e308cd
commit 80f5942868
4 changed files with 40 additions and 21 deletions

View 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"){

View file

@ -12,7 +12,8 @@
"Attendees" => "Teilnehmer",
"Description" => "Beschreibung",
"Submit" => "Speichern",
"Reset" => "Zurücksetzen",
"Save" => "Speichern",
"Cancel" => "Abbrechen",
"Title" => "Titel",
"Sunday" => "Sonntag",
"Monday" => "Montag",
@ -71,7 +72,25 @@
"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",
"" => "",
"" => ""
);

View 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>

View file

@ -20,23 +20,22 @@
<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>