Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-3615

Avoid using pluralize function for I18N.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2
    • Component/s: l10n & i18n
    • Labels:
      None

      Description

      In sonar-server/src/main/webapp/WEB-INF/app/views/filters/_list.html.erb, there is a message that uses pluralize function.

      <span id="results_count"><%= pluralize(@filter_context.size, message('result').downcase) %></span>

      This not appropriate for Japanese (and other languages including Chinese) since it just add an 's' character at the end of a Japanese word for 'result'. (see attached image)

        Attachments

          Activity

            People

            Assignee:
            simon.brandhof Simon Brandhof (Inactive)
            Reporter:
            nisinaka Yoshiyuki NISHINAKA
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: