Skip to content

Instantly share code, notes, and snippets.

@michicc
Created March 8, 2021 19:57
Show Gist options
  • Save michicc/fbe22bdd77b66e69ef06615be1d90f6d to your computer and use it in GitHub Desktop.
Save michicc/fbe22bdd77b66e69ef06615be1d90f6d to your computer and use it in GitHub Desktop.
diff --git a/src/lang/english.txt b/src/lang/english.txt
index ad7c55ce9..25301ccf2 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -1026,7 +1026,7 @@ STR_GAME_OPTIONS_VIDEO_ACCELERATION_RESTART :{WHITE}The sett
STR_GAME_OPTIONS_REFRESH_RATE :{BLACK}Display refresh rate
STR_GAME_OPTIONS_REFRESH_RATE_TOOLTIP :{BLACK}Select the screen refresh rate to use
STR_GAME_OPTIONS_REFRESH_RATE_OTHER :other
-STR_GAME_OPTIONS_REFRESH_RATE_ITEM :{BLACK}{NUM}Hz
+STR_GAME_OPTIONS_REFRESH_RATE_ITEM :{NUM} Hz
STR_GAME_OPTIONS_REFRESH_RATE_WARNING :{WHITE}Refresh rates higher than 60Hz might impact performance.
STR_GAME_OPTIONS_BASE_GRF :{BLACK}Base graphics set
@@ -5184,6 +5184,7 @@ STR_ORANGE_INT :{ORANGE}{NUM}
STR_WHITE_SIGN :{WHITE}{SIGN}
STR_TINY_BLACK_STATION :{TINY_FONT}{BLACK}{STATION}
STR_BLACK_STRING :{BLACK}{STRING}
+STR_BLACK_STRING1 :{BLACK}{STRING1}
STR_BLACK_RAW_STRING :{BLACK}{RAW_STRING}
STR_ORANGE_STRING :{ORANGE}{STRING}
STR_LTBLUE_STRING :{LTBLUE}{STRING}
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index e440ee7a4..c4b1a7c56 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -599,7 +599,7 @@ static const NWidgetPart _nested_game_options_widgets[] = {
EndContainer(),
NWidget(NWID_VERTICAL),
NWidget(WWT_DROPDOWN, COLOUR_GREY, WID_GO_RESOLUTION_DROPDOWN), SetMinimalSize(100, 12), SetDataTip(STR_BLACK_STRING, STR_GAME_OPTIONS_RESOLUTION_TOOLTIP), SetFill(1, 0), SetPadding(0, 0, 2, 0),
- NWidget(WWT_DROPDOWN, COLOUR_GREY, WID_GO_REFRESH_RATE_DROPDOWN), SetMinimalSize(120, 12), SetDataTip(STR_BLACK_STRING, STR_GAME_OPTIONS_REFRESH_RATE_TOOLTIP), SetFill(1, 0), SetPadding(0, 0, 2, 0),
+ NWidget(WWT_DROPDOWN, COLOUR_GREY, WID_GO_REFRESH_RATE_DROPDOWN), SetMinimalSize(120, 12), SetDataTip(STR_BLACK_STRING1, STR_GAME_OPTIONS_REFRESH_RATE_TOOLTIP), SetFill(1, 0), SetPadding(0, 0, 2, 0),
NWidget(NWID_HORIZONTAL), SetPadding(0, 0, 2, 0),
NWidget(NWID_SPACER), SetMinimalSize(1, 0), SetFill(1, 0),
NWidget(WWT_TEXTBTN, COLOUR_GREY, WID_GO_FULLSCREEN_BUTTON), SetMinimalSize(21, 9), SetDataTip(STR_EMPTY, STR_GAME_OPTIONS_FULLSCREEN_TOOLTIP),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment