mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
Fix launcher strings (#4375)
* Fix launcher strings * Add prompt to press enter for installation * Prompt should appear after ensuring that the OS is supported
This commit is contained in:
parent
969c2b43b5
commit
1ba4512011
2 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
launcher-title = Anki Launcher
|
launcher-title = Anki Launcher
|
||||||
launcher-press-enter-to-start = Press the Enter/Return key on your keyboard to install or update Anki.
|
launcher-press-enter-to-install = Press the Enter/Return key on your keyboard to install or update Anki.
|
||||||
|
launcher-press-enter-to-start = Press enter to start Anki.
|
||||||
launcher-anki-will-start-shortly = Anki will start shortly.
|
launcher-anki-will-start-shortly = Anki will start shortly.
|
||||||
launcher-you-can-close-this-window = You can close this window.
|
launcher-you-can-close-this-window = You can close this window.
|
||||||
launcher-updating-anki = Updating Anki...
|
launcher-updating-anki = Updating Anki...
|
||||||
|
|
@ -13,7 +14,7 @@ launcher-on = on
|
||||||
launcher-off = off
|
launcher-off = off
|
||||||
launcher-cache-downloads = Cache downloads: { $state }
|
launcher-cache-downloads = Cache downloads: { $state }
|
||||||
launcher-download-mirror = Download mirror: { $state }
|
launcher-download-mirror = Download mirror: { $state }
|
||||||
launcher-uninstall = Uninstall
|
launcher-uninstall = Uninstall Anki
|
||||||
launcher-invalid-input = Invalid input. Please try again.
|
launcher-invalid-input = Invalid input. Please try again.
|
||||||
launcher-latest-releases = Latest releases: { $releases }
|
launcher-latest-releases = Latest releases: { $releases }
|
||||||
launcher-enter-the-version-you-want = Enter the version you want to install:
|
launcher-enter-the-version-you-want = Enter the version you want to install:
|
||||||
|
|
|
||||||
|
|
@ -173,6 +173,8 @@ fn run() -> Result<()> {
|
||||||
|
|
||||||
ensure_os_supported()?;
|
ensure_os_supported()?;
|
||||||
|
|
||||||
|
println!("{}\n", state.tr.launcher_press_enter_to_install());
|
||||||
|
|
||||||
check_versions(&mut state);
|
check_versions(&mut state);
|
||||||
|
|
||||||
main_menu_loop(&state)?;
|
main_menu_loop(&state)?;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue