No description
Since gettext 0.19, gettext itself has been able to extract strings from and merge translations to .desktop files. As a result, there is no need to use intltool. More details are available on https://wiki.gnome.org/MigratingFromIntltoolToGettext, though that page assumes a project using Autotools, which this project does not. One advantage of using xgettext rather than intltool is that there is no need to prefix translatable keys in the .desktop.in file with _. This patch adjusts tuxpaint.desktop.in accordingly, which makes the input file itself a valid desktop file. The LINGUAS file contains the list of supported languages. This could in principle be generated automatically from one of the other places in the source tree that has a manually-maintained list of languages; but in my experience it is generally maintained by hand and checked into the source tree. POTFILES.in.in must be updated to remove the intltool-specific file encoding annotation; instead this is passed to xgettext. Finally, update-po.sh is rewritten to invoke xgettext and msgfmt rather than intltool commands. The mangling of POTFILES.in.in to prefix all filenames with '../' is only necessary to minimize the churn when updating the .pot and .po files, to simplify review of this change. The alternative is to pass --directory=.. to xgettext. This would cause all .po files to be updated as follows when regenerated: #. Response to Black (0, 0, 0) color selected -#: ../colors.h:86 +#: colors.h:86 msgid "Black!" msgstr "Noir !" |
||
|---|---|---|
| custom | ||
| data | ||
| docs | ||
| fonts/locale | ||
| haiku | ||
| hildon | ||
| im | ||
| ios | ||
| macos | ||
| maemo/debian | ||
| magic | ||
| man | ||
| obj | ||
| osk | ||
| src | ||
| stamps/cartoon/tux | ||
| starters | ||
| templates | ||
| visualc | ||
| win32 | ||
| .cvsignore | ||
| .gitignore | ||
| dummy.c | ||
| findbad | ||
| Makefile | ||
| README.txt | ||
| tuxpaint.spec | ||
Tux Paint Tux Paint is a free, award-winning drawing program for children ages 3 to 12. It combines an easy-to-use interface, fun sound effects, and an encouraging cartoon mascot who guides children as they use the program. Kids are presented with a blank canvas and a variety of drawing tools to help them be creative. Along with paintbrush, shapes and text, Tux Paint includes a "stamp" feature to add pre-drawn or photographic imagery to pictures, and a set of "magic tools" that provide filter effects (like blur, tint and waves) and interesting drawing tools (like train tracks, bubbles and grass). Tux Paint includes a collection of "starter" images, both coloring-book style and photo-realistic, and a large collections of stamps are available as a separate download. Additional content can be added by parents and teachers, or downloaded from 3rd parties. Please see the full documentation located in the "docs" directory. $Id$