Skip to content

Commit

Permalink
introducing transifex
Browse files Browse the repository at this point in the history
  • Loading branch information
chimaira committed Mar 20, 2014
1 parent e4b312d commit 88d0db0
Show file tree
Hide file tree
Showing 31 changed files with 10,742 additions and 2,936 deletions.
7 changes: 7 additions & 0 deletions .tx/config
@@ -0,0 +1,7 @@
[main]
host = https://www.transifex.com

[MATE.galculator]
file_filter = po/<lang>.po
source_file = po/galculator.pot
source_lang = en
4 changes: 3 additions & 1 deletion ChangeLog
@@ -1,4 +1,6 @@

2014-03-20 Simon Flöry <simon.floery@rechenraum.com>
* translations are now served through transifex (thanks to the MATE project,
in particular to Stefano and Martin)
2014-03-16 Simon Flöry <simon.floery@rechenraum.com>
* set_basic_object_data/set_scientific_object_data make structs static
(fixes sf.net bug #104, thanks to Campbell Barton for reporting)
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -72,7 +72,7 @@ AC_SUBST(GETTEXT_PACKAGE)
AM_PROG_LIBTOOL

dnl Add the languages which your application supports here.
ALL_LINGUAS="de fr ja pt pt_BR pl ro sk es_MX ru zh_TW zh_CN da_DK kk_KZ sv tr lt hu es"
ALL_LINGUAS="de fr ja pt pt_BR pl ro sk es_MX ru zh_TW zh_CN sv tr lt hu es cs el en_AU gl id it kk mr uk"
AM_GLIB_GNU_GETTEXT

dnl If we don't have msgfmt, then po/ is going to fail -- ensure that
Expand Down
2 changes: 1 addition & 1 deletion po/POTFILES.in
Expand Up @@ -7,7 +7,7 @@ src/config_file.c
src/display.c
src/general_functions.c
src/ui.c
src/flex_parser.c
src/flex_parser.l
[type: gettext/glade]ui/about.ui.in
[type: gettext/glade]ui/basic_buttons_gtk2.ui
[type: gettext/glade]ui/basic_buttons_gtk3.ui
Expand Down
30 changes: 30 additions & 0 deletions po/README.Translation
@@ -1,3 +1,33 @@
We were kindly invited by the MATE project to use their transifex ressources
for galculator:

https://www.transifex.com/projects/p/MATE/resource/galculator/

For short instruction on how to use transifex, see

http://wiki.mate-desktop.org/translation

So if you are interested in translating galculator, please register at
transifex and provide your translation through transifex. If this is not an
option for you, follow the old instructions below and submit your translations
on sourceforge as patch or feature request.

If there are new strings to translate, run
intltool-update -p
to update the po/galculator.pot file and
tx push -s
to push the new source file (configure in .tx/config) to transifex.

Before a release, do a
tx pull -a --minimum-perc=10
to get all translations with a minimum translation count of 10%.

Add all to SVN, and add the resp. language codes to configure.in!

------------------------------------------------------------------------

This is the old instructions before we use transifex

xgettext -f POTFILES.in -k=_ -o package.pot
creates a new package.pot. please note that file galculator.pot exists
and that you don't need this step therefore. resume with:
Expand Down

0 comments on commit 88d0db0

Please sign in to comment.