Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40566

Scottish Gaelic has only 3 plural forms in QT linguist, but the language has 4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0 Alpha
    • 4.6.0
    • Tools: Linguist
    • None
    • Windows
    • 32bb805deb7339918986a6305b769939b005e830

    Description

      I tried to translate a string that's marked for plural into Scottish Gaelic (gd). The source file has the appropriate "gd" tag for the locale.

      I am offered fields for Singular, Dual and Plural. However, Gaelic has 4 plural forms, not 3. The correct rule is:

      nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3;

      I am working with QT Linguist 4.6.0, which seems to be the current version still.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            gunchleoc GunChleoc
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes