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

Remove any related multilingual keys from templates #10378

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Dimitar5555
Copy link
Collaborator

Resolves #7236
Resolves #9260

I might've missed or overlooked something so please test this change. Other than that it seems to produce correct results.

P.S. Quite a few banks have official_name, alt_name or short_name. If we are removing name from ATMs, we should remove the above mentioned tags as well.

@Snowysauce Snowysauce added the javascript Pull requests that update Javascript code label Jan 20, 2025
Dimitar5555 added a commit that referenced this pull request Jan 29, 2025
Quite a few banks have `official_name`, `alt_name` or `short_name`. If we are removing name from ATMs, we should remove the above mentioned tags as well.

Blocked by #10378
@bhousel
Copy link
Member

bhousel commented Feb 3, 2025

I think it's better to use the templateTags property to control which tags get copied into the ATMs, rather than hardcoding the tags that you want to exclude in the file reader code.

@Dimitar5555
Copy link
Collaborator Author

Dimitar5555 commented Feb 3, 2025

That is what I've done in #10414. This PR defines which keys should be considered multilingual (i.e. have language suffix) in order to remove them IF they are present in templateTags.

@bhousel
Copy link
Member

bhousel commented Feb 3, 2025

That is what I've done in #10414. This PR defines which keys should be considered multilingual (i.e. have language suffix) in order to remove them IF they are present in templateTags.

Oh gotcha, yeah I see what you mean now. This is for #7236 - I haven't thought about that issue in a few years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

name:XX left in templated entries ATMs shouldn't have a name tag
3 participants