Add CMakeL10n rules #1

Merged
SlavekB merged 1 commits from feat/CMakeL10n into master 5 years ago
Owner

KVIrc is in many ways different from the usual TDE applications. Therefore, I am not surprised that even for translations it is significantly different.

While usual TDE applications translate a string or a context + string, the string + context is used here. Yes, the opposite order of arguments. Moreover, the context is not actually used as a translation context, but it determines the catalog in which the translation is to be searched.

As a result, old modified kde-xgettext can not be used to extract strings for translation. Therefore, there is a forced use of standard xgettext, instead of kde-xgettext. At this moment, I do not think of a more viable solution.

Some objections? Some ideas?

KVIrc is in many ways different from the usual TDE applications. Therefore, I am not surprised that even for translations it is significantly different. While usual TDE applications translate a string or a context + string, the string + context is used here. Yes, the opposite order of arguments. Moreover, the context is not actually used as a translation context, but it determines the catalog in which the translation is to be searched. As a result, old modified kde-xgettext can not be used to extract strings for translation. Therefore, there is a forced use of standard xgettext, instead of kde-xgettext. At this moment, I do not think of a more viable solution. Some objections? Some ideas?
SlavekB added the PR/rfc label 5 years ago
Owner

Looks ok to me

Looks ok to me
SlavekB removed the PR/rfc label 5 years ago
SlavekB closed this pull request 5 years ago
SlavekB deleted branch feat/CMakeL10n 5 years ago
SlavekB added this to the R14.0.6 release milestone 5 years ago
The pull request has been merged as 0fbed184da.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/kvirc#1
Loading…
There is no content yet.