Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup translations and remove Turkish & Greek #1135

Merged
merged 17 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
5cf5e44
Change upload box title from "Upload to Opencast" to "Upload"
LukasKalbertodt Oct 5, 2023
a931f7b
Remove unused translations from `en.json`
LukasKalbertodt Oct 5, 2023
73c02f0
Change translation key of `prev-button` to `back-button`
LukasKalbertodt Oct 5, 2023
7703a46
Move "Next" and "back" button labels in translation files
LukasKalbertodt Oct 5, 2023
a20876f
Convert Chinese translation to Unix file endings
LukasKalbertodt Oct 5, 2023
c1739da
Remove unused translations from remaining files
LukasKalbertodt Oct 5, 2023
6288093
Remove Greek and Turkish translations
LukasKalbertodt Oct 5, 2023
eb440e2
Move all "video select" related translations into `steps.video`
LukasKalbertodt Oct 5, 2023
5d3c832
Remove more unused translations
LukasKalbertodt Oct 5, 2023
e24297b
Remove additional unused translations in all languages
LukasKalbertodt Oct 5, 2023
0c01501
Move all "audio setup" related translations into nested format
LukasKalbertodt Oct 5, 2023
af15c73
Move all "record" related translation into nested structure
LukasKalbertodt Oct 5, 2023
24662ab
Move all "review" related translations into nested structure
LukasKalbertodt Oct 5, 2023
bac0e22
Move some "finish"-step related translation strings around
LukasKalbertodt Oct 5, 2023
6c8574b
Move remaining upload-step related translations
LukasKalbertodt Oct 5, 2023
0630ea8
Move remaining "finish"-step related translations
LukasKalbertodt Oct 5, 2023
134be5c
Refactor keys for shortcut-related translations
LukasKalbertodt Oct 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/i18n/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,21 @@ import LanguageDetector from "i18next-browser-languagedetector";

import enTranslations from "./locales/en.json";
import deTranslations from "./locales/de.json";
import elTranslations from "./locales/el.json";
import esTranslations from "./locales/es.json";
import faTranslations from "./locales/fa.json";
import frTranslations from "./locales/fr.json";
import nlTranslations from "./locales/nl.json";
import slTranslations from "./locales/sl.json";
import trTranslations from "./locales/tr.json";
import zhTranslations from "./locales/zh.json";

const resources = {
en: { translation: enTranslations },
de: { translation: deTranslations },
el: { translation: elTranslations },
es: { translation: esTranslations },
fa: { translation: faTranslations },
fr: { translation: frTranslations },
nl: { translation: nlTranslations },
sl: { translation: slTranslations },
tr: { translation: trTranslations },
zh: { translation: zhTranslations },
};

Expand Down
2 changes: 0 additions & 2 deletions src/i18n/languages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ const languages = [
{ short: "en", long: "English", rtl: false },
{ short: "de", long: "Deutsch", rtl: false },
{ short: "nl", long: "Dutch", rtl: false },
{ short: "el", long: "Ελληνικά", rtl: false },
{ short: "es", long: "Español", rtl: false },
{ short: "fa", long: "Farsi", rtl: true },
{ short: "fr", long: "Français", rtl: false },
{ short: "sl", long: "Slovenščina", rtl: false },
{ short: "tr", long: "Turkish", rtl: false },
{ short: "zh", long: "简体中文", rtl: false },
];

Expand Down
290 changes: 115 additions & 175 deletions src/i18n/locales/de.json

Large diffs are not rendered by default.

31 changes: 0 additions & 31 deletions src/i18n/locales/el.json

This file was deleted.

299 changes: 119 additions & 180 deletions src/i18n/locales/en.json

Large diffs are not rendered by default.

209 changes: 87 additions & 122 deletions src/i18n/locales/es.json

Large diffs are not rendered by default.

54 changes: 25 additions & 29 deletions src/i18n/locales/fa.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
{
"nav-recording": "ضبط کردن",
"save-creation-subsection-title-upload": "آپلود در Opencast",
"forms-validation-error-required": "این زمینه مورد نیاز است.",
"message-upload-complete": "آپلود کامل شد!",
"cancel-button-title": "لغو کردن",
"pause-button-title": "مکث در ضبط کردن",
"record-button-title": "شروع ضبط کردن",
"resume-button-title": "ادامه ضبط کردن",
"save-creation-button-discard": "دور انداختن",
"save-creation-button-upload": "آپلود در Opencast",
"save-creation-form-invalid": "لطفا عنوان و مجری را تعیین کنید",
"save-creation-label-presenter": "ارائه دهنده",
"save-creation-label-title": "عنوان",
"share-display": "اشتراک دسکتاپ (بدون صدا)",
"share-user": "به اشتراک گذاشتن دوربین",
"state-paused": "توقف شده",
"state-recording": "ضبط کردن",
"state-waiting": "در حال انتظار",
"stop-button-title": "توقف در ضبط کردن",
"toolbar-button-about": "درباره Opencast Studio",
"toolbar-button-issues": "گزارش مشکل",
"toolbar-button-opencast": "برو به Opencast",
"toolbar-button-upload-settings": "باز کردن تنظیمات آپلود",
"upload-notification": "در حال بارگذاری",
"upload-settings-button-store": "ذخیره تنظیمات",
"upload-settings-modal-header": "آپلود تنظیمات در Opencast",
"upload-settings-label-server-url": "آدرس سرور",
"upload-settings-label-username": "نام کاربری",
"upload-settings-label-password": "رمز عبور"
"steps": {
"video": {
"share-display": "اشتراک دسکتاپ (بدون صدا)",
"share-user": "به اشتراک گذاشتن دوربین"
},
"record": {
"pause-button-title": "مکث در ضبط کردن",
"record-button-title": "شروع ضبط کردن",
"resume-button-title": "ادامه ضبط کردن",
"stop-button-title": "توقف در ضبط کردن"
},
"finish": {
"upload": {
"validation-error-required": "این زمینه مورد نیاز است.",
"complete": "آپلود کامل شد!",
"label-presenter": "ارائه دهنده",
"label-title": "عنوان",
"currently-uploading": "در حال بارگذاری",
"settings-header": "آپلود تنظیمات در Opencast",
"settings-label-server-url": "آدرس سرور",
"settings-label-username": "نام کاربری",
"settings-label-password": "رمز عبور"
}
}
}
}
Loading