Navigation Menu

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

Fix some Catalan and Latin-American town names #5746

Closed
DorpsGek opened this issue Sep 13, 2013 · 4 comments
Closed

Fix some Catalan and Latin-American town names #5746

DorpsGek opened this issue Sep 13, 2013 · 4 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

juanjo opened the ticket and wrote:

As the title of the task says, in Latin-American town names there were some missing written accents. First patch corrects most of those.

Second patch fixes capital letters and written accents in Catalan town names. I also moved "Hospitalet" from real name to prefix and removed the prefix "Aigua", which generates incorrect names.

Attachments

Reported version: Version?
Operating system: All


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

juanjo wrote:

I forgot to say it was a patch and not a bug. Sorry.
Reported version is trunk.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5746#comment12612

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Fixing spelling in the town name generators can be done. Removing or adding entries to the tables can't be done.

This is due to the fact that town name generators don't generate a name and store that, they get an integer random value which is stored for each town. During the generation of the random values a check is done for duplicate town names. Via some mapping these random values are constructed into the actual town names.

When you add or remove entries, you change the mapping and it becomes possible that what used to be unique town names become duplicate names. As a result we won't allow adding or removing entries in those tables.

Changing the text of the entries is okay since that doesn't generate a different mapping and as such the town names will remain unique.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5746#comment12613

@DorpsGek
Copy link
Member Author

juanjo wrote:

I have corrected the patch. Only fixing spelling is done now.
I keep changing some entries of _name_catalan_1f, "Aigua"->"Pala" (Aigua generates incorrect names) and "Vall"->"Cova" (Vall was repeated twice). Maybe they can be accepted as spelling changes as well.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5746#comment12616

@DorpsGek
Copy link
Member Author

planetmaker closed the ticket.

Reason for closing: Implemented

In r25774 and r25775. Thanks for the patches.


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

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

No branches or pull requests

1 participant