codeburn/windows/src-tauri/locales/en.json
Resham Joshi a388c00cd7
feat(windows): ask for a GitHub star once after the third open (#1828)
The Windows tray gets the same star ask as the desktop app (#1826) and the macOS menubar (#1827). The bottom star strip that showed from the first launch now waits until the third time the popover is opened, then shows a small card: Enjoying CodeBurn?, one muted line asking for a star if it has been helping, and Not now and Star on GitHub buttons. No icon, no close cross.

Opens are counted on the codeburn://shown event the tray already emits each time it shows the popover, under codeburn.starNudgeOpens. Either button sets codeburn.starNudgeDone and the card never comes back; hiding the popover without pressing a button sets nothing, so it shows again on the next open. Anyone who already closed the old strip (codeburn.starBannerDismissed) is not asked again. Star on GitHub opens the repo through the opener plugin the strip already used.

The card keeps the strip's slot after the CLI update banner and its tinted background, and takes the spacing, type and buttons of the telemetry consent card. The four strings are in the en and zh-Hans catalogs. StarIcon had no other user and is removed.

Verified with tsc --noEmit, a key parity check across both catalogs, and a scratch run of the show logic against a stubbed localStorage (opens 1 and 2 hidden, 3 and 4 shown, done flag hides, old dismissed key hides). windows/ has no JS test setup, so no test was added. Not run on a Windows machine; cargo test (catalog parity) and the tauri build run in Windows Menubar CI.
2026-11-02 15:50:31 +01:00

50 lines
2.6 KiB
JSON

{
"%@ · no usage yet": "%@ · no usage yet",
"%1$lld of %2$lld devices": "%1$lld of %2$lld devices",
"%lld calls": "%lld calls",
"1 call": "1 call",
"6 Months": "6 Months",
"About CodeBurn": "About CodeBurn",
"Bottom": "Bottom",
"Capacity Dock Settings…": "Capacity Dock Settings…",
"Check for Updates": "Check for Updates",
"CodeBurn %1$@ · %2$lld of %3$lld devices reporting": "CodeBurn · %1$@ · %2$lld of %3$lld devices reporting",
"Dock to Edge": "Dock to Edge",
"Hide Capacity Dock": "Hide Capacity Dock",
"Language": "Language",
"Left": "Left",
"Month": "Month",
"Open CodeBurn": "Open CodeBurn",
"Open Full Report": "Open Full Report",
"Quit CodeBurn": "Quit CodeBurn",
"Refresh": "Refresh",
"Right": "Right",
"Settings…": "Settings…",
"Show Capacity Dock": "Show Capacity Dock",
"Switch to Dark Theme": "Switch to Dark Theme",
"Switch to Light Theme": "Switch to Light Theme",
"Switch to System Theme": "Switch to System Theme",
"System": "System",
"Today": "Today",
"Today · %1$@ · %2$@": "Today · %1$@ · %2$@",
"Today · no usage yet": "Today · no usage yet",
"Top": "Top",
"Week": "Week",
"Updating the CLI...": "Updating the CLI...",
"CLI updated to %@.": "CLI updated to %@.",
"The CLI is up to date.": "The CLI is up to date.",
"No global CLI found.": "No global CLI found.",
"Another CodeBurn update is already running.": "Another CodeBurn update is already running.",
"CLI %@ is not on npm yet. Try again in a few minutes.": "CLI %@ is not on npm yet. Try again in a few minutes.",
"CodeBurn is not allowed to change the CLI folder. Run this in a terminal:": "CodeBurn is not allowed to change the CLI folder. Run this in a terminal:",
"CodeBurn could not tell how the CLI was installed. Run this in a terminal:": "CodeBurn could not tell how the CLI was installed. Run this in a terminal:",
"The CLI update failed. Run this in a terminal:": "The CLI update failed. Run this in a terminal:",
"The CLI update did not run. Run this in a terminal:": "The CLI update did not run. Run this in a terminal:",
"Your package manager updates this CLI.": "Your package manager updates this CLI.",
"Opening CodeBurn to update the desktop app.": "Opening CodeBurn to update the desktop app.",
"Update CLI": "Update CLI",
"Enjoying CodeBurn?": "Enjoying CodeBurn?",
"If it has been helping you, a star on GitHub would mean a lot. It keeps the project free and open.": "If it has been helping you, a star on GitHub would mean a lot. It keeps the project free and open.",
"Not now": "Not now",
"Star on GitHub": "Star on GitHub"
}