mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
some minor updates and a few formatting changes
This commit is contained in:
parent
31271a63f6
commit
3e678d40ff
1 changed files with 23 additions and 25 deletions
48
README.i18n
48
README.i18n
|
@ -161,27 +161,26 @@ this one may not necessarily fit.
|
||||||
not one catalog but many. For a full translation of the GIMP's UI,
|
not one catalog but many. For a full translation of the GIMP's UI,
|
||||||
you will have to add translations for the following catalogs:
|
you will have to add translations for the following catalogs:
|
||||||
|
|
||||||
po/gimp20.po -- the core
|
po/gimp20.po -- the core
|
||||||
po-libgimp/gimp20-libgimp.pot -- the libgimp library
|
po-libgimp/gimp20-libgimp.pot -- the libgimp library
|
||||||
po-plugins/gimp20-std-plugins.pot -- most of the plug-ins
|
po-plugins/gimp20-std-plugins.pot -- most of the plug-ins
|
||||||
po-script-fu/gimp20-script-fu.pot -- the script-fu scripts
|
po-script-fu/gimp20-script-fu.pot -- the script-fu scripts
|
||||||
tips/gimp-tips20.pot -- the startup tips
|
tips/gimp-tips20.pot -- the startup tips
|
||||||
|
|
||||||
If you are looking for the translations of gimp-perl, please note that
|
If you are looking for the translations of gimp-perl, please note that
|
||||||
gimp-perl has been moved into it's own CVS module called gimp-perl.
|
gimp-perl has been moved into it's own CVS module called gimp-perl.
|
||||||
|
|
||||||
When translating menu_paths, please do not translate the name of the
|
When translating menu paths in Script-Fu, please do not translate the
|
||||||
item_factory (that is the one in brackets at the front), e.g.
|
name of the item factory (that is the one in brackets at the front),
|
||||||
<Image>/Edit/Copy should _not_ be translated to <Bild>/Bearbeiten/Kopieren,
|
e.g. <Image>/Script-Fu/Selection should _not_ be translated to
|
||||||
but to <Image>/Bearbeiten/Kopieren. If you get this wrong, Gimp will
|
<Bild>/Skript-Fu/Kopieren, but to <Image>/Skript-Fu/Kopieren. If you
|
||||||
warn you at startup about bad translations. So do always test your
|
get this wrong, Gimp will warn you at startup about bad translations.
|
||||||
translations and watch the console for output.
|
So do always test your translations and watch the console for output.
|
||||||
|
|
||||||
The version of The GIMP you are holding in your hand uses
|
The version of The GIMP you are holding in your hand uses GTK+-2.0.
|
||||||
GTK+-2.0. GTK+-2.0 requires that all strings are UTF-8
|
GTK+-2.0 requires that all strings are UTF-8 encoded. Therefore to make
|
||||||
encoded. Therefore to make internationalisation work, po files need
|
internationalisation work, po files need to be UTF-8 encoded. If your
|
||||||
to be UTF-8 encoded. Unfortunately most editors don't support UTF-8,
|
editor doesn't support UTF-8, you need to convert it to an encoding your
|
||||||
so to edit your po file, you need to convert it to an encoding your
|
|
||||||
editor can handle and convert it back to UTF-8 before commiting your
|
editor can handle and convert it back to UTF-8 before commiting your
|
||||||
changes back. The gnome-i18n module in CVS has some scripts that help
|
changes back. The gnome-i18n module in CVS has some scripts that help
|
||||||
with this task, but it can also easily done using iconv.
|
with this task, but it can also easily done using iconv.
|
||||||
|
@ -189,15 +188,14 @@ this one may not necessarily fit.
|
||||||
7. Adding additional textdomains
|
7. Adding additional textdomains
|
||||||
|
|
||||||
Third-party plug-ins (plug-ins that are not distributed with The
|
Third-party plug-ins (plug-ins that are not distributed with The
|
||||||
GIMP) can't have their messages in the gimp-std-plugins
|
GIMP) can't have their messages in the gimp-std-plugins textdomain.
|
||||||
textdomain. We have therefore provided a mechanism that allows
|
We have therefore provided a mechanism that allows plug-ins to install
|
||||||
plug-ins to install their own message catalogs and tell The GIMP to
|
their own message catalogs and tell The GIMP to bind to that
|
||||||
bind to that textdomain. This is necessary so that The GIMP can
|
textdomain. This is necessary so that The GIMP can correctly translate
|
||||||
correctly translate the menupaths the plug-in registers. Basically
|
the menu paths the plug-in registers. Basically the plug-in has to call
|
||||||
the plug-in has to call gimp_plugin_domain_add() or
|
gimp_plugin_domain_add() or gimp_domain_plugin_add_with_path() before
|
||||||
gimp_domain_plugin_add_with_path() before it registers any
|
it registers any functions. Have a look at the script-fu plug-in to see
|
||||||
functions. Have a look at the script-fu plug-in to see how it is done
|
how this is done in detail.
|
||||||
in detail.
|
|
||||||
|
|
||||||
8. Tip of the Day messages
|
8. Tip of the Day messages
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue