v2.6.8 f2 compiler error

More
7 years 6 months ago #1803 by paramburu
Just tried that version and it seems there is a bug with one of the methods:

Assets/I2/Localization/Scripts/ScriptLocalization.cs(10,127): error CS1501: No overload for method `GetTermTranslation' takes `3' arguments


The problem seems to be that there is a fourth argument now (bool ignoreRTLnumbers) on LocalizationManager.GetTermTranslation and there is no overloaded method with only three. For now I just added to LocalizationManager

public static string GetTermTranslation (string Term, bool FixForRTL, int maxLineLengthForRTL) { return GetTermTranslation (Term, FixForRTL, maxLineLengthForRTL, false); }

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #1804 by Frank
Replied by Frank on topic v2.6.8 f2 compiler error
Hi,
You are correct!
If you already had a ScriptLocalization file generated, then it breaks. It works again as soon as you Re-generate the file (by deleting it and allowing the plugin to automatically re-create it).
I'm adding the fix for that.

Thanks
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.148 seconds
Template by JoomlaShine