Changeset - r26591:bd57e8216300
[Not reviewed]
master
0 2 0
Tyler Trahan - 22 months ago 2022-11-13 15:32:32
tyler@tylertrahan.com
Change: Reword Finance window's Net Profit to Profit
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/company_gui.cpp
Show inline comments
 
@@ -196,13 +196,13 @@ static void DrawCategories(const Rect &r
 
		/* Advance y by a blockspace after this category block */
 
		y += WidgetDimensions::scaled.vsep_wide;
 
	}
 

	
 
	/* Draw total profit/loss */
 
	y += WidgetDimensions::scaled.vsep_normal;
 
	DrawString(r.left, r.right, y, STR_FINANCES_NET_PROFIT, TC_FROMSTRING, SA_LEFT);
 
	DrawString(r.left, r.right, y, STR_FINANCES_PROFIT, TC_FROMSTRING, SA_LEFT);
 
}
 

	
 
/**
 
 * Draw an amount of money.
 
 * @param amount Amount of money to draw,
 
 * @param left   Left coordinate of the space to draw in.
src/lang/english.txt
Show inline comments
 
@@ -3661,13 +3661,13 @@ STR_FINANCES_SECTION_LOAN_INTEREST      
 
STR_FINANCES_SECTION_OTHER                                      :{GOLD}Other
 

	
 
STR_FINANCES_TOTAL_CAPTION                                      :{WHITE}Total
 
STR_FINANCES_NEGATIVE_INCOME                                    :-{CURRENCY_LONG}
 
STR_FINANCES_ZERO_INCOME                                        :{CURRENCY_LONG}
 
STR_FINANCES_POSITIVE_INCOME                                    :+{CURRENCY_LONG}
 
STR_FINANCES_NET_PROFIT                                         :{WHITE}Net Profit
 
STR_FINANCES_PROFIT                                             :{WHITE}Profit
 
STR_FINANCES_BANK_BALANCE_TITLE                                 :{WHITE}Bank Balance
 
STR_FINANCES_OWN_FUNDS_TITLE                                    :{WHITE}Own Funds
 
STR_FINANCES_LOAN_TITLE                                         :{WHITE}Loan
 
STR_FINANCES_INTEREST_RATE                                      :{WHITE}Loan Interest: {BLACK}{NUM}%
 
STR_FINANCES_MAX_LOAN                                           :{WHITE}Maximum Loan: {BLACK}{CURRENCY_LONG}
 
STR_FINANCES_TOTAL_CURRENCY                                     :{BLACK}{CURRENCY_LONG}
0 comments (0 inline, 0 general)