1
0
Go to file
2008-11-23 07:38:27 +00:00
.gitattributes OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=1 2007-01-05 15:52:24 +00:00
.gitignore OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=1 2007-01-05 15:52:24 +00:00
gnome-patch-translation-files.tar.bz2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=27 2008-11-23 07:38:27 +00:00
gnome-patch-translation-merge OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=16 2008-03-19 13:22:08 +00:00
gnome-patch-translation-prepare OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=1 2007-01-05 15:52:24 +00:00
gnome-patch-translation-update OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=4 2007-02-14 20:01:13 +00:00
gnome-patch-translation.changes OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=27 2008-11-23 07:38:27 +00:00
gnome-patch-translation.conf OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=26 2008-11-07 14:09:28 +00:00
gnome-patch-translation.spec OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=27 2008-11-23 07:38:27 +00:00
gnome-patch-translation.tar.bz2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=27 2008-11-23 07:38:27 +00:00
HEADER.pot OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=27 2008-11-23 07:38:27 +00:00
HOWTO OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=26 2008-11-07 14:09:28 +00:00
README OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=26 2008-11-07 14:09:28 +00:00
ready OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=1 2007-01-05 15:52:24 +00:00
update-solve-upload-conflict OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=26 2008-11-07 14:09:28 +00:00
update-step1-update-translations-from-lcn OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=26 2008-11-07 14:09:28 +00:00
update-step2-update-strings-from-packages OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=26 2008-11-07 14:09:28 +00:00
update-step3-upload-strings-to-lcn OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=26 2008-11-07 14:09:28 +00:00

This package is intended for collection of translation strings in
patches and merging translations back to packages.

It works only with packages using intltool for translation.

It contains:

gnome-patch-translation-prepare: This tool collects strings from
intact package.

gnome-patch-translation-update: Using previously collected strings, this
tool:
- Collects actual strings in patches into gnome-patch-translation/
  sub-directory in build directory.
- Prepares fuzzy translations for existing translations.
  (only if COMPENDIUM_UPDATE_MODE=1)
- Updates actual translations in po/ using translations from
  gnome-patch-translation package.

gnome-patch-translation-files.tar.bz2: Files created by
COMPENDIUM_UPDATE_MODE=1 gnome-patch-translation-update collected from
all needed packages.

gnome-patch-translation.tar.bz2: Translation files provided by
translators.

gnome-patch-translation-merged and /usr/share/gnome-patch-translation
(autogenerated): It contains merged files, which will be used for
translation. These files should be sent to translators for update.



HOW TO PREPARE PACKAGE FOR TRANSLATION

1) Search for candidates on unpacked source packages:
( find -name '*patch*' ; find -name '*dif*' ) | xargs fgrep '_("' | less | grep ':[+-]' | less

2) Include selected packages to gnome-patch-translation.

You have to do following changes in the spec file:

 ...
+BuildRequires: gnome-patch-translation
 ...
 %prep
 %setup
+gnome-patch-translation-prepare
 ...
 %patch
 ...
+gnome-patch-translation-update

3) You have to update gnome-patch-translation package, if any
translatable string is changed in any patch.

Call %prep phase of the package, copy contents of
gnome-patch-translation/ to the gnome-patch-translation package, file
gnome-patch-translation-files.tar.bz2.

4) See Novell Forge LCN repository and update
gnome-patch-translation-collect from translation collection tools:
https://forgesvn1.novell.com/svn/suse-i18n/trunk/lcn/50-tools


HOW TO PROVIDE TRANSLATIONS

See HOWTO in this package source.

See Novell Forge LCN repository for more:
https://forgesvn1.novell.com/svn/suse-i18n