From 6787047f4abde486bfa2f9c6654a04551e65913d Mon Sep 17 00:00:00 2001 From: 0-don <70039285+0-don@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:14:43 +0100 Subject: [PATCH] add translations --- package.json | 5 +- project.inlang/.gitignore | 1 + project.inlang/clippy.babel | 1477 +++++++++++++++++ project.inlang/project_id | 1 + project.inlang/settings.json | 12 + src-tauri/common/src/types/enums.rs | 18 + src/about.tsx | 2 +- .../pages/app/clipboard/base-clipboard.tsx | 2 +- .../pages/app/clipboard/clipboards.tsx | 2 +- .../pages/app/clipboard/file-clipboard.tsx | 4 +- .../pages/app/clipboard/image-clipboard.tsx | 4 +- .../pages/app/clipboard/text-clipboard.tsx | 4 +- src/components/pages/app/search-bar.tsx | 2 +- .../pages/settings/settings-backup.tsx | 2 +- .../pages/settings/settings-general.tsx | 4 +- .../pages/settings/settings-history.tsx | 4 +- .../pages/settings/settings-limits.tsx | 2 +- src/index.tsx | 2 +- src/{utils => lib}/colors.ts | 0 src/lib/i18n/ar.json | 136 ++ src/lib/i18n/bn.json | 136 ++ src/lib/i18n/de.json | 136 ++ src/lib/i18n/en.json | 136 ++ src/lib/i18n/es.json | 136 ++ src/lib/i18n/fr.json | 136 ++ src/lib/i18n/hi.json | 136 ++ src/lib/i18n/index.ts | 17 + src/lib/i18n/it.json | 136 ++ src/lib/i18n/ja.json | 136 ++ src/lib/i18n/ko.json | 136 ++ src/lib/i18n/nl.json | 136 ++ src/lib/i18n/pl.json | 136 ++ src/lib/i18n/pt.json | 136 ++ src/lib/i18n/ru.json | 136 ++ src/lib/i18n/th.json | 136 ++ src/lib/i18n/tr.json | 136 ++ src/lib/i18n/ur.json | 136 ++ src/lib/i18n/vi.json | 136 ++ src/lib/i18n/zh.json | 136 ++ src/{utils => lib}/tauri.ts | 0 src/settings.tsx | 4 +- src/store/clipboard-store.ts | 2 +- src/store/hotkey-store.ts | 2 +- src/store/settings-store.ts | 4 +- src/types/enums.ts | 27 + src/utils/{helpers.ts => index.ts} | 0 46 files changed, 4163 insertions(+), 25 deletions(-) create mode 100644 project.inlang/.gitignore create mode 100644 project.inlang/clippy.babel create mode 100644 project.inlang/project_id create mode 100644 project.inlang/settings.json rename src/{utils => lib}/colors.ts (100%) create mode 100644 src/lib/i18n/ar.json create mode 100644 src/lib/i18n/bn.json create mode 100644 src/lib/i18n/de.json create mode 100644 src/lib/i18n/en.json create mode 100644 src/lib/i18n/es.json create mode 100644 src/lib/i18n/fr.json create mode 100644 src/lib/i18n/hi.json create mode 100644 src/lib/i18n/index.ts create mode 100644 src/lib/i18n/it.json create mode 100644 src/lib/i18n/ja.json create mode 100644 src/lib/i18n/ko.json create mode 100644 src/lib/i18n/nl.json create mode 100644 src/lib/i18n/pl.json create mode 100644 src/lib/i18n/pt.json create mode 100644 src/lib/i18n/ru.json create mode 100644 src/lib/i18n/th.json create mode 100644 src/lib/i18n/tr.json create mode 100644 src/lib/i18n/ur.json create mode 100644 src/lib/i18n/vi.json create mode 100644 src/lib/i18n/zh.json rename src/{utils => lib}/tauri.ts (100%) rename src/utils/{helpers.ts => index.ts} (100%) diff --git a/package.json b/package.json index 7a0d9316..2168023e 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ }, "dependencies": { "@corvu/tooltip": "^0.2.1", + "@solid-primitives/i18n": "^2.1.1", "@tauri-apps/api": "2.1.1", "dayjs": "1.11.13", "solid-icons": "1.1.0", @@ -28,9 +29,9 @@ "postcss": "8.4.49", "prettier": "3.4.2", "prettier-plugin-tailwindcss": "0.6.9", - "tailwindcss": "3.4.16", + "tailwindcss": "3.4.17", "typescript": "5.7.2", - "vite": "6.0.3", + "vite": "6.0.5", "vite-plugin-checker": "0.8.0", "vite-plugin-solid": "2.11.0" } diff --git a/project.inlang/.gitignore b/project.inlang/.gitignore new file mode 100644 index 00000000..5e465967 --- /dev/null +++ b/project.inlang/.gitignore @@ -0,0 +1 @@ +cache \ No newline at end of file diff --git a/project.inlang/clippy.babel b/project.inlang/clippy.babel new file mode 100644 index 00000000..0f8da265 --- /dev/null +++ b/project.inlang/clippy.babel @@ -0,0 +1,1477 @@ + + + + + generic-json + coding-global-web.babel + ../ + + + + + main + + + CHAT + + + COMMENT + + + + + de-DE + false + + + en-US + false + + + + + DISCORD_LOGIN + + + + + de-DE + false + + + en-US + false + + + + + INFO + + + COMMENT_DELETED + + + + + de-DE + false + + + en-US + false + + + + + + + META + + + DESCRIPTION + + + + + de-DE + false + + + en-US + false + + + + + KEYWORDS + + + + + de-DE + false + + + en-US + false + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + + + SUCCESS + + + COMMENT_ADD + + + + + de-DE + false + + + en-US + false + + + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + + + HOME + + + BY + + + + + de-DE + false + + + en-US + false + + + + + META + + + DESCRIPTION + + + + + de-DE + false + + + en-US + false + + + + + KEYWORDS + + + + + de-DE + false + + + en-US + false + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + + + OFFICIAL + + + + + de-DE + false + + + en-US + false + + + + + OFFICIAL_CODING_DISCORD_WEBSITE + + + + + de-DE + false + + + en-US + false + + + + + SEE_REPOSITORY + + + + + de-DE + false + + + en-US + false + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + WEBSITE_FOR_THE_CODING_DISCORD_SERVER + + + + + de-DE + false + + + en-US + false + + + + + + + MAIN + + + BUTTON + + + BACK_TO_HOME + + + + + de-DE + false + + + en-US + false + + + + + DISBOARD + + + + + de-DE + false + + + en-US + false + + + + + DISCORD + + + + + de-DE + false + + + en-US + false + + + + + LOADING + + + + + de-DE + false + + + en-US + false + + + + + NOT_FOUND + + + + + de-DE + false + + + en-US + false + + + + + RETRY + + + + + de-DE + false + + + en-US + false + + + + + + + ENUM + + + DARK + + + + + de-DE + false + + + en-US + false + + + + + DE + + + + + de-DE + false + + + en-US + false + + + + + EN + + + + + de-DE + false + + + en-US + false + + + + + LIGHT + + + + + de-DE + false + + + en-US + false + + + + + SYSTEM + + + + + de-DE + false + + + en-US + false + + + + + + + ERROR + + + PAGE_NOT_FOUND + + + + + de-DE + false + + + en-US + false + + + + + UNAUTHORIZED + + + + + de-DE + false + + + en-US + false + + + + + + + META + + + DESCRIPTION + + + + + de-DE + false + + + en-US + false + + + + + KEYWORDS + + + + + de-DE + false + + + en-US + false + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + + + NAVIGATION + + + CHAT + + + + + de-DE + false + + + en-US + false + + + + + NEWS + + + + + de-DE + false + + + en-US + false + + + + + RULES + + + + + de-DE + false + + + en-US + false + + + + + TEAM + + + + + de-DE + false + + + en-US + false + + + + + TODO + + + + + de-DE + false + + + en-US + false + + + + + + + SUCCESS + + + CONSOLE_CLEARED + + + + + de-DE + false + + + en-US + false + + + + + LOGGED_OUT + + + + + de-DE + false + + + en-US + false + + + + + + + TOOLTIP + + + CLEAR_CONSOLE + + + + + de-DE + false + + + en-US + false + + + + + LOGOUT + + + + + de-DE + false + + + en-US + false + + + + + TOGGLE_LANGUAGE + + + + + de-DE + false + + + en-US + false + + + + + TOGGLE_THEME + + + + + de-DE + false + + + en-US + false + + + + + + + + + NEWS + + + META + + + DESCRIPTION + + + + + de-DE + false + + + en-US + false + + + + + KEYWORDS + + + + + de-DE + false + + + en-US + false + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + + + RULES + + + ADVERTISING + + + + + de-DE + false + + + en-US + false + + + + + ADVERTISING_CONTENT1 + + + + + de-DE + false + + + en-US + false + + + + + ASKING_QUESTIONS + + + + + de-DE + false + + + en-US + false + + + + + ASKING_QUESTIONS_CONTENT1 + + + + + de-DE + false + + + en-US + false + + + + + ASKING_QUESTIONS_CONTENT2 + + + + + de-DE + false + + + en-US + false + + + + + ASKING_QUESTIONS_CONTENT3 + + + + + de-DE + false + + + en-US + false + + + + + ASKING_QUESTIONS_CONTENT4 + + + + + de-DE + false + + + en-US + false + + + + + ASKING_QUESTIONS_CONTENT5 + + + + + de-DE + false + + + en-US + false + + + + + DIRECT_MESSAGES + + + + + de-DE + false + + + en-US + false + + + + + DIRECT_MESSAGES_CONTENT1 + + + + + de-DE + false + + + en-US + false + + + + + DISCORD_GUIDELINES + + + + + de-DE + false + + + en-US + false + + + + + DISCORD_GUIDELINES_CONTENT1 + + + + + de-DE + false + + + en-US + false + + + + + ENFORCEMENT + + + + + de-DE + false + + + en-US + false + + + + + ENFORCEMENT_CONTENT1 + + + + + de-DE + false + + + en-US + false + + + + + LANGUAGE + + + + + de-DE + false + + + en-US + false + + + + + LANGUAGE_CONTENT1 + + + + + de-DE + false + + + en-US + false + + + + + META + + + DESCRIPTION + + + + + de-DE + false + + + en-US + false + + + + + KEYWORDS + + + + + de-DE + false + + + en-US + false + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + + + MODERATORS + + + + + de-DE + false + + + en-US + false + + + + + MODERATORS_CONTENT1 + + + + + de-DE + false + + + en-US + false + + + + + PERSONAL_INFO + + + + + de-DE + false + + + en-US + false + + + + + PERSONAL_INFO_CONTENT1 + + + + + de-DE + false + + + en-US + false + + + + + RECORDING + + + + + de-DE + false + + + en-US + false + + + + + RECORDING_CONTENT1 + + + + + de-DE + false + + + en-US + false + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + + + TEAM + + + META + + + DESCRIPTION + + + + + de-DE + false + + + en-US + false + + + + + KEYWORDS + + + + + de-DE + false + + + en-US + false + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + + + TODO + + + INFO + + + TODO_DELETED + + + + + de-DE + false + + + en-US + false + + + + + + + META + + + DESCRIPTION + + + + + de-DE + false + + + en-US + false + + + + + KEYWORDS + + + + + de-DE + false + + + en-US + false + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + + + SEED + + + + + de-DE + false + + + en-US + false + + + + + SUCCESS + + + TODO_ADD + + + + + de-DE + false + + + en-US + false + + + + + TODO_SEED + + + + + de-DE + false + + + en-US + false + + + + + + + TITLE + + + + + de-DE + false + + + en-US + false + + + + + + + + + + false + + + de-DE + + + en-US + + + + + main + + + ../src/lib/i18n/de.json + de-DE + + + ../src/lib/i18n/en.json + en-US + + + + + + true + alphabetically + + '%1' + + + + + + + en-US + + tab + namespaced-json + true + + diff --git a/project.inlang/project_id b/project.inlang/project_id new file mode 100644 index 00000000..5f1a73d7 --- /dev/null +++ b/project.inlang/project_id @@ -0,0 +1 @@ +6c836d0da57ed27f8a93f682a667fbbb3e4c12336073632bfe8c587e155653ab \ No newline at end of file diff --git a/project.inlang/settings.json b/project.inlang/settings.json new file mode 100644 index 00000000..2a8e918b --- /dev/null +++ b/project.inlang/settings.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://inlang.com/schema/project-settings", + "sourceLanguageTag": "en", + "languageTags": ["en", "de"], + "modules": [ + "https://cdn.jsdelivr.net/npm/@inlang/plugin-json@latest/dist/index.js", + "https://cdn.jsdelivr.net/npm/@inlang/plugin-t-function-matcher@latest/dist/index.js" + ], + "plugin.inlang.json": { + "pathPattern": "./src/lib/i18n/{languageTag}.json" + } +} diff --git a/src-tauri/common/src/types/enums.rs b/src-tauri/common/src/types/enums.rs index 265358bf..a7c35eb0 100644 --- a/src-tauri/common/src/types/enums.rs +++ b/src-tauri/common/src/types/enums.rs @@ -72,6 +72,24 @@ pub enum Language { Russian, #[iden = "ur"] Urdu, + #[iden = "ja"] + Japanese, + #[iden = "de"] + German, + #[iden = "ko"] + Korean, + #[iden = "vi"] + Vietnamese, + #[iden = "tr"] + Turkish, + #[iden = "it"] + Italian, + #[iden = "th"] + Thai, + #[iden = "pl"] + Polish, + #[iden = "nl"] + Dutch, } #[derive(Iden, EnumIter, PartialEq, Serialize, Deserialize, Debug, Clone)] diff --git a/src/about.tsx b/src/about.tsx index a7fe085c..ad37fb08 100644 --- a/src/about.tsx +++ b/src/about.tsx @@ -1,9 +1,9 @@ import { createSignal, onMount } from "solid-js"; import { render } from "solid-js/web"; import icon from "./assets/clippy.png"; +import { invokeCommand } from "./lib/tauri"; import "./styles.css"; import { InvokeCommand } from "./types/tauri-invoke"; -import { invokeCommand } from "./utils/tauri"; const About = () => { const [version, setVersion] = createSignal("0.0.0"); diff --git a/src/components/pages/app/clipboard/base-clipboard.tsx b/src/components/pages/app/clipboard/base-clipboard.tsx index df7d3e8e..acbd37b1 100644 --- a/src/components/pages/app/clipboard/base-clipboard.tsx +++ b/src/components/pages/app/clipboard/base-clipboard.tsx @@ -3,11 +3,11 @@ import { IoTrashOutline } from "solid-icons/io"; import { TbSourceCode } from "solid-icons/tb"; import { VsStarFull } from "solid-icons/vs"; import { Component } from "solid-js"; +import { invokeCommand } from "../../../../lib/tauri"; import { ClipboardStore } from "../../../../store/clipboard-store"; import { ClipboardModel, ClipboardWithRelations } from "../../../../types"; import { ClipboardType } from "../../../../types/enums"; import { InvokeCommand } from "../../../../types/tauri-invoke"; -import { invokeCommand } from "../../../../utils/tauri"; import { FileClipboard } from "./file-clipboard"; import { ImageClipboard } from "./image-clipboard"; import { TextClipboard } from "./text-clipboard"; diff --git a/src/components/pages/app/clipboard/clipboards.tsx b/src/components/pages/app/clipboard/clipboards.tsx index d42d48aa..08d4c65b 100644 --- a/src/components/pages/app/clipboard/clipboards.tsx +++ b/src/components/pages/app/clipboard/clipboards.tsx @@ -4,12 +4,12 @@ import utc from "dayjs/plugin/utc"; import { FiArrowUp } from "solid-icons/fi"; import { Component, For, Show, createSignal, onMount } from "solid-js"; import clippy from "../../../../assets/clippy.png"; +import { listenEvent } from "../../../../lib/tauri"; import { AppStore } from "../../../../store/app-store"; import { ClipboardStore } from "../../../../store/clipboard-store"; import { HotkeyStore } from "../../../../store/hotkey-store"; import { HotkeyEvent } from "../../../../types/enums"; import { ListenEvent } from "../../../../types/tauri-listen"; -import { listenEvent } from "../../../../utils/tauri"; import { BaseClipboard } from "./base-clipboard"; dayjs.extend(utc); diff --git a/src/components/pages/app/clipboard/file-clipboard.tsx b/src/components/pages/app/clipboard/file-clipboard.tsx index f035c350..6e81f6ad 100644 --- a/src/components/pages/app/clipboard/file-clipboard.tsx +++ b/src/components/pages/app/clipboard/file-clipboard.tsx @@ -1,11 +1,11 @@ import dayjs from "dayjs"; import { VsFileBinary } from "solid-icons/vs"; import { Component } from "solid-js"; +import { invokeCommand } from "../../../../lib/tauri"; import { ClipboardFileModel, ClipboardWithRelations } from "../../../../types"; import { ClipboardType } from "../../../../types/enums"; import { InvokeCommand } from "../../../../types/tauri-invoke"; -import { formatBytes } from "../../../../utils/helpers"; -import { invokeCommand } from "../../../../utils/tauri"; +import { formatBytes } from "../../../../utils"; import { ClipboardHeader } from "../../../utils/clipboard/clipboard-header"; interface FileClipboardProps { diff --git a/src/components/pages/app/clipboard/image-clipboard.tsx b/src/components/pages/app/clipboard/image-clipboard.tsx index 0d307725..77804b01 100644 --- a/src/components/pages/app/clipboard/image-clipboard.tsx +++ b/src/components/pages/app/clipboard/image-clipboard.tsx @@ -1,11 +1,11 @@ import dayjs from "dayjs"; import { BsImages } from "solid-icons/bs"; import { Component } from "solid-js"; +import { invokeCommand } from "../../../../lib/tauri"; import { ClipboardWithRelations } from "../../../../types"; import { ClipboardType } from "../../../../types/enums"; import { InvokeCommand } from "../../../../types/tauri-invoke"; -import { formatBytes } from "../../../../utils/helpers"; -import { invokeCommand } from "../../../../utils/tauri"; +import { formatBytes } from "../../../../utils"; import { ClipboardHeader } from "../../../utils/clipboard/clipboard-header"; interface ImageClipboardProps { diff --git a/src/components/pages/app/clipboard/text-clipboard.tsx b/src/components/pages/app/clipboard/text-clipboard.tsx index 250a496c..22f2757e 100644 --- a/src/components/pages/app/clipboard/text-clipboard.tsx +++ b/src/components/pages/app/clipboard/text-clipboard.tsx @@ -3,12 +3,12 @@ import dayjs from "dayjs"; import { BsFiletypeHtml, BsJournalRichtext } from "solid-icons/bs"; import { FiFileText, FiLink } from "solid-icons/fi"; import { Component } from "solid-js"; +import { invokeCommand } from "../../../../lib/tauri"; import { SettingsStore } from "../../../../store/settings-store"; import { ClipboardWithRelations } from "../../../../types"; import { ClipboardTextType, ClipboardType } from "../../../../types/enums"; import { InvokeCommand } from "../../../../types/tauri-invoke"; -import { rgbCompatible } from "../../../../utils/colors"; -import { invokeCommand } from "../../../../utils/tauri"; +import { rgbCompatible } from "../../../../lib/colors"; import { ClipboardHeader } from "../../../utils/clipboard/clipboard-header"; interface TextClipboardProps { diff --git a/src/components/pages/app/search-bar.tsx b/src/components/pages/app/search-bar.tsx index 040bad04..6247bc43 100644 --- a/src/components/pages/app/search-bar.tsx +++ b/src/components/pages/app/search-bar.tsx @@ -1,11 +1,11 @@ import { FaRegularImage } from "solid-icons/fa"; import { FiSearch } from "solid-icons/fi"; import { Component, createEffect, createSignal, onCleanup, onMount } from "solid-js"; +import { invokeCommand } from "../../../lib/tauri"; import { AppStore } from "../../../store/app-store"; import { ClipboardStore, initialWhere } from "../../../store/clipboard-store"; import { HotkeyStore } from "../../../store/hotkey-store"; import { InvokeCommand } from "../../../types/tauri-invoke"; -import { invokeCommand } from "../../../utils/tauri"; interface SearchBarProps {} diff --git a/src/components/pages/settings/settings-backup.tsx b/src/components/pages/settings/settings-backup.tsx index e40f7b86..29883441 100644 --- a/src/components/pages/settings/settings-backup.tsx +++ b/src/components/pages/settings/settings-backup.tsx @@ -4,10 +4,10 @@ import { RiDeviceSave3Fill } from "solid-icons/ri"; import { SiSqlite } from "solid-icons/si"; import { TbDatabaseStar } from "solid-icons/tb"; import { Component, createResource } from "solid-js"; +import { invokeCommand } from "../../../lib/tauri"; import { SettingsStore } from "../../../store/settings-store"; import { FolderLocation } from "../../../types/enums"; import { InvokeCommand } from "../../../types/tauri-invoke"; -import { invokeCommand } from "../../../utils/tauri"; import { TextBlock } from "../../elements/text-block"; import { Toggle } from "../../elements/toggle"; diff --git a/src/components/pages/settings/settings-general.tsx b/src/components/pages/settings/settings-general.tsx index adcbcc17..13d63222 100644 --- a/src/components/pages/settings/settings-general.tsx +++ b/src/components/pages/settings/settings-general.tsx @@ -3,20 +3,20 @@ import { FiMoon } from "solid-icons/fi"; import { HiOutlineWindow, HiSolidCog8Tooth } from "solid-icons/hi"; import { IoLanguageOutline } from "solid-icons/io"; import { RiDeviceKeyboardFill } from "solid-icons/ri"; +import { TbTooltip } from "solid-icons/tb"; import { VsRocket } from "solid-icons/vs"; import { Component, Show } from "solid-js"; +import { invokeCommand } from "../../../lib/tauri"; import { HotkeyStore } from "../../../store/hotkey-store"; import { SettingsStore } from "../../../store/settings-store"; import { ClippyPosition, HotkeyEvent, Language, WebWindow } from "../../../types/enums"; import { InvokeCommand } from "../../../types/tauri-invoke"; -import { invokeCommand } from "../../../utils/tauri"; import { Dropdown } from "../../elements/dropdown"; import { Input } from "../../elements/input"; import { TextBlock } from "../../elements/text-block"; import { Toggle } from "../../elements/toggle"; import { DarkMode } from "../../utils/dark-mode"; import { Shortcut } from "../../utils/shortcut"; -import { TbTooltip } from "solid-icons/tb"; interface SettingsGeneralProps {} diff --git a/src/components/pages/settings/settings-history.tsx b/src/components/pages/settings/settings-history.tsx index 6d82bfff..c9abc0e6 100644 --- a/src/components/pages/settings/settings-history.tsx +++ b/src/components/pages/settings/settings-history.tsx @@ -2,10 +2,10 @@ import { BsDeviceHdd } from "solid-icons/bs"; import { FiTrash2 } from "solid-icons/fi"; import { SiSqlite } from "solid-icons/si"; import { Component, createResource } from "solid-js"; +import { invokeCommand } from "../../../lib/tauri"; import { ClipboardType } from "../../../types/enums"; import { InvokeCommand } from "../../../types/tauri-invoke"; -import { formatBytes } from "../../../utils/helpers"; -import { invokeCommand } from "../../../utils/tauri"; +import { formatBytes } from "../../../utils"; import { TextBlock } from "../../elements/text-block"; const CLIPBOARD_TYPES: { type: ClipboardType | null; label: string }[] = [ diff --git a/src/components/pages/settings/settings-limits.tsx b/src/components/pages/settings/settings-limits.tsx index dbb2791e..19ba58fb 100644 --- a/src/components/pages/settings/settings-limits.tsx +++ b/src/components/pages/settings/settings-limits.tsx @@ -4,7 +4,7 @@ import { HiSolidCog8Tooth } from "solid-icons/hi"; import { VsFileBinary } from "solid-icons/vs"; import { Component, Show } from "solid-js"; import { SettingsStore } from "../../../store/settings-store"; -import { formatBytes } from "../../../utils/helpers"; +import { formatBytes } from "../../../utils"; import { Input } from "../../elements/input"; import { TextBlock } from "../../elements/text-block"; diff --git a/src/index.tsx b/src/index.tsx index 492d84c0..4b763c11 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,12 +1,12 @@ import { createResource, onMount } from "solid-js"; import { render } from "solid-js/web"; import App from "./components/pages/app/app"; +import { listenEvent } from "./lib/tauri"; import { AppStore } from "./store/app-store"; import { ClipboardStore } from "./store/clipboard-store"; import { HotkeyStore } from "./store/hotkey-store"; import "./styles.css"; import { ListenEvent } from "./types/tauri-listen"; -import { listenEvent } from "./utils/tauri"; const Index = () => { createResource(AppStore.init); diff --git a/src/utils/colors.ts b/src/lib/colors.ts similarity index 100% rename from src/utils/colors.ts rename to src/lib/colors.ts diff --git a/src/lib/i18n/ar.json b/src/lib/i18n/ar.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/ar.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/bn.json b/src/lib/i18n/bn.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/bn.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/de.json b/src/lib/i18n/de.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/de.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/en.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/es.json b/src/lib/i18n/es.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/es.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/fr.json b/src/lib/i18n/fr.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/fr.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/hi.json b/src/lib/i18n/hi.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/hi.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/index.ts b/src/lib/i18n/index.ts new file mode 100644 index 00000000..92aa8dd0 --- /dev/null +++ b/src/lib/i18n/index.ts @@ -0,0 +1,17 @@ +import { type Flatten, flatten } from "@solid-primitives/i18n"; +import { Language } from "../../types/enums"; +import type * as en from "./en.json"; + +export type RawDictionary = typeof en; +export type Locale = `${Language}`; +export type Dictionary = Flatten; +export type DictionaryKey = { + [K in keyof Dictionary]: Dictionary[K] extends string ? K : never; +}[keyof Dictionary]; + +export async function fetchDictionary(locale: Locale): Promise { + const dict: RawDictionary = await import(`./${locale}.json?import`); + return flatten(dict); +} + +export const msg = (key: DictionaryKey) => key; diff --git a/src/lib/i18n/it.json b/src/lib/i18n/it.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/it.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/ja.json b/src/lib/i18n/ja.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/ja.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/ko.json b/src/lib/i18n/ko.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/ko.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/nl.json b/src/lib/i18n/nl.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/nl.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/pl.json b/src/lib/i18n/pl.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/pl.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/pt.json b/src/lib/i18n/pt.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/pt.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/ru.json b/src/lib/i18n/ru.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/ru.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/th.json b/src/lib/i18n/th.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/th.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/tr.json b/src/lib/i18n/tr.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/tr.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/ur.json b/src/lib/i18n/ur.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/ur.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/vi.json b/src/lib/i18n/vi.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/vi.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/lib/i18n/zh.json b/src/lib/i18n/zh.json new file mode 100644 index 00000000..bd929311 --- /dev/null +++ b/src/lib/i18n/zh.json @@ -0,0 +1,136 @@ +{ + "CHAT": { + "COMMENT": "Comment", + "DISCORD_LOGIN": "Discord Login", + "INFO": { + "COMMENT_DELETED": "Comment Deleted" + }, + "META": { + "DESCRIPTION": "Connect with 6,600+ developers in real-time. Discuss programming, get help, and join tech conversations in our active Discord community.", + "KEYWORDS": "programming chat, developer discussion, code help, tech community, discord chat", + "TITLE": "Community Chat - Coding [EN,GER]" + }, + "SUCCESS": { + "COMMENT_ADD": "Comment added successfully" + }, + "TITLE": "Chat" + }, + "HOME": { + "BY": "by", + "META": { + "DESCRIPTION": "Join our thriving coding community with 6,600+ members. Get help from experienced developers, share projects, and connect with programmers of all skill levels. English and German speaking welcome!", + "KEYWORDS": "coding, programming, developers, discord server, programming community, code help, software development, German, English", + "TITLE": "Coding [EN,GER] - Programming & Software Development Community" + }, + "OFFICIAL": "Official", + "OFFICIAL_CODING_DISCORD_WEBSITE": "Official Coding Discord Website", + "SEE_REPOSITORY": "See the repository", + "TITLE": "Home", + "WEBSITE_FOR_THE_CODING_DISCORD_SERVER": "Website for the Coding DIscord Server" + }, + "MAIN": { + "BUTTON": { + "BACK_TO_HOME": "Back to Home", + "DISBOARD": "Disboard", + "DISCORD": "Discord", + "LOADING": "Loading", + "NOT_FOUND": "Not found", + "RETRY": "Retry" + }, + "ENUM": { + "DARK": "Dark", + "DE": "German", + "EN": "English", + "LIGHT": "Light", + "SYSTEM": "System" + }, + "ERROR": { + "PAGE_NOT_FOUND": "Page Not Found", + "UNAUTHORIZED": "Unauthorized" + }, + "META": { + "DESCRIPTION": "Join our international coding community for programming help and discussions. Features support for multiple languages including JavaScript, Python, Java, C++, and more or visit us on disboard https://disboard.org/server/693908458986143824", + "KEYWORDS": "programming, coding, software development, JavaScript, Python, Java, C++", + "TITLE": "Coding Community - Join Our Developer Network" + }, + "NAVIGATION": { + "CHAT": "Chat", + "NEWS": "News", + "RULES": "Rules", + "TEAM": "Team", + "TODO": "Todo" + }, + "SUCCESS": { + "CONSOLE_CLEARED": "Console cleared", + "LOGGED_OUT": "Logged out successfully" + }, + "TOOLTIP": { + "CLEAR_CONSOLE": "Clear console", + "LOGOUT": "Logout", + "TOGGLE_LANGUAGE": "Toggle Language", + "TOGGLE_THEME": "Toggle Theme" + } + }, + "NEWS": { + "META": { + "DESCRIPTION": "Stay updated with the latest programming news, technology updates, and community announcements from our coding Discord server.", + "KEYWORDS": "tech news, programming updates, coding news, technology updates, community announcements", + "TITLE": "Tech News & Updates - Coding [EN,GER]" + }, + "TITLE": "News" + }, + "RULES": { + "ADVERTISING": "Advertising", + "ADVERTISING_CONTENT1": "Any kind of third-party advertising is prohibited.", + "ASKING_QUESTIONS": "Asking Questions", + "ASKING_QUESTIONS_CONTENT1": "Nobody is obliged to help or answer a question. Help is generally free of charge.", + "ASKING_QUESTIONS_CONTENT2": "Members with the role of \"HELPER\" have volunteered to help with questions.", + "ASKING_QUESTIONS_CONTENT3": "Pinging members to expect a faster response is not allowed.", + "ASKING_QUESTIONS_CONTENT4": "Don't ask questions like \"Does anyone know about XY?\" ask the question directly, see also ➔ https://dontasktoask.com/.", + "ASKING_QUESTIONS_CONTENT5": "Note the thread \"How do I ask a good question?\" on Stackoverflow ➔ https://stackoverflow.com/help/how-to-ask.", + "DIRECT_MESSAGES": "Direct Messages", + "DIRECT_MESSAGES_CONTENT1": "Please refrain from sending direct messages to the administrators.", + "DISCORD_GUIDELINES": "Discord Guidelines", + "DISCORD_GUIDELINES_CONTENT1": "The Discord Community Guidelines apply to Programming [DE/EN]; users can view these at https://discord.com/guidelines.", + "ENFORCEMENT": "Enforcement of a Measure", + "ENFORCEMENT_CONTENT1": "The interpretation of the rules is at the discretion of the respective administrator.", + "LANGUAGE": "Language", + "LANGUAGE_CONTENT1": "The language of our community is German and English. In the voice channel \"Public [DE]\" German is the primary language. Users can speak English voluntarily. However, users must speak English in the Voice Channel \"Public [EN]\".", + "META": { + "DESCRIPTION": "Guidelines and rules for our programming community to ensure a helpful and respectful environment for all members.", + "KEYWORDS": "community rules, guidelines, code of conduct, server rules", + "TITLE": "Community Guidelines - Coding [EN,GER]" + }, + "MODERATORS": "Moderators", + "MODERATORS_CONTENT1": "The moderation team has the right to take appropriate actions against a user, even if a certain rule has not been explicitly violated. Moderator actions can include escalating actions taken when the user refuses to obey decisions made.", + "PERSONAL_INFO": "Dissemination of Personal Information", + "PERSONAL_INFO_CONTENT1": "Dissemination of other people's personal information of any kind without their consent is prohibited and will result in a permanent ban. This includes, for example, first name, last name, address, mobile phone number or pictures, etc.", + "RECORDING": "Recording", + "RECORDING_CONTENT1": "The recording of videos (screen sharing, webcam) and sound (voice chat) is not permitted on this Discord.", + "TITLE": "Rules" + }, + "TEAM": { + "META": { + "DESCRIPTION": "Meet our experienced moderators and administrators who help maintain and grow our programming community.", + "KEYWORDS": "moderators, admin team, community leaders, server staff", + "TITLE": "Our Team - Coding [EN,GER]" + }, + "TITLE": "Team" + }, + "TODO": { + "INFO": { + "TODO_DELETED": "Todo deleted successfully" + }, + "META": { + "DESCRIPTION": "Check out planned improvements and upcoming features for our programming community.", + "KEYWORDS": "upcoming features, community updates, planned improvements, future developments", + "TITLE": "Upcoming Features - Coding [EN,GER]" + }, + "SEED": "Seed", + "SUCCESS": { + "TODO_ADD": "Todo added successfully", + "TODO_SEED": "Todos were seeded successfully" + }, + "TITLE": "Todo" + } +} diff --git a/src/utils/tauri.ts b/src/lib/tauri.ts similarity index 100% rename from src/utils/tauri.ts rename to src/lib/tauri.ts diff --git a/src/settings.tsx b/src/settings.tsx index 3528b189..06ddff23 100644 --- a/src/settings.tsx +++ b/src/settings.tsx @@ -5,12 +5,12 @@ import { SettingsBackup } from "./components/pages/settings/settings-backup"; import { SettingsGeneral } from "./components/pages/settings/settings-general"; import { SettingsHistory } from "./components/pages/settings/settings-history"; import { SettingsHotkeys } from "./components/pages/settings/settings-hotkeys"; +import { SettingsLimits } from "./components/pages/settings/settings-limits"; +import { listenEvent } from "./lib/tauri"; import { AppStore } from "./store/app-store"; import { SettingsStore } from "./store/settings-store"; import "./styles.css"; import { ListenEvent } from "./types/tauri-listen"; -import { listenEvent } from "./utils/tauri"; -import { SettingsLimits } from "./components/pages/settings/settings-limits"; const Settings = () => { createResource(AppStore.init); diff --git a/src/store/clipboard-store.ts b/src/store/clipboard-store.ts index 02544ed1..60a9013d 100644 --- a/src/store/clipboard-store.ts +++ b/src/store/clipboard-store.ts @@ -1,7 +1,7 @@ import { createRoot, createSignal } from "solid-js"; +import { invokeCommand } from "../lib/tauri"; import { ClipboardWhere, ClipboardWithRelations } from "../types"; import { InvokeCommand } from "../types/tauri-invoke"; -import { invokeCommand } from "../utils/tauri"; export const initialWhere: ClipboardWhere = { cursor: undefined, diff --git a/src/store/hotkey-store.ts b/src/store/hotkey-store.ts index a7b8b651..4cef3d17 100644 --- a/src/store/hotkey-store.ts +++ b/src/store/hotkey-store.ts @@ -1,8 +1,8 @@ import { createRoot, createSignal } from "solid-js"; +import { invokeCommand } from "../lib/tauri"; import { Hotkey } from "../types"; import { HotkeyEvent } from "../types/enums"; import { InvokeCommand } from "../types/tauri-invoke"; -import { invokeCommand } from "../utils/tauri"; function createHotkeyStore() { const [globalHotkeyEvent, enableGlobalHotkeyEvent] = createSignal(false); diff --git a/src/store/settings-store.ts b/src/store/settings-store.ts index f7e4d123..465c64f2 100644 --- a/src/store/settings-store.ts +++ b/src/store/settings-store.ts @@ -1,14 +1,14 @@ import { BsDatabaseFillGear } from "solid-icons/bs"; import { HiSolidCog8Tooth } from "solid-icons/hi"; import { RiDeviceKeyboardFill } from "solid-icons/ri"; +import { TbResize } from "solid-icons/tb"; import { VsHistory } from "solid-icons/vs"; import { createRoot, createSignal } from "solid-js"; +import { invokeCommand } from "../lib/tauri"; import { Settings, SettingsTab } from "../types"; import { WebWindow } from "../types/enums"; import { InvokeCommand } from "../types/tauri-invoke"; import { SETTINGS_TAB, SettingsTabName } from "../utils/constants"; -import { invokeCommand } from "../utils/tauri"; -import { TbResize } from "solid-icons/tb"; function createSettingsStore() { const [tabs, setTabs] = createSignal([ diff --git a/src/types/enums.ts b/src/types/enums.ts index a0f832b6..9740715e 100644 --- a/src/types/enums.ts +++ b/src/types/enums.ts @@ -58,6 +58,33 @@ export enum Language { // ~200 million speakers Urdu = "ur", + + // ~170 million speakers + Japanese = "ja", + + // ~160 million speakers + German = "de", + + // ~130 million speakers + Korean = "ko", + + // ~100 million speakers + Vietnamese = "vi", + + // ~95 million speakers + Turkish = "tr", + + // ~85 million speakers + Italian = "it", + + // ~80 million speakers + Thai = "th", + + // ~45 million speakers + Polish = "pl", + + // ~30 million speakers + Dutch = "nl", } export enum HotkeyEvent { diff --git a/src/utils/helpers.ts b/src/utils/index.ts similarity index 100% rename from src/utils/helpers.ts rename to src/utils/index.ts