Files
edx-platform/cms/static/js/i18n/ca@valencia/djangojs.js
2018-06-20 21:32:16 +05:00

207 lines
7.0 KiB
JavaScript

(function(globals) {
var django = globals.django || (globals.django = {});
django.pluralidx = function(n) {
var v=(n != 1);
if (typeof(v) == 'boolean') {
return v ? 1 : 0;
} else {
return v;
}
};
/* gettext library */
django.catalog = django.catalog || {};
var newcatalog = {
"%(sel)s of %(cnt)s selected": [
"%(sel)s de %(cnt)s seleccionat",
"%(sel)s of %(cnt)s seleccionats"
],
"6 a.m.": "6 a.m.",
"6 p.m.": "6 p.m.",
"April": "Abril",
"August": "Agost",
"Available %s": "%s Disponibles",
"Cancel": "Cancel\u00b7lar",
"Choose": "Escollir",
"Choose a Date": "Escolliu una data",
"Choose a Time": "Escolliu una hora",
"Choose a time": "Escolliu una hora",
"Choose all": "Escollir-los tots",
"Chosen %s": "Escollit %s",
"Click to choose all %s at once.": "Feu clic per escollir tots els %s d'un cop.",
"Click to remove all chosen %s at once.": "Feu clic per eliminar tots els %s escollits d'un cop.",
"December": "Desembre",
"February": "Febrer",
"Filter": "Filtre",
"Hide": "Ocultar",
"January": "Gener",
"July": "Juliol",
"June": "Juny",
"March": "Mar\u00e7",
"May": "Maig",
"Midnight": "Mitjanit",
"Noon": "Migdia",
"Note: You are %s hour ahead of server time.": [
"Nota: Aneu %s hora avan\u00e7ats respecte la hora del servidor.",
"Nota: Aneu %s hores avan\u00e7ats respecte la hora del servidor."
],
"Note: You are %s hour behind server time.": [
"Nota: Aneu %s hora endarrerits respecte la hora del servidor.",
"Nota: Aneu %s hores endarrerits respecte la hora del servidor."
],
"November": "Novembre",
"Now": "Ara",
"October": "Octubre",
"Remove": "Eliminar",
"Remove all": "Esborrar-los tots",
"September": "Setembre",
"Show": "Mostrar",
"This is the list of available %s. You may choose some by selecting them in the box below and then clicking the \"Choose\" arrow between the two boxes.": "Aquesta \u00e9s la llista de %s disponibles. En podeu escollir alguns seleccionant-los a la caixa de sota i fent clic a la fletxa \"Escollir\" entre les dues caixes.",
"This is the list of chosen %s. You may remove some by selecting them in the box below and then clicking the \"Remove\" arrow between the two boxes.": "Aquesta \u00e9s la llista de %s escollits. En podeu eliminar alguns seleccionant-los a la caixa de sota i fent clic a la fletxa \"Eliminar\" entre les dues caixes.",
"Today": "Avui",
"Tomorrow": "Dem\u00e0",
"Type into this box to filter down the list of available %s.": "Escriviu en aquesta caixa per a filtrar la llista de %s disponibles.",
"Yesterday": "Ahir",
"You have selected an action, and you haven't made any changes on individual fields. You're probably looking for the Go button rather than the Save button.": "Heu seleccionat una acci\u00f3 i no heu fet cap canvi a camps individuals. Probablement esteu cercant el bot\u00f3 'Anar' enlloc de 'Desar'.",
"You have selected an action, but you haven't saved your changes to individual fields yet. Please click OK to save. You'll need to re-run the action.": "Heu seleccionat una acci\u00f3, per\u00f2 encara no heu desat els vostres canvis a camps individuals. Si us plau premeu OK per desar. Haureu de tornar a executar l'acci\u00f3.",
"You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost.": "Teniu canvis sense desar a camps editables individuals. Si executeu una acci\u00f3, es perdran aquests canvis no desats.",
"one letter Friday\u0004F": "V",
"one letter Monday\u0004M": "L",
"one letter Saturday\u0004S": "S",
"one letter Sunday\u0004S": "D",
"one letter Thursday\u0004T": "J",
"one letter Tuesday\u0004T": "M",
"one letter Wednesday\u0004W": "X"
};
for (var key in newcatalog) {
django.catalog[key] = newcatalog[key];
}
if (!django.jsi18n_initialized) {
django.gettext = function(msgid) {
var value = django.catalog[msgid];
if (typeof(value) == 'undefined') {
return msgid;
} else {
return (typeof(value) == 'string') ? value : value[0];
}
};
django.ngettext = function(singular, plural, count) {
var value = django.catalog[singular];
if (typeof(value) == 'undefined') {
return (count == 1) ? singular : plural;
} else {
return value[django.pluralidx(count)];
}
};
django.gettext_noop = function(msgid) { return msgid; };
django.pgettext = function(context, msgid) {
var value = django.gettext(context + '\x04' + msgid);
if (value.indexOf('\x04') != -1) {
value = msgid;
}
return value;
};
django.npgettext = function(context, singular, plural, count) {
var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count);
if (value.indexOf('\x04') != -1) {
value = django.ngettext(singular, plural, count);
}
return value;
};
django.interpolate = function(fmt, obj, named) {
if (named) {
return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
} else {
return fmt.replace(/%s/g, function(match){return String(obj.shift())});
}
};
/* formatting library */
django.formats = {
"DATETIME_FORMAT": "N j, Y, P",
"DATETIME_INPUT_FORMATS": [
"%Y-%m-%d %H:%M:%S",
"%Y-%m-%d %H:%M:%S.%f",
"%Y-%m-%d %H:%M",
"%Y-%m-%d",
"%m/%d/%Y %H:%M:%S",
"%m/%d/%Y %H:%M:%S.%f",
"%m/%d/%Y %H:%M",
"%m/%d/%Y",
"%m/%d/%y %H:%M:%S",
"%m/%d/%y %H:%M:%S.%f",
"%m/%d/%y %H:%M",
"%m/%d/%y"
],
"DATE_FORMAT": "N j, Y",
"DATE_INPUT_FORMATS": [
"%Y-%m-%d",
"%m/%d/%Y",
"%m/%d/%y",
"%b %d %Y",
"%b %d, %Y",
"%d %b %Y",
"%d %b, %Y",
"%B %d %Y",
"%B %d, %Y",
"%d %B %Y",
"%d %B, %Y"
],
"DECIMAL_SEPARATOR": ".",
"FIRST_DAY_OF_WEEK": "0",
"MONTH_DAY_FORMAT": "F j",
"NUMBER_GROUPING": "0",
"SHORT_DATETIME_FORMAT": "m/d/Y P",
"SHORT_DATE_FORMAT": "m/d/Y",
"THOUSAND_SEPARATOR": ",",
"TIME_FORMAT": "P",
"TIME_INPUT_FORMATS": [
"%H:%M:%S",
"%H:%M:%S.%f",
"%H:%M"
],
"YEAR_MONTH_FORMAT": "F Y"
};
django.get_format = function(format_type) {
var value = django.formats[format_type];
if (typeof(value) == 'undefined') {
return format_type;
} else {
return value;
}
};
/* add to global namespace */
globals.pluralidx = django.pluralidx;
globals.gettext = django.gettext;
globals.ngettext = django.ngettext;
globals.gettext_noop = django.gettext_noop;
globals.pgettext = django.pgettext;
globals.npgettext = django.npgettext;
globals.interpolate = django.interpolate;
globals.get_format = django.get_format;
django.jsi18n_initialized = true;
}
}(this));