Re: How to compile/merge more than one .po file with Mallard?
Hi! To get an up-to-date POT file from scratch, you can install itstool [1] and run the following command inside the C folder (in case of gnome.user-docs, it will be gnome-user-docs/gnome-help/C) itstool $( grep \.page ../Makefile.am | sed -e 's/^\s*//' -e 's/\s*\\$//' |sed -n -e '1x;1!H;${x;s-\n- -gp}' ) gnome-user-docs.pot Just a question... why you don't download the POT file from Damned Lies? It is always up-to-date, as it's created from the last git version of the module... Hope it helps! [1] http://files.itstool.org/itstool/itstool-2.0.2.tar.bz2 2014-02-10 18:45 GMT+01:00 Juliette Tux juliette@gmail.com: Thanks for your reply! :) I've updated the 'gnome-docs' module via git and did 'autogen.sh' and 'make pot' there, in order to get the freshest .pot possible. The only Privacy page listed there is 'privacy-screen-lock.page'. And it's not possible to run intltool-update since there is no /po directory in the gnome-user-docs/gnome-help module. I'm crossposting to the gnome-doc-list@at the moment, hope there will be somebody able to help with the issue. On 10 February 2014 21:33, Rūdolfs Mazurs rudolfs.maz...@gmail.comwrote: Hi, in git repository, PO files are not updated automatically, so if the modules you listed were not included in the uploaded translations, they will won't appear. Simple solution: get the PO file from damn-lies [1] and translate/upload that. More complicated solution: update PO file in the git repository (I am not sure how it is done with docs, but for UI translations it is usually done with intltool-update utility) [1] https://l10n.gnome.org/vertimus/gnome-user-docs/master/gnome-help/ru On P , 2014-02-10 at 15:50 +0400, Juliette Tux wrote: Hello again, The first question got cleared for me, more or less, but I still cannot find the correspondong .po file for the following pages: privacy-hide-notifications.page privacy-history-recent-off.page privacy-name-visibility.page privacy-purge.page privacy.page or is there any way to know it using some Mallard options? Please somebody help :) On 7 February 2014 20:33, Juliette Tux juliette@gmail.com wrote: Hello everybody, I represent Russian translation team and currently I'm working with GNOME help files and Mallard. These are my first steps with Mallard, so I'm asking for help. As I can see, (judging by the text which appears in the default help opened woth yelp), the big global GNOME help takes more then one .po file to compile. These are: the one from gnome-user-docs/gnome-help, the one from gnome-getting-started-docs and at least one more file regarding the Privacy settings, but I wasn't able to locate the corresponding files in the git, yet. I guess it was just recently added, correct me if I'm wrong. So my question is: how do I compile/merge more then 1 .po file into one help document to view it with yelp. Currenty I'm using the following string to work with single .po: for i in *.page; do xml2po -m mallard -p ../ru.po $i ../tmp/$i; done And the '*.po' instead of 'ru.po' gives an error Error: You can merge translations with only one XML file at a time. Thanks in advance! -- best regards, Julia Dronova -- С уважением, Дронова Юлия ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n -- С уважением, Дронова Юлия ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: How to compile/merge more than one .po file with Mallard?
On 11 February 2014 13:17, Daniel Mustieles García daniel.mustie...@gmail.com wrote: Just a question... why you don't download the POT file from Damned Lies? It is always up-to-date, as it's created from the last git version of the module... Well, I don't know, just the good old Linux habit to rely on the console rather than on the GUI, I guess :)) Thanks a lot for the itstool tip, very helpful, indeed. Sadly, it does not fix the issue, since the Damned Lies .pot still lacks some of the mentioned Privacy pages, it's identical to the .pot I've got via git sources (why it shouldn't be, actually?). So I got stuck at the moment, with those untranslatable Privacy strings. Will wait a little, nothing to do with it now. -- best regards, Julia Dronova ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: How to compile/merge more than one .po file with Mallard?
Anyway, I don't understand your question... I've looked for some random strings in ru.po, taken from privacy-purge.page and privacy-history-recent-off.page and they appear in the po file: grep -i file history ../es/es.po msgid Turn off file history tracking msgid To turn off the file history tracking features of your desktop: grep -i empty your trash ../ru/ru.po You can manually empty your trash and clear your temporary files, but you Automatically empty your trash and clear your temporary files after a set Where is the problem? 2014-02-11 12:57 GMT+01:00 Juliette Tux juliette@gmail.com: On 11 February 2014 13:17, Daniel Mustieles García daniel.mustie...@gmail.com wrote: Just a question... why you don't download the POT file from Damned Lies? It is always up-to-date, as it's created from the last git version of the module... Well, I don't know, just the good old Linux habit to rely on the console rather than on the GUI, I guess :)) Thanks a lot for the itstool tip, very helpful, indeed. Sadly, it does not fix the issue, since the Damned Lies .pot still lacks some of the mentioned Privacy pages, it's identical to the .pot I've got via git sources (why it shouldn't be, actually?). So I got stuck at the moment, with those untranslatable Privacy strings. Will wait a little, nothing to do with it now. -- best regards, Julia Dronova ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: How to compile/merge more than one .po file with Mallard?
This: http://tau.rghost.ru/52339636/image.png http://tau.rghost.ru/52339686/image.png On 11 February 2014 16:30, Daniel Mustieles García daniel.mustie...@gmail.com wrote: Anyway, I don't understand your question... I've looked for some random strings in ru.po, taken from privacy-purge.page and privacy-history-recent-off.page and they appear in the po file: grep -i file history ../es/es.po msgid Turn off file history tracking msgid To turn off the file history tracking features of your desktop: grep -i empty your trash ../ru/ru.po You can manually empty your trash and clear your temporary files, but you Automatically empty your trash and clear your temporary files after a set Where is the problem? 2014-02-11 12:57 GMT+01:00 Juliette Tux juliette@gmail.com: On 11 February 2014 13:17, Daniel Mustieles García daniel.mustie...@gmail.com wrote: Just a question... why you don't download the POT file from Damned Lies? It is always up-to-date, as it's created from the last git version of the module... Well, I don't know, just the good old Linux habit to rely on the console rather than on the GUI, I guess :)) Thanks a lot for the itstool tip, very helpful, indeed. Sadly, it does not fix the issue, since the Damned Lies .pot still lacks some of the mentioned Privacy pages, it's identical to the .pot I've got via git sources (why it shouldn't be, actually?). So I got stuck at the moment, with those untranslatable Privacy strings. Will wait a little, nothing to do with it now. -- best regards, Julia Dronova -- С уважением, Дронова Юлия ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: How to compile/merge more than one .po file with Mallard?
Well... I don't understand Russian, so these screenshots aren't very useful for me ;-) Anyway, Hide notifications seems to be a deprecated string (at least in the es.po file, it's marked as deprecated): #~ msgid Hide notifications Are you sure you're working with an up-to date clone of the module? 2014-02-11 13:33 GMT+01:00 Juliette Tux juliette@gmail.com: This: http://tau.rghost.ru/52339636/image.png http://tau.rghost.ru/52339686/image.png On 11 February 2014 16:30, Daniel Mustieles García daniel.mustie...@gmail.com wrote: Anyway, I don't understand your question... I've looked for some random strings in ru.po, taken from privacy-purge.page and privacy-history-recent-off.page and they appear in the po file: grep -i file history ../es/es.po msgid Turn off file history tracking msgid To turn off the file history tracking features of your desktop: grep -i empty your trash ../ru/ru.po You can manually empty your trash and clear your temporary files, but you Automatically empty your trash and clear your temporary files after a set Where is the problem? 2014-02-11 12:57 GMT+01:00 Juliette Tux juliette@gmail.com: On 11 February 2014 13:17, Daniel Mustieles García daniel.mustie...@gmail.com wrote: Just a question... why you don't download the POT file from Damned Lies? It is always up-to-date, as it's created from the last git version of the module... Well, I don't know, just the good old Linux habit to rely on the console rather than on the GUI, I guess :)) Thanks a lot for the itstool tip, very helpful, indeed. Sadly, it does not fix the issue, since the Damned Lies .pot still lacks some of the mentioned Privacy pages, it's identical to the .pot I've got via git sources (why it shouldn't be, actually?). So I got stuck at the moment, with those untranslatable Privacy strings. Will wait a little, nothing to do with it now. -- best regards, Julia Dronova -- С уважением, Дронова Юлия ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: How to compile/merge more than one .po file with Mallard?
On 11 February 2014 16:53, Daniel Mustieles García daniel.mustie...@gmail.com wrote: Well... I don't understand Russian, so these screenshots aren't very useful for me ;-) I guess so, but the untranslated messages can be seen very clearly, and I'm checking a fully translated .po, that's the point. Are you sure you're working with an up-to date clone of the module? Did 'git pull' yesterday, but will double-check again, yes. I'm new with Mallard and too lazy to start reading the whole documentation bunch :'( -- best regards, Julia Dronova ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: How to compile/merge more than one .po file with Mallard?
Hi all 2014-02-11 14:07 keltezéssel, Juliette Tux írta: On 11 February 2014 16:53, Daniel Mustieles García daniel.mustie...@gmail.com mailto:daniel.mustie...@gmail.com wrote: Well... I don't understand Russian, so these screenshots aren't very useful for me ;-) I guess so, but the untranslated messages can be seen very clearly, and I'm checking a fully translated .po, that's the point. Those strings are from an older release of the documentation, which is installed on your system. We can't make the translation of those better, so no need to worry about them. The current po file is generated from the current git master branch and it does not contain those strings because these .page files now have a .stub extension too. This usually means the content of the files is not ready for use yet. In this case they are not current anymore, so they are put back in a need a lot of (re)work state. Final releases of the documentation don't contain .stub files and their content is therefore not translatable. Are you sure you're working with an up-to date clone of the module? Did 'git pull' yesterday, but will double-check again, yes. I'm new with Mallard and too lazy to start reading the whole documentation bunch :'( If you run yelp C/index.page in the git clone, you can see that the current documentation does not contain these topics anymore. You can stop worrying :). The bottom line is this: always check the same version of the translation and the documentation. This means you would clone the git repository and compile the module, then use yelp gnome-help/ru/index.page to start checking the current content. Regards Gabor Kelemen -- best regards, Julia Dronova ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n signature.asc Description: OpenPGP digital signature ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: How to compile/merge more than one .po file with Mallard?
*Gabor*, many thanks for clearing everything out! :) On 11 February 2014 20:00, Gabor Kelemen kelem...@gnome.hu wrote: Hi all 2014-02-11 14:07 keltezéssel, Juliette Tux írta: On 11 February 2014 16:53, Daniel Mustieles García daniel.mustie...@gmail.com mailto:daniel.mustie...@gmail.com wrote: Well... I don't understand Russian, so these screenshots aren't very useful for me ;-) I guess so, but the untranslated messages can be seen very clearly, and I'm checking a fully translated .po, that's the point. Those strings are from an older release of the documentation, which is installed on your system. We can't make the translation of those better, so no need to worry about them. The current po file is generated from the current git master branch and it does not contain those strings because these .page files now have a .stub extension too. This usually means the content of the files is not ready for use yet. In this case they are not current anymore, so they are put back in a need a lot of (re)work state. Final releases of the documentation don't contain .stub files and their content is therefore not translatable. Are you sure you're working with an up-to date clone of the module? Did 'git pull' yesterday, but will double-check again, yes. I'm new with Mallard and too lazy to start reading the whole documentation bunch :'( If you run yelp C/index.page in the git clone, you can see that the current documentation does not contain these topics anymore. You can stop worrying :). The bottom line is this: always check the same version of the translation and the documentation. This means you would clone the git repository and compile the module, then use yelp gnome-help/ru/index.page to start checking the current content. Regards Gabor Kelemen -- best regards, Julia Dronova ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n -- С уважением, Дронова Юлия ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n