----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112401/ -----------------------------------------------------------
(Updated Sept. 1, 2013, 12:22 p.m.) Review request for KDE Frameworks, Albert Astals Cid and Aleix Pol Gonzalez. Changes ------- I agree that QSet<QString> is a more natural return type for KLocalizedString::availableApplicationTranslations. Having QStringList there was more an atavism of earlier API elements. Description ------- Add the static method KLocalizedString::availableApplicationTranslations that reports the list of language codes for which there exists the translation catalog for application's domain (as set by KLocalizedString::setApplicationDomain). This allows client code e.g. to offer a language switching feature in an application. Diffs (updated) ----- staging/ki18n/autotests/klocalizedstringtest.cpp ec3966f staging/ki18n/src/kcatalog.cpp 183bea5 staging/ki18n/src/kcatalog_p.h 6feb09c staging/ki18n/src/klocalizedstring.h eb44075 staging/ki18n/src/klocalizedstring.cpp eab9216 Diff: http://git.reviewboard.kde.org/r/112401/diff/ Testing ------- Unit test supplied. Thanks, Chusslove Illich
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel