forked from pool/gnome-patch-translation
Updating link to change in openSUSE:Factory/gnome-patch-translation revision 39.0
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-patch-translation?expand=0&rev=1dea8d95139437378937b207fac6eddb
This commit is contained in:
parent
c19be75983
commit
3936673f19
@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2009-10-27 18:19+0100\n"
|
"POT-Creation-Date: 2010-03-08 20:14+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
14
HOWTO
14
HOWTO
@ -4,8 +4,8 @@ scripts for gnome-patch-translation maintainers
|
|||||||
HOW TO UPDATE TRANSLATIONS
|
HOW TO UPDATE TRANSLATIONS
|
||||||
|
|
||||||
Scripts for gnome-patch-translation package maintainers are intended to
|
Scripts for gnome-patch-translation package maintainers are intended to
|
||||||
update package from forge, then update translations from latest package
|
update package from LCN, then update translations from latest package
|
||||||
shapshots and then merge them back to forge.
|
shapshots and then merge them back to LCN.
|
||||||
|
|
||||||
Note that in difference to all other packages, gnome-patch-translation
|
Note that in difference to all other packages, gnome-patch-translation
|
||||||
provides fuzzy strings from upstream translations not present in the po
|
provides fuzzy strings from upstream translations not present in the po
|
||||||
@ -19,7 +19,7 @@ HOWTO in gnome-patch-translation sources.
|
|||||||
Run scripts in following order:
|
Run scripts in following order:
|
||||||
|
|
||||||
|
|
||||||
./update-step1-update-translations-from-lcn (calls gnome-patch-translation-from-forge):
|
./update-step1-update-translations-from-lcn (calls gnome-patch-translation-from-lcn):
|
||||||
|
|
||||||
Collects translations from LCN and updates gnome-patch-translation.tar.bz2.
|
Collects translations from LCN and updates gnome-patch-translation.tar.bz2.
|
||||||
|
|
||||||
@ -40,9 +40,9 @@ Return back, press Ctrl+Q and the tool will continue with sources you
|
|||||||
need.
|
need.
|
||||||
|
|
||||||
|
|
||||||
./update-step3-upload-strings-to-lcn (calls gnome-patch-translation-to-forge):
|
./update-step3-upload-strings-to-lcn (calls gnome-patch-translation-to-lcn):
|
||||||
|
|
||||||
Picks updated translations and fuzzy files and puts them back to forge.
|
Picks updated translations and fuzzy files and puts them back to LCN.
|
||||||
|
|
||||||
After successful call please call
|
After successful call please call
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ once again.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
If gnome-patch-translation-to-forge fails due to third party commits
|
If gnome-patch-translation-to-lcn fails due to third party commits
|
||||||
during gnome-patch-translation-collect run, run script:
|
during gnome-patch-translation-collect run, run script:
|
||||||
|
|
||||||
./update-solve-upload-conflict
|
./update-solve-upload-conflict
|
||||||
@ -63,7 +63,7 @@ Then you can continue with
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
gnome-patch-translation-from-forge:
|
gnome-patch-translation-from-lcn:
|
||||||
|
|
||||||
You can optionally repeat its run to merge new strings to the package.
|
You can optionally repeat its run to merge new strings to the package.
|
||||||
If you will not do it, next changelog checker will consider files as
|
If you will not do it, next changelog checker will consider files as
|
||||||
|
25
README
25
README
@ -3,6 +3,8 @@ patches and merging translations back to packages.
|
|||||||
|
|
||||||
It works only with packages that can use intltool for translation.
|
It works only with packages that can use intltool for translation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
It contains:
|
It contains:
|
||||||
|
|
||||||
gnome-patch-translation-prepare: This tool collects strings from
|
gnome-patch-translation-prepare: This tool collects strings from
|
||||||
@ -29,6 +31,29 @@ gnome-patch-translation-merged and /usr/share/gnome-patch-translation
|
|||||||
translation. These files are sent to translators by the update process.
|
translation. These files are sent to translators by the update process.
|
||||||
|
|
||||||
|
|
||||||
|
THE WORK FLOW SUMMARY:
|
||||||
|
|
||||||
|
Update of gnome-patch-translation string is done manually. You need to
|
||||||
|
check-out gnome-patch-translation source package and read HOWTO. The
|
||||||
|
package contains update script wrappers. Update scripts themselves
|
||||||
|
reside in LCN SVN and they are downloaded during the update run.
|
||||||
|
|
||||||
|
1. Package with gnome-patch-translation infrastructure is checked-in.
|
||||||
|
2. Package is added to gnome-patch-translation.conf in
|
||||||
|
gnome-patch-translation package and in LCN SVN.
|
||||||
|
3. Next time of update-strings-from-packages (in gnome-patch-translation
|
||||||
|
sources), strings are collected.
|
||||||
|
4. After run of upload-strings-to-lcn (in gnome-patch-translation
|
||||||
|
sources), pot files (and string proposals) are uploaded to the LCN
|
||||||
|
SVN.
|
||||||
|
5. Translators need some time to pick new pot file and complete
|
||||||
|
translations.
|
||||||
|
6. Next time of update-translations-from-lcn (in gnome-patch-translation
|
||||||
|
sources), translations appear in gnome-patch-translation.
|
||||||
|
7. gnome-patch-translation is checked-in, packages are recompiled and
|
||||||
|
translations will appear in its place.
|
||||||
|
8. Next translation round everything repeats from step 3.
|
||||||
|
|
||||||
|
|
||||||
HOW TO PREPARE PACKAGE FOR TRANSLATION
|
HOW TO PREPARE PACKAGE FOR TRANSLATION
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:30b74df6f8899395f384518df07fd5cd9ddff047e6fbaba4ba821310599f40f2
|
oid sha256:21a5dcb6d5a4a030d75b99ef11c333d69a4a444a53b2586dc295278ae0661216
|
||||||
size 111014
|
size 150714
|
||||||
|
@ -51,10 +51,9 @@ if test "$COMPENDIUM_UPDATE_MODE" = 1 ; then
|
|||||||
done
|
done
|
||||||
echo "================================================================="
|
echo "================================================================="
|
||||||
echo " Translatable strings from patches were written to"
|
echo " Translatable strings from patches were written to"
|
||||||
echo " gnome-patch-translation/. If you did any translabable string"
|
echo " gnome-patch-translation/. If you did any translatable string"
|
||||||
echo " change in any patch, please copy contents of this directory"
|
echo " change in any patch, please follow HOWTO in"
|
||||||
echo " to the gnome-patch-translation package, file"
|
echo " gnome-patch-translation package source."
|
||||||
echo " gnome-patch-translation-files.tar.bz2."
|
|
||||||
echo "================================================================="
|
echo "================================================================="
|
||||||
else
|
else
|
||||||
echo " Skipping compendium update. Use COMPENDIUM_UPDATE_MODE=1 to force it."
|
echo " Skipping compendium update. Use COMPENDIUM_UPDATE_MODE=1 to force it."
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 8 20:29:20 CET 2010 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated gl, lt, pt_BR, ro, wa, zh_TW.
|
||||||
|
- Updated list of packages with patches.
|
||||||
|
- Updated strings from the latest Factory (19 new strings).
|
||||||
|
- LCN migrated to Berlios.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 29 17:12:00 CET 2009 - sbrabec@suse.cz
|
Thu Oct 29 17:12:00 CET 2009 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
@ -2,19 +2,22 @@
|
|||||||
# updating of gnome-patch-translation package.
|
# updating of gnome-patch-translation package.
|
||||||
#
|
#
|
||||||
|
|
||||||
# URI of Novell Forge SVN LCN repository.
|
# Your account at Berlios. Empty means your local id.
|
||||||
# It should contain string "$BRANCH_PATH", which will be replaced by the
|
NAME=
|
||||||
# BRANCH path (see below).
|
|
||||||
FORGESVN_URI='https://forgesvn1.novell.com/svn/suse-i18n/$BRANCH_PATH/lcn'
|
|
||||||
|
|
||||||
# lcn branch on forgesvn
|
# URI of LCN SVN repository.
|
||||||
|
# It should contain string "$BRANCH_PATH", which will be replaced by the
|
||||||
|
# BRANCH path (see below) and may contain NAME, which will be replaced by user name above.
|
||||||
|
LCN_SVN_URI='https://$NAME@svn.berlios.de/svnroot/repos/opensuse-i18n/$BRANCH_PATH/lcn'
|
||||||
|
|
||||||
|
# lcn branch on LCN SVN
|
||||||
LCN_BRANCH=trunk
|
LCN_BRANCH=trunk
|
||||||
|
|
||||||
# osc repository with packages
|
# osc repositories with packages (space separated list in parentheses, first takes precedence)
|
||||||
OSC_REPOSITORY=openSUSE:Factory
|
OSC_REPOSITORIES=( GNOME:Factory openSUSE:Factory )
|
||||||
|
|
||||||
# list of packages in gnome-patch-translation project
|
# list of packages in gnome-patch-translation project
|
||||||
GPT_PACKAGES="bluez-gnome evolution gnome-control-center gconf-editor gdm gnome-applets gnome-menus gnome-panel gnome-session gnome-utils gnome-vfs2 gtk gtk2 libgnomesu metacity nautilus xchat"
|
GPT_PACKAGES="evolution gdm gnome-control-center gnome-panel gnome-session gnome-vfs2 gtk gtk2 nautilus xchat"
|
||||||
|
|
||||||
# osc server, empty for using of the osc default
|
# osc server, empty for using of the osc default
|
||||||
OSC_APIURL=
|
OSC_APIURL=
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gnome-patch-translation (Version 11.2)
|
# spec file for package gnome-patch-translation (Version 11.3)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,11 +19,11 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: gnome-patch-translation
|
Name: gnome-patch-translation
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Group: System/GUI/GNOME
|
Group: System/GUI/GNOME
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 11.2
|
Version: 11.3
|
||||||
Release: 3
|
Release: 1
|
||||||
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
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:549a1f974ca47d5edfe5771a522e21f473de6300a6aa77a2cb642492535a93f5
|
oid sha256:0f4a64d3f26d5e4ddf6363d4b28f1ddc7cd65fc4488b659a88537c70869eb01c
|
||||||
size 354458
|
size 359499
|
||||||
|
@ -12,8 +12,11 @@ fi
|
|||||||
. ./gnome-patch-translation.conf
|
. ./gnome-patch-translation.conf
|
||||||
|
|
||||||
export CALLING_FROM_G_P_T=1
|
export CALLING_FROM_G_P_T=1
|
||||||
export FORGESVN_URI LCN_BRANCH OSC_REPOSITORY GPT_PACKAGES OSC_APIURL
|
RPM_OSC_REPOSITORIES="${OSC_REPOSITORIES[*]}"
|
||||||
|
export LCN_SVN_URI LCN_BRANCH RPM_OSC_REPOSITORIES GPT_PACKAGES OSC_APIURL
|
||||||
|
|
||||||
|
# Delete the old LCN snapshot.
|
||||||
|
rm -r LCN-${BRANCH//\//-}
|
||||||
# And then run needed scripts:
|
# And then run needed scripts:
|
||||||
50-tools/gnome-patch-translation-from-forge
|
50-tools/gnome-patch-translation-from-lcn
|
||||||
exec 50-tools/gnome-patch-translation-remerge
|
exec 50-tools/gnome-patch-translation-remerge
|
||||||
|
@ -11,12 +11,16 @@ if test "$BRANCH" = trunk ; then
|
|||||||
else
|
else
|
||||||
BRANCH_PATH="branches/$BRANCH"
|
BRANCH_PATH="branches/$BRANCH"
|
||||||
fi
|
fi
|
||||||
|
if test -z "$NAME" ; then
|
||||||
|
NAME="$USER"
|
||||||
|
fi
|
||||||
|
|
||||||
# First of all, read set of update tools from SVN:
|
# First of all, read set of update tools from SVN:
|
||||||
eval svn co $FORGESVN_URI/50-tools
|
eval svn co $LCN_SVN_URI/50-tools
|
||||||
|
|
||||||
export CALLING_FROM_G_P_T=1
|
export CALLING_FROM_G_P_T=1
|
||||||
export FORGESVN_URI LCN_BRANCH OSC_REPOSITORY GPT_PACKAGES OSC_APIURL
|
RPM_OSC_REPOSITORIES="${OSC_REPOSITORIES[*]}"
|
||||||
|
export LCN_SVN_URI LCN_BRANCH RPM_OSC_REPOSITORIES GPT_PACKAGES OSC_APIURL
|
||||||
|
|
||||||
# And then run gnome-patch-translation-from-forge
|
# And then run gnome-patch-translation-from-lcn
|
||||||
exec 50-tools/gnome-patch-translation-from-forge
|
exec 50-tools/gnome-patch-translation-from-lcn
|
||||||
|
@ -11,5 +11,5 @@ fi
|
|||||||
|
|
||||||
export CALLING_FROM_G_P_T=1
|
export CALLING_FROM_G_P_T=1
|
||||||
|
|
||||||
# And then run gnome-patch-translation-to-forge
|
# And then run gnome-patch-translation-to-lcn
|
||||||
exec 50-tools/gnome-patch-translation-to-forge
|
exec 50-tools/gnome-patch-translation-to-lcn
|
||||||
|
Loading…
Reference in New Issue
Block a user