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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Invalid
    • Affects Version/s: Minecraft 1.6.2
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed

      Description

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: