From 3a55c060f7f80ceac0210c7f38b0fbb1d47bcc59 Mon Sep 17 00:00:00 2001 From: rd3k Date: Fri, 29 May 2015 20:59:16 +0100 Subject: [PATCH] fix #1163 --- data/language/english_uk.txt | 3 ++- src/localisation/string_ids.h | 2 ++ src/windows/options.c | 5 +---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/data/language/english_uk.txt b/data/language/english_uk.txt index 89e2f667f7..909e981311 100644 --- a/data/language/english_uk.txt +++ b/data/language/english_uk.txt @@ -3509,4 +3509,5 @@ STR_5172 :Will turn on tracking information for guests named after Twitch cha STR_5173 :Pull Twitch chat as news STR_5174 :Will use Twitch chat messages preceded by !news for in game notifications STR_5175 :Input the name of your Twitch channel -STR_5176 :Enable Twitch integration \ No newline at end of file +STR_5176 :Enable Twitch integration +STR_5177 :Fullscreen mode: \ No newline at end of file diff --git a/src/localisation/string_ids.h b/src/localisation/string_ids.h index 8a8bf7c6a7..9786f32fc4 100644 --- a/src/localisation/string_ids.h +++ b/src/localisation/string_ids.h @@ -1422,6 +1422,8 @@ enum { STR_TWITCH_NAME_DESC = 5175, STR_TWITCH_ENABLE = 5176, + STR_FULLSCREEN_MODE = 5177, + // Have to include resource strings (from scenarios and objects) for the time being now that language is partially working STR_COUNT = 32768 }; diff --git a/src/windows/options.c b/src/windows/options.c index 6ab2568dbf..c983ff82c1 100644 --- a/src/windows/options.c +++ b/src/windows/options.c @@ -967,10 +967,7 @@ static void window_options_paint() switch (w->page) { case WINDOW_OPTIONS_PAGE_DISPLAY: gfx_draw_string_left(dpi, STR_DISPLAY_RESOLUTION, w, 0, w->x + 10, w->y + window_options_widgets[WIDX_RESOLUTION].top + 1); - - sprintf(buffer, "%c%c%s", FORMAT_MEDIUMFONT, FORMAT_WINDOW_COLOUR_2, "Fullscreen mode:"); - gfx_draw_string(dpi, buffer, 0, w->x + 10, w->y + window_options_widgets[WIDX_FULLSCREEN].top + 1); - + gfx_draw_string_left(dpi, STR_FULLSCREEN_MODE, w, 12, w->x + 10, w->y + window_options_widgets[WIDX_FULLSCREEN].top + 1); gfx_draw_string_left(dpi, STR_CONSTRUCTION_MARKER, w, 0, w->x + 10, w->y + window_options_widgets[WIDX_CONSTRUCTION_MARKER].top + 1); break; case WINDOW_OPTIONS_PAGE_CULTURE: