Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-597

Text strings containing multiple %s are problematic to translate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.3
    • None
    • None
    • None

      There are some strings containing multiple instances of "%s" as variable placeholders. This is problematic because different languages use different word orders, so you cannot guarantee that the translated string will have the variables in the same order. Having variables represented by just "%s" is also far from ideal because it doesn't tell the translator anything about what the variable contains (at most, you can tell that it contains a string of some description).

      Some particularly unclear examples:
      "Removing album %s: %s - %s"
      "Album %s loaded: %s - %s"
      "Track: %s %s"

            zas Zas
            nikki nikki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                1.3