Mantis 3574 Traductions manquantes (UIxRecurenceEditor)

Monotone-Parent: e01d0df10ecfe018a8dc8810da911702d7a40d28
Monotone-Revision: 42164e46f40378824b21554163c98f9ca67ade4b

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-07-31T15:35:33
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-07-31 15:35:33 +00:00
parent a3e7730ef1
commit 58b6a7a633
13 changed files with 126 additions and 10 deletions

View File

@@ -502,3 +502,12 @@ vtodo_class2 = "(Tarefa Confidencial)";
"Show alarms" = "Show alarms";
"Show tasks" = "Show tasks";
/* Error messages */
"dayFieldInvalid" = "Please specify a numerical value in the Days field greater or equal to 1.";
"weekFieldInvalid" = "Please specify a numerical value in the Week(s) field greater or equal to 1.";
"monthFieldInvalid" = "Please specify a numerical value in the Month(s) field greater or equal to 1.";
"monthDayFieldInvalid" = "Please specify a numerical value in the month day field greater or equal to 1.";
"yearFieldInvalid" = "Please specify a numerical value in the Year(s) field greater or equal to 1.";
"appointmentFieldInvalid" = "Please specify a numerical value in the Appointment(s) field greater or equal to 1.";
"recurrenceUnsupported" = "This type of recurrence is currently unsupported.";

View File

@@ -502,3 +502,12 @@ vtodo_class2 = "(Důvěrný úkol)";
"Show alarms" = "Show alarms";
"Show tasks" = "Show tasks";
/* Error messages */
"dayFieldInvalid" = "Please specify a numerical value in the Days field greater or equal to 1.";
"weekFieldInvalid" = "Please specify a numerical value in the Week(s) field greater or equal to 1.";
"monthFieldInvalid" = "Please specify a numerical value in the Month(s) field greater or equal to 1.";
"monthDayFieldInvalid" = "Please specify a numerical value in the month day field greater or equal to 1.";
"yearFieldInvalid" = "Please specify a numerical value in the Year(s) field greater or equal to 1.";
"appointmentFieldInvalid" = "Please specify a numerical value in the Appointment(s) field greater or equal to 1.";
"recurrenceUnsupported" = "This type of recurrence is currently unsupported.";

View File

@@ -497,3 +497,12 @@ vtodo_class2 = "(Vertrouwelijke taak)";
"Show alarms" = "Show alarms";
"Show tasks" = "Show tasks";
/* Error messages */
"dayFieldInvalid" = "Please specify a numerical value in the Days field greater or equal to 1.";
"weekFieldInvalid" = "Please specify a numerical value in the Week(s) field greater or equal to 1.";
"monthFieldInvalid" = "Please specify a numerical value in the Month(s) field greater or equal to 1.";
"monthDayFieldInvalid" = "Please specify a numerical value in the month day field greater or equal to 1.";
"yearFieldInvalid" = "Please specify a numerical value in the Year(s) field greater or equal to 1.";
"appointmentFieldInvalid" = "Please specify a numerical value in the Appointment(s) field greater or equal to 1.";
"recurrenceUnsupported" = "This type of recurrence is currently unsupported.";

View File

@@ -502,3 +502,12 @@ vtodo_class2 = "(Confidential task)";
"Show alarms" = "Show alarms";
"Show tasks" = "Show tasks";
/* Error messages */
"dayFieldInvalid" = "Please specify a numerical value in the Days field greater or equal to 1.";
"weekFieldInvalid" = "Please specify a numerical value in the Week(s) field greater or equal to 1.";
"monthFieldInvalid" = "Please specify a numerical value in the Month(s) field greater or equal to 1.";
"monthDayFieldInvalid" = "Please specify a numerical value in the month day field greater or equal to 1.";
"yearFieldInvalid" = "Please specify a numerical value in the Year(s) field greater or equal to 1.";
"appointmentFieldInvalid" = "Please specify a numerical value in the Appointment(s) field greater or equal to 1.";
"recurrenceUnsupported" = "This type of recurrence is currently unsupported.";

View File

@@ -499,3 +499,12 @@ vtodo_class2 = "(Tâche confidentielle)";
"Show alarms" = "Afficher les alarmes";
"Show tasks" = "Afficher les tâches";
/* Error messages */
"dayFieldInvalid" = "Veuillez spécifier un chiffre superieur ou égal à 1 dans le champ Jours.";
"weekFieldInvalid" = "Veuillez spécifier un chiffre superieur ou égal à 1 dans le champ Semaine(s).";
"monthFieldInvalid" = "Veuillez spécifier un chiffre superieur ou égal à 1 dans le champ Mois.";
"monthDayFieldInvalid" = "Veuillez spécifier un chiffre superieur ou égal à 1 dans la journée du mois.";
"yearFieldInvalid" = "Veuillez spécifier un chiffre superieur ou égal à 1 dans le champ Année(s).";
"appointmentFieldInvalid" = "Veuillez spécifier un chiffre superieur ou égal à 1 dans le champ rendez-vous.";
"recurrenceUnsupported" = "Ce type de récurrence n\\'est pas supporté.";

View File

@@ -501,3 +501,12 @@ vtodo_class2 = "(Vertrauliche Aufgabe)";
"Show alarms" = "Show alarms";
"Show tasks" = "Show tasks";
/* Error messages */
"dayFieldInvalid" = "Please specify a numerical value in the Days field greater or equal to 1.";
"weekFieldInvalid" = "Please specify a numerical value in the Week(s) field greater or equal to 1.";
"monthFieldInvalid" = "Please specify a numerical value in the Month(s) field greater or equal to 1.";
"monthDayFieldInvalid" = "Please specify a numerical value in the month day field greater or equal to 1.";
"yearFieldInvalid" = "Please specify a numerical value in the Year(s) field greater or equal to 1.";
"appointmentFieldInvalid" = "Please specify a numerical value in the Appointment(s) field greater or equal to 1.";
"recurrenceUnsupported" = "This type of recurrence is currently unsupported.";

View File

@@ -506,3 +506,12 @@ vtodo_class2 = "(Bizalmas feladat)";
"Name:" = "Név:";
"Color:" = "Szín:";
"Tag:" = "Cimke:";
/* Error messages */
"dayFieldInvalid" = "Please specify a numerical value in the Days field greater or equal to 1.";
"weekFieldInvalid" = "Please specify a numerical value in the Week(s) field greater or equal to 1.";
"monthFieldInvalid" = "Please specify a numerical value in the Month(s) field greater or equal to 1.";
"monthDayFieldInvalid" = "Please specify a numerical value in the month day field greater or equal to 1.";
"yearFieldInvalid" = "Please specify a numerical value in the Year(s) field greater or equal to 1.";
"appointmentFieldInvalid" = "Please specify a numerical value in the Appointment(s) field greater or equal to 1.";
"recurrenceUnsupported" = "This type of recurrence is currently unsupported.";

View File

@@ -503,3 +503,12 @@ vtodo_class2 = "(Attività confidenziale)";
"Show alarms" = "Show alarms";
"Show tasks" = "Show tasks";
/* Error messages */
"dayFieldInvalid" = "Please specify a numerical value in the Days field greater or equal to 1.";
"weekFieldInvalid" = "Please specify a numerical value in the Week(s) field greater or equal to 1.";
"monthFieldInvalid" = "Please specify a numerical value in the Month(s) field greater or equal to 1.";
"monthDayFieldInvalid" = "Please specify a numerical value in the month day field greater or equal to 1.";
"yearFieldInvalid" = "Please specify a numerical value in the Year(s) field greater or equal to 1.";
"appointmentFieldInvalid" = "Please specify a numerical value in the Appointment(s) field greater or equal to 1.";
"recurrenceUnsupported" = "This type of recurrence is currently unsupported.";

View File

@@ -501,3 +501,12 @@ vtodo_class2 = "(Confidential task)";
"Show alarms" = "Show alarms";
"Show tasks" = "Show tasks";
/* Error messages */
"dayFieldInvalid" = "Please specify a numerical value in the Days field greater or equal to 1.";
"weekFieldInvalid" = "Please specify a numerical value in the Week(s) field greater or equal to 1.";
"monthFieldInvalid" = "Please specify a numerical value in the Month(s) field greater or equal to 1.";
"monthDayFieldInvalid" = "Please specify a numerical value in the month day field greater or equal to 1.";
"yearFieldInvalid" = "Please specify a numerical value in the Year(s) field greater or equal to 1.";
"appointmentFieldInvalid" = "Please specify a numerical value in the Appointment(s) field greater or equal to 1.";
"recurrenceUnsupported" = "This type of recurrence is currently unsupported.";

View File

@@ -506,3 +506,12 @@ vtodo_class2 = "(Tarea confidencial)";
"Show alarms" = "Show alarms";
"Show tasks" = "Show tasks";
/* Error messages */
"dayFieldInvalid" = "Please specify a numerical value in the Days field greater or equal to 1.";
"weekFieldInvalid" = "Please specify a numerical value in the Week(s) field greater or equal to 1.";
"monthFieldInvalid" = "Please specify a numerical value in the Month(s) field greater or equal to 1.";
"monthDayFieldInvalid" = "Please specify a numerical value in the month day field greater or equal to 1.";
"yearFieldInvalid" = "Please specify a numerical value in the Year(s) field greater or equal to 1.";
"appointmentFieldInvalid" = "Please specify a numerical value in the Appointment(s) field greater or equal to 1.";
"recurrenceUnsupported" = "This type of recurrence is currently unsupported.";

View File

