1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-18 01:42:38 +01:00

(svn r26668) [1.4] -Backport from trunk:

- Fix: Days in dates are not represented by ordinal numbers in all languages [FS#6047]
- Language updates
This commit is contained in:
rubidium
2014-06-29 17:58:58 +00:00
parent 1708243e51
commit 13378995d9
64 changed files with 3119 additions and 1808 deletions

View File

@@ -408,7 +408,7 @@ static char *FormatYmdString(char *buff, Date date, const char *last, uint case_
YearMonthDay ymd;
ConvertDateToYMD(date, &ymd);
int64 args[] = {ymd.day + STR_ORDINAL_NUMBER_1ST - 1, STR_MONTH_ABBREV_JAN + ymd.month, ymd.year};
int64 args[] = {ymd.day + STR_DAY_NUMBER_1ST - 1, STR_MONTH_ABBREV_JAN + ymd.month, ymd.year};
StringParameters tmp_params(args);
return FormatString(buff, GetStringPtr(STR_FORMAT_DATE_LONG), &tmp_params, last, case_index);
}