forked from pool/gnome-patch-translation
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=30
This commit is contained in:
parent
92aa6a6f6d
commit
3be4167942
9
HOWTO
9
HOWTO
@ -30,6 +30,15 @@ Collects strings in patches.
|
|||||||
|
|
||||||
You need following special tools: osc svn
|
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):
|
./update-step3-upload-strings-to-lcn (calls gnome-patch-translation-to-forge):
|
||||||
|
|
||||||
|
38
README
38
README
@ -1,7 +1,7 @@
|
|||||||
This package is intended for collection of translation strings in
|
This package is intended for collection of translation strings in
|
||||||
patches and merging translations back to packages.
|
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:
|
It contains:
|
||||||
|
|
||||||
@ -19,14 +19,14 @@ tool:
|
|||||||
|
|
||||||
gnome-patch-translation-files.tar.bz2: Files created by
|
gnome-patch-translation-files.tar.bz2: Files created by
|
||||||
COMPENDIUM_UPDATE_MODE=1 gnome-patch-translation-update collected from
|
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
|
gnome-patch-translation.tar.bz2: Translation files provided by
|
||||||
translators.
|
translators.
|
||||||
|
|
||||||
gnome-patch-translation-merged and /usr/share/gnome-patch-translation
|
gnome-patch-translation-merged and /usr/share/gnome-patch-translation
|
||||||
(autogenerated): It contains merged files, which will be used for
|
(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:
|
1) Search for candidates on unpacked source packages:
|
||||||
( find -name '*patch*' ; find -name '*dif*' ) | xargs fgrep '_("' | less | grep ':[+-]' | less
|
( find -name '*patch*' ; find -name '*dif*' ) | xargs fgrep '_("' | less | grep ':[+-]' | less
|
||||||
|
|
||||||
2) Include selected packages to gnome-patch-translation.
|
2) You have to do following changes in the spec file:
|
||||||
|
|
||||||
You have to do following changes in the spec file:
|
|
||||||
|
|
||||||
...
|
...
|
||||||
+BuildRequires: gnome-patch-translation
|
+BuildRequires: gnome-patch-translation
|
||||||
@ -50,21 +48,25 @@ You have to do following changes in the spec file:
|
|||||||
...
|
...
|
||||||
+gnome-patch-translation-update
|
+gnome-patch-translation-update
|
||||||
|
|
||||||
3) You have to update gnome-patch-translation package, if any
|
3) Get source of package gnome-patch-translation and include selected
|
||||||
translatable string is changed in any patch.
|
packages to gnome-patch-translation.conf, variable GPT_PACKAGES.
|
||||||
|
|
||||||
Call %prep phase of the package, copy contents of
|
4) Then you have to provide translations for translators:
|
||||||
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
|
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:
|
Follow HOWTO in gnome-patch-translation package source and your strings
|
||||||
https://forgesvn1.novell.com/svn/suse-i18n
|
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.
|
||||||
|
@ -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
|
Thu Feb 5 15:22:46 CET 2009 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ License: GPL v2 or later
|
|||||||
Group: System/GUI/GNOME
|
Group: System/GUI/GNOME
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 0.1
|
Version: 0.1
|
||||||
Release: 216
|
Release: 218
|
||||||
Summary: Collect and Merge Translations From RPM Patches
|
Summary: Collect and Merge Translations From RPM Patches
|
||||||
Source: gnome-patch-translation-files.tar.bz2
|
Source: gnome-patch-translation-files.tar.bz2
|
||||||
Source1: gnome-patch-translation.tar.bz2
|
Source1: gnome-patch-translation.tar.bz2
|
||||||
@ -75,6 +75,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/gnome-patch-translation
|
%{_datadir}/gnome-patch-translation
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 19 2009 sbrabec@suse.cz
|
||||||
|
- Updated README and HOWTO to describe current work-flow.
|
||||||
* Thu Feb 05 2009 sbrabec@suse.cz
|
* Thu Feb 05 2009 sbrabec@suse.cz
|
||||||
- Updated cs, hu, it, ja, ko, nb, pt_BR, ru.
|
- Updated cs, hu, it, ja, ko, nb, pt_BR, ru.
|
||||||
- Added evolution (bnc#464770).
|
- Added evolution (bnc#464770).
|
||||||
|
Loading…
Reference in New Issue
Block a user