@@ -491,3 +491,12 @@ vtodo_class2 = "(Tasg gyhoeddus)";
"Show alarms" = "Show alarms";
"Show tasks" = "Show tasks";
/* Error messages */
"dayFieldInvalid" = "Please specify a numerical value in the Days field greater or equal to 1.";
"weekFieldInvalid" = "Please specify a numerical value in the Week(s) field greater or equal to 1.";
"monthFieldInvalid" = "Please specify a numerical value in the Month(s) field greater or equal to 1.";
"monthDayFieldInvalid" = "Please specify a numerical value in the month day field greater or equal to 1.";
"yearFieldInvalid" = "Please specify a numerical value in the Year(s) field greater or equal to 1.";
"appointmentFieldInvalid" = "Please specify a numerical value in the Appointment(s) field greater or equal to 1.";
"recurrenceUnsupported" = "This type of recurrence is currently unsupported.";

View File

@@ -12,6 +12,15 @@
const:popup="YES"
const:jsFiles="skycalendar.js">
<script type="text/javascript">
var dayFieldInvalid = '<var:string label:value="dayFieldInvalid"/>';
var weekFieldInvalid = '<var:string label:value="weekFieldInvalid"/>';
var monthFieldInvalid = '<var:string label:value="monthFieldInvalid"/>';
var monthDayFieldInvalid = '<var:string label:value="monthDayFieldInvalid"/>';
var yearFieldInvalid = '<var:string label:value="yearFieldInvalid"/>';
var appointmentFieldInvalid = '<var:string label:value="appointmentFieldInvalid"/>';
var recurrenceUnsupported = '<var:string label:value="recurrenceUnsupported"/>';
</script>
<form name="recurrence_form" id="recurrence_form" href="editRecurrence">
<div id="recurrence_pattern" style="display: none;">
<span class="caption"><var:string label:value="Recurrence pattern"/></span>

View File

@@ -204,7 +204,7 @@ function handleDailyRecurrence() {
}
if (showError)
window.alert("Please specify a numerical value in the Days field greater or equal to 1.");
window.alert(dayFieldInvalid);
}
else {
validate = true;
@@ -231,7 +231,7 @@ function handleWeeklyRecurrence() {
}
if (showError)
window.alert("Please specify a numerical value in the Week(s) field greater or equal to 1.");
window.alert(weekFieldInvalid);
return validate;
}
@@ -244,7 +244,7 @@ function handleMonthlyRecurrence() {
// FIXME - right now we do not support rules
// such as The Second Tuesday...
if (radioValue == 0)
window.alert("This type of recurrence is currently unsupported.");
window.alert(recurrenceUnsupported);
else {
// We check if the monthlyMonthsField really contains an integer
var showError = true;
@@ -264,17 +264,14 @@ function handleMonthlyRecurrence() {
}
if (showError)
window.alert("Please specify a numerical value in the Month(s) field greater or equal to 1.");
window.alert(monthFieldInvalid);
}
return validate;
}
function validateYearlyRecurrence() {
var errors = ["Please specify a numerical value in the Year(s)"
+ " field greater or equal to 1.",
"Please specify a numerical value in the month day"
+ " field greater or equal to 1."];
var errors = [yearFieldInvalid, monthDayFieldInvalid];
var errorToShow = 0;
var fieldValue = "" + $('yearlyYearsField').value;
@@ -307,7 +304,7 @@ function handleYearlyRecurrence() {
// FIXME - right now we do not support rules
// such as Every Second Tuesday of February
if (radioValue == 1)
window.alert("This type of recurrence is currently unsupported.");
window.alert(recurrenceUnsupported);
else {
if (validateYearlyRecurrence()) {
var fieldValue = "" + $('yearlyYearsField').value;
@@ -355,7 +352,7 @@ function handleRange() {
}
if (showError)
window.alert("Please specify a numerical value in the Appointment(s) field greater or equal to 1.");
window.alert(appointmentFieldInvalid);
}
else if (radioValue == 2) {
validate = true;
@@ -392,11 +389,22 @@ function onEditorCancelClick(event) {
window.close();
}
function escapeAlertMessages () {
dayFieldInvalid = dayFieldInvalid.decodeEntities ();
weekFieldInvalid = weekFieldInvalid.decodeEntities ();
monthFieldInvalid = monthFieldInvalid.decodeEntities ();
monthDayFieldInvalid = monthDayFieldInvalid.decodeEntities ();
yearFieldInvalid = yearFieldInvalid.decodeEntities ();
appointmentFieldInvalid = appointmentFieldInvalid.decodeEntities ();
recurrenceUnsupported = recurrenceUnsupported.decodeEntities ();
}
function onRecurrenceLoadHandler() {
initializeFormValues();
initializeSelectors();
initializeWindowButtons();
assignCalendar('endDate_date');
escapeAlertMessages ();
}
document.observe("dom:loaded", onRecurrenceLoadHandler);