Commit Graph

58 Commits

Author SHA1 Message Date
SoftCoder b9d6b38e8f - coverity based bug fixes - round #1 2013-12-13 23:04:12 -08:00
Mark Vejvoda ad7569ded1 - code cleanup based on additional gcc warnings 2013-11-19 07:02:26 +00:00
Mark Vejvoda 9268aaf279 - a few minor bug fixes related to code warnings
- code cleanup based on additional gcc warnings
- enabled additional gcc compiler warnings
2013-11-19 06:14:06 +00:00
Mark Vejvoda 0a0e3f408a - added experimental Right To Left 'mixed mode' support to attempt to make RTL languages with lines having mixed RTL and LTR words display properly (this is a manual hack). To enable, add this to the languages lng file: FONT_RIGHTTOLEFT_MIXED_SUPPORT=true 2013-11-13 07:56:19 +00:00
Mark Vejvoda ed4444a6da check if this fixes techtree name bug 2013-10-31 20:12:49 +00:00
Mark Vejvoda 958872cacf bugfix for translations for techtree 2013-10-29 20:24:23 +00:00
Mark Vejvoda 0c00b49995 more lang class code cleanup and better caching of techtree strings 2013-10-29 17:28:29 +00:00
Mark Vejvoda d2ba7b163b a little refactoring of function names in language class 2013-10-29 06:13:38 +00:00
Mark Vejvoda 0ead6a36dc full support for translated techtrees 2013-06-13 08:55:48 +00:00
Mark Vejvoda a8662c8b31 updated menus to display translated tech name 2013-06-13 01:37:15 +00:00
Mark Vejvoda 6e38d9b187 do not require lng file to have a new key 2013-06-06 05:51:32 +00:00
Mark Vejvoda 173075d962 allow each language to specify special keys allowed for that language (bugfix for polish) 2013-06-05 05:53:59 +00:00
Mark Vejvoda 5b664fb1a2 - bugfix for transifex tutorial download files now loaded into UI
- updated each thread to provide its name
2013-05-21 20:28:42 +00:00
Mark Vejvoda 7dae926cf2 - do not show errors on console for scenarios without a description 2013-02-09 17:18:34 +00:00
Mark Vejvoda 9bc6d33f1d - bug fixes to stabilize the windows build 2013-02-09 06:57:05 +00:00
Mark Vejvoda 5c27bcfea2 - only show debug output in verbose mode 2012-12-28 06:34:10 +00:00
Mark Vejvoda 25fa436318 - added a cache and thread for loading of native language names to improve speed 2012-12-28 01:02:09 +00:00
Mark Vejvoda 7c59a00416 - allow special use of language id's within iso code, for example:
zh-cn or zh-tw
(http://en.wikipedia.org/wiki/Wikipedia_talk:Chinese_interlanguage_links)
2012-11-06 04:50:54 +00:00
Mark Vejvoda 4598299caf - added the ability for advanced translation features (transifex users can download and remove custom files from the transfex website and test their work) 2012-10-22 05:08:52 +00:00
Mark Vejvoda fc07549761 - allow connected client to see extraction process 2012-10-15 08:09:28 +00:00
Mark Vejvoda 5e42c6dc03 - loads of code cleanup based on verbose output from the latest git version of cppcheck 2012-10-06 07:06:40 +00:00
Mark Vejvoda 1c211e4ce6 - lots of code cleanup from the cppcheck 2012-09-22 20:13:57 +00:00
Titus Tscharntke f2027bea58 Default Language is always used as fallback, just a console message is given about missing strings. Lets see if this is what we want... 2012-09-02 19:33:32 +00:00
Mark Vejvoda 778bb788ef - do not display missing lang string errors on console unless in verbose mode 2012-07-26 15:39:44 +00:00
Mark Vejvoda bf3e5a15bf - modders can now override land and air field names using lng specific files for a tileset (follows same principle as techtree lng files). Currently supported translatable strings:
FieldLandName=Land
FieldAirName=Air
2012-05-11 05:49:47 +00:00
Mark Vejvoda 0120c5211a - added a default translation file for techtrees, <techtreename>_default.lng 2012-05-03 14:43:28 +00:00
Mark Vejvoda 897346d1f5 - added the beginning work to support translatable techtrees 2012-05-02 20:46:47 +00:00
Mark Vejvoda c8fdc9269f - fix win32 build
- cleanup a lot of win32 compiler warnings
2012-04-16 20:15:57 +00:00
Mark Vejvoda 8c0bf75bf5 - got built in memory leak working. Just edit leak_dumper.h and uncomment:
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00
Mark Vejvoda fe72cb629b - updated to properly use fontconfig for finding fonts 2012-01-05 22:35:05 +00:00
Mark Vejvoda 9852325da6 - fixed Martiño Figueroa's name in all copyrights in source code
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Mark Vejvoda 049b2952f2 - bugfix for invalid language setting in userini
- added debug info to track down tomreyn's issue
2011-12-05 00:02:32 +00:00
Mark Vejvoda 46d68b8d50 -updated so all languages can take default values from the default language 2011-12-03 03:35:36 +00:00
Mark Vejvoda 3f69da1f62 - do NOT output missing language text messages in headless mode 2011-12-02 22:24:47 +00:00
Mark Vejvoda 8ccd238fcf - language order sorted by english filename 2011-12-01 00:20:14 +00:00
Mark Vejvoda 6937785f22 - now display native language name in options menu 2011-11-30 23:35:54 +00:00
Mark Vejvoda 5bb270fe41 - all languages now define their sio639-1 code and the commandline option can take it now:
--use-language=en
2011-11-19 03:33:01 +00:00
Mark Vejvoda 043cd5789c - default to english is a selected language is missing 2011-11-15 18:38:13 +00:00
Mark Vejvoda 30e1f45cc7 - intro is now fully translatable and configurable (see english.lng file at the bottom for intro strings)
- added game loading text strings to language file
- ONLY load the font type we are using
2011-11-02 17:17:28 +00:00
Mark Vejvoda bb25e0ec79 fix for macosx 2011-11-01 21:47:34 +00:00
Mark Vejvoda 9848a6c529 - bugfix for windows compiling 2011-10-25 20:34:13 +00:00
Mark Vejvoda 50adfb3305 - added ability to switch languages from nearly anywhere (and new hotkeys to do so):
CTRL+L shows language popup selection, CTRL+SHIFT+L toggles to next language automatically
2011-10-25 18:39:11 +00:00
Mark Vejvoda 2e9ca4c0f5 - bugfix to support \n in scenario and tutorial lng files 2011-09-16 03:17:49 +00:00
Mark Vejvoda f65bfe8710 - added some bug fixes to check if lng files are utf-8 or not and deal with it appropriately 2011-06-08 07:18:06 +00:00
Mark Vejvoda 1f1c0f34a3 - do not show error type message when checking existence of language values 2011-05-24 03:44:54 +00:00
Mark Vejvoda 4d2422bb57 - added extra info in error text for language strings 2011-04-26 16:02:34 +00:00
Mark Vejvoda 4a27e75891 - initial work to support multi-language text messages 2011-04-05 18:39:47 +00:00
Mark Vejvoda 3b56aa4475 - performance changes... (problem found by titi) most debug calls line are skipped when the debug flag is disabled even BEFORE getting into the handledebug method.
This improves performance VERY MUCH.
2011-03-28 03:54:23 +00:00
Mark Vejvoda 39bf1b986e - added new commandline option to convert folders of g3d models to use specified texture format
- added new utility methods and changed code to use them (like adding trailing slash on paths)
2011-03-13 08:23:43 +00:00
Mark Vejvoda f6b0bd3fd7 - some ftp file transfer bugfixes and moved many strings into language file 2011-01-14 17:57:37 +00:00