Skip to content

Conversation

@denizsincar29
Copy link

great. now lets think you have a big script that you translated to german. and you added a new string. what will you do? you will say that you will update it in tsv file in notepad. but what if you make an accident there? from now on, when you extract a script, you can extract an updated script into the same tsv. for instance you have a german translated tsv file for a script. you add a new string in function _(), and you want to update tsv file. the existing german translations will not be lost and you will get new strings at the end of tsv file!

great. now lets think you have a big script that you translated to german. and you added a new string. what will you do? you will say that you will update it in tsv file in notepad. but what if you make an accident there? from now on, when you extract a script, you can extract an updated script into the same tsv. for instance you have a german translated tsv file for a script. you add a new string in function _(), and you want to update tsv file. the existing german translations will not be lost and you will get new strings at the end of tsv file!
Copy link
Owner

@TheDcoder TheDcoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR! But I'd like to request some changes:

  1. Please avoid use of global variables
  2. Please use the proper case for functions and keywords in code, otherwise it looks unprofessional
  3. I think the lookup for existing strings can be improved by using a dictionary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants