Hi Julia On 2014-02-10 22:10, Juliette Tux <juliette tux gmail com> wrote:
I represent Russian translation team and currently I'm working with 'GNOME help' files and Mallard. I posted previously to the i18n mailing list, but got no respond there, so I'm seeking help here. There are some strings regarding Privacy settings which appear untranslated in the yelp interface every time I check the fully translated and updated Russian .po file. See http://tau.rghost.ru/52339636/image.png http://tau.rghost.ru/52339686/image.png and so on. These unstranslated strings correspond to the following Mallard pages (in /usr/share/help/C/gnome-help): privacy-hide-notifications.page privacy-history-recent-off.page privacy-name-visibility.page privacy-purge.page privacy.page
I had a quick look at this, and it seems that at least some of the pages that you mention are now "stub" pages; they have a .page.stub extension. The pages are also not found in the Makefile.am, so they should not be installed. A good way of finding where a string occurs (for example, the "Hide notifications" page that you showed in a screenshot) is to use "git grep" in a git repository:
git grep "Hide notifications"Doing this in gnome-user-docs, you should see the string in lots of .po files, and also gnome-help/C/privacy-hide-notifications.page.stub. I can then find examine the history of the file with "git log":
git log gnome-help/C/privacy-hide-notifications.page.stubThis gives me a single commit as a result, with the commit message "Privacy updates for 3.10, 2 defunct topics stubbed". In 3.10, the privacy settings were changed, as the user's name is no longer shown in the top bar. This would seem to be why the pages were moved into stubs:
https://git.gnome.org/browse/gnome-user-docs/commit/?id=8b3d5168969e26678473bf55c624334391cbc152
I've updated the 'gnome-user-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 already translated since its messages are in the .pot/.po files. So my question is: where do I find the corresponding pot/po file for those Privacy settings pages or how do I get those strings included into the general gnome-user-docs/gnome-help .pot file. ANY help will be very much appreciated.
Even though those pages are not installed any more, the old translations will still be in the .po files until a translator removes them. I am not a translator, so not sure of the exact process behind the removal (I think that it involves running "make repo" and then committing the resulting .po file for your language, but I am not sure).
You can probably see those pages because you are browsing a local copy of the documentation, rather than what you would see when the files are installed. To see the installed versions, you should install gnome-user-docs and then use yelp on the installed files. As you have already used autogen.sh, you should be able to install to a temporary location relatively easily, doing something like (inside gnome-user-docs):
mkdir help-test ./configure --prefix=$(pwd)/help-test make make install yelp help-test/share/help/ru/gnome-helpYou should not see the untranslated privacy pages there, as they should not be installed.
Good luck! -- http://amigadave.com/
Attachment:
signature.asc
Description: Digital signature