diff --git a/HOWTO b/HOWTO index 46997f7..e24084c 100644 --- a/HOWTO +++ b/HOWTO @@ -30,6 +30,15 @@ Collects strings in patches. You need following special tools: osc svn +Note: These tools work on packages already submitted and accepted into +defined repository. If you want to use more fresh copy of your package, +you can use a simple trick: When package is checked out (during +update-step2-update-strings-from-packages) and before the source is +unpacked, pause tool running by Ctrl+S. Then replace the source +directory with a directory you want to use in an another terminal. +Return back, press Ctrl+Q and the tool will continue with sources you +need. + ./update-step3-upload-strings-to-lcn (calls gnome-patch-translation-to-forge): diff --git a/README b/README index 5ba2d15..8aad893 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ 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 works only with packages that can use intltool for translation. It contains: @@ -19,14 +19,14 @@ tool: gnome-patch-translation-files.tar.bz2: Files created by COMPENDIUM_UPDATE_MODE=1 gnome-patch-translation-update collected from -all needed packages. +all related 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. +translation. These files are sent to translators by the update process. @@ -35,9 +35,7 @@ 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: +2) You have to do following changes in the spec file: ... +BuildRequires: gnome-patch-translation @@ -50,21 +48,25 @@ You have to do following changes in the spec file: ... +gnome-patch-translation-update -3) You have to update gnome-patch-translation package, if any -translatable string is changed in any patch. +3) Get source of package gnome-patch-translation and include selected +packages to gnome-patch-translation.conf, variable GPT_PACKAGES. -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 +4) Then you have to provide translations for translators: HOW TO PROVIDE TRANSLATIONS -See HOWTO in this package source. +You have to update strings for translators, if any translatable string +in any patch is changed. -See Novell Forge LCN repository for more: -https://forgesvn1.novell.com/svn/suse-i18n +Follow HOWTO in gnome-patch-translation package source and your strings +will be populated to translators. + +Note: These tools work on packages already submitted and accepted into +defined repository. If you want to use more fresh copy of your package, +you can use a simple trick: When package is checked out (during +update-step2-update-strings-from-packages) and before the source is +unpacked, pause tool running by Ctrl+S. Then replace the source +directory with a directory you want to use in an another terminal. +Return back, press Ctrl+Q and the tool will continue with sources you +need. diff --git a/gnome-patch-translation.changes b/gnome-patch-translation.changes index 19f1ad3..132e7bb 100644 --- a/gnome-patch-translation.changes +++ b/gnome-patch-translation.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 19 18:13:41 CET 2009 - sbrabec@suse.cz + +- Updated README and HOWTO to describe current work-flow. + ------------------------------------------------------------------- Thu Feb 5 15:22:46 CET 2009 - sbrabec@suse.cz diff --git a/gnome-patch-translation.spec b/gnome-patch-translation.spec index 6fe74f4..7ba1c5e 100644 --- a/gnome-patch-translation.spec +++ b/gnome-patch-translation.spec @@ -23,7 +23,7 @@ License: GPL v2 or later Group: System/GUI/GNOME AutoReqProv: on Version: 0.1 -Release: 216 +Release: 218 Summary: Collect and Merge Translations From RPM Patches Source: gnome-patch-translation-files.tar.bz2 Source1: gnome-patch-translation.tar.bz2 @@ -75,6 +75,8 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gnome-patch-translation %changelog +* Thu Feb 19 2009 sbrabec@suse.cz +- Updated README and HOWTO to describe current work-flow. * Thu Feb 05 2009 sbrabec@suse.cz - Updated cs, hu, it, ja, ko, nb, pt_BR, ru. - Added evolution (bnc#464770).