Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Replacing text_data with a translated string will being replaced again if its the same as another one #13

Open
Kotoki1337 opened this issue Mar 30, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Kotoki1337
Copy link

  • Replacing トウカイテイオー to 帝王 in name.csv

  • Then it replaces the translated 帝王 to Teio・Emperor in title.csv

  • Solution I think: can use the category id to determine the string location, a single csv file replaces only the string within a single category

image

@FabulousCupcake
Copy link
Owner

FabulousCupcake commented Mar 30, 2021

we can use the category id to determine the string location, a single csv file replaces only the string within a single category

I've thought about this, but decided against it since it increases code complexity quite a bit and I'd like to keep simple.
I'll think about adding category constraint for each csv file and implement it when I have some time.

For now, as a workaround, you can keep a backup copy of the original master.mdb and run the tool only with the fresh file.
I see what you mean now. I wonder if the entire search and replace can be made into a single transaction. That would work too.

@FabulousCupcake FabulousCupcake added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Mar 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants