aboutsummaryrefslogtreecommitdiff
path: root/app/config
diff options
context:
space:
mode:
Diffstat (limited to 'app/config')
-rw-r--r--app/config/config.js8
-rw-r--r--app/config/env.dist1
-rw-r--r--app/config/i18n.js12
-rw-r--r--app/config/translations/en.json34
-rw-r--r--app/config/translations/es.json34
5 files changed, 0 insertions, 89 deletions
diff --git a/app/config/config.js b/app/config/config.js
deleted file mode 100644
index c915f70..0000000
--- a/app/config/config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-/*
- * The main configuration object for the Forum frontend. These values
- * are calculated during compile time and need to be set in a .env
- * file, otherwise it won't work.
- */
-
-// Location of the socket server
-export const socketServer = process.env.FORUM_SOCKET_SERVER;
diff --git a/app/config/env.dist b/app/config/env.dist
deleted file mode 100644
index 0bcd782..0000000
--- a/app/config/env.dist
+++ /dev/null
@@ -1 +0,0 @@
-FORUM_SOCKET_SERVER=ws://location_of_socket_server
diff --git a/app/config/i18n.js b/app/config/i18n.js
deleted file mode 100644
index 25ffc45..0000000
--- a/app/config/i18n.js
+++ /dev/null
@@ -1,12 +0,0 @@
-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',
- initialLocale: getLocaleFromNavigator()
-});
diff --git a/app/config/translations/en.json b/app/config/translations/en.json
deleted file mode 100644
index 468bdc1..0000000
--- a/app/config/translations/en.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "error": {
- "generic": {
- "title": "Error!",
- "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
deleted file mode 100644
index 8831d2a..0000000
--- a/app/config/translations/es.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "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"
- }
- }
-}