diff options
author | Eugene Sandulenko | 2016-01-12 23:44:13 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-01-12 23:53:14 +0100 |
commit | 0c091f4faabc073785a8ffe34b92855a665b4dd0 (patch) | |
tree | df073048c702eb328d4f700e4b0f9ee413f4c278 /engines/lure/menu.cpp | |
parent | ef6d8f8878eaf2e6fe88ee10f8eb182820b8eefb (diff) | |
download | scummvm-rg350-0c091f4faabc073785a8ffe34b92855a665b4dd0.tar.gz scummvm-rg350-0c091f4faabc073785a8ffe34b92855a665b4dd0.tar.bz2 scummvm-rg350-0c091f4faabc073785a8ffe34b92855a665b4dd0.zip |
LURE: Add support for Russian version
Diffstat (limited to 'engines/lure/menu.cpp')
-rw-r--r-- | engines/lure/menu.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/lure/menu.cpp b/engines/lure/menu.cpp index 8867e8a626..8672f5fa87 100644 --- a/engines/lure/menu.cpp +++ b/engines/lure/menu.cpp @@ -75,6 +75,7 @@ const MenuRecordLanguage menuList[] = { {Common::FR_FRA, {{40, 90, 3, 7}, {120, 195, 13, 11}, {232, 273, 23, 13}}}, {Common::DE_DEU, {{44, 95, 1, 11}, {135, 178, 8, 23}, {232, 273, 22, 15}}}, {Common::ES_ESP, {{40, 90, 3, 8}, {120, 195, 11, 13}, {208, 281, 17, 18}}}, + {Common::RU_RUS, {{40, 87, 3, 7}, {127, 179, 13, 12}, {224, 281, 27, 10}}}, {Common::UNK_LANG, {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}}} }; @@ -378,9 +379,13 @@ uint16 PopupMenu::ShowItems(Action contextAction, uint16 roomNumber) { ++numItems; } - if (numItems == 0) + if (numItems == 0) { // No items, so add a 'nothing' to the statusLine - strcat(room.statusLine(), "(nothing)"); + if (LureEngine::getReference().getLanguage() == Common::RU_RUS) + strcat(room.statusLine(), "(ybxtuj ytn)"); + else + strcat(room.statusLine(), "(nothing)"); + } room.update(); screen.update(); |