Considering translation domain in .rc files

Review Request #121141 - Created Nov. 16, 2014 and submitted

Chusslove Illich
dfaure, lueck, lukas

This patch adds support for translationDomain attribute to top tag in .rc files. If the attribute exists, translations are looked up in the catalog as named by the attribute. If it does not exist, translations are looked up in the application catalog. Thus, the attribute is necessary for .rc files provided by libraries, and not necessary for .rc files of applications (which use KLocalizedString::setApplicationDomain()).

Translations from tested .rc files appear in running applications where they didn't before.

David Faure
Burkhard Lück
Chusslove Illich
Review request changed

Status: Closed (submitted)