Commit Graph

2105 Commits

Author SHA1 Message Date
Johannes Schickel
e5e94d4511 Strip trailing whitespaces in our common code base.
svn-id: r51094
2010-07-21 18:17:51 +00:00
Max Horn
0b48a71c99 Remove PalmOS port
svn-id: r50964
2010-07-17 18:41:38 +00:00
Johannes Schickel
8d7bc0eab5 Some documentation fixes.
svn-id: r50830
2010-07-12 20:17:42 +00:00
Johannes Schickel
ac268edafb Consistently use "MT-32" as short name of the Roland MT-32 in our GUI and credits files.
svn-id: r50821
2010-07-12 15:50:23 +00:00
Thierry Crozat
e3d48dc9c2 Update German translation.
svn-id: r50808
2010-07-11 21:15:24 +00:00
Thierry Crozat
abd2057408 Update template and all translation files following the addition of a new translatable string. French and German translations also have additional updates.
svn-id: r50764
2010-07-09 17:25:45 +00:00
Willem Jan Palenstijn
a3202eab7c Note Common::String's behaviour may be undefined with \0 characters.
Also make operator=(char) and String(char) behave the same.

svn-id: r50712
2010-07-05 21:29:52 +00:00
Johannes Schickel
1443a2721c Fix update of GUI options, which only differ in the language setting.
svn-id: r50706
2010-07-05 20:10:56 +00:00
Johannes Schickel
73e51735a4 Formatting fixes.
svn-id: r50705
2010-07-05 20:10:28 +00:00
Thierry Crozat
31df21be75 Commit improved italian translation.
Also update the template file and all the other translation files (there is quite a lot of line numbers that have changed).

svn-id: r50540
2010-06-30 22:27:34 +00:00
Robert Špalek
02fb3f88e2 unzip.cpp can read uncompressed ZIP archives even when zlib is not linked in
svn-id: r50482
2010-06-29 06:33:31 +00:00
Thierry Crozat
32a192b79a Update German translation.
svn-id: r50461
2010-06-28 21:56:25 +00:00
Eugene Sandulenko
0e7ccb896d i18n: Add support for locale-dependent fonts
Currently it ws not decided where to put fonts, but if you put BDF files into
themepath, they will get picked up.

The font name has to contain same codepage specification as in the .po file,
i.e. fixed5x8-iso-8859-5.bdf for Cyrillic codepage. In case the font does not
exist, default will be used.

All built in fonts get proper names.

TODO: Currently there is a bug with our font cacher. Font clR6x12-iso-8859-5
is empty after loading from FCC file. Reason is unknown.

