Commit Graph

18 Commits

Author SHA1 Message Date
Benau
a3b0c4d240 Make android game data extraction ui translatable 2020-07-19 14:21:14 +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
marjorieB
840771d189
Migration Python2 towards Python3 (#4232)
The modified code stays compatible with Python2.
2020-02-15 14:33:25 +08:00
Benau
c1be829f0e Allow extract translation from tips.xml 2019-12-18 13:49:36 +08:00
Benau
d77fd2e69e Revert "Replace xml.dom.minidom.parse which is known to be vulnerable to XML attacks. (#3933)"
This reverts commit 74f227590e.

Expat doesn't like  ./data/achievements.xml ! Error= <type 'exceptions.NameError'>
( ("name 'defusedxml' is not defined",) )
2019-07-18 15:52:03 +08:00
ghostslayer989
74f227590e Replace xml.dom.minidom.parse which is known to be vulnerable to XML attacks. (#3933)
This code is only run during the development process when updating translations base and the source XML files are trusted data. There doesn't seem to be a downside to the change, however.
2019-06-28 12:36:08 +02:00
Deve
aa9de807f9 Generate achivements in supertuxkart.pot 2014-12-27 22:50:03 +01:00
auria
65ad0b182c Exclude internal tracks from translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-27 22:34:06 +00: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
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
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
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
a7a802b918 Removed all line breaks from challenge files, since line breaking is not automatic
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 23:22:45 +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