summaryrefslogtreecommitdiff
path: root/src/lang
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2018-12-25 19:55:24 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-01-19 13:33:17 +0100
commit08ffa16d518bf8adb94116ef00ec8eb7cb56a5f9 (patch)
tree80c540cd3a8451fe5e2614aaa8ae2dc460eaff10 /src/lang
parent07a40df9ab4c8aeea8ac4d3cb42208d2170fc73a (diff)
downloadopenttd-08ffa16d518bf8adb94116ef00ec8eb7cb56a5f9.tar.xz
Fix 8859381: Display of requires/produces in Build Industry window
Change the window to use a dynamically generated string of cargoes, instead of one of a few fixed-length lists. With up to 16 cargoes on each list, having 16 with the only difference how many are listed seems like a bad maintenance idea.
Diffstat (limited to 'src/lang')
-rw-r--r--src/lang/english.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 0bb6ff9c5..a67807aa6 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -3355,6 +3355,10 @@ STR_INDUSTRY_VIEW_LOCATION_TOOLTIP :{BLACK}Centre t
STR_INDUSTRY_VIEW_PRODUCTION_LEVEL :{BLACK}Production level: {YELLOW}{COMMA}%
STR_INDUSTRY_VIEW_INDUSTRY_ANNOUNCED_CLOSURE :{YELLOW}The industry has announced imminent closure!
+STR_INDUSTRY_VIEW_REQUIRES_N_CARGO :{BLACK}Requires: {YELLOW}{STRING}{RAW_STRING}
+STR_INDUSTRY_VIEW_PRODUCES_N_CARGO :{BLACK}Produces: {YELLOW}{STRING}{RAW_STRING}
+STR_INDUSTRY_VIEW_CARGO_LIST_EXTENSION :, {STRING}{RAW_STRING}
+
############ range for requires starts
STR_INDUSTRY_VIEW_REQUIRES_CARGO :{BLACK}Requires: {YELLOW}{STRING}{RAW_STRING}
STR_INDUSTRY_VIEW_REQUIRES_CARGO_CARGO :{BLACK}Requires: {YELLOW}{STRING}{RAW_STRING}, {STRING}{RAW_STRING}