diff --git a/src/i18n/locales/de.toml b/src/i18n/locales/de.toml deleted file mode 100644 index 36079a8..0000000 --- a/src/i18n/locales/de.toml +++ /dev/null @@ -1,49 +0,0 @@ -code = "de" -native_name = "Deutsch" - -window_title = "Claude Code Usage Bubble" -refresh = "Aktualisieren" -update_frequency = "Aktualisierungsintervall" -one_minute = "1 Minute" -five_minutes = "5 Minuten" -fifteen_minutes = "15 Minuten" -one_hour = "1 Stunde" -models = "Modelle" -claude_label = "Claude Code" -chatgpt_label = "Codex" -settings = "Einstellungen" -start_with_windows = "Mit Windows starten" -reset_position = "Position zurücksetzen" -language = "Sprache" -system_default = "Systemstandard" -check_for_updates = "Nach Updates suchen" -checking_for_updates = "Suche läuft…" -up_to_date = "Aktuell" -update_failed = "Update fehlgeschlagen" -applying_update = "Update wird angewendet…" -update_available = "Update verfügbar" -update_via_winget = "über WinGet" -auto_update_check = "Automatische Updateprüfung" -auto_check_disabled = "Deaktiviert" -auto_check_hourly = "Stündlich" -auto_check_daily = "Täglich" -auto_check_weekly = "Wöchentlich" -exit = "Beenden" -restart = "Neu starten" -show_widget = "Widget anzeigen" -session_window = "5h" -weekly_window = "7d" -now = "jetzt" -day_suffix = "T" -hour_suffix = "h" -minute_suffix = "m" -second_suffix = "s" -token_expired_title = "Claude Code-Sitzung abgelaufen" -token_expired_body = "Melde dich erneut an, um die Nutzung weiter zu verfolgen." -chatgpt_token_expired_title = "Codex-Sitzung abgelaufen" -chatgpt_token_expired_body = "Melde dich erneut an, um die Nutzung weiter zu verfolgen." -threshold_80_body = "5-Stunden-Limit naht." -threshold_95_body = "Limit fast erreicht — gönn dir eine Pause." -update_applied_title = "Update angewendet" -update_applied_body = "Aktualisiert auf v" -update_rollback_failed_body = "Update fehlgeschlagen. Deine ursprüngliche Binärdatei liegt unter: " diff --git a/src/i18n/locales/es.toml b/src/i18n/locales/es.toml deleted file mode 100644 index 2504efe..0000000 --- a/src/i18n/locales/es.toml +++ /dev/null @@ -1,49 +0,0 @@ -code = "es" -native_name = "Español" - -window_title = "Claude Code Usage Bubble" -refresh = "Actualizar" -update_frequency = "Frecuencia de actualización" -one_minute = "1 minuto" -five_minutes = "5 minutos" -fifteen_minutes = "15 minutos" -one_hour = "1 hora" -models = "Modelos" -claude_label = "Claude Code" -chatgpt_label = "Codex" -settings = "Ajustes" -start_with_windows = "Iniciar con Windows" -reset_position = "Restablecer posición" -language = "Idioma" -system_default = "Predeterminado del sistema" -check_for_updates = "Buscar actualizaciones" -checking_for_updates = "Buscando actualizaciones…" -up_to_date = "Al día" -update_failed = "Actualización fallida" -applying_update = "Aplicando actualización…" -update_available = "Actualización disponible" -update_via_winget = "vía WinGet" -auto_update_check = "Búsqueda automática de actualizaciones" -auto_check_disabled = "Desactivada" -auto_check_hourly = "Cada hora" -auto_check_daily = "Cada día" -auto_check_weekly = "Cada semana" -exit = "Salir" -restart = "Reiniciar" -show_widget = "Mostrar widget" -session_window = "5h" -weekly_window = "7d" -now = "ahora" -day_suffix = "d" -hour_suffix = "h" -minute_suffix = "m" -second_suffix = "s" -token_expired_title = "Sesión de Claude Code caducada" -token_expired_body = "Vuelve a iniciar sesión para seguir registrando el uso." -chatgpt_token_expired_title = "Sesión de Codex caducada" -chatgpt_token_expired_body = "Vuelve a iniciar sesión para seguir registrando el uso." -threshold_80_body = "Cerca del límite de 5 horas." -threshold_95_body = "Límite casi alcanzado — reduce el ritmo." -update_applied_title = "Actualización aplicada" -update_applied_body = "Actualizado a v" -update_rollback_failed_body = "Actualización fallida. Tu binario original está guardado en: " diff --git a/src/i18n/locales/fr.toml b/src/i18n/locales/fr.toml deleted file mode 100644 index 0d89714..0000000 --- a/src/i18n/locales/fr.toml +++ /dev/null @@ -1,49 +0,0 @@ -code = "fr" -native_name = "Français" - -window_title = "Claude Code Usage Bubble" -refresh = "Actualiser" -update_frequency = "Fréquence de mise à jour" -one_minute = "1 minute" -five_minutes = "5 minutes" -fifteen_minutes = "15 minutes" -one_hour = "1 heure" -models = "Modèles" -claude_label = "Claude Code" -chatgpt_label = "Codex" -settings = "Paramètres" -start_with_windows = "Lancer avec Windows" -reset_position = "Réinitialiser la position" -language = "Langue" -system_default = "Paramètre système" -check_for_updates = "Rechercher des mises à jour" -checking_for_updates = "Recherche en cours…" -up_to_date = "À jour" -update_failed = "Mise à jour échouée" -applying_update = "Mise à jour en cours…" -update_available = "Mise à jour disponible" -update_via_winget = "via WinGet" -auto_update_check = "Vérification automatique des mises à jour" -auto_check_disabled = "Désactivée" -auto_check_hourly = "Toutes les heures" -auto_check_daily = "Quotidienne" -auto_check_weekly = "Hebdomadaire" -exit = "Quitter" -restart = "Redémarrer" -show_widget = "Afficher le widget" -session_window = "5h" -weekly_window = "7j" -now = "maintenant" -day_suffix = "j" -hour_suffix = "h" -minute_suffix = "m" -second_suffix = "s" -token_expired_title = "Session Claude Code expirée" -token_expired_body = "Reconnectez-vous pour continuer à suivre votre utilisation." -chatgpt_token_expired_title = "Session Codex expirée" -chatgpt_token_expired_body = "Reconnectez-vous pour continuer à suivre votre utilisation." -threshold_80_body = "Approche de la limite de 5 heures." -threshold_95_body = "Limite proche — pensez à lever le pied." -update_applied_title = "Mise à jour appliquée" -update_applied_body = "Mis à jour vers v" -update_rollback_failed_body = "Échec de la mise à jour. Votre binaire d'origine est enregistré à : " diff --git a/src/i18n/locales/nl.toml b/src/i18n/locales/nl.toml deleted file mode 100644 index 7541ad6..0000000 --- a/src/i18n/locales/nl.toml +++ /dev/null @@ -1,49 +0,0 @@ -code = "nl" -native_name = "Nederlands" - -window_title = "Claude Code Usage Bubble" -refresh = "Vernieuwen" -update_frequency = "Bijwerkfrequentie" -one_minute = "1 minuut" -five_minutes = "5 minuten" -fifteen_minutes = "15 minuten" -one_hour = "1 uur" -models = "Modellen" -claude_label = "Claude Code" -chatgpt_label = "Codex" -settings = "Instellingen" -start_with_windows = "Starten met Windows" -reset_position = "Positie herstellen" -language = "Taal" -system_default = "Systeemstandaard" -check_for_updates = "Controleren op updates" -checking_for_updates = "Bezig met controleren…" -up_to_date = "Up-to-date" -update_failed = "Update mislukt" -applying_update = "Update toepassen…" -update_available = "Update beschikbaar" -update_via_winget = "via WinGet" -auto_update_check = "Automatische updatecontrole" -auto_check_disabled = "Uitgeschakeld" -auto_check_hourly = "Per uur" -auto_check_daily = "Dagelijks" -auto_check_weekly = "Wekelijks" -exit = "Afsluiten" -restart = "Opnieuw starten" -show_widget = "Widget tonen" -session_window = "5u" -weekly_window = "7d" -now = "nu" -day_suffix = "d" -hour_suffix = "u" -minute_suffix = "m" -second_suffix = "s" -token_expired_title = "Claude Code-sessie verlopen" -token_expired_body = "Meld je opnieuw aan om gebruik te blijven volgen." -chatgpt_token_expired_title = "Codex-sessie verlopen" -chatgpt_token_expired_body = "Meld je opnieuw aan om gebruik te blijven volgen." -threshold_80_body = "Je nadert de 5-uurslimiet." -threshold_95_body = "Limiet bijna bereikt — overweeg even gas terug te nemen." -update_applied_title = "Update toegepast" -update_applied_body = "Bijgewerkt naar v" -update_rollback_failed_body = "Update mislukt. Je oorspronkelijke bestand staat op: " diff --git a/src/i18n/locales/vi.toml b/src/i18n/locales/vi.toml new file mode 100644 index 0000000..cf31803 --- /dev/null +++ b/src/i18n/locales/vi.toml @@ -0,0 +1,49 @@ +code = "vi" +native_name = "Tiếng Việt" + +window_title = "Claude Code Usage Bubble" +refresh = "Làm mới" +update_frequency = "Tần suất cập nhật" +one_minute = "1 phút" +five_minutes = "5 phút" +fifteen_minutes = "15 phút" +one_hour = "1 giờ" +models = "Mô hình" +claude_label = "Claude Code" +chatgpt_label = "Codex" +settings = "Cài đặt" +start_with_windows = "Khởi động cùng Windows" +reset_position = "Đặt lại vị trí" +language = "Ngôn ngữ" +system_default = "Mặc định hệ thống" +check_for_updates = "Kiểm tra cập nhật" +checking_for_updates = "Đang kiểm tra cập nhật…" +up_to_date = "Đã là phiên bản mới nhất" +update_failed = "Cập nhật thất bại" +applying_update = "Đang áp dụng cập nhật…" +update_available = "Có bản cập nhật mới" +update_via_winget = "qua WinGet" +auto_update_check = "Tự động kiểm tra cập nhật" +auto_check_disabled = "Tắt" +auto_check_hourly = "Mỗi giờ" +auto_check_daily = "Hằng ngày" +auto_check_weekly = "Hằng tuần" +exit = "Thoát" +restart = "Khởi động lại" +show_widget = "Hiện widget" +session_window = "5g" +weekly_window = "7n" +now = "ngay" +day_suffix = "n" +hour_suffix = "g" +minute_suffix = "p" +second_suffix = "s" +token_expired_title = "Phiên Claude Code đã hết hạn" +token_expired_body = "Hãy đăng nhập lại để tiếp tục theo dõi mức sử dụng." +chatgpt_token_expired_title = "Phiên Codex đã hết hạn" +chatgpt_token_expired_body = "Hãy đăng nhập lại để tiếp tục theo dõi mức sử dụng." +threshold_80_body = "Sắp chạm giới hạn 5 giờ." +threshold_95_body = "Sắp tới giới hạn — hãy cân nhắc giảm tốc." +update_applied_title = "Đã áp dụng cập nhật" +update_applied_body = "Đã cập nhật lên v" +update_rollback_failed_body = "Cập nhật thất bại. Tệp gốc của bạn được lưu tại: " diff --git a/src/i18n/mod.rs b/src/i18n/mod.rs index 2cc9c90..21e0525 100644 --- a/src/i18n/mod.rs +++ b/src/i18n/mod.rs @@ -87,12 +87,9 @@ struct LocaleFile { const RAW_LOCALES: &[(&str, &str)] = &[ ("en", include_str!("locales/en.toml")), - ("nl", include_str!("locales/nl.toml")), - ("es", include_str!("locales/es.toml")), - ("fr", include_str!("locales/fr.toml")), - ("de", include_str!("locales/de.toml")), ("ja", include_str!("locales/ja.toml")), ("ko", include_str!("locales/ko.toml")), + ("vi", include_str!("locales/vi.toml")), ("zh-TW", include_str!("locales/zh-TW.toml")), ];