Re: [Gimp-docs] czech po files
Dne 20.12.2010 12:01, Ulf-D. Ehlert napsal(a): > Julien Hardelin (Monday, 20. December 2010) >> Le 19/12/2010 22:57, Miroslav Šulc a écrit : >>> i just found that in that time .po files were not used yet, all >>> translations were done in the xml files with language attributes. >>> i wonder what was the way you used to migrate the translations >>> from xml files to po files, unless you did it manually. >> There has been so many changes in the gimp-help-2 tree since we >> migrated to po that an automatical tranfer is not possible now, >> IMO. >> >> Ulf, who made this migration would give a more documented advice. > Oh god, that was 100 years ago ;-) > > We used a script to split the multi-language xml files and create po > files using as many extracted translations as possible, if I remember > correctly. > > So we'd had to checkout a really old version and repeat this step for > cz po files. But the resulting po files would probably contain 99% > fuzzy or untranslated strings... > > If you (Miroslav) are interested I can try to create cz po files (this > evening or so). Ulf, i will probably find some time during holidays (friday+) so could you please try to extract the cs po files from the xml? it will be sure full of fuzzy translations, but it should definitely save me a lot of time. > Bye, > Ulf miroslav ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
[Gimp-docs] validity error for 'es
Hello There is a validity error for 'es' in gimp-help-2/xml/es/filters/light-and-shadow/nova.xml Element guilabel is not declared 103 Mostrar posición: Cuando esta opción está marcada, aparece una cruz en la vista previa y puede moverla con el puntero del ratón para situar el centro del destello. Here, the right paragrah: Mostrar posición: Cuando esta opción está marcada, aparece una cruz en la vista previa y puede moverla con el puntero del ratón para situar el centro del destello. Please, could someone fixe it? Thanks Ignacio ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] A question about prefs-interface.xml
Dne 21.12.2010 16:17, Ignacio napsal(a): > Hello > In this file: > gimp-help-2/src/using/preferences/prefs-interface.xml > > > 31Assorted Interface Preferences > > >fileref="images/preferences/prefs-interface.png"/> > > > "Assorted Interface Preferences", it's right? or maybe "User Interface > Preferences". i guess you are right. even the image says "User Interface" > > Thanks > Salutos > Ignacio miroslav ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
[Gimp-docs] A question about prefs-interface.xml
Hello In this file: gimp-help-2/src/using/preferences/prefs-interface.xml 31Assorted Interface Preferences "Assorted Interface Preferences", it's right? or maybe "User Interface Preferences". Thanks Salutos Ignacio ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] some docs fixes
Dne 21.12.2010 15:51, Julien Hardelin napsal(a): > Hi Miroslav, > > Your patches have been pushed. thank you. i noticed it cost you one hour of work. > Good work! > Could you tell us how you modified msgid strings in po files? A command > line? A script? i did all the fixes with grep and sed, except the case of "the the" string where one "the" was at the end of one line and the other "the" was at the beginning of following line ... that i edited manually though it could be automated too, but it does not deserve the effort. editing everything manually would be very time consuming. still, it cost me over one hour just the last time to prepare the patches. also, for typo issues i used whole git repo, whereas for changes in words i used just src dir. the simple case looked like this: for file in `git grep -l " you you "`; do sed -i "s/ you you / you /g" $file; done the whole process was little bit more complicated as i wanted to be sure the result is exactly what i want, so it was like pre-scan, modify, check, commit. about the msgid, it should work imo as we changed the typos both in src and po files the same way, so after concatenating the msgid strings, the result should be still the same as in xml files. i'll prepare you more patches when i find some time, as there are more issues i found. > Julien miroslav ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] some docs fixes
Hi Miroslav, Your patches have been pushed. Good work! Could you tell us how you modified msgid strings in po files? A command line? A script? Julien ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] some docs fixes
Dne 21.12.2010 07:42, Julien Hardelin napsal(a): > Hi Miroslav, >> well, i have no idea what is the rule now, but imo making extra work for >> translation teams just because there was a typo in english version does >> not make sense to me :-) > You are right. > > But here what I get when applying patches: > > ~/gimp-help-2> git apply select_to_channel.patch > > ~/gimp-help-2> git apply access_to.patch > error: patch failed: po/es/toolbox.po:2754 > error: po/es/toolbox.po: patch does not apply > > ~/gimp-help-2> git apply magnify_to_zoom.patch > error: patch failed: po/es/toolbox.po:183 > error: po/es/toolbox.po: patch does not apply > > ~/gimp-help-2> git apply duplicate.patch > ~/git-patches/gimp-help-2> > > The es toolbox.po files has been updated after you made patches. > > The problem is that there are 1769 lines only in this file and that line > 183 looks perfectly normal. > > Do you have a solution? i will prepare you new patches, but it's a question whether the process will be short enough so no po changes/commits will break it :-) if i had direct access to repo, this would be much easier. > Julien miroslav ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] czech po files
Dne 21.12.2010 10:24, Marco Ciampa napsal(a): > On Mon, Dec 20, 2010 at 05:59:44PM +0100, Miroslav Šulc wrote: >> also, as i saw there are many typos and other language issues in english >> version, i do not plan to start with czech translation until english >> version is clean, which will sure take some time. > In my humble opinion: > > - start translating right now. The manual is constantly a work in >progress and it is really hudge. There will never be a "clean" >english version > > - the .po transition allowed to work in this very variable condition >with confidence so do it without worry > > bye > well, it depended on the approach Julien will decide to use for the patches, as each typo fix in english doc would make my translation fuzzy if po files would not be patched too. and checking over and over my translations would be just waste of time. miroslav ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] czech po files
On Mon, Dec 20, 2010 at 05:59:44PM +0100, Miroslav Šulc wrote: > also, as i saw there are many typos and other language issues in english > version, i do not plan to start with czech translation until english > version is clean, which will sure take some time. In my humble opinion: - start translating right now. The manual is constantly a work in progress and it is really hudge. There will never be a "clean" english version - the .po transition allowed to work in this very variable condition with confidence so do it without worry bye -- Marco Ciampa ++ | Linux User #78271 | | FSFE fellow #364 | ++ ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs