Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-25207

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.6.2
    • None
    • Unconfirmed

      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).

            Unassigned Unassigned
            amotohiko ANBO Motohiko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: