Merge branch 'pr/143'

This commit is contained in:
Martin Zimmermann 2014-12-25 21:28:26 +01:00
commit d6602b7fe4
2 changed files with 37 additions and 5 deletions

View File

@ -1,13 +1,14 @@
define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru", "app/i18n/it", "app/i18n/eo"], function(config, de, en, fr, ru, it, eo) {
define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru", "app/i18n/it", "app/i18n/eo", "app/i18n/sv"], function(config, de, en, fr, ru, it, eo, sv) {
"use strict";
var pluralforms = function(lang) {
switch (lang) {
case "en":
case "de":
case "it":
case "en":
case "eo":
case "it":
case "sv":
return function(msgs, n) {
return msgs[n === 1 ? 0 : 1];
};
@ -41,10 +42,11 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru"
var catalogue = {
de: de,
en: en,
eo: eo,
fr: fr,
ru: ru,
it: it,
eo: eo
ru: ru,
sv: sv
};
var plural = pluralforms(lang);

30
isso/js/app/i18n/sv.js Normal file
View File

@ -0,0 +1,30 @@
define({
"postbox-text": "Skriv din kommentar här (minst 3 tecken)",
"postbox-author": "Namn (frivilligt)",
"postbox-email": "E-mail (frivilligt)",
"postbox-website": "Hemsida (frivilligt)",
"postbox-submit": "Skicka",
"num-comments": "En kommentar\n{{ n }} kommentarer",
"no-comments": "Inga kommentarer än",
"comment-reply": "Svara",
"comment-edit": "Redigera",
"comment-save": "Spara",
"comment-delete": "Radera",
"comment-confirm": "Bekräfta",
"comment-close": "Stäng",
"comment-cancel": "Avbryt",
"comment-deleted": "Kommentar raderad.",
"comment-queued": "Kommentaren inväntar granskning.",
"comment-anonymous": "Anonym",
"comment-hidden": "{{ n }} Gömd",
"date-now": "just nu",
"date-minute": "en minut sedan\n{{ n }} minuter sedan",
"date-hour": "en timme sedan\n{{ n }} timmar sedan",
"date-day": "igår\n{{ n }} dagar sedan",
"date-week": "förra veckan\n{{ n }} veckor sedan",
"date-month": "förra månaden\n{{ n }} månader sedan",
"date-year": "förra året\n{{ n }} år sedan"
});