Commit Graph

36 Commits

Author SHA1 Message Date
Benau
a36c68542e Make supertuxkart.desktop translatable 2020-09-03 16:43:30 +08:00
Benau
a3b0c4d240 Make android game data extraction ui translatable 2020-07-19 14:21:14 +08:00
Benau
3c80892b86 Allow specifying python version in update_pot.sh 2020-05-31 12:01:47 +08:00
Benau
80d1ba6b10 Revert "Allow music title to be translatable, fix #4281"
Some translator and stk fans think it is confusing
2020-05-06 14:28:46 +08:00
Benau
d03a821e53 Allow music title to be translatable, fix #4281 2020-05-05 10:22:21 +08:00
Benau
c1be829f0e Allow extract translation from tips.xml 2019-12-18 13:49:36 +08:00
Deve
127c91d825 Minor fix for update_pot.
The "supertuxkart-assets" is supported everywhere else.
2018-09-12 22:53:58 +02:00
Benau
c67290a262 Sort code files too according to name, fix some spaces before ! 2018-08-21 13:34:27 +08:00
Benau
1610158405 Use sort -n to maintain a constant file order 2018-08-21 09:50:28 +08:00
Karl Ove Hufthammer
96cde24615 (Again) don’t sort strings alphabetically (makes the translators’ work much easier). 2015-09-25 10:51:31 +02:00
Marianne Gagnon
722cd0e181 Merge branch 'Scripting' 2015-05-21 19:29:01 -04:00
Karl Ove Hufthammer
6106ed3ec6 Don’t sort strings alphabetically (makes the translators’ work much easier). 2015-05-12 18:20:11 +02:00
Marianne Gagnon
85cf5b181e Support extracting translations from scripts 2015-04-30 19:03:54 -04:00
auria
13bfee5ce1 Do not output line numbers for strings that come from XML, since XML comments are extracted from a fake .h ffile and their location in that intermediary file has no use 2015-02-08 18:17:05 -05:00
auria
671e3829a4 Do not extract strings from wip-tracks. Fixes #1967 2015-02-08 18:05:42 -05:00
leper
d21f0ffa2b Support plural translations. Fixes #1852. 2015-01-03 00:25:53 +01:00
Deve
a80d449aaf Improved update_pot script
- added stk-assets path
 - restored karts and tracks
 - added achevements
 - better formatting and faster executing
Updated supertuxkart.pot
2014-12-27 22:12:16 +01:00
auria
b7bdacbefc Make subtitles be extracted from XML files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-20 00:05:38 +00:00
auria
5e905e4322 Added support for the gettext context feature
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 18:07:59 +00:00
hikerstk
9f8db29c8f Added support for N_ (gettext noop) keyword.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 13:02:15 +00:00
auria
53daba9de8 Fixed unicode string extraction + update catalog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8123 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 17:16:58 +00:00
auria
03fb11823b Improve unicode string extraction
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8122 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 17:12:29 +00:00
auria
79dda5fdee Improve translations, include tracks in translaitons like they used to be, not sure when this was lost
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 00:11:56 +00:00
auria
009960fc8a Clean up call to fribidi, add capabilities to insert values to the _ macro
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 23:39:10 +00:00
auria
27b2ba3f26 Bugfix : track names were no more extracted in the string catalog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 23:04:27 +00:00
auria
1bfaf9d4f5 Update to translation script to pick up kart names + fixed many instances where gettext or the XML parser would complain
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5851 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-01 16:01:19 +00:00
xapantu
c1e6930513 Update update_pot.sh to have 'supertuxkart' as default package-name
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5451 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-25 18:47:38 +00:00
auria
e15c217c5f Converted GPs to XML
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 00:33:41 +00:00
auria
3c6b6c7321 Updated pot and script, strings in headers were missing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-31 18:21:15 +00:00
auria
7d1c82d73c Fixed a lot of translation crap related to XML, hacky challenge files, no GUI, etc...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 21:57:15 +00:00
auria
9a6f3ef547 Improved extraction of strings from XML files (now with a python script that also supports comments to the translators; also, uses expat, which detected lots of errors through my XML files XD)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 01:28:46 +00:00
auria
b6d0226fe2 Updated pot generation script to fetch strings from XML too (most of them are not translated in game yet however)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 21:16:51 +00:00
auria
19d91fb0c1 i18n updates. updated script to new lcoation of files. added comments to translator, for unobvious strings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-02 00:35:28 +00:00
hikerstk
6f55d4de70 1) Enhanced lisp scanner and parser to handle translations, i.e.
strings marked as _("translate me")
2) Added _() for all names and descriptions for the tracks and GPs
3) Improved update_pot.sh to create the entries for all track and
   GP files.
4) Updated supertuxkart.pot to include all GPs and tracks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 14:48:57 +00:00
auria
3c3d25cb86 improved .pot generator script
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 18:39:48 +00:00
auria
b1865acd7f added script to automatically generate .pot file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 13:34:39 +00:00