Commit 2089b271 authored by Benoit Lavenier's avatar Benoit Lavenier

[enh] Add IT i18n translation - Fix #700

parent bafe6a24
......@@ -27,16 +27,16 @@
},
"node": {
"host": "g1.duniter.org",
"port": "443"
"port": 443
},
"fallbackNodes": [
{
"host": "g1.duniter.fr",
"port": "443"
"port": 443
},
{
"host": "g1.duniter.org",
"port": "443"
"port": 443
}
],
"developers": [
......@@ -47,15 +47,15 @@
"enable": true,
"askEnable": true,
"host": "g1.data.duniter.fr",
"port": "443",
"port": 443,
"fallbackNodes": [
{
"host": "g1.data.le-sou.org",
"port": "443"
"port": 443
},
{
"host": "g1.data.duniter.fr",
"port": "443"
"port": 443
}
],
"notifications": {
......@@ -97,15 +97,15 @@
},
"node": {
"host": "g1.duniter.fr",
"port": "443"
"port": 443
},
"fallbackNodes": [{
"host": "g1.duniter.org",
"port": "443"
"port": 443
},
{
"host": "g1.duniter.fr",
"port": "443"
"port": 443
}
],
"plugins":{
......@@ -113,15 +113,15 @@
"enable": true,
"askEnable": true,
"host": "g1.data.duniter.fr",
"port": "443",
"port": 443,
"fallbackNodes": [
{
"host": "g1.data.le-sou.org",
"port": "443"
"port": 443
},
{
"host": "g1.data.duniter.fr",
"port": "443"
"port": 443
}
],
"notifications": {
......@@ -163,20 +163,20 @@
},
"node": {
"host": "g1.le-sou.org",
"port": "443"
"port": 443
},
"fallbackNodes": [
{
"host": "g1.duniter.org",
"port": "443"
"port": 443
},
{
"host": "g1.duniter.fr",
"port": "443"
"port": 443
},
{
"host": "g1.le-sou.org",
"port": "443"
"port": 443
}
],
"plugins":{
......@@ -184,15 +184,15 @@
"enable": true,
"askEnable": true,
"host": "g1.data.le-sou.org",
"port": "443",
"port": 443,
"fallbackNodes": [
{
"host": "g1.data.le-sou.org",
"port": "443"
"port": 443
},
{
"host": "g1.data.duniter.fr",
"port": "443"
"port": 443
}
],
"notifications": {
......@@ -279,15 +279,15 @@
},
"node": {
"host": "g1.duniter.fr",
"port": 9220
"port": 443
},
"fallbackNodes": [{
"host": "g1.duniter.org",
"port": "443"
"port": 443
},
{
"host": "g1.duniter.fr",
"port": "443"
"port": 443
}
],
"plugins":{
......@@ -300,11 +300,11 @@
"fallbackNodes": [
{
"host": "g1.data.le-sou.org",
"port": "443"
"port": 443
},
{
"host": "g1.data.duniter.fr",
"port": "443"
"port": 443
}
],
"notifications": {
......@@ -351,7 +351,7 @@
},
"node": {
"host": "g1.duniter.org",
"port": "443"
"port": 443
},
"plugins":{
"es": {
......
......@@ -19,4 +19,4 @@
"version": "12.41.296.5"
}
]
}
}
\ No newline at end of file
This diff is collapsed.
......@@ -55,6 +55,7 @@
"devDependencies": {
"bower": "^1.8.0",
"delete-empty": "^0.1.3",
"gulp": "^3.9.1",
"gulp-bump": "^2.1.0",
"gulp-concat": "^2.2.0",
"gulp-rename": "^1.2.0",
......
......@@ -97,7 +97,7 @@
},
"ABOUT": {
"TITLE": "À propos",
"LICENSE": "Application <b>libre</b> (licence GNU GPLv3).",
"LICENSE": "Application <b>libre</b> (Licence GNU GPLv3).",
"LATEST_RELEASE": "Il existe une <b>version plus récente</b> de {{'COMMON.APP_NAME'|translate}} (<b>v{{version}}</b>)",
"PLEASE_UPDATE": "Veuillez mettre à jour {{'COMMON.APP_NAME'|translate}} (dernière version : <b>v{{version}}</b>)",
"CODE": "Code source :",
......
This diff is collapsed.
......@@ -10,7 +10,8 @@ angular.module('cesium.settings.services', ['ngApi', 'cesium.config'])
{id:'en-GB', label:'English (UK)'},
{id:'fr-FR', label:'Français'},
{id:'nl-NL', label:'Nederlands'},
{id:'es-ES', label:'Spanish'}
{id:'es-ES', label:'Spanish'},
{id:'it-IT', label:'Italiano'}
];
var fallbackLocale = csConfig.fallbackLanguage ? fixLocale(csConfig.fallbackLanguage) : 'en';
......@@ -21,7 +22,7 @@ angular.module('cesium.settings.services', ['ngApi', 'cesium.config'])
// exists in app locales: use it
if (_.findWhere(locales, {id: locale})) return locale;
// not exists: reiterate with the root(e.g. 'fr-XX' -> 'fr')
// not exists: reiterate with the root (e.g. 'fr-XX' -> 'fr')
var localeParts = locale.split('-');
if (localeParts.length > 1) {
return fixLocale(localeParts[0]);
......
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