equal
deleted
inserted
replaced
562 QLocale::Language l; |
562 QLocale::Language l; |
563 QLocale::Country c; |
563 QLocale::Country c; |
564 Translator::languageAndCountry(translator.languageCode(), &l, &c); |
564 Translator::languageAndCountry(translator.languageCode(), &l, &c); |
565 QStringList numerusForms; |
565 QStringList numerusForms; |
566 bool guessPlurals = true; |
566 bool guessPlurals = true; |
567 if (getNumerusInfo(l, c, 0, &numerusForms)) |
567 if (getNumerusInfo(l, c, 0, &numerusForms, 0)) |
568 guessPlurals = (numerusForms.count() == 1); |
568 guessPlurals = (numerusForms.count() == 1); |
569 |
569 |
570 QString context, contextUtf8; |
570 QString context, contextUtf8; |
571 bool contextIsSystem, contextIsUtf8, contextNeeds8Bit; |
571 bool contextIsSystem, contextIsUtf8, contextNeeds8Bit; |
572 QString sourcetext, sourcetextUtf8; |
572 QString sourcetext, sourcetextUtf8; |
702 Releaser releaser; |
702 Releaser releaser; |
703 QLocale::Language l; |
703 QLocale::Language l; |
704 QLocale::Country c; |
704 QLocale::Country c; |
705 Translator::languageAndCountry(translator.languageCode(), &l, &c); |
705 Translator::languageAndCountry(translator.languageCode(), &l, &c); |
706 QByteArray rules; |
706 QByteArray rules; |
707 if (getNumerusInfo(l, c, &rules, 0)) |
707 if (getNumerusInfo(l, c, &rules, 0, 0)) |
708 releaser.setNumerusRules(rules); |
708 releaser.setNumerusRules(rules); |
709 releaser.setCodecName(translator.codecName()); |
709 releaser.setCodecName(translator.codecName()); |
710 |
710 |
711 int finished = 0; |
711 int finished = 0; |
712 int unfinished = 0; |
712 int unfinished = 0; |