Mojira Archive
MC-25207

attribute.modifier.* ignores the order of %s and %d

In the language pack, '%s' seems to be replaced to string, and '%d' will be decimal value like printf().

I want to change word order in the attribute of some tools. In English, a stone shovel will be: '+2 Attack Damage'.
In order to translate in Japanese, I changed from:

attribute.modifier.plus.0=+%d %s
attribute.modifier.plus.1=+%d%% %s
attribute.modifier.plus.2=+%d%% %s
attribute.modifier.take.0=-%d %s
attribute.modifier.take.1=-%d%% %s
attribute.modifier.take.2=-%d%% %s

To:

attribute.modifier.plus.0=%s +%d
attribute.modifier.plus.1=%s +%d%%
attribute.modifier.plus.2=%s +%d%%
attribute.modifier.take.0=%s -%d
attribute.modifier.take.1=%s -%d%%
attribute.modifier.take.2=%s -%d%%

Results: '2 +与ダメージ' (2 +Attack Damage).
This should be '与ダメージ +2'(Attack Damage +2).

Invalid

ANBO Motohiko

2013-07-11, 03:15 PM

2013-12-18, 12:19 AM

2013-12-17, 09:26 PM

0

3

Unconfirmed

Minecraft 1.6.2

-