Skip to content

Commit

Permalink
add RMG support for Polish H3 Gold
Browse files Browse the repository at this point in the history
  • Loading branch information
potmdehex committed Jul 23, 2016
1 parent eeb43f6 commit 78b9fe6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions map_editor/maped_rmg/rmgdialog_fix.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ int _GetString(HWND hwnd, const wchar_t **arr, size_t n, const wchar_t **str)

#define GET_STRING(HW, STR) \
if (0 != _GetString(HW, arr_##STR, ARR_SIZE(arr_##STR), str_##STR)) { \
MessageBoxW(NULL, L"Failed to find GUI element (english version in title) for your language, please report bug in h3mtool thread on heroescommunity.com forums, and provide translation for that string", arr_##STR[0], MB_ICONERROR); \
MessageBoxW(NULL, L"Failed to find GUI element (english version in title) for your language, please report bug in hde mod thread on heroescommunity.com forums, and provide translation for that string", arr_##STR[0], MB_ICONERROR); \
}

static VOID _GetLocalizedStrings(HWND hwnd,
Expand All @@ -234,12 +234,12 @@ static VOID _GetLocalizedStrings(HWND hwnd,
)
{
// Selectable town in Czech: "Volitelná města pro hráče"
// langs: English, French, Russian Complete, Russian SoD, Czech
const wchar_t *arr_roe[] = { L"The &Restoration of Erathia", L"The &Restoration of Erathia", L"&Возрождение Эрафии", L"Возрождение Эрафии", L"Obnova Erathie - &RoE" };
const wchar_t *arr_ab[] = { L"&Armageddon's Blade", L"&Armageddon's Blade", L"&Клинок Армагеддона", L"Клинок дрмагеддона", L"Meč Zkázy - &AB" };
const wchar_t *arr_sod[] = { L"The &Shadow of Death", L"The &Shadow of Death", L"&Дыхание Смерти", L"Дыхание Смерти", L"Stín smrti - &SoD" };
// langs: English, French, Russian Complete, Russian SoD, Czech, Polish
const wchar_t *arr_roe[] = { L"The &Restoration of Erathia", L"The &Restoration of Erathia", L"&Возрождение Эрафии", L"Возрождение Эрафии", L"Obnova Erathie - &RoE", L"Odrodzenie Erathii" };
const wchar_t *arr_ab[] = { L"&Armageddon's Blade", L"&Armageddon's Blade", L"&Клинок Армагеддона", L"Клинок дрмагеддона", L"Meč Zkázy - &AB", L"Armageddon's Blade" };
const wchar_t *arr_sod[] = { L"The &Shadow of Death", L"The &Shadow of Death", L"&Дыхание Смерти", L"Дыхание Смерти", L"Stín smrti - &SoD", L"The Shadow of Death" };

const wchar_t *arr_generate[] = { L"&Generate random map", L"&Générer carte aléatoire", L"&Генерировать случайную карту", L"Создать произвольную карту", L"&Generovaní náhodné mapy" };
const wchar_t *arr_generate[] = { L"&Generate random map", L"&Générer carte aléatoire", L"&Генерировать случайную карту", L"Создать произвольную карту", L"&Generovaní náhodné mapy", L"Generuj mapę losową" };
//const wchar_t *arr_random[] = { L"Random", L"Aléatoire", L"Случайный", L"Произвольный", L"Náhodné" };
//const wchar_t *arr_random2[] = { L"Random", L"Aléatoire", L"Случайные", L"Произвольный", L"Náhodná" };

Expand Down

0 comments on commit 78b9fe6

Please sign in to comment.