From a740f82583f28d70b7526d02fe7b181f4f5758f3 Mon Sep 17 00:00:00 2001 From: Nils Jacobsen <58360188+NilsJacobsen@users.noreply.github.com> Date: Mon, 8 May 2023 17:02:35 +0200 Subject: [PATCH 1/4] Create inlang.config.js --- inlang.config.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 inlang.config.js diff --git a/inlang.config.js b/inlang.config.js new file mode 100644 index 0000000..a9fe670 --- /dev/null +++ b/inlang.config.js @@ -0,0 +1,16 @@ +export async function defineConfig(env) { + const { default: pluginJson } = await env.$import( + 'https://cdn.jsdelivr.net/gh/samuelstroschein/inlang-plugin-json@2/dist/index.js' + ); + + const { default: standardLintRules } = await env.$import( + 'https://cdn.jsdelivr.net/gh/inlang/standard-lint-rules@2/dist/index.js' + ); + + return { + referenceLanguage: 'en', + plugins: [pluginJson({ + pathPattern: './loc/{language}.json' + }), standardLintRules()] + }; +} From 7d7924fafdd6625e517d335f0d49fe8bba5b2f1f Mon Sep 17 00:00:00 2001 From: NilsJacobsen <58360188+NilsJacobsen@users.noreply.github.com> Date: Mon, 8 May 2023 17:02:58 +0200 Subject: [PATCH 2/4] inlang: update translations --- loc/de.json | 8 +++++--- loc/en.json | 3 +-- loc/eo.json | 3 +-- loc/es.json | 3 +-- loc/oc.json | 6 +++--- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/loc/de.json b/loc/de.json index 1761371..9d9ba1e 100644 --- a/loc/de.json +++ b/loc/de.json @@ -9,7 +9,9 @@ "remove": "Entfernen", "add": "Hinzufügen", "cancel": "Abbrechen", - "connect": "Verbinden" + "connect": "Verbinden", + "error": { + "title": "Verbindung nicht möglich" + } } -} - +} \ No newline at end of file diff --git a/loc/en.json b/loc/en.json index c493403..0246b55 100644 --- a/loc/en.json +++ b/loc/en.json @@ -87,5 +87,4 @@ "channel_message_placeholder": "Type message to channel '%1' here", "user_message_placeholder": "Type message to user '%1' here" } -} - +} \ No newline at end of file diff --git a/loc/eo.json b/loc/eo.json index 8208a86..a679897 100644 --- a/loc/eo.json +++ b/loc/eo.json @@ -11,5 +11,4 @@ "cancel": "Nuligi", "connect": "Konekti" } -} - +} \ No newline at end of file diff --git a/loc/es.json b/loc/es.json index 20faeac..50fd10b 100644 --- a/loc/es.json +++ b/loc/es.json @@ -73,5 +73,4 @@ "channel_message_placeholder": "Escribe un mensaje al canal '%1'", "user_message_placeholder": "Escribe un mensaje al usuario '%1'" } -} - +} \ No newline at end of file diff --git a/loc/oc.json b/loc/oc.json index dc6e1bb..e9483b9 100644 --- a/loc/oc.json +++ b/loc/oc.json @@ -61,7 +61,7 @@ "copy_mumble_url": "Copair l’URL Mumble", "copy_mumble_web_url": "Copiar l’URL Mumble-Web", "send_message": "Enviar messatge" - }, + }, "logentry": { "connecting": "Connexion al servidor", "connected": "Connectat !", @@ -71,6 +71,6 @@ }, "chat": { "channel_message_placeholder": "Escrivètz un messatge per la sala '%1' aquí", - "user_message_placeholder": "Escrivètz un messatge a '%1' aquí" + "user_message_placeholder": "Escrivètz un messatge a '%1' aquí" } -} +} \ No newline at end of file From 8e823d42244dc4416fc95a2c977d82859790d7f2 Mon Sep 17 00:00:00 2001 From: NilsJacobsen <58360188+NilsJacobsen@users.noreply.github.com> Date: Mon, 8 May 2023 17:03:01 +0200 Subject: [PATCH 3/4] inlang: update translations --- loc/de.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/loc/de.json b/loc/de.json index 9d9ba1e..1dc6046 100644 --- a/loc/de.json +++ b/loc/de.json @@ -11,7 +11,10 @@ "cancel": "Abbrechen", "connect": "Verbinden", "error": { - "title": "Verbindung nicht möglich" + "title": "Verbindung nicht möglich", + "reason": { + "refused": "Die Verbindung wurde abgelehnt." + } } } } \ No newline at end of file From 44a32098f781e030cb574bb66c3fcf5d730c4f73 Mon Sep 17 00:00:00 2001 From: NilsJacobsen <58360188+NilsJacobsen@users.noreply.github.com> Date: Mon, 8 May 2023 17:03:03 +0200 Subject: [PATCH 4/4] inlang: update translations --- loc/de.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/loc/de.json b/loc/de.json index 1dc6046..8eeadbe 100644 --- a/loc/de.json +++ b/loc/de.json @@ -13,7 +13,8 @@ "error": { "title": "Verbindung nicht möglich", "reason": { - "refused": "Die Verbindung wurde abgelehnt." + "refused": "Die Verbindung wurde abgelehnt.", + "version": "Der Server verwendet eine inkompatible Version." } } }