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:
@@ -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)],
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user