diff --git a/poll/public/js/translations/ar/textjs.js b/poll/public/js/translations/ar/textjs.js index 0277adc..362e4a0 100644 --- a/poll/public/js/translations/ar/textjs.js +++ b/poll/public/js/translations/ar/textjs.js @@ -4,18 +4,19 @@ init: function() { -(function (globals) { +(function(globals) { var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; - /* gettext library */ - django.catalog = { + django.catalog = django.catalog || {}; + + var newcatalog = { "Answer": "\u0625\u062c\u0627\u0628\u0629", "Delete": "\u062d\u0630\u0641", "Feedback": "\u0627\u0644\u062a\u0639\u0644\u064a\u0642\u0627\u062a", @@ -33,56 +34,60 @@ "move poll down": "\u062a\u062d\u0631\u064a\u0643 \u0627\u0633\u062a\u0637\u0644\u0627\u0639 \u0627\u0644\u0631\u0623\u064a \u0644\u0644\u0623\u0633\u0641\u0644", "move poll up": "\u062a\u062d\u0631\u064a\u0643 \u0627\u0633\u062a\u0637\u0644\u0627\u0639 \u0627\u0644\u0631\u0623\u064a \u0644\u0644\u0623\u0639\u0644\u0649" }; + for (var key in newcatalog) { + django.catalog[key] = newcatalog[key]; + } + - 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; - }; + 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.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())}); - } - }; + 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 */ + /* formatting library */ - django.formats = { + django.formats = { "DATETIME_FORMAT": "N j, Y, P", "DATETIME_INPUT_FORMATS": [ "%Y-%m-%d %H:%M:%S", @@ -128,24 +133,27 @@ "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.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)); diff --git a/poll/public/js/translations/de_DE/textjs.js b/poll/public/js/translations/de_DE/textjs.js new file mode 100644 index 0000000..f46890a --- /dev/null +++ b/poll/public/js/translations/de_DE/textjs.js @@ -0,0 +1,154 @@ + + (function(global){ + var PollXBlockI18N = { + init: function() { + + +(function(globals) { + + var django = globals.django || (globals.django = {}); + + + django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; + + + /* gettext library */ + + django.catalog = django.catalog || {}; + + var newcatalog = { + "Answer": "Antwort", + "Delete": "L\u00f6schen", + "Feedback": "Feedback", + "Image URL": "Bild-URL", + "Image alternative text": "Bild zum alternativen Text", + "Question": "Frage", + "Results": "Ergebnisse", + "Results gathered from {total} respondent.": [ + "Ergebnisse von {total} Befragten.", + "Ergebnisse von {total} Befragten." + ], + "Submit": "Einreichen", + "This must have an image URL or text, and can have both. If you add an image, you must also provide an alternative text that describes the image in a way that would allow someone to answer the poll if the image did not load.": "Eine Bild-URL oder ein Text oder beides muss hinzugef\u00fcgt sein. Wenn Sie ein Bild hinzuf\u00fcgen, m\u00fcssen Sie auch einen alternativen Text angeben, der das Bild so beschreibt, dass jemand die Umfrage auch dann beantworten kann, wenn das Bild nicht geladen wurde.", + "You can make limited use of Markdown in answer texts, preferably only bold and italics.": "Sie k\u00f6nnen Markdown eingeschr\u00e4nkt in Antworttexten verwenden, vorzugsweise nur in fett und kursiv.", + "move poll down": "Umfrage nach unten verschieben", + "move poll up": "Umfrage nach oben verschieben" + }; + 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": "j. F Y H:i", + "DATETIME_INPUT_FORMATS": [ + "%d.%m.%Y %H:%M:%S", + "%d.%m.%Y %H:%M:%S.%f", + "%d.%m.%Y %H:%M", + "%d.%m.%Y", + "%Y-%m-%d %H:%M:%S", + "%Y-%m-%d %H:%M:%S.%f", + "%Y-%m-%d %H:%M", + "%Y-%m-%d" + ], + "DATE_FORMAT": "j. F Y", + "DATE_INPUT_FORMATS": [ + "%d.%m.%Y", + "%d.%m.%y", + "%Y-%m-%d" + ], + "DECIMAL_SEPARATOR": ",", + "FIRST_DAY_OF_WEEK": "1", + "MONTH_DAY_FORMAT": "j. F", + "NUMBER_GROUPING": "3", + "SHORT_DATETIME_FORMAT": "d.m.Y H:i", + "SHORT_DATE_FORMAT": "d.m.Y", + "THOUSAND_SEPARATOR": ".", + "TIME_FORMAT": "H:i", + "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)); + + + } + }; + PollXBlockI18N.init(); + global.PollXBlockI18N = PollXBlockI18N; + }(this)); + \ No newline at end of file diff --git a/poll/public/js/translations/en/textjs.js b/poll/public/js/translations/en/textjs.js index 774baaf..ba4b542 100644 --- a/poll/public/js/translations/en/textjs.js +++ b/poll/public/js/translations/en/textjs.js @@ -4,36 +4,68 @@ init: function() { -(function (globals) { +(function(globals) { var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; - - /* gettext identity library */ + /* gettext library */ - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; - django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + django.catalog = django.catalog || {}; - 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())}); - } - }; + 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 */ + /* formatting library */ - django.formats = { + django.formats = { "DATETIME_FORMAT": "N j, Y, P", "DATETIME_INPUT_FORMATS": [ "%Y-%m-%d %H:%M:%S", @@ -71,24 +103,27 @@ "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; - } - }; + 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; - /* 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)); diff --git a/poll/public/js/translations/eo/textjs.js b/poll/public/js/translations/eo/textjs.js index 817a9c8..1298d39 100644 --- a/poll/public/js/translations/eo/textjs.js +++ b/poll/public/js/translations/eo/textjs.js @@ -4,12 +4,12 @@ init: function() { -(function (globals) { +(function(globals) { var django = globals.django || (globals.django = {}); - django.pluralidx = function (n) { + django.pluralidx = function(n) { var v=(n != 1); if (typeof(v) == 'boolean') { return v ? 1 : 0; @@ -19,10 +19,11 @@ }; - /* gettext library */ - django.catalog = { + django.catalog = django.catalog || {}; + + var newcatalog = { "Answer": "\u00c0nsw\u00e9r \u2c60'\u03c3\u044f\u0454\u043c \u03b9\u03c1\u0455\u03c5#", "Delete": "D\u00e9l\u00e9t\u00e9 \u2c60'\u03c3\u044f\u0454\u043c \u03b9\u03c1\u0455\u03c5#", "Feedback": "F\u00e9\u00e9d\u00df\u00e4\u00e7k \u2c60'\u03c3\u044f\u0454\u043c \u03b9\u03c1\u0455\u03c5\u043c \u2202#", @@ -40,56 +41,60 @@ "move poll down": "m\u00f6v\u00e9 p\u00f6ll d\u00f6wn \u2c60'\u03c3\u044f\u0454\u043c \u03b9\u03c1\u0455\u03c5\u043c \u2202\u03c3\u0142\u03c3\u044f \u0455\u03b9\u0442#", "move poll up": "m\u00f6v\u00e9 p\u00f6ll \u00fcp \u2c60'\u03c3\u044f\u0454\u043c \u03b9\u03c1\u0455\u03c5\u043c \u2202\u03c3\u0142\u03c3\u044f \u0455#" }; + for (var key in newcatalog) { + django.catalog[key] = newcatalog[key]; + } + - 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; - }; + 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.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())}); - } - }; + 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 */ + /* formatting library */ - django.formats = { + django.formats = { "DATETIME_FORMAT": "j\\-\\a \\d\\e F Y\\, \\j\\e H:i", "DATETIME_INPUT_FORMATS": [ "%Y-%m-%d %H:%M:%S", @@ -133,24 +138,27 @@ "YEAR_MONTH_FORMAT": "F \\d\\e 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.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)); diff --git a/poll/public/js/translations/es_419/textjs.js b/poll/public/js/translations/es_419/textjs.js index eadd2dd..11a7d8b 100644 --- a/poll/public/js/translations/es_419/textjs.js +++ b/poll/public/js/translations/es_419/textjs.js @@ -4,18 +4,19 @@ init: function() { -(function (globals) { +(function(globals) { var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; - /* gettext library */ - django.catalog = { + django.catalog = django.catalog || {}; + + var newcatalog = { "Answer": "Respuesta", "Delete": "Eliminar", "Feedback": "Comentarios", @@ -33,56 +34,60 @@ "move poll down": "disminuir el sondeo", "move poll up": "aumentar el sondeo" }; + for (var key in newcatalog) { + django.catalog[key] = newcatalog[key]; + } + - 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; - }; + 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.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())}); - } - }; + 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 */ + /* formatting library */ - django.formats = { + django.formats = { "DATETIME_FORMAT": "j \\d\\e F \\d\\e Y \\a \\l\\a\\s H:i", "DATETIME_INPUT_FORMATS": [ "%d/%m/%Y %H:%M:%S", @@ -118,24 +123,27 @@ "YEAR_MONTH_FORMAT": "F \\d\\e 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.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)); diff --git a/poll/public/js/translations/fr/textjs.js b/poll/public/js/translations/fr/textjs.js index 8035d1e..108f958 100644 --- a/poll/public/js/translations/fr/textjs.js +++ b/poll/public/js/translations/fr/textjs.js @@ -4,18 +4,19 @@ init: function() { -(function (globals) { +(function(globals) { var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; - /* gettext library */ - django.catalog = { + django.catalog = django.catalog || {}; + + var newcatalog = { "Answer": "R\u00e9ponse", "Delete": "Supprimer", "Feedback": "Commentaire", @@ -33,56 +34,60 @@ "move poll down": "Faire descendre le sondage", "move poll up": "Faire remonter le sondage" }; + for (var key in newcatalog) { + django.catalog[key] = newcatalog[key]; + } + - 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; - }; + 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.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())}); - } - }; + 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 */ + /* formatting library */ - django.formats = { + django.formats = { "DATETIME_FORMAT": "j F Y H:i", "DATETIME_INPUT_FORMATS": [ "%d/%m/%Y %H:%M:%S", @@ -122,24 +127,27 @@ "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.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)); diff --git a/poll/public/js/translations/fr_CA/textjs.js b/poll/public/js/translations/fr_CA/textjs.js new file mode 100644 index 0000000..30ee78d --- /dev/null +++ b/poll/public/js/translations/fr_CA/textjs.js @@ -0,0 +1,167 @@ + + (function(global){ + var PollXBlockI18N = { + init: function() { + + +(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 = { + "Answer": "R\u00e9ponse", + "Delete": "Supprimer", + "Feedback": "Commentaire", + "Image URL": "URL de l'image", + "Image alternative text": "Texte alternatif de l'image", + "Question": "Question", + "Results": "R\u00e9sultats", + "Results gathered from {total} respondent.": [ + "R\u00e9sultats recueillis aupr\u00e8s de {total} r\u00e9pondant.", + "R\u00e9sultats recueillis aupr\u00e8s de {total} r\u00e9pondants." + ], + "Submit": "Soumettre", + "This must have an image URL or text, and can have both. If you add an image, you must also provide an alternative text that describes the image in a way that would allow someone to answer the poll if the image did not load.": "Cela doit avoir une URL d'image ou un texte, et peut avoir les deux. Si vous ajoutez une image, vous devez \u00e9galement fournir un texte de remplacement d\u00e9crivant l'image de mani\u00e8re \u00e0 permettre \u00e0 quelqu'un de r\u00e9pondre au sondage si l'image ne s'est pas charg\u00e9e.", + "You can make limited use of Markdown in answer texts, preferably only bold and italics.": "Vous pouvez utiliser Markdown de mani\u00e8re limit\u00e9e dans les textes de r\u00e9ponse, de pr\u00e9f\u00e9rence uniquement en gras et en italique.", + "move poll down": "d\u00e9placer le sondage vers le bas", + "move poll up": "d\u00e9placer le sondage vers le haut" + }; + 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": "j F Y H:i", + "DATETIME_INPUT_FORMATS": [ + "%d/%m/%Y %H:%M:%S", + "%d/%m/%Y %H:%M:%S.%f", + "%d/%m/%Y %H:%M", + "%d/%m/%Y", + "%d.%m.%Y %H:%M:%S", + "%d.%m.%Y %H:%M:%S.%f", + "%d.%m.%Y %H:%M", + "%d.%m.%Y", + "%Y-%m-%d %H:%M:%S", + "%Y-%m-%d %H:%M:%S.%f", + "%Y-%m-%d %H:%M", + "%Y-%m-%d" + ], + "DATE_FORMAT": "j F Y", + "DATE_INPUT_FORMATS": [ + "%d/%m/%Y", + "%d/%m/%y", + "%d.%m.%Y", + "%d.%m.%y", + "%Y-%m-%d" + ], + "DECIMAL_SEPARATOR": ",", + "FIRST_DAY_OF_WEEK": "1", + "MONTH_DAY_FORMAT": "j F", + "NUMBER_GROUPING": "3", + "SHORT_DATETIME_FORMAT": "j N Y H:i", + "SHORT_DATE_FORMAT": "j N Y", + "THOUSAND_SEPARATOR": "\u00a0", + "TIME_FORMAT": "H:i", + "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)); + + + } + }; + PollXBlockI18N.init(); + global.PollXBlockI18N = PollXBlockI18N; + }(this)); + \ No newline at end of file diff --git a/poll/public/js/translations/he/textjs.js b/poll/public/js/translations/he/textjs.js index 8d0bf59..e4d13fa 100644 --- a/poll/public/js/translations/he/textjs.js +++ b/poll/public/js/translations/he/textjs.js @@ -4,36 +4,68 @@ init: function() { -(function (globals) { +(function(globals) { var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; - - /* gettext identity library */ + /* gettext library */ - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; - django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + django.catalog = django.catalog || {}; - 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())}); - } - }; + 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 */ + /* formatting library */ - django.formats = { + django.formats = { "DATETIME_FORMAT": "j \u05d1F Y H:i", "DATETIME_INPUT_FORMATS": [ "%Y-%m-%d %H:%M:%S", @@ -79,24 +111,27 @@ "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; - } - }; + 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; - /* 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)); diff --git a/poll/public/js/translations/hi/textjs.js b/poll/public/js/translations/hi/textjs.js index 7b5da62..b0c79f8 100644 --- a/poll/public/js/translations/hi/textjs.js +++ b/poll/public/js/translations/hi/textjs.js @@ -4,36 +4,68 @@ init: function() { -(function (globals) { +(function(globals) { var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; - - /* gettext identity library */ + /* gettext library */ - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; - django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + django.catalog = django.catalog || {}; - 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())}); - } - }; + 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 */ + /* formatting library */ - django.formats = { + django.formats = { "DATETIME_FORMAT": "N j, Y, P", "DATETIME_INPUT_FORMATS": [ "%Y-%m-%d %H:%M:%S", @@ -79,24 +111,27 @@ "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; - } - }; + 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; - /* 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)); diff --git a/poll/public/js/translations/ja_JP/textjs.js b/poll/public/js/translations/ja_JP/textjs.js new file mode 100644 index 0000000..e9e8c30 --- /dev/null +++ b/poll/public/js/translations/ja_JP/textjs.js @@ -0,0 +1,166 @@ + + (function(global){ + var PollXBlockI18N = { + init: function() { + + +(function(globals) { + + var django = globals.django || (globals.django = {}); + + + django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; + + + /* gettext library */ + + django.catalog = django.catalog || {}; + + var newcatalog = { + "Answer": "\u56de\u7b54", + "Delete": "\u524a\u9664", + "Feedback": "\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af", + "Image URL": "\u753b\u50cfURL", + "Image alternative text": "\u753b\u50cf\u4ee3\u66ff\u30c6\u30ad\u30b9\u30c8", + "Question": "\u8cea\u554f", + "Results": "\u7d50\u679c", + "Results gathered from {total} respondent.": [ + "\u56de\u7b54\u8005{total}\u4eba\u304b\u3089\u53ce\u96c6\u3057\u305f\u7d50\u679c\u3002", + "\u56de\u7b54\u8005{total}\u4eba\u304b\u3089\u53ce\u96c6\u3057\u305f\u7d50\u679c\u3002" + ], + "Submit": "\u9001\u4fe1", + "This must have an image URL or text, and can have both. If you add an image, you must also provide an alternative text that describes the image in a way that would allow someone to answer the poll if the image did not load.": "\u3053\u3053\u306b\u306f\u3001\u753b\u50cfURL\u307e\u305f\u306f\u30c6\u30ad\u30b9\u30c8\u3001\u3042\u308b\u3044\u306f\u305d\u306e\u4e21\u65b9\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u753b\u50cf\u3092\u8ffd\u52a0\u3057\u305f\u5834\u5408\u306f\u3001\u753b\u50cf\u304c\u8aad\u307f\u8fbc\u3081\u306a\u304b\u3063\u305f\u5834\u5408\u3067\u3082\u56de\u7b54\u8005\u304c\u6295\u7968\u8abf\u67fb\u3067\u56de\u7b54\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u753b\u50cf\u3092\u8aac\u660e\u3059\u308b\u4ee3\u66ff\u30c6\u30ad\u30b9\u30c8\u3082\u5165\u529b\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002", + "You can make limited use of Markdown in answer texts, preferably only bold and italics.": "\u56de\u7b54\u30c6\u30ad\u30b9\u30c8\u3067\u30de\u30fc\u30af\u30c0\u30a6\u30f3\u3092\u9650\u5b9a\u7684\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3067\u304d\u308c\u3070\u592a\u5b57\u3068\u30a4\u30bf\u30ea\u30c3\u30af\u4f53\u306e\u307f\u306e\u4f7f\u7528\u3068\u3057\u307e\u3059\u3002", + "move poll down": "\u6295\u7968\u7dcf\u6570\u3092\u4e0b\u3052\u308b", + "move poll up": "\u6295\u7968\u7dcf\u6570\u3092\u4e0a\u3052\u308b" + }; + 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": "Y\u5e74n\u6708j\u65e5G:i", + "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": "Y\u5e74n\u6708j\u65e5", + "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": "n\u6708j\u65e5", + "NUMBER_GROUPING": "0", + "SHORT_DATETIME_FORMAT": "Y/m/d G:i", + "SHORT_DATE_FORMAT": "Y/m/d", + "THOUSAND_SEPARATOR": ",", + "TIME_FORMAT": "G:i", + "TIME_INPUT_FORMATS": [ + "%H:%M:%S", + "%H:%M:%S.%f", + "%H:%M" + ], + "YEAR_MONTH_FORMAT": "Y\u5e74n\u6708" + }; + + 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)); + + + } + }; + PollXBlockI18N.init(); + global.PollXBlockI18N = PollXBlockI18N; + }(this)); + \ No newline at end of file diff --git a/poll/public/js/translations/pl/textjs.js b/poll/public/js/translations/pl/textjs.js index bdc0d4b..48c4b30 100644 --- a/poll/public/js/translations/pl/textjs.js +++ b/poll/public/js/translations/pl/textjs.js @@ -4,18 +4,19 @@ init: function() { -(function (globals) { +(function(globals) { var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; - /* gettext library */ - django.catalog = { + django.catalog = django.catalog || {}; + + var newcatalog = { "Answer": "Odpowied\u017a", "Delete": "Usu\u0144", "Feedback": "Informacja zwrotna", @@ -33,56 +34,60 @@ "move poll down": "przesu\u0144 sonda\u017c w d\u00f3\u0142", "move poll up": "przesu\u0144 sonda\u017c do g\u00f3ry" }; + for (var key in newcatalog) { + django.catalog[key] = newcatalog[key]; + } + - 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; - }; + 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.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())}); - } - }; + 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 */ + /* formatting library */ - django.formats = { + django.formats = { "DATETIME_FORMAT": "j E Y H:i", "DATETIME_INPUT_FORMATS": [ "%d.%m.%Y %H:%M:%S", @@ -117,24 +122,27 @@ "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.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)); diff --git a/poll/public/js/translations/pt_BR/textjs.js b/poll/public/js/translations/pt_BR/textjs.js new file mode 100644 index 0000000..aad397f --- /dev/null +++ b/poll/public/js/translations/pt_BR/textjs.js @@ -0,0 +1,158 @@ + + (function(global){ + var PollXBlockI18N = { + init: function() { + + +(function(globals) { + + var django = globals.django || (globals.django = {}); + + + django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; + + + /* gettext library */ + + django.catalog = django.catalog || {}; + + var newcatalog = { + "Answer": "Resposta", + "Delete": "Excluir", + "Feedback": "Coment\u00e1rios", + "Image URL": "URL da imagem", + "Image alternative text": "Texto alternativo da imagem", + "Question": "Pergunta", + "Results": "Resultados", + "Results gathered from {total} respondent.": [ + "Resultados coletados de {total} respondente.", + "Resultados coletados de {total} respondentes." + ], + "Submit": "Enviar", + "This must have an image URL or text, and can have both. If you add an image, you must also provide an alternative text that describes the image in a way that would allow someone to answer the poll if the image did not load.": "Deve ter um URL ou texto de imagem, podendo ter ambos. Se voc\u00ea adicionar uma imagem, tamb\u00e9m dever\u00e1 fornecer um texto alternativo que descreva a imagem de forma que a pessoa consiga responder \u00e0 pesquisa se a imagem n\u00e3o for carregada.", + "You can make limited use of Markdown in answer texts, preferably only bold and italics.": "Voc\u00ea pode fazer uso limitado de Markdown em textos de resposta, de prefer\u00eancia apenas negrito e it\u00e1lico.", + "move poll down": "mover pesquisa para baixo", + "move poll up": "mover pesquisa para cima" + }; + 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": "j \\d\\e F \\d\\e Y \u00e0\\s H:i", + "DATETIME_INPUT_FORMATS": [ + "%d/%m/%Y %H:%M:%S", + "%d/%m/%Y %H:%M:%S.%f", + "%d/%m/%Y %H:%M", + "%d/%m/%Y", + "%d/%m/%y %H:%M:%S", + "%d/%m/%y %H:%M:%S.%f", + "%d/%m/%y %H:%M", + "%d/%m/%y", + "%Y-%m-%d %H:%M:%S", + "%Y-%m-%d %H:%M:%S.%f", + "%Y-%m-%d %H:%M", + "%Y-%m-%d" + ], + "DATE_FORMAT": "j \\d\\e F \\d\\e Y", + "DATE_INPUT_FORMATS": [ + "%d/%m/%Y", + "%d/%m/%y", + "%Y-%m-%d" + ], + "DECIMAL_SEPARATOR": ",", + "FIRST_DAY_OF_WEEK": "0", + "MONTH_DAY_FORMAT": "j \\d\\e F", + "NUMBER_GROUPING": "3", + "SHORT_DATETIME_FORMAT": "d/m/Y H:i", + "SHORT_DATE_FORMAT": "d/m/Y", + "THOUSAND_SEPARATOR": ".", + "TIME_FORMAT": "H:i", + "TIME_INPUT_FORMATS": [ + "%H:%M:%S", + "%H:%M:%S.%f", + "%H:%M" + ], + "YEAR_MONTH_FORMAT": "F \\d\\e 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)); + + + } + }; + PollXBlockI18N.init(); + global.PollXBlockI18N = PollXBlockI18N; + }(this)); + \ No newline at end of file diff --git a/poll/public/js/translations/ru/textjs.js b/poll/public/js/translations/ru/textjs.js index c433b5c..c51a534 100644 --- a/poll/public/js/translations/ru/textjs.js +++ b/poll/public/js/translations/ru/textjs.js @@ -4,36 +4,68 @@ init: function() { -(function (globals) { +(function(globals) { var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; - - /* gettext identity library */ + /* gettext library */ - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; - django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + django.catalog = django.catalog || {}; - 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())}); - } - }; + 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 */ + /* formatting library */ - django.formats = { + django.formats = { "DATETIME_FORMAT": "j E Y \u0433. G:i", "DATETIME_INPUT_FORMATS": [ "%d.%m.%Y %H:%M:%S", @@ -71,24 +103,27 @@ "YEAR_MONTH_FORMAT": "F Y \u0433." }; - django.get_format = function (format_type) { - var value = django.formats[format_type]; - if (typeof(value) == 'undefined') { - return format_type; - } else { - return value; - } - }; + 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; - /* 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)); diff --git a/poll/public/js/translations/zh_CN/textjs.js b/poll/public/js/translations/zh_CN/textjs.js new file mode 100644 index 0000000..784caa0 --- /dev/null +++ b/poll/public/js/translations/zh_CN/textjs.js @@ -0,0 +1,166 @@ + + (function(global){ + var PollXBlockI18N = { + init: function() { + + +(function(globals) { + + var django = globals.django || (globals.django = {}); + + + django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; + + + /* gettext library */ + + django.catalog = django.catalog || {}; + + var newcatalog = { + "Answer": "\u7b54\u6848", + "Delete": "\u5220\u9664", + "Feedback": "\u53cd\u9988", + "Image URL": "\u56fe\u50cf URL", + "Image alternative text": "\u56fe\u50cf\u66ff\u6362\u6587\u672c", + "Question": "\u95ee\u9898", + "Results": "\u7ed3\u679c", + "Results gathered from {total} respondent.": [ + "\u4ece {total} \u4e2a\u56de\u5e94\u8005\u5904\u6536\u96c6\u7684\u7ed3\u679c\u3002", + "\u4ece {total} \u4e2a\u56de\u5e94\u8005\u5904\u6536\u96c6\u7684\u7ed3\u679c\u3002" + ], + "Submit": "\u63d0\u4ea4", + "This must have an image URL or text, and can have both. If you add an image, you must also provide an alternative text that describes the image in a way that would allow someone to answer the poll if the image did not load.": "\u5176\u4e2d\u5fc5\u987b\u5305\u542b\u56fe\u50cf URL \u548c/\u6216\u6587\u672c\u3002\u5982\u679c\u60a8\u6dfb\u52a0\u56fe\u50cf\uff0c\u8fd8\u5fc5\u987b\u63d0\u4f9b\u63cf\u8ff0\u8be5\u56fe\u50cf\u7684\u66ff\u6362\u6587\u672c\uff0c\u4ee5\u5141\u8bb8\u7528\u6237\u5728\u672a\u52a0\u8f7d\u8be5\u56fe\u50cf\u7684\u60c5\u51b5\u4e0b\u56de\u7b54\u8c03\u67e5\u95ee\u5377\u3002", + "You can make limited use of Markdown in answer texts, preferably only bold and italics.": "Markdown \u5728\u7b54\u6848\u6587\u672c\u4e2d\u7684\u5e94\u7528\u53ef\u80fd\u5f88\u6709\u9650\uff0c\u6700\u597d\u4ec5\u9650\u4e8e\u7c97\u4f53\u548c\u659c\u4f53\u3002", + "move poll down": "\u4e0b\u79fb\u8c03\u67e5\u95ee\u5377", + "move poll up": "\u4e0a\u79fb\u8c03\u67e5\u95ee\u5377" + }; + 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)); + + + } + }; + PollXBlockI18N.init(); + global.PollXBlockI18N = PollXBlockI18N; + }(this)); + \ No newline at end of file diff --git a/poll/translations/ar/LC_MESSAGES/text.mo b/poll/translations/ar/LC_MESSAGES/text.mo index 2799930..8f3ec90 100644 Binary files a/poll/translations/ar/LC_MESSAGES/text.mo and b/poll/translations/ar/LC_MESSAGES/text.mo differ diff --git a/poll/translations/de_DE/LC_MESSAGES/text.mo b/poll/translations/de_DE/LC_MESSAGES/text.mo index b4182f6..6d04dbf 100644 Binary files a/poll/translations/de_DE/LC_MESSAGES/text.mo and b/poll/translations/de_DE/LC_MESSAGES/text.mo differ diff --git a/poll/translations/en/LC_MESSAGES/text.mo b/poll/translations/en/LC_MESSAGES/text.mo index 6c5906d..d18241e 100644 Binary files a/poll/translations/en/LC_MESSAGES/text.mo and b/poll/translations/en/LC_MESSAGES/text.mo differ diff --git a/poll/translations/eo/LC_MESSAGES/text.mo b/poll/translations/eo/LC_MESSAGES/text.mo index 2dd6a34..511b048 100644 Binary files a/poll/translations/eo/LC_MESSAGES/text.mo and b/poll/translations/eo/LC_MESSAGES/text.mo differ diff --git a/poll/translations/es_419/LC_MESSAGES/text.mo b/poll/translations/es_419/LC_MESSAGES/text.mo index 26723ce..604e749 100644 Binary files a/poll/translations/es_419/LC_MESSAGES/text.mo and b/poll/translations/es_419/LC_MESSAGES/text.mo differ diff --git a/poll/translations/fr/LC_MESSAGES/text.mo b/poll/translations/fr/LC_MESSAGES/text.mo index 9b32d6e..105fa7f 100644 Binary files a/poll/translations/fr/LC_MESSAGES/text.mo and b/poll/translations/fr/LC_MESSAGES/text.mo differ diff --git a/poll/translations/he/LC_MESSAGES/text.mo b/poll/translations/he/LC_MESSAGES/text.mo index 1ab08e8..7b3cdd4 100644 Binary files a/poll/translations/he/LC_MESSAGES/text.mo and b/poll/translations/he/LC_MESSAGES/text.mo differ diff --git a/poll/translations/hi/LC_MESSAGES/text.mo b/poll/translations/hi/LC_MESSAGES/text.mo index c4c84a0..b0f7ad0 100644 Binary files a/poll/translations/hi/LC_MESSAGES/text.mo and b/poll/translations/hi/LC_MESSAGES/text.mo differ diff --git a/poll/translations/ja_JP/LC_MESSAGES/text.mo b/poll/translations/ja_JP/LC_MESSAGES/text.mo index a814c8d..f20a136 100644 Binary files a/poll/translations/ja_JP/LC_MESSAGES/text.mo and b/poll/translations/ja_JP/LC_MESSAGES/text.mo differ diff --git a/poll/translations/ja_JP/LC_MESSAGES/text.po b/poll/translations/ja_JP/LC_MESSAGES/text.po index 250ef4d..ab82b80 100644 --- a/poll/translations/ja_JP/LC_MESSAGES/text.po +++ b/poll/translations/ja_JP/LC_MESSAGES/text.po @@ -211,7 +211,7 @@ msgstr "質問" #: poll/public/html/poll.html:35 poll/public/html/survey.html:53 msgid "Submit" -msgstr "提出" +msgstr "送信" #: poll/public/html/poll.html:40 poll/public/html/survey.html:55 msgid "Thank you." diff --git a/poll/translations/ja_JP/LC_MESSAGES/textjs.po b/poll/translations/ja_JP/LC_MESSAGES/textjs.po index bbd1999..4579657 100644 --- a/poll/translations/ja_JP/LC_MESSAGES/textjs.po +++ b/poll/translations/ja_JP/LC_MESSAGES/textjs.po @@ -9,7 +9,7 @@ msgstr "結果" #: poll/public/handlebars/poll_results.handlebars:31 #: poll/public/handlebars/survey_results.handlebars:39 msgid "Submit" -msgstr "提出" +msgstr "送信" #: poll/public/handlebars/poll_results.handlebars:33 #: poll/public/handlebars/survey_results.handlebars:41 diff --git a/poll/translations/ko_KR/LC_MESSAGES/text.mo b/poll/translations/ko_KR/LC_MESSAGES/text.mo index 128071e..d343566 100644 Binary files a/poll/translations/ko_KR/LC_MESSAGES/text.mo and b/poll/translations/ko_KR/LC_MESSAGES/text.mo differ diff --git a/poll/translations/pl/LC_MESSAGES/text.mo b/poll/translations/pl/LC_MESSAGES/text.mo index d715849..384da03 100644 Binary files a/poll/translations/pl/LC_MESSAGES/text.mo and b/poll/translations/pl/LC_MESSAGES/text.mo differ diff --git a/poll/translations/pt_BR/LC_MESSAGES/text.mo b/poll/translations/pt_BR/LC_MESSAGES/text.mo index 10c3e52..96e0d0e 100644 Binary files a/poll/translations/pt_BR/LC_MESSAGES/text.mo and b/poll/translations/pt_BR/LC_MESSAGES/text.mo differ diff --git a/poll/translations/ru/LC_MESSAGES/text.mo b/poll/translations/ru/LC_MESSAGES/text.mo index 53bd1c6..f3ac718 100644 Binary files a/poll/translations/ru/LC_MESSAGES/text.mo and b/poll/translations/ru/LC_MESSAGES/text.mo differ diff --git a/poll/translations/zh_CN/LC_MESSAGES/text.mo b/poll/translations/zh_CN/LC_MESSAGES/text.mo index 1f888be..76d394a 100644 Binary files a/poll/translations/zh_CN/LC_MESSAGES/text.mo and b/poll/translations/zh_CN/LC_MESSAGES/text.mo differ diff --git a/setup.py b/setup.py index 6f3567a..9584edb 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ def package_data(pkg, roots): setup( name='xblock-poll', - version='1.8.7', + version='1.8.8', description='An XBlock for polling users.', packages=[ 'poll',