-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from NextFaze/i18n
Internationalisation Support
- Loading branch information
Showing
13 changed files
with
207 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"manup": { | ||
"mandatory": { | ||
"title": "i18n Update Required", | ||
"text": "An update to {{app}} is required to continue." | ||
}, | ||
"optional": { | ||
"title": "i18n Update Available", | ||
"text": "An update to {{app}} is available. Would you like to update?" | ||
}, | ||
"maintenance": { | ||
"title": "i18n {{app}} Unavailable", | ||
"text": "{{app}} is currently unavailable, please check back again later." | ||
}, | ||
"buttons": { | ||
"update": "Update", | ||
"later": "Not Now" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"manup": { | ||
"mandatory": { | ||
"title": "Actualización Requerida", | ||
"text": "Se requiere una actualización para continuar" | ||
}, | ||
"optional": { | ||
"title": "Actualización disponible", | ||
"text": "Hay disponible una actualización para {{app}}. ¿Te gustaría actualizar?" | ||
}, | ||
"maintenance": { | ||
"title": "Sistema no disponible", | ||
"text": "{{app}} no está disponible actualmente. Por favor, vuelva más tarde." | ||
}, | ||
"buttons": { | ||
"update": "Actualizar", | ||
"later": "Ahora No" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
export var en = { | ||
lang: 'en', | ||
translations: { | ||
manup: { | ||
mandatory: { | ||
title: "Update Required", | ||
text: "An update to {{app}} is required to continue.", | ||
}, | ||
optional: { | ||
title: "Update Available", | ||
text: "An update to {{app}} is available. Would you like to update?" | ||
}, | ||
maintenance: { | ||
title: "{{app}} Unavailable", | ||
text: "{{app}} is currently unavailable, please check back again later." | ||
}, | ||
buttons: { | ||
update: "Update", | ||
later: "Not Now" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
export var es = { | ||
lang: 'es', | ||
translations: { | ||
manup: { | ||
mandatory: { | ||
title: "Actualización Requerida", | ||
text: "Se requiere una actualización para continuar" | ||
}, | ||
optional: { | ||
title: "Actualización disponible", | ||
text: "Hay disponible una actualización para {{app}}. ¿Te gustaría actualizar?" | ||
}, | ||
maintenance: { | ||
title: "Sistema no disponible", | ||
text: "{{app}} no está disponible actualmente. Por favor, vuelva más tarde." | ||
}, | ||
buttons: { | ||
update: "Actualizar", | ||
later: "Ahora No" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { en } from './en'; | ||
import { es } from './es'; | ||
|
||
export var i18n = [ | ||
en, es | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters