diff --git a/components/ui/flag-icons.tsx b/components/ui/flag-icons.tsx index 75790cda..07101f00 100644 --- a/components/ui/flag-icons.tsx +++ b/components/ui/flag-icons.tsx @@ -98,6 +98,17 @@ export function FlagDE(props: FlagProps) { ); } +/** Hungary – Red, White, Green horizontal */ +export function FlagHU(props: FlagProps) { + return ( + + + + + + ); +} + /** Latvia – Maroon, White, Maroon horizontal */ export function FlagLV(props: FlagProps) { return ( @@ -219,6 +230,7 @@ export const flagComponents: Record ReactElement> en: FlagGB, es: FlagES, fr: FlagFR, + hu: FlagHU, it: FlagIT, ja: FlagJP, ko: FlagKR, diff --git a/components/ui/language-switcher.tsx b/components/ui/language-switcher.tsx index c0b197d6..4fd5e0ec 100644 --- a/components/ui/language-switcher.tsx +++ b/components/ui/language-switcher.tsx @@ -15,6 +15,7 @@ const languages = [ { value: 'es', label: 'Español' }, { value: 'fr', label: 'Français' }, { value: 'it', label: 'Italiano' }, + { value: 'hu', label: 'Magyar' }, { value: 'lv', label: 'Latviešu' }, { value: 'nl', label: 'Nederlands' }, { value: 'pl', label: 'Polski' }, diff --git a/i18n/routing.ts b/i18n/routing.ts index ad420514..70719825 100644 --- a/i18n/routing.ts +++ b/i18n/routing.ts @@ -12,7 +12,7 @@ const localePrefix = (process.env.NEXT_PUBLIC_LOCALE_PREFIX ?? 'never') as | 'always' | 'as-needed'; -const SUPPORTED_LOCALES = ['cs', 'da', 'de', 'en', 'es', 'fr', 'it', 'ja', 'ko', 'lv', 'nl', 'pl', 'pt', 'ru', 'tr', 'uk', 'zh'] as const; +const SUPPORTED_LOCALES = ['cs', 'da', 'de', 'en', 'es', 'fr', 'hu', 'it', 'ja', 'ko', 'lv', 'nl', 'pl', 'pt', 'ru', 'tr', 'uk', 'zh'] as const; // Fallback locale used when the visitor's Accept-Language header does not // match any supported locale (and no NEXT_LOCALE cookie is set yet). Admins diff --git a/locales/cs/common.json b/locales/cs/common.json index 8d14a9b7..9d9c04e6 100644 --- a/locales/cs/common.json +++ b/locales/cs/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "Nahrávání velkých souborů může způsobit nestabilitu serveru. Odstraněné soubory nemusí být okamžitě odstraněny z úložiště. Používejte s opatrností.", "no_accounts": "Žádné připojené účty.", "open_folder_tree": "Otevřít strom složek", - "other_accounts": "Ostatní účty" + "other_accounts": "Ostatní účty", + "migration_title": "Aktualizace vašich souborů…", + "migration_description": "Uspořádání složek a souborů do správné struktury. Toto proběhne pouze jednou." }, "smime": { "your_certificates": "Vaše certifikáty", diff --git a/locales/da/common.json b/locales/da/common.json index e950825e..9d1aed8f 100644 --- a/locales/da/common.json +++ b/locales/da/common.json @@ -2943,7 +2943,9 @@ "stability_warning": "Store filuploads kan forårsage serverustabilitet. Slettede filer fjernes muligvis ikke straks fra lageret. Brug med forsigtighed.", "no_accounts": "Ingen tilknyttede konti.", "open_folder_tree": "Åbn mappetræ", - "other_accounts": "Andre konti" + "other_accounts": "Andre konti", + "migration_title": "Opdaterer dine filer…", + "migration_description": "Organiserer mapper og filer i deres rette struktur. Dette sker kun én gang." }, "smime": { "your_certificates": "Dine certifikater", diff --git a/locales/de/common.json b/locales/de/common.json index c8a5d98e..360ba6ee 100644 --- a/locales/de/common.json +++ b/locales/de/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "Große Datei-Uploads können zu Serverinstabilität führen. Gelöschte Dateien werden möglicherweise nicht sofort aus dem Speicher entfernt. Mit Vorsicht verwenden.", "no_accounts": "Keine verbundenen Konten.", "open_folder_tree": "Ordnerbaum öffnen", - "other_accounts": "Andere Konten" + "other_accounts": "Andere Konten", + "migration_title": "Ihre Dateien werden aktualisiert…", + "migration_description": "Ordner und Dateien werden in die richtige Struktur gebracht. Dies geschieht nur einmal." }, "smime": { "your_certificates": "Ihre Zertifikate", diff --git a/locales/es/common.json b/locales/es/common.json index 4dc70342..e14d9da9 100644 --- a/locales/es/common.json +++ b/locales/es/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "Las cargas de archivos grandes pueden causar inestabilidad del servidor. Los archivos eliminados pueden no eliminarse inmediatamente del almacenamiento. Usar con precaución.", "no_accounts": "No hay cuentas conectadas.", "open_folder_tree": "Abrir árbol de carpetas", - "other_accounts": "Otras cuentas" + "other_accounts": "Otras cuentas", + "migration_title": "Actualizando tus archivos…", + "migration_description": "Organizando carpetas y archivos en su estructura adecuada. Esto solo ocurre una vez." }, "smime": { "your_certificates": "Tus certificados", diff --git a/locales/fr/common.json b/locales/fr/common.json index 1326dd50..e4dd9846 100644 --- a/locales/fr/common.json +++ b/locales/fr/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "Les téléchargements de fichiers volumineux peuvent provoquer une instabilité du serveur. Les fichiers supprimés peuvent ne pas être immédiatement purgés du stockage. À utiliser avec prudence.", "no_accounts": "Aucun compte connecté.", "open_folder_tree": "Ouvrir l'arborescence des dossiers", - "other_accounts": "Autres comptes" + "other_accounts": "Autres comptes", + "migration_title": "Mise à jour de vos fichiers…", + "migration_description": "Organisation des dossiers et fichiers dans leur structure appropriée. Cela ne se produit qu'une seule fois." }, "smime": { "your_certificates": "Vos certificats", diff --git a/locales/hu/common.json b/locales/hu/common.json index a1f28308..8f7a1e3d 100644 --- a/locales/hu/common.json +++ b/locales/hu/common.json @@ -2943,7 +2943,9 @@ "settings_folder_layout_sidebar": "Oldalsáv", "disabled_title": "A fájlok funkciót a rendszergazda letiltotta", "disabled_description": "Nagyméretű fájlok WebDAV-on keresztüli feltöltése Stalwart/RocksDB instabilitást okozhat, beleértve a memóriahiányos összeomlásokat és a helyreállíthatatlan lemezhasználatot. A törölt fájlok nem feltétlenül kerülnek azonnal eltávolításra a blob tárolóból. Ez a funkció nem ajánlott éles környezetben.", - "stability_warning": "Nagyméretű fájlok feltöltése szerver instabilitást okozhat. A törölt fájlok nem feltétlenül kerülnek azonnal eltávolításra a tárolóból. Használat óvatosan." + "stability_warning": "Nagyméretű fájlok feltöltése szerver instabilitást okozhat. A törölt fájlok nem feltétlenül kerülnek azonnal eltávolításra a tárolóból. Használat óvatosan.", + "migration_title": "Fájlok frissítése…", + "migration_description": "A mappák és fájlok a megfelelő struktúrába rendeződnek. Ez csak egyszer történik meg." }, "smime": { "your_certificates": "Tanúsítványaid", diff --git a/locales/it/common.json b/locales/it/common.json index c746559b..daf2a99b 100644 --- a/locales/it/common.json +++ b/locales/it/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "I caricamenti di file di grandi dimensioni possono causare instabilità del server. I file eliminati potrebbero non essere immediatamente rimossi dallo storage. Usare con cautela.", "no_accounts": "Nessun account collegato.", "open_folder_tree": "Apri albero cartelle", - "other_accounts": "Altri account" + "other_accounts": "Altri account", + "migration_title": "Aggiornamento dei tuoi file…", + "migration_description": "Organizzazione di cartelle e file nella loro struttura corretta. Questo avviene solo una volta." }, "smime": { "your_certificates": "I tuoi certificati", diff --git a/locales/ja/common.json b/locales/ja/common.json index 9b114812..35f6fb14 100644 --- a/locales/ja/common.json +++ b/locales/ja/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "大容量ファイルのアップロードはサーバーの不安定性を引き起こす可能性があります。削除されたファイルはストレージからすぐに削除されない場合があります。注意して使用してください。", "no_accounts": "接続されているアカウントはありません。", "open_folder_tree": "フォルダーツリーを開く", - "other_accounts": "その他のアカウント" + "other_accounts": "その他のアカウント", + "migration_title": "ファイルを更新しています…", + "migration_description": "フォルダーとファイルを適切な構造に整理しています。これは一度だけ行われます。" }, "smime": { "your_certificates": "あなたの証明書", diff --git a/locales/ko/common.json b/locales/ko/common.json index c3d4a6fe..554ca3a4 100644 --- a/locales/ko/common.json +++ b/locales/ko/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "대용량 파일 업로드는 서버 불안정을 초래할 수 있습니다. 삭제된 파일이 즉각적으로 저장소에서 지워지지 않을 수 있으니 주의해서 사용해 주세요.", "no_accounts": "연결된 계정이 없습니다.", "open_folder_tree": "폴더 트리 열기", - "other_accounts": "다른 계정" + "other_accounts": "다른 계정", + "migration_title": "파일 업데이트 중…", + "migration_description": "폴더와 파일을 올바른 구조로 정리하고 있습니다. 이 작업은 한 번만 수행됩니다." }, "smime": { "your_certificates": "내 인증서", diff --git a/locales/lv/common.json b/locales/lv/common.json index f6a986d9..0c8b8b4b 100644 --- a/locales/lv/common.json +++ b/locales/lv/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "Lielu failu augšupielāde var radīt servera nestabilitāti. Dzēstie faili var netikt nekavējoties izņemti no glabātuves. Lietojiet piesardzīgi.", "no_accounts": "Nav pievienotu kontu.", "open_folder_tree": "Atvērt mapju koku", - "other_accounts": "Citi konti" + "other_accounts": "Citi konti", + "migration_title": "Notiek jūsu failu atjaunināšana…", + "migration_description": "Mapes un faili tiek sakārtoti pareizajā struktūrā. Tas notiek tikai vienu reizi." }, "smime": { "your_certificates": "Jūsu sertifikāti", diff --git a/locales/nl/common.json b/locales/nl/common.json index b4604dc2..6a7f02f7 100644 --- a/locales/nl/common.json +++ b/locales/nl/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "Grote bestandsuploads kunnen serverinstabiliteit veroorzaken. Verwijderde bestanden worden mogelijk niet onmiddellijk uit de opslag verwijderd. Gebruik met voorzichtigheid.", "no_accounts": "Geen gekoppelde accounts.", "open_folder_tree": "Mappenstructuur openen", - "other_accounts": "Andere accounts" + "other_accounts": "Andere accounts", + "migration_title": "Je bestanden worden bijgewerkt…", + "migration_description": "Mappen en bestanden worden in de juiste structuur georganiseerd. Dit gebeurt slechts één keer." }, "smime": { "your_certificates": "Uw certificaten", diff --git a/locales/pl/common.json b/locales/pl/common.json index be409478..877caccf 100644 --- a/locales/pl/common.json +++ b/locales/pl/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "Duże przesyłanie plików może powodować niestabilność serwera. Usunięte pliki mogą nie zostać natychmiast usunięte z magazynu. Używaj ostrożnie.", "no_accounts": "Brak połączonych kont.", "open_folder_tree": "Otwórz drzewo folderów", - "other_accounts": "Inne konta" + "other_accounts": "Inne konta", + "migration_title": "Aktualizowanie plików…", + "migration_description": "Porządkowanie folderów i plików w odpowiedniej strukturze. Dzieje się to tylko raz." }, "smime": { "your_certificates": "Twoje certyfikaty", diff --git a/locales/pt/common.json b/locales/pt/common.json index a1e5defd..1c2b6a1e 100644 --- a/locales/pt/common.json +++ b/locales/pt/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "Uploads de arquivos grandes podem causar instabilidade no servidor. Arquivos excluídos podem não ser removidos imediatamente do armazenamento. Use com cautela.", "no_accounts": "Nenhuma conta conectada.", "open_folder_tree": "Abrir árvore de pastas", - "other_accounts": "Outras contas" + "other_accounts": "Outras contas", + "migration_title": "Atualizando seus arquivos…", + "migration_description": "Organizando pastas e arquivos em sua estrutura adequada. Isso acontece apenas uma vez." }, "smime": { "your_certificates": "Seus certificados", diff --git a/locales/ru/common.json b/locales/ru/common.json index 6e8f4d55..fc2225cf 100644 --- a/locales/ru/common.json +++ b/locales/ru/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "Загрузка больших файлов может вызвать нестабильность сервера. Удалённые файлы могут не быть немедленно удалены из хранилища. Используйте с осторожностью.", "no_accounts": "Нет подключённых учётных записей.", "open_folder_tree": "Открыть дерево папок", - "other_accounts": "Другие учётные записи" + "other_accounts": "Другие учётные записи", + "migration_title": "Обновление ваших файлов…", + "migration_description": "Папки и файлы упорядочиваются в правильную структуру. Это происходит только один раз." }, "smime": { "your_certificates": "Ваши сертификаты", diff --git a/locales/tr/common.json b/locales/tr/common.json index fe46c3d6..dbf12d53 100644 --- a/locales/tr/common.json +++ b/locales/tr/common.json @@ -2943,7 +2943,9 @@ "stability_warning": "Büyük dosya yüklemeleri sunucu kararsızlığına neden olabilir. Silinen dosyalar depolamadan hemen temizlenmeyebilir. Dikkatli kullanın.", "no_accounts": "Bağlı hesap yok.", "open_folder_tree": "Klasör ağacını aç", - "other_accounts": "Diğer hesaplar" + "other_accounts": "Diğer hesaplar", + "migration_title": "Dosyalarınız güncelleniyor…", + "migration_description": "Klasörler ve dosyalar doğru yapıya göre düzenleniyor. Bu yalnızca bir kez gerçekleşir." }, "smime": { "your_certificates": "Sertifikalarınız", diff --git a/locales/uk/common.json b/locales/uk/common.json index 39c645d8..86cf9001 100644 --- a/locales/uk/common.json +++ b/locales/uk/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "Завантаження великих файлів може спричинити нестабільність сервера. Видалені файли не можуть бути негайно видалені зі сховища. Використовуйте з обережністю.", "no_accounts": "Немає підключених облікових записів.", "open_folder_tree": "Відкрити дерево тек", - "other_accounts": "Інші облікові записи" + "other_accounts": "Інші облікові записи", + "migration_title": "Оновлення ваших файлів…", + "migration_description": "Папки та файли впорядковуються у правильну структуру. Це відбувається лише один раз." }, "smime": { "your_certificates": "Ваші сертифікати", diff --git a/locales/zh/common.json b/locales/zh/common.json index c0919801..c5f05237 100644 --- a/locales/zh/common.json +++ b/locales/zh/common.json @@ -2920,7 +2920,9 @@ "stability_warning": "大文件上传会导致服务器不稳定。已删除的文件可能不会立即从存储中清除。谨慎使用。", "no_accounts": "没有已连接的账户。", "open_folder_tree": "打开文件夹树", - "other_accounts": "其他账户" + "other_accounts": "其他账户", + "migration_title": "正在更新您的文件…", + "migration_description": "正在将文件夹和文件整理为正确的结构。此操作仅执行一次。" }, "smime": { "your_certificates": "您的证书",