split i18n messages

This commit is contained in:
Martin Zimmermann 2013-10-02 16:17:25 +02:00
parent ef463eb517
commit fd18ea9eab
3 changed files with 47 additions and 45 deletions

View File

@ -1,4 +1,4 @@
define(function() { define(["app/i18n/de", "app/i18n/en"], function(de, en) {
"use strict"; "use strict";
@ -22,49 +22,7 @@ define(function() {
return { return {
plurals: plurals, plurals: plurals,
lang: lang, lang: lang,
de: { de: de,
"postbox-text" : "Kommentar hier eintippen (mindestens 3 Zeichen)", en: en
"postbox-author" : "Name (optional)",
"postbox-email" : "Email (optional)",
"postbox-submit": "Abschicken.",
"num-comments": "1 Kommentar\n{{ n }} Kommentare",
"no-comments": "Keine Kommentare bis jetzt",
"comment-reply": "Antworten",
"comment-delete": "Löschen",
"comment-confirm": "Bestätigen",
"comment-close": "Schließen",
"date-now": "eben jetzt",
"date-minute": "vor einer Minute\nvor {{ n }} Minuten",
"date-hour": "vor einer Stunde\nvor {{ n }} Stunden",
"date-day": "Gestern\nvor {{ n }} Tagen",
"date-week": "letzte Woche\nvor {{ n }} Wochen",
"date-month": "letzten Monat\nvor {{ n }} Monaten",
"date-year": "letztes Jahr\nvor {{ n }} Jahren"
},
en: {
"postbox-text": "Type Comment Here (at least 3 chars)",
"postbox-author": "Name (optional)",
"postbox-email": "E-mail (optional)",
"postbox-submit": "Post Comment.",
"num-comments": "One Comment\n{{ n }} Comments",
"no-comments": "No Comments Yet",
"comment-reply": "Reply",
"comment-delete": "Delete",
"comment-confirm": "Confirm",
"comment-close": "Close",
"date-now": "now",
"date-minute": "a minute ago\n{{ n }} minutes ago",
"date-hour": "an hour ago\n{{ n }} hours ago",
"date-day": "Yesterday\n{{ n }} days ago",
"date-week": "last week\n{{ n }} weeks ago",
"date-month": "last month\n{{ n }} months ago",
"date-year": "last year\n{{ n }} years ago"
}
}; };
}); });

22
isso/js/app/i18n/de.js Normal file
View File

@ -0,0 +1,22 @@
define({
"postbox-text" : "Kommentar hier eintippen (mindestens 3 Zeichen)",
"postbox-author" : "Name (optional)",
"postbox-email" : "Email (optional)",
"postbox-submit": "Abschicken.",
"num-comments": "1 Kommentar\n{{ n }} Kommentare",
"no-comments": "Keine Kommentare bis jetzt",
"comment-reply": "Antworten",
"comment-delete": "Löschen",
"comment-confirm": "Bestätigen",
"comment-close": "Schließen",
"date-now": "eben jetzt",
"date-minute": "vor einer Minute\nvor {{ n }} Minuten",
"date-hour": "vor einer Stunde\nvor {{ n }} Stunden",
"date-day": "Gestern\nvor {{ n }} Tagen",
"date-week": "letzte Woche\nvor {{ n }} Wochen",
"date-month": "letzten Monat\nvor {{ n }} Monaten",
"date-year": "letztes Jahr\nvor {{ n }} Jahren"
});

22
isso/js/app/i18n/en.js Normal file
View File

@ -0,0 +1,22 @@
define({
"postbox-text": "Type Comment Here (at least 3 chars)",
"postbox-author": "Name (optional)",
"postbox-email": "E-mail (optional)",
"postbox-submit": "Post Comment.",
"num-comments": "One Comment\n{{ n }} Comments",
"no-comments": "No Comments Yet",
"comment-reply": "Reply",
"comment-delete": "Delete",
"comment-confirm": "Confirm",
"comment-close": "Close",
"date-now": "now",
"date-minute": "a minute ago\n{{ n }} minutes ago",
"date-hour": "an hour ago\n{{ n }} hours ago",
"date-day": "Yesterday\n{{ n }} days ago",
"date-week": "last week\n{{ n }} weeks ago",
"date-month": "last month\n{{ n }} months ago",
"date-year": "last year\n{{ n }} years ago"
});