Commit 3a20f6a8 authored by Thierry BUGEAT's avatar Thierry BUGEAT

#29 Add russian translations. Use pt-BR translations as pt. Select language from settings screen.

parent 511489f8
......@@ -32,6 +32,7 @@ settings-developper-menu = Developper menu :
settings-connection = Connection
settings-use-animations = Animations
settings-translations = Translations
settings-ui-language = Language
no-news-today = No news. You can try to refresh the page with button <span data-icon="sync"></span> below, or you can change day with 2 arrows <span data-icon="back"></span> <span data-icon="forward"></span> above.
nb-days-ago-today = Today
nb-days-ago-yesterday = Yesterday
......
......@@ -32,6 +32,7 @@ settings-developper-menu = Developper menu :
settings-connection = Conexión
settings-use-animations = Animaciones
settings-translations = Traducciones
settings-ui-language = Idioma
no-news-today = No hay noticias nuevas. Puede tratar de actualizar la página con el botón <span data-icon="sync"></span> de abajo, o puede cambiar día con las 2 flechas <span data-icon="back"></span> <span data-icon="forward"></span> de arriba.
nb-days-ago-today = Hoy
nb-days-ago-yesterday = Ayer
......
......@@ -32,6 +32,7 @@ settings-developper-menu = Menu développeur :
settings-connection = Connexion
settings-use-animations = Animations
settings-translations = Traductions
settings-ui-language = Langue
no-news-today = Pas d'actualité. Vous pouvez essayer d'actualiser la page avec le bouton <span data-icon="sync"></span> ci-dessous, ou vous pouvez changer de jour avec les deux flèches <span data-icon="back"></span> <span data-icon="forward"></span> ci-dessus.
nb-days-ago-today = Aujourd'hui
nb-days-ago-yesterday = Hier
......
[*]
@import url(en/app.properties)
[fr]
......@@ -6,5 +7,8 @@
[es]
@import url(es/app.properties)
[pt-BR]
@import url(pt-BR/app.properties)
\ No newline at end of file
[pt]
@import url(pt/app.properties)
[ru]
@import url(ru/app.properties)
var myDynamicsLocales = {
"en": {
"title": "English",
"nb-days-ago": "{{n}} days ago",
"by": "by"
},
"es": {
"title": "Español",
"nb-days-ago": "Hace {{n}} días",
"by": "por"
},
"fr": {
"title": "Français",
"nb-days-ago": "Il y a {{n}} jours",
"by": "par"
},
"pt-BR": {
"pt": {
"title": "Português",
"nb-days-ago": "{{n}} dias atrás",
"by": "por"
},
"ru": {
"title": "Pусский",
"nb-days-ago": "{{n}} days ago",
"by": "by"
}
};
......@@ -32,5 +42,3 @@ if (myDynamicsLocales[userLocale] !== undefined) {
} else {
myExtraTranslations = myDynamicsLocales['en'];
}
// console.log(myExtraTranslations);
......@@ -31,6 +31,7 @@ settings-developper-menu = Menu do desenvolvedor :
settings-connection = Conexão
settings-use-animations = Animações
settings-translations = Traduções
settings-ui-language = Idioma
no-news-today = Sem notícias. Você pode tentar atualizar a página com o botão <span data-icon="sync"></span> abaixo ou pode mudar o dia com as duas setas <span data-icon="back"></span> <span data-icon="forward"></span> acima.
nb-days-ago-today = Hoje
nb-days-ago-yesterday = Ontem
......
......@@ -15,12 +15,16 @@
"default_locale": "en",
"locales": {
"es": {
"name" : "mis Noticias",
"description" : "Lector de RSS y ATOM."
"name": "mis Noticias",
"description": "Lector de RSS y ATOM."
},
"fr": {
"name" : "mes Fluxs",
"description" : "Lecteur de flux RSS & ATOM."
"name": "mes Fluxs",
"description": "Lecteur de flux RSS & ATOM."
},
"pt": {
"name" : "meus Fluxs",
"description": "RSS e Atom Reader."
}
},
"type": "privileged",
......
This diff is collapsed.
......@@ -145,7 +145,7 @@ AolReader.prototype.getSubscriptions = function () {
var _url = _AolReader.aolreader.host + '/reader/api/0/subscription/list' +
'?access_token=' + _AolReader.aolreader.token.access_token;
console.log("bugeat", _AolReader.aolreader.token);
var promise = this.get(_url, '');
promise.then(function(response) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment