mirror of
https://github.com/tiennm99/claude-code-usage-bubble.git
synced 2026-06-06 10:12:43 +00:00
c0f3e3f860
Windows-only floating, draggable circular bubble showing Claude Code and Codex usage. Derivative of CodeZeno/Claude-Code-Usage-Monitor (MIT), relicensed under Apache 2.0 with upstream attribution in NOTICE. - Ported verbatim: poller, updater, tray_icon, theme, localization, diagnose, models (~2,700 LOC) - Original: bubble (circular layered window, drag-anywhere via WM_NCHITTEST+HTCAPTION, snap-to-edge, Ctrl+Wheel resize, auto-hide on fullscreen), panel (expanded 5h/7d view), app (orchestrator, single-instance mutex, polling thread, context menu, dual-bubble lifecycle), settings (settings.json persistence) - Cargo.toml features cover Win32 GDI, HiDpi, Registry, Threading, Shell, WindowsAndMessaging, and KeyboardAndMouse
47 lines
1.8 KiB
Rust
47 lines
1.8 KiB
Rust
use super::Strings;
|
|
|
|
pub(super) const UPDATE_VIA_WINGET_LABEL: &str = "Bijwerken via WinGet";
|
|
|
|
pub(super) const STRINGS: Strings = Strings {
|
|
window_title: "Claude Code Gebruiksmonitor",
|
|
refresh: "Vernieuwen",
|
|
update_frequency: "Updatefrequentie",
|
|
one_minute: "1 minuut",
|
|
five_minutes: "5 minuten",
|
|
fifteen_minutes: "15 minuten",
|
|
one_hour: "1 uur",
|
|
models: "Modellen",
|
|
claude_code_model: "Claude Code",
|
|
codex_model: "Codex",
|
|
settings: "Instellingen",
|
|
start_with_windows: "Opstarten met Windows",
|
|
reset_position: "Positie herstellen",
|
|
language: "Taal",
|
|
system_default: "Systeemstandaard",
|
|
check_for_updates: "Controleren op updates",
|
|
checking_for_updates: "Controleren op updates...",
|
|
updates: "Updates",
|
|
update_in_progress: "Er is al een updatecontrole bezig.",
|
|
up_to_date: "Je gebruikt al de nieuwste versie.",
|
|
up_to_date_short: "Up-to-date",
|
|
update_failed: "Automatisch bijwerken mislukt",
|
|
applying_update: "Update wordt toegepast...",
|
|
update_to: "Bijwerken naar",
|
|
update_available: "Update beschikbaar",
|
|
update_prompt_now: "Versie {version} is beschikbaar. Wil je nu bijwerken?",
|
|
exit: "Afsluiten",
|
|
show_widget: "Widget tonen",
|
|
session_window: "5u",
|
|
weekly_window: "7d",
|
|
now: "nu",
|
|
day_suffix: "d",
|
|
hour_suffix: "u",
|
|
minute_suffix: "m",
|
|
token_expired_title: "Claude Code-authenticatiefout",
|
|
token_expired_body: "Voer 'claude' uit in een terminal, gebruik daarna '/login' en volg de stappen. Ververs of herstart de app daarna.",
|
|
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",
|
|
second_suffix: "s",
|
|
};
|