svn-id: r50448
2010-06-28 15:17:10 +00:00
Eugene Sandulenko
7078655de0 i18n: Sync all translation with sources
svn-id: r50394
2010-06-27 20:38:05 +00:00
Eugene Sandulenko
f5bc8be952 i18n: Update Russian translation
svn-id: r50393
2010-06-27 20:36:39 +00:00
Thierry Crozat
945297a599 Add italian translation from the patch tracker (#3022046) and update credits.
svn-id: r50386
2010-06-27 18:19:37 +00:00
Thierry Crozat
006197e5bd Update the french translation.
svn-id: r50381
2010-06-27 16:53:08 +00:00
Johannes Schickel
4ec0827551 Add some explanation why we can not just use setlocale on Win32.
svn-id: r50354
2010-06-26 23:01:12 +00:00
Johannes Schickel
b7ab6ca3f1 Use "C" on Win32 as syslang in case the locale could not be determined.
svn-id: r50353
2010-06-26 22:51:13 +00:00
Johannes Schickel
14fdd11c04 Fix compilation with our default build system when USE_DETECTLANG is specified.
svn-id: r50349
2010-06-26 22:44:43 +00:00
Johannes Schickel
578cdb2aeb Implement support for auto detection of the users preferred locale on Windows.
Note that this might break support for Windows versions older than Win2k,
at least according to the MSVC docs GetLocaleInfo is only supported by Win2k+.

I added a comment about that though.

svn-id: r50348
2010-06-26 22:32:51 +00:00
Johannes Schickel
58fcda82f3 Remove support for translation of console messages.
In recent discussions on -devel it turned out, that this
feature is rather superfluous and instead we should rather
implement a proper error reporting in our GUI.

I also removed the dependency on iconv along with this.

svn-id: r50335
2010-06-26 18:07:41 +00:00
Jordi Vilalta Prat
8008e09ea3 GUI: Update translations after the last message changes
svn-id: r50328
2010-06-26 16:02:40 +00:00
Jordi Vilalta Prat
063cef0c28 GUI: Add and improve some messages to translate
svn-id: r50324
2010-06-26 15:48:03 +00:00
Florian Kagerer
3962f8ba59 AUDIO: some fixes in the audio device code (no sound option, new GUIO flags)
svn-id: r50281
2010-06-25 18:47:52 +00:00
Thierry Crozat
04ae0bcf58 Add German translation from patch tracker (patch #3020282).
svn-id: r50247
2010-06-24 22:36:21 +00:00
Johannes Schickel
17a96b3bd2 Yet another slight variable renaming to match our conventions.
svn-id: r50242
2010-06-24 22:00:45 +00:00
Johannes Schickel
968e10795f Do not include any headers from common/messages.cpp, since that file might be included into an namespace.
svn-id: r50241
2010-06-24 22:00:20 +00:00
Johannes Schickel
a5fb4fec2e Some more cleanup of po2c's output.
svn-id: r50240
2010-06-24 21:59:50 +00:00
Johannes Schickel
63cab52b85 Adapt po2c's output to better mach our code formatting conventions.
Along with it I added a suffix "-scummvm" to the version variable,
since we also feature some custom extensions like the charset
specification.

svn-id: r50239
2010-06-24 21:59:27 +00:00
Johannes Schickel
c96991d991 Added some consts to the output of tools/po2c.
svn-id: r50238
2010-06-24 21:59:03 +00:00
Max Horn
bbad3f333a Patch #1956501: "GUI/LAUNCHER: Midi device selection"
svn-id: r50128
2010-06-21 21:36:36 +00:00
Torbjörn Andersson
38b172e8e5 Fixed some Cppcheck warnings. (There are plenty left, if anyone's wondering.)
svn-id: r50120
2010-06-21 19:32:25 +00:00
Yotam Barnoy
b5a25a6e19 PSP: errors from both ScummVM and the PSP port now print to file by default. This should make debugging easier, especially for users.
svn-id: r50113
2010-06-21 13:58:51 +00:00
Thierry Crozat
f2983093e8 Add nearly complete french translation. I tried to make it work also in 320x200 but french can be quite verbose, so in a few places it does not fit. Also I could not check any of the device specific strings (e.g. from WinCE, Wii or other backends) and a few are missing.
svn-id: r50068
2010-06-19 22:56:58 +00:00
Thierry Crozat
721db3eccb Fix an issue in String::ensureCapacity() when the string is shared. It could allocate two much memory as it was at least doubling the current capacity even when this one was sufficient.
It fixes a crash in GUI::Widget::cleanupHotkey() as the capacity of the string was doubled at each iteration once it was too long for the internal storage (only to add one character to the string). This ended up in a bad_alloc exception after a few iterations.

svn-id: r50050
2010-06-19 15:35:21 +00:00
Johannes Schickel
d869d1370e Properly provide stub implementations for all TranslationManager methods when USE_TRANSLATIONS is not defined.
svn-id: r49997
2010-06-18 02:25:33 +00:00
Johannes Schickel
e347a6856e Do not rebuild common/messages.cpp automatically when a translation changes, but require the user to do "make update-translations".
This should be helpful for building on a system without perl.

svn-id: r49991
2010-06-18 02:08:00 +00:00
Johannes Schickel
cb92890d7b Commit updated common/messages.cpp too.
svn-id: r49946
2010-06-17 19:15:23 +00:00
Johannes Schickel
b56b3b9ead Fix common/messages.cpp rule for out of source directory builds. (Maybe this fixed bug #3017628 "AMIGAOS4: messages.cpp errors")
svn-id: r49940
2010-06-17 18:47:25 +00:00
David Turner
e5f609a40a Correction for Invalid reads in Translation iconv calls reported by Valgrind.
The string terminators were omitted from the iconv call and not restored.

svn-id: r49916
2010-06-17 03:22:52 +00:00
Johannes Schickel
49463c2bf9 Use USE_TRANSLATION, USE_DETECTLANG and USE_TERMCONV instead of (ENABLE_)TRANSLATION, DETECTLANG and TERMCONV.
svn-id: r49885
2010-06-15 19:20:58 +00:00
Johannes Schickel
a42ea73a76 Simplify code for the "ICONV_USES_CONST" case even more. (i.e. remove the "msg" variable there).
svn-id: r49880
2010-06-15 17:56:05 +00:00
Andre Heider
212d0ac28c Fix compilation when using ICONV_USES_CONST.
svn-id: r49878
2010-06-15 17:50:14 +00:00
Johannes Schickel
d8bc798145 Strip out charset information from the system locale again (like it was done before r49871).
Unlike with the old code, we know allow for locales
with a different size than 5 though.

svn-id: r49876
2010-06-15 17:47:23 +00:00
Johannes Schickel
f3288b0f26 Fix a typo.
svn-id: r49875
2010-06-15 17:47:04 +00:00
Johannes Schickel
34d8196334 Output some warning in case an invalid ID was passed to TranslationManager::getLangById.
svn-id: r49873
2010-06-15 17:34:26 +00:00
Johannes Schickel
f607fc59db Extend (and along with it add) some doxygen comments.
svn-id: r49872
2010-06-15 17:34:07 +00:00
Johannes Schickel
0bff5c29fe Use a Common::String instead of a fixed size array for _syslang in TranslationManager.
svn-id: r49871
2010-06-15 17:33:45 +00:00
Willem Jan Palenstijn
7c7054dbd1 Remove unnecessary svn:executable properties
svn-id: r49870
2010-06-15 17:14:38 +00:00