aboutsummaryrefslogtreecommitdiff
path: root/app/config
diff options
context:
space:
mode:
Diffstat (limited to 'app/config')
-rw-r--r--app/config/i18n.js2
-rw-r--r--app/config/translations/en.json21
-rw-r--r--app/config/translations/es.json34
3 files changed, 57 insertions, 0 deletions
diff --git a/app/config/i18n.js b/app/config/i18n.js
index e00adb5..25ffc45 100644
--- a/app/config/i18n.js
+++ b/app/config/i18n.js
@@ -1,8 +1,10 @@
import { addMessages, getLocaleFromNavigator, init } from 'svelte-i18n';
import en from './translations/en.json';
+import es from './translations/es.json';
addMessages('en', en);
+addMessages('es', es);
init({
fallbackLocale: 'en',
diff --git a/app/config/translations/en.json b/app/config/translations/en.json
index 935f4fe..468bdc1 100644
--- a/app/config/translations/en.json
+++ b/app/config/translations/en.json
@@ -5,9 +5,30 @@
"message": "Unknown error has occurred. Panic!"
}
},
+ "footer": {
+ "choose_language": "Choose your language",
+ "license": "Forum is <a href=\"{licenseUrl}\">open source.</a>"
+ },
"forum_list": {
"error": {
"unavailable": "Forum list unavailable."
}
+ },
+ "forum": {
+ "name": {
+ "everything": "Everything",
+ "us": "Us",
+ "words": "Words",
+ "sound": "Sounds",
+ "structure": "Structure",
+ "interaction": "Interaction",
+ "emotion": "Emotion",
+ "movement": "Movement",
+ "belief": "Belief",
+ "experience": "Experience",
+ "online": "Online",
+ "the_world": "The World",
+ "life": "Life"
+ }
}
}
diff --git a/app/config/translations/es.json b/app/config/translations/es.json
new file mode 100644
index 0000000..8831d2a
--- /dev/null
+++ b/app/config/translations/es.json
@@ -0,0 +1,34 @@
+{
+ "error": {
+ "generic": {
+ "title": "Error!",
+ "message": "Hubo un error desconocido. Entra en pánico!"
+ }
+ },
+ "footer": {
+ "choose_language": "Escoge un lenguaje",
+ "license": "Forum es <a href=\"{licenseUrl}\">software libre.</a>"
+ },
+ "forum_list": {
+ "error": {
+ "unavailable": "Lista de foros no disponible."
+ }
+ },
+ "forum": {
+ "name": {
+ "everything": "Todo",
+ "us": "Nosotros",
+ "words": "Palabras",
+ "sound": "Sonidos",
+ "structure": "Estructura",
+ "interaction": "Interacción",
+ "emotion": "Emoción",
+ "movement": "Movimiento",
+ "belief": "Creencia",
+ "experience": "Experiencia",
+ "online": "En Línea",
+ "the_world": "El Mundo",
+ "life": "Vida"
+ }
+ }
+}