Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malformed Industry list, possible issue with one or more translation strings #6660

Closed
DorpsGek opened this issue Jan 11, 2018 · 3 comments
Closed
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Leifbk opened the ticket and wrote:

I've noticed for a while that the Industry list is malformed in the Norwegian (Bokmål) translation. Now I also see that percentage of cargo transported is missing for several industry types in the window that appears when you click on an industry. It seems to be the same industry types in both cases. I opened the Web translator for trunk and located the STR_INDUSTRY_DIRECTORY_ITEM, which I think may be the culprit. There's a discrepancy in the base string and the translated string; the former uses RAW_STRING and the latter uses STRING. When I simply copy the base string into the Norwegian (Bokmål) translation and try to save it, I get this error message:

Error: String command for position 2 is wrong, base language uses {STRING}, the translation uses {RAW_STRING}

which seems quite the reverse of what is actually displayed.

I have observed this bug at least since the 1.7.0 version. I'm now on trunk r27947. I have checked a few other languages. The industry list and the industry windows look correct in English (UK) and Danish, but has the observed error in the Swedish translation.

To reproduce the bug, open attached save file. Select Norwegian (Bokmal) language. Open Industry list. Open the Industry window for eg. Blomberg Steinbrudd, which should show a good portion of transported Stone.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/6660
@DorpsGek
Copy link
Member Author

Leifbk wrote:

I started a new game without any GRFs loaded, and the problem disappeared. Then I loaded only FIRS 3.0.1, and the problem reappeared. Thus it seems specific to FIRS.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6660#comment14830

@DorpsGek
Copy link
Member Author

Leifbk wrote:

See https://www.tt-forums.net/viewtopic.php?f=26&t=41607&p=1201109# p1201109


This comment was imported from FlySpray: https://bugs.openttd.org/task/6660#comment14831

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Bug in NewGRF

fixed in FIRS


This comment was imported from FlySpray: https://bugs.openttd.org/task/6660

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant