Okular ODP generator translation

Yuri Chornoivan yurchor at ukr.net
Tue Aug 5 05:49:02 BST 2014


написане Mon, 04 Aug 2014 22:21:29 +0300, Luigi Toscano  
<luigi.toscano at tiscali.it>:

> Albert Astals Cid ha scritto:
>> El Diumenge, 3 d'agost de 2014, a les 14:52:10, Burkhard Lück va  
>> escriure:
>>> Am Sonntag, 3. August 2014, 12:42:07 schrieb Yuri Chornoivan:
>>>> Hi,
>>>>
>>>> It seems that OkularOdpGenerator.cpp loads "okular_odp" catalog,  
>>>> renaming
>>>> "okularGenerator_odp.mo" to "okular_odp.mo" solves the problem with  
>>>> not
>>>> loading the translations in Okular ("Help -> About Backend").
>>>>
>>>> Can anybody help with moving okularGenerator_odp.po into  
>>>> okular_odp.po in
>>>> trunk?
>>>
>>> This one liner patch would load the correct catalog as well without  
>>> changing
>>> the Messages.sh and renaming all existing catalogs:
>>> $ git diff extras/
>>> diff --git a/extras/okularodpgenerator/OkularOdpGenerator.cpp
>>> b/extras/okularodpgenerator/OkularOdpGenerator.cpp
>>> index 6c4afc3..3f935a4 100644
>>> --- a/extras/okularodpgenerator/OkularOdpGenerator.cpp
>>> +++ b/extras/okularodpgenerator/OkularOdpGenerator.cpp
>>> @@ -44,7 +44,7 @@ static KAboutData createAboutData()
>>>  {
>>>      KAboutData aboutData(
>>>           "okular_odp",
>>> -         "okular_odp",
>>> +         "okularGenerator_odp",
>>>           ki18n( "ODP Backend" ),
>>>           "0.1",
>>>           ki18n( "ODP file renderer" ),
>>>
>>> What is the preferred solution?
>>> 1) Yuri's changed Messages.sh and renaming of all catalogs
>>> 2)  Patching OkularOdpGenerator.cpp
>>
>> Personally i prefer the reverted Messages.sh + 2)
>>
>> It's just smaller changes :D
>>
>> Yuri, could you do that?
>
> Before people start translating more and more, should I revert the  
> change to
> Messages.sh and change the catalog name? (cc- also calligra-devel)
>
> Ciao

Just forgot to make "git push". Sorry.

Best regards,
Yuri



More information about the calligra-devel mailing list