Reduce button text further and add tooltips

This commit is contained in:
Ted John 2019-02-07 16:57:39 +00:00
parent 459ce12650
commit 535b075310
3 changed files with 13 additions and 7 deletions

View File

@ -3576,8 +3576,8 @@ STR_6125 :Object type
STR_6126 :Unknown type
STR_6127 :File: {STRING}
STR_6128 :The file could not be loaded as some of the objects referenced in it are missing or corrupt. A list of these objects is given below.
STR_6129 :Copy item to clipboard
STR_6130 :Copy entire list to clipboard
STR_6129 :Copy
STR_6130 :Copy all
STR_6131 :Object source
STR_6132 :Ignore research status
STR_6133 :{SMALLFONT}{BLACK}Access rides and scenery that have not yet been invented
@ -3747,7 +3747,10 @@ STR_6296 :GiB
STR_6297 :TiB
STR_6298 :{STRING}/sec
STR_6299 :Download all
STR_6300 :Downloading object ({COMMA16} / {COMMA16}): [{STRING}]
STR_6300 :{SMALLFONT}{BLACK}Download all missing objects if available online.
STR_6301 :{SMALLFONT}{BLACK}Copy the selected object name to the clipboard.
STR_6302 :{SMALLFONT}{BLACK}Copy the entire list of missing objects to the clipboard.
STR_6303 :Downloading object ({COMMA16} / {COMMA16}): [{STRING}]
#############
# Scenarios #

View File

@ -200,10 +200,10 @@ static rct_widget window_object_load_error_widgets[] = {
{ WWT_TABLE_HEADER, 0, SOURCE_COL_LEFT, TYPE_COL_LEFT - 1, 57, 70, STR_OBJECT_SOURCE, STR_NONE }, // 'Object source' header
{ WWT_TABLE_HEADER, 0, TYPE_COL_LEFT, WW_LESS_PADDING - 1, 57, 70, STR_OBJECT_TYPE, STR_NONE }, // 'Object type' header
{ WWT_SCROLL, 0, 4, WW_LESS_PADDING, 70, WH - 33, SCROLL_VERTICAL, STR_NONE }, // Scrollable list area
{ WWT_BUTTON, 0, 4, 148, WH - 23, WH - 10, STR_COPY_SELECTED, STR_NONE }, // Copy selected btn
{ WWT_BUTTON, 0, 152, 296, WH - 23, WH - 10, STR_COPY_ALL, STR_NONE }, // Copy all btn
{ WWT_BUTTON, 0, 4, 148, WH - 23, WH - 10, STR_COPY_SELECTED, STR_COPY_SELECTED_TIP }, // Copy selected button
{ WWT_BUTTON, 0, 152, 296, WH - 23, WH - 10, STR_COPY_ALL, STR_COPY_ALL_TIP }, // Copy all button
#ifndef DISABLE_HTTP
{ WWT_BUTTON, 0, 300, WW_LESS_PADDING, WH - 23, WH - 10, STR_DOWNLOAD_ALL, STR_NONE }, // Download all
{ WWT_BUTTON, 0, 300, WW_LESS_PADDING, WH - 23, WH - 10, STR_DOWNLOAD_ALL, STR_DOWNLOAD_ALL_TIP }, // Download all button
#endif
{ WIDGETS_END },
};

View File

@ -3928,7 +3928,10 @@ enum
STR_NETWORK_SPEED_SEC = 6298,
STR_DOWNLOAD_ALL = 6299,
STR_DOWNLOADING_OBJECTS = 6300,
STR_DOWNLOAD_ALL_TIP = 6300,
STR_COPY_SELECTED_TIP = 6301,
STR_COPY_ALL_TIP = 6302,
STR_DOWNLOADING_OBJECTS = 6303,
// Have to include resource strings (from scenarios and objects) for the time being now that language is partially working
STR_COUNT = 32768