mojira.dev
MC-310233

Some strings that contain percentages have spaces before the percentage sign, unlike similar strings

The Bug:

Some strings that contain percentages have spaces before the percentage sign, unlike similar strings.

These strings contain a space between the placeholder and the escaped percentage sign, so they display, for example, as "42 %" instead of "42%". Other strings that have percentage symbols don’t have spaces, therefore introducing an inconsistency.

Affected String(s):

Before reading the table, please note the following:

  • Characters colored in GREEN are correct.

  • Characters colored in RED are incorrect.

Translation Key

Current String

Expected String

String URL on Crowdin

mco.download.percent

%s %%

%s%%

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5344521

mco.upload.percent

%s %%

%s%%

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5360225

upgradeWorld.progress.percentage

%s%%

%s%%

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5438961

optimizeWorld.progress.percentage

%s%%

%s%%

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5360235

loading.progress

%s%%

%s%%

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5360221

menu.preparingSpawn

Preparing spawn area: %s%%

Preparing spawn area: %s%%

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5331802

Steps to Reproduce:

  1. Display any of the affected strings as listed above by using the command provided below and replacing "XYZ" with the string's translation key.

    /tellraw @s {"translate":"XYZ"}
  2. Look closely at the spacing in the observed strings.

Observed Behavior:

A space is present between the number and the percent sign.

Expected Behavior:

No space would be present between the number and the percent sign.

Comments 1

Avoma

bl4ckscor3

Community Consensus

Platform HC

Low

Text

26.2, 26.3 Snapshot 4

26.3 Snapshot 10

Retrieved