Automatically checkout, update and commit gnome translations by looking into translation file.
***********
Updating Gnome translations in CVS is a bit different from commiting Fedora translations. There is no "translate" module for translators. Here is the official documentation for Gnome Translators.
http://developer.gnome.org/doc/tutorials/gnome-i18n/translator.htmlIf you see it, it's a bit lengthy process. I made a script that will make it short for you. Here is the link to download that script.
http://prdownloads.sourceforge.net/indianoss/gnome-cvs.tar.gz?downloadSTEPS :-
1. Untar the zipped script. Which will extract two files "gnome-cvs.sh" & "changelog".
$ tar -zxvpf gnome-cvs.tar.gz
2. Edit the "changelog" file, which will be used by the script to add the ChangeLog entry into the ChangeLog file of the Gnome CVS repository. I have added sample ChangeLog entries into that. You just modify according to your settings.
$ vi changelog
3. Download the translation files from your language status page into an Empty folder, by right clicking + Save Link As on the translation file.
Link to status page :
http://l10n-status.gnome.org/gnome-2.14/<lang_code>/index.htmlIf you are working on HEAD then replace gnome-2.14 with gnome-2.16...
4. Translate those files.
5. Add the CVS key to remember it for entire login session.
$ ssh-add
6. Set your CVSROOT environment variable.
$ cvs-gnome
7. Run the script
$ ./gnome-cvs.sh path/to/folder/of/translation_files
LIMITATIONS :-
1. This script is helpful for check-out, updating & commiting the translations only.
2. Adding a new file into CVS won't work. So, if you have any file in your translation folder which is not into gnome CVS then please do the CVS operations manually for that file and move it from the translation folder before running script for other files.
Just read the script once before running it if you know shell programming. Suggestions are always welcome !