RSS/Atom feed Twitter
Site is read-only, email is disabled

Make po problem

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Make po problem julien 20 May 08:56
  Make po problem Ulf-D. Ehlert 20 May 13:07
   Make po problem julien 20 May 21:58
    Make po problem Ulf-D. Ehlert 20 May 22:35
     Make po problem julien 21 May 07:45
julien
2009-05-20 08:56:25 UTC (over 15 years ago)

Make po problem

Hi,

I started updating po/fr/using/preferences.po Then I made changes in src/using/preferences/windows-management.xml. I ran 'make pot' and 'make po-fr': my preferences.po is not updated :-( If I run 'make po/fr/using/preferences.po', I get the message "po/fr/using/preferences.po is up-to-date", but it is not!

How can I get my preferences.po updated?

Julien

Ulf-D. Ehlert
2009-05-20 13:07:46 UTC (over 15 years ago)

Make po problem

julien (Mittwoch, 20. Mai 2009, 08:58):

I started updating po/fr/using/preferences.po Then I made changes in src/using/preferences/windows-management.xml.

There is no file 'src/using/preferences/windows-management.xml'. Did you mean 'src/using/preferences/prefs-window-management.xml'? Did you rename 'prefs-window-management.xml' to 'windows-management.xml' (good idea!)?

I ran 'make pot' and 'make po-fr': my preferences.po is not updated :-( If I run 'make po/fr/using/preferences.po', I get the message "po/fr/using/preferences.po is up-to-date", but it is not!

Same problem here, but only with autotools-based Makefile. Using Makefile.GNU it worked fine: the commands for finding files and directories are slightly different.

It looks like your "src" directory is a link, or the files within "src/" are links. The default 'find' behaviour is to skip links, so you would have no source files and directories and thus no dependencies: nothing to do for 'make'.

I have changed the 'find' command to follow links ('find -L'). This is not foolproof, but should work for now.

Ulf

julien
2009-05-20 21:58:13 UTC (over 15 years ago)

Make po problem

Hi Ulf,

There is no file 'src/using/preferences/windows-management.xml'. Did you mean 'src/using/preferences/prefs-window-management.xml'? Did you rename 'prefs-window-management.xml' to 'windows-management.xml' (good idea!)?

It's only a typo. I actually edited the 'src/using/preferences/prefs-window-management.xml.

I ran 'make pot' and 'make po-fr': my preferences.po is not updated :-( If I run 'make po/fr/using/preferences.po', I get the message "po/fr/using/preferences.po is up-to-date", but it is not!

Same problem here, but only with autotools-based Makefile. Using Makefile.GNU it worked fine: the commands for finding files and directories are slightly different.

It looks like your "src" directory is a link, or the files within "src/" are links. The default 'find' behaviour is to skip links, so you would have no source files and directories and thus no dependencies: nothing to do for 'make'.

Links? I don't understand how my src directory could be a link.

In fact, the POT file is OK and the PO file is partially updated: The two images I added are present, but the change in the text (I divided a para into several listitem in a itemizedlist) is absent; the old English string remains.

I have changed the 'find' command to follow links ('find -L'). This is not foolproof, but should work for now.

I ran 'make -f Makefile.GNU po-fr : the problem persits.

I'll push this prefs-window-management.xml file (the English html is OK).

Julien

Ulf-D. Ehlert
2009-05-20 22:35:08 UTC (over 15 years ago)

Make po problem

julien (Mittwoch, 20. Mai 2009, 22:00):

I ran 'make -f Makefile.GNU po-fr : the problem persits.

If you edited your po file (or just saved it when using the editor), it's newer than the pot file and won't be updated.

Touch the source file and try it once more.

Ulf

julien
2009-05-21 07:45:03 UTC (over 15 years ago)

Make po problem

Touch the source file and try it once more.

Thank you very much. All is right now. Sorry, I had the same problem on 4 Apr and didn't remember :-(

Julien