[prev in list] [next in list] [prev in thread] [next in thread]
List: calligra-devel
Subject: Re: Okular ODP generator translation
From: Luigi Toscano <luigi.toscano () tiscali ! it>
Date: 2014-08-04 19:21:29
Message-ID: 53DFDD39.7040108 () tiscali ! it
[Download RAW message or body]
Albert Astals Cid ha scritto:
> El Diumenge, 3 d'agost de 2014, a les 14:52:10, Burkhard L=FCck va escriu=
re:
>> Am Sonntag, 3. August 2014, 12:42:07 schrieb Yuri Chornoivan:
>>> Hi,
>>>
>>> It seems that OkularOdpGenerator.cpp loads "okular_odp" catalog, renami=
ng
>>> "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 chan=
ging
>> 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
-- =
Luigi
_______________________________________________
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic