diff --git a/isso/js/app/i18n.js b/isso/js/app/i18n.js index 6ed8278..83ec30d 100644 --- a/isso/js/app/i18n.js +++ b/isso/js/app/i18n.js @@ -1,4 +1,4 @@ -define(function() { +define(["app/i18n/de", "app/i18n/en"], function(de, en) { "use strict"; @@ -22,49 +22,7 @@ define(function() { return { plurals: plurals, lang: lang, - de: { - "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" - }, - 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" - } + de: de, + en: en }; }); diff --git a/isso/js/app/i18n/de.js b/isso/js/app/i18n/de.js new file mode 100644 index 0000000..590b805 --- /dev/null +++ b/isso/js/app/i18n/de.js @@ -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" +}); \ No newline at end of file diff --git a/isso/js/app/i18n/en.js b/isso/js/app/i18n/en.js new file mode 100644 index 0000000..5dcd14e --- /dev/null +++ b/isso/js/app/i18n/en.js @@ -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" +}); \ No newline at end of file