feat: add ETD localization strings

This commit is contained in:
Carlos Miguel C. Resurreccion 2026-06-19 16:48:15 +08:00
parent fb2db2fe21
commit d649b29153
11 changed files with 22 additions and 0 deletions

View File

@ -42,5 +42,7 @@ pub(super) const STRINGS: Strings = Strings {
codex_token_expired_title: "Codex-authenticatiefout",
codex_token_expired_body: "Voer 'codex' uit in een terminal en volg de aanmeldstappen. Ververs of herstart de app daarna.",
codex_window_title: "Codex-gebruiksmonitor",
show_etd: "Toon ETD",
etd_suffix: "ETD",
second_suffix: "s",
};

View File

@ -42,5 +42,7 @@ pub(super) const STRINGS: Strings = Strings {
codex_token_expired_title: "Codex Auth Error",
codex_token_expired_body: "Run 'codex' in a terminal and follow the sign-in prompts. After that, refresh or restart this app.",
codex_window_title: "Codex Usage Monitor",
show_etd: "Show ETD",
etd_suffix: "ETD",
second_suffix: "s",
};

View File

@ -42,5 +42,7 @@ pub(super) const STRINGS: Strings = Strings {
codex_token_expired_title: "Erreur d'authentification Codex",
codex_token_expired_body: "Executez 'codex' dans un terminal et suivez les instructions de connexion. Ensuite, actualisez ou redemarrez cette application.",
codex_window_title: "Moniteur d'utilisation Codex",
show_etd: "Afficher l'ETD",
etd_suffix: "ETD",
second_suffix: "s",
};

View File

@ -42,5 +42,7 @@ pub(super) const STRINGS: Strings = Strings {
codex_token_expired_title: "Codex-Authentifizierungsfehler",
codex_token_expired_body: "Fuhren Sie 'codex' in einem Terminal aus und folgen Sie den Anmeldeanweisungen. Aktualisieren oder starten Sie diese App anschliessend neu.",
codex_window_title: "Codex-Nutzungsmonitor",
show_etd: "ETD anzeigen",
etd_suffix: "ETD",
second_suffix: "s",
};

View File

@ -42,5 +42,7 @@ pub(super) const STRINGS: Strings = Strings {
codex_token_expired_title: "Codex 認証エラー",
codex_token_expired_body: "ターミナルで 'codex' を実行し、サインインの案内に従ってください。その後、このアプリを更新または再起動してください。",
codex_window_title: "Codex 使用量モニター",
show_etd: "ETD を表示",
etd_suffix: "ETD",
second_suffix: "秒",
};

View File

@ -42,5 +42,7 @@ pub(super) const STRINGS: Strings = Strings {
codex_token_expired_title: "Codex 인증 오류",
codex_token_expired_body: "터미널에서 'codex'를 실행하고 로그인 안내를 따르세요. 그런 다음 이 앱을 새로 고치거나 다시 시작하세요.",
codex_window_title: "Codex 사용량 모니터",
show_etd: "ETD 표시",
etd_suffix: "ETD",
second_suffix: "초",
};

View File

@ -177,6 +177,8 @@ pub struct Strings {
pub codex_token_expired_title: &'static str,
pub codex_token_expired_body: &'static str,
pub codex_window_title: &'static str,
pub show_etd: &'static str,
pub etd_suffix: &'static str,
}
pub fn resolve_language(language_override: Option<LanguageId>) -> LanguageId {

View File

@ -43,4 +43,6 @@ pub(super) const STRINGS: Strings = Strings {
codex_token_expired_title: "Erro de Autenticação do Codex",
codex_token_expired_body: "Execute 'codex' em um terminal e siga as instruções de login. Depois disso, atualize ou reinicie este aplicativo.",
codex_window_title: "Monitor de uso do Codex",
show_etd: "Mostrar ETD",
etd_suffix: "ETD",
};

View File

@ -43,4 +43,6 @@ pub(super) const STRINGS: Strings = Strings {
codex_token_expired_title: "Ошибка авторизации Codex",
codex_token_expired_body: "Запустите 'codex' в терминале и следуйте инструкциям для входа. После этого обновите или перезапустите приложение.",
codex_window_title: "Монитор использования Codex",
show_etd: "Показывать ETD",
etd_suffix: "ETD",
};

View File

@ -42,5 +42,7 @@ pub(super) const STRINGS: Strings = Strings {
codex_token_expired_title: "Error de autenticacion de Codex",
codex_token_expired_body: "Ejecuta 'codex' en una terminal y sigue las indicaciones de inicio de sesion. Despues, actualiza o reinicia esta aplicacion.",
codex_window_title: "Monitor de uso de Codex",
show_etd: "Mostrar ETD",
etd_suffix: "ETD",
second_suffix: "s",
};

View File

@ -42,5 +42,7 @@ pub(super) const STRINGS: Strings = Strings {
codex_token_expired_title: "Codex 驗證錯誤",
codex_token_expired_body: "請在終端機中執行 'codex',並依照登入提示操作。完成後,請重新整理或重新啟動此應用程式。",
codex_window_title: "Codex 使用量監控",
show_etd: "顯示 ETD",
etd_suffix: "ETD",
second_suffix: "秒",
};