launcher: Home and the sidebar in French and Russian

The second part of the launcher's translation: Home's banner, rows, crash notice and
Join a friend, the instance row and its actions, the sidebar's headings and instance
states, the partner label, play times and "last played" dates, and the resources line.
Play's label clears its icon in wider languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-27 05:13:43 +01:00
parent 8beaa57331
commit 39c8a2aa0e
8 changed files with 180 additions and 47 deletions
+9 -6
View File
@@ -651,14 +651,17 @@ fn sounds_in(resources: &Path) -> bool {
/// What the Play page says of a version's resources.
pub fn resources_summary(prepared: bool, sounds: bool, version: &str) -> String {
use crate::i18n::trf;
match (prepared, sounds) {
(false, _) => {
format!("Not prepared. Horizon needs the files of your own Minecraft {version}.")
}
(true, true) => format!("Prepared for Minecraft {version}"),
(true, false) => format!(
(false, _) => trf(
"Not prepared. Horizon needs the files of your own Minecraft {version}.",
&[("version", version)],
),
(true, true) => trf("Prepared for Minecraft {version}", &[("version", version)]),
(true, false) => trf(
"Prepared for Minecraft {version}, without its sounds: the game will be silent. \
Prepare again to copy them from your Minecraft install."
Prepare again to copy them from your Minecraft install.",
&[("version", version)],
),
}
}