com.xmobitea.changx.mini-localization 1.4.5 → 1.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
[CustomEditor(typeof(LocalizationManager))]
|
|
13
13
|
public class LocalizationManagerEditor : Editor
|
|
14
14
|
{
|
|
15
|
-
private const string Version = "1.4.
|
|
15
|
+
private const string Version = "1.4.6";
|
|
16
16
|
private const string Library = @".\Library\PackageCache\com.xmobitea.changx.mini-localization@" + Version;
|
|
17
17
|
//private const string Library = @".\Assets\MiniLocalization";
|
|
18
18
|
private const string ProcessPath = @"\Editor\Tools\GetLocalizationTools";
|
|
@@ -209,6 +209,10 @@
|
|
|
209
209
|
|
|
210
210
|
contentBuilder.AppendLine(" public const string " + validKey + " = " + "\"" + key + "\";");
|
|
211
211
|
}
|
|
212
|
+
else
|
|
213
|
+
{
|
|
214
|
+
Debug.LogError("[Localization] Dupplicate key " + key);
|
|
215
|
+
}
|
|
212
216
|
}
|
|
213
217
|
}
|
|
214
218
|
|