Scrublord1336 vor 6 Jahren
Ursprung
Commit
d454a97004
2 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 1 0
      CHANGELOG.md
  2. 1 1
      src/XUnity.AutoTranslator.Plugin.Core/Hooks/NGUIHooks.cs

+ 1 - 0
CHANGELOG.md

@@ -1,5 +1,6 @@
 ### 2.7.0
  * Additional installation instructions for standalone installation
+ * Fixed a bug with NGUI that caused those texts not to be translated
 
 ### 2.6.0
  * Fix for current issue with gtrans (23.07.2018)

+ 1 - 1
src/XUnity.AutoTranslator.Plugin.Core/Hooks/NGUIHooks.cs

@@ -32,7 +32,7 @@ namespace XUnity.AutoTranslator.Plugin.Core.Hooks.NGUI
 
       public static void Postfix( object __instance )
       {
-         AutoTranslationPlugin.Current.Hook_TextChanged( __instance );
+         AutoTranslationPlugin.Current.Hook_TextInitialized( __instance );
       }
    }
 }