From 70931170fa1ff541456edd9d3288e22756865c6f Mon Sep 17 00:00:00 2001 From: Sally Knight Date: Mon, 16 Mar 2026 23:47:52 +0300 Subject: [PATCH] fix(i18n): convert and correct format specifiers Removes positional specifiers of the original Java Edition .lang and also corrects some specifiers (such as the one for key.mouseButton) --- Minecraft.Assets/Common/res/lang/en_US.lang | 62 ++++++++++----------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/Minecraft.Assets/Common/res/lang/en_US.lang b/Minecraft.Assets/Common/res/lang/en_US.lang index cdce905c0..5a9292197 100644 --- a/Minecraft.Assets/Common/res/lang/en_US.lang +++ b/Minecraft.Assets/Common/res/lang/en_US.lang @@ -134,11 +134,11 @@ demo.day.6=You have passed your fifth day, use F2 to save a screenshot of your c demo.reminder=The demo time has expired, buy the game to continue or start a new world! demo.remainingTime=Remaining time: %s demo.demoExpired=Demo time's up! -demo.help.movement=Use %1$s, %2$s, %3$s, %4$s and the mouse to move around -demo.help.movementShort=Move by pressing %1$s, %2$s, %3$s, %4$s +demo.help.movement=Use %s, %s, %s, %s and the mouse to move around +demo.help.movementShort=Move by pressing %s, %s, %s, %s demo.help.movementMouse=Look around using the mouse -demo.help.jump=Jump by pressing %1$s -demo.help.inventory=Use %1$s to open your inventory +demo.help.jump=Jump by pressing %s +demo.help.inventory=Use %s to open your inventory demo.help.title=Minecraft Demo Mode demo.help.fullWrapped=This demo will last 5 ingame days (about 1 hour and 40 minutes of real time). Check the achievements for hints! Have fun! demo.help.buy=Purchase Now! @@ -251,15 +251,15 @@ key.playerlist=List Players key.attack=Attack key.use=Use Item key.pickItem=Pick Block -key.mouseButton=Button %1$s +key.mouseButton=Button %d key.command=Command texturePack.openFolder=Open texture pack folder texturePack.title=Select Texture Pack texturePack.folderInfo=(Place texture pack files here) -book.pageIndicator=Page %1$s of %2$s -book.byAuthor=by %1$s +book.pageIndicator=Page %s of %s +book.byAuthor=by %s book.signButton=Sign book.editTitle=Enter Book Title: book.finalizeButton=Sign and Close @@ -649,24 +649,24 @@ entity.Boat.name=Boat entity.Arrow.name=arrow entity.generic.name=unknown -death.inFire=%1$s went up in flames -death.onFire=%1$s burned to death -death.lava=%1$s tried to swim in lava -death.inWall=%1$s suffocated in a wall -death.drown=%1$s drowned -death.starve=%1$s starved to death -death.cactus=%1$s was pricked to death -death.fall=%1$s hit the ground too hard -death.outOfWorld=%1$s fell out of the world -death.generic=%1$s died -death.explosion=%1$s blew up -death.magic=%1$s was killed by magic -death.mob=%1$s was slain by %2$s -death.player=%1$s was slain by %2$s -death.arrow=%1$s was shot by %2$s -death.fireball=%1$s was fireballed by %2$s -death.thrown=%1$s was pummeled by %2$s -death.indirectMagic=%1$s was killed by %2$s +death.inFire=%s went up in flames +death.onFire=%s burned to death +death.lava=%s tried to swim in lava +death.inWall=%s suffocated in a wall +death.drown=%s drowned +death.starve=%s starved to death +death.cactus=%s was pricked to death +death.fall=%s hit the ground too hard +death.outOfWorld=%s fell out of the world +death.generic=%s died +death.explosion=%s blew up +death.magic=%s was killed by magic +death.mob=%s was slain by %s +death.player=%s was slain by %s +death.arrow=%s was shot by %s +death.fireball=%s was fireballed by %s +death.thrown=%s was pummeled by %s +death.indirectMagic=%s was killed by %s deathScreen.respawn=Respawn deathScreen.deleteWorld=Delete world @@ -829,18 +829,18 @@ stat.mobKills=Mob Kills stat.playerKills=Player Kills stat.fishCaught=Fish Caught -stat.mineBlock=%1$s Mined -stat.craftItem=%1$s Crafted -stat.useItem=%1$s Used -stat.breakItem=%1$s Depleted +stat.mineBlock=%s Mined +stat.craftItem=%s Crafted +stat.useItem=%s Used +stat.breakItem=%s Depleted achievement.get=Achievement get! achievement.taken=Taken! -achievement.requires=Requires '%1$s' +achievement.requires=Requires '%s' achievement.openInventory=Taking Inventory -achievement.openInventory.desc=Press '%1$s' to open your inventory. +achievement.openInventory.desc=Press 'E' to open your inventory. achievement.mineWood=Getting Wood achievement.mineWood.desc=Attack a tree until a block of wood pops out achievement.buildWorkBench=Benchmarking