Feature implementation : Parse terms from scripts
- tacticsofttech
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
9 years 6 months ago - 9 years 6 months ago #819
by tacticsofttech
Feature implementation : Parse terms from scripts was created by tacticsofttech
Hi,
One of the things that were missing for me in the plugin was the ability to autogenerate terms that are only referenced in code.
IE if a script does
ScriptLocalization.Get("My Term")
it would add "My Term" to the term list.
I implemented it as part of the Tools->Parse window, attaching the implementation below.
Would be happy if it could go into the main branch so I won't have to reapply the patch each time I update the version.
If there are any notes regarding this code feel free to ask.
Awesome package btw
One of the things that were missing for me in the plugin was the ability to autogenerate terms that are only referenced in code.
IE if a script does
ScriptLocalization.Get("My Term")
it would add "My Term" to the term list.
I implemented it as part of the Tools->Parse window, attaching the implementation below.
Would be happy if it could go into the main branch so I won't have to reapply the patch each time I update the version.
If there are any notes regarding this code feel free to ask.
Awesome package btw
Last edit: 9 years 6 months ago by tacticsofttech.
Please Log in or Create an account to join the conversation.
9 years 6 months ago #821
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Feature implementation : Parse terms from scripts
Hi,
Thanks for the contribution!
I plan to extend the Script tool to also list ALL the literal strings in your code. Not only the ones used on the ScriptLocalization.Get(x).
Once listed, the developer could select the ones that should be baked.
That should be able to detect things like label.Text = "Play".
However, while I finish the things with higher priority, that contribution is very welcome. I will test it a bit and include it for the next release.
Thanks a lot!
Frank
Thanks for the contribution!
I plan to extend the Script tool to also list ALL the literal strings in your code. Not only the ones used on the ScriptLocalization.Get(x).
Once listed, the developer could select the ones that should be baked.
That should be able to detect things like label.Text = "Play".
However, while I finish the things with higher priority, that contribution is very welcome. I will test it a bit and include it for the next release.
Thanks a lot!
Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
Time to create page: 0.163 seconds