summaryrefslogtreecommitdiff
path: root/src/network/network_gui.cpp
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-05-19 09:07:43 +0000
committerplanetmaker <planetmaker@openttd.org>2013-05-19 09:07:43 +0000
commit7e4f68d275f98e0124c377608af118ea69338c5c (patch)
tree75d0bff95bff02737fd74ccb0e1696e6d83d89dd /src/network/network_gui.cpp
parentc8dbb42b6056db1a28469a3289047fbd6222bb9f (diff)
downloadopenttd-7e4f68d275f98e0124c377608af118ea69338c5c.tar.xz
(svn r25253) -Codechange: Rename the strings of the advertisement settings to better reflect what they do
Diffstat (limited to 'src/network/network_gui.cpp')
-rw-r--r--src/network/network_gui.cpp22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index f93b31c77..dae8764be 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -43,15 +43,21 @@
static void ShowNetworkStartServerWindow();
static void ShowNetworkLobbyWindow(NetworkGameList *ngl);
+/**
+ * Advertisement options in the start server window
+ */
static const StringID _connection_types_dropdown[] = {
- STR_NETWORK_START_SERVER_LAN_INTERNET,
- STR_NETWORK_START_SERVER_INTERNET_ADVERTISE,
+ STR_NETWORK_START_SERVER_UNADVERTISED,
+ STR_NETWORK_START_SERVER_ADVERTISED,
INVALID_STRING_ID
};
+/**
+ * Advertisement options in the server list
+ */
static const StringID _lan_internet_types_dropdown[] = {
- STR_NETWORK_SERVER_LIST_LAN,
- STR_NETWORK_SERVER_LIST_INTERNET,
+ STR_NETWORK_SERVER_LIST_ADVERTISED_NO,
+ STR_NETWORK_SERVER_LIST_ADVERTISED_YES,
INVALID_STRING_ID
};
@@ -925,9 +931,9 @@ static const NWidgetPart _nested_network_game_widgets[] = {
/* LEFT SIDE */
NWidget(NWID_VERTICAL), SetPIP(0, 7, 0),
NWidget(NWID_HORIZONTAL), SetPIP(0, 7, 0),
- NWidget(WWT_TEXT, COLOUR_LIGHT_BLUE, WID_NG_CONNECTION), SetDataTip(STR_NETWORK_SERVER_LIST_CONNECTION, STR_NULL),
+ NWidget(WWT_TEXT, COLOUR_LIGHT_BLUE, WID_NG_CONNECTION), SetDataTip(STR_NETWORK_SERVER_LIST_ADVERTISED, STR_NULL),
NWidget(WWT_DROPDOWN, COLOUR_LIGHT_BLUE, WID_NG_CONN_BTN),
- SetDataTip(STR_BLACK_STRING, STR_NETWORK_SERVER_LIST_CONNECTION_TOOLTIP),
+ SetDataTip(STR_BLACK_STRING, STR_NETWORK_SERVER_LIST_ADVERTISED_TOOLTIP),
NWidget(NWID_SPACER), SetFill(1, 0), SetResize(1, 0),
EndContainer(),
NWidget(NWID_HORIZONTAL), SetPIP(0, 7, 0),
@@ -1257,8 +1263,8 @@ static const NWidgetPart _nested_network_start_server_window_widgets[] = {
NWidget(NWID_HORIZONTAL, NC_EQUALSIZE), SetPIP(10, 6, 10),
NWidget(NWID_VERTICAL), SetPIP(0, 1, 0),
- NWidget(WWT_TEXT, COLOUR_LIGHT_BLUE, WID_NSS_CONNTYPE_LABEL), SetFill(1, 0), SetDataTip(STR_NETWORK_SERVER_LIST_CONNECTION, STR_NULL),
- NWidget(WWT_DROPDOWN, COLOUR_LIGHT_BLUE, WID_NSS_CONNTYPE_BTN), SetFill(1, 0), SetDataTip(STR_BLACK_STRING, STR_NETWORK_SERVER_LIST_CONNECTION_TOOLTIP),
+ NWidget(WWT_TEXT, COLOUR_LIGHT_BLUE, WID_NSS_CONNTYPE_LABEL), SetFill(1, 0), SetDataTip(STR_NETWORK_SERVER_LIST_ADVERTISED, STR_NULL),
+ NWidget(WWT_DROPDOWN, COLOUR_LIGHT_BLUE, WID_NSS_CONNTYPE_BTN), SetFill(1, 0), SetDataTip(STR_BLACK_STRING, STR_NETWORK_SERVER_LIST_ADVERTISED_TOOLTIP),
EndContainer(),
NWidget(NWID_VERTICAL), SetPIP(0, 1, 0),
NWidget(WWT_TEXT, COLOUR_LIGHT_BLUE, WID_NSS_LANGUAGE_LABEL), SetFill(1, 0), SetDataTip(STR_NETWORK_START_SERVER_LANGUAGE_SPOKEN, STR_NULL),