Changeset - r23218:928803314c45
[Not reviewed]
master
0 2 0
Peter Nelson - 5 years ago 2019-01-27 01:34:30
peter1138@openttd.org
Change: For consistency, add company name to colour scheme window.
2 files changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/company_gui.cpp
Show inline comments
 
@@ -660,6 +660,10 @@ public:
 
	virtual void SetStringParameters(int widget) const
 
	{
 
		switch (widget) {
 
			case WID_SCL_CAPTION:
 
				SetDParam(0, (CompanyID)this->window_number);
 
				break;
 

	
 
			case WID_SCL_PRI_COL_DROPDOWN:
 
			case WID_SCL_SEC_COL_DROPDOWN: {
 
				const Company *c = Company::Get((CompanyID)this->window_number);
src/lang/english.txt
Show inline comments
 
@@ -1820,7 +1820,7 @@ STR_CHEAT_CHANGE_DATE_QUERY_CAPT        
 
STR_CHEAT_SETUP_PROD                                            :{LTBLUE}Enable modifying production values: {ORANGE}{STRING1}
 

	
 
# Livery window
 
STR_LIVERY_CAPTION                                              :{WHITE}New Colour Scheme
 
STR_LIVERY_CAPTION                                              :{WHITE}{COMPANY} - Colour Scheme
 

	
 
STR_LIVERY_GENERAL_TOOLTIP                                      :{BLACK}Show general colour schemes
 
STR_LIVERY_TRAIN_TOOLTIP                                        :{BLACK}Show train colour schemes
0 comments (0 inline, 0 general)