get timeout message working with gettext again
This commit is contained in:
parent
2b6afeb507
commit
0523c7c905
915
po/voxelands.pot
915
po/voxelands.pot
File diff suppressed because it is too large
Load Diff
|
@ -876,12 +876,12 @@ void the_game(
|
|||
break;
|
||||
}
|
||||
|
||||
wchar_t buff[512];
|
||||
char buff[512];
|
||||
int tot = (10.0 - time_counter + 1.0);
|
||||
swprintf(
|
||||
snprintf(
|
||||
buff,
|
||||
512,
|
||||
wngettext(
|
||||
ngettext(
|
||||
"Connecting to server... (timeout in %d second)",
|
||||
"Connecting to server... (timeout in %d seconds)",
|
||||
tot
|
||||
|
@ -889,7 +889,7 @@ void the_game(
|
|||
tot
|
||||
);
|
||||
//draw_load_screen(ss.str(), driver, font);
|
||||
drawLoadingScreen(driver,std::wstring(buff));
|
||||
drawLoadingScreen(driver,narrow_to_wide(buff));
|
||||
// Update client and server
|
||||
client.step(0.1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue