diff options
| author | Paweł Kołodziejski | 2002-09-17 16:12:16 +0000 | 
|---|---|---|
| committer | Paweł Kołodziejski | 2002-09-17 16:12:16 +0000 | 
| commit | bc81fc7aa13a8bc71cfb8f8046385c71a411814f (patch) | |
| tree | 88a49b0351caa8b015a8daf0bac12b511577125c /gui/gui.cpp | |
| parent | c61b8249428216dacfdc5805f51f96caeb9711bd (diff) | |
| download | scummvm-rg350-bc81fc7aa13a8bc71cfb8f8046385c71a411814f.tar.gz scummvm-rg350-bc81fc7aa13a8bc71cfb8f8046385c71a411814f.tar.bz2 scummvm-rg350-bc81fc7aa13a8bc71cfb8f8046385c71a411814f.zip | |
added support for nonenglish the dig - for gui this time. now is completed :)
svn-id: r4960
Diffstat (limited to 'gui/gui.cpp')
| -rw-r--r-- | gui/gui.cpp | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/gui/gui.cpp b/gui/gui.cpp index 1eee1e8021..8b152be4aa 100644 --- a/gui/gui.cpp +++ b/gui/gui.cpp @@ -935,6 +935,11 @@ const char *Gui::queryString(int stringno, int id)  	result = (char *)_s->getStringAddress(string); +	if (result && *result == '/') { +		_s->translateText((char*)result, (char*)&_s->transText); +		strcpy((char*)result, (char*)&_s->transText); +	} +  	if (!result) {									// Gracelessly degrade to english :)  		if (_s->_features & GF_AFTER_V6)  			return string_map_table_v6[stringno - 1].string; | 
