From d207509b9e5108d7d61cc13d248baaad053045d1 Mon Sep 17 00:00:00 2001 From: skadefro Date: Thu, 16 Mar 2023 09:54:15 +0100 Subject: [PATCH] Fix naming of files for Traditional Chinese --- .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 OpenRPA.Interfaces/Extensions.cs | 4 ++++ .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 OpenRPA/OpenRPA.csproj | 2 +- .../Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} | 0 21 files changed, 5 insertions(+), 1 deletion(-) rename OpenRPA.AviRecorder/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.Database/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.Elis.Rossum/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.FileWatcher/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.Forms/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.IE/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.Image/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.Interfaces/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.Java/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.MSSpeech/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.NM/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.Office/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.OpenFlowDB/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.RDServicePlugin/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.SAP/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.Script/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.Utilities/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA.Windows/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) rename OpenRPA/Resources/{strings.zh_trad.resx => strings.zh-Hant.resx} (100%) diff --git a/OpenRPA.AviRecorder/Resources/strings.zh_trad.resx b/OpenRPA.AviRecorder/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.AviRecorder/Resources/strings.zh_trad.resx rename to OpenRPA.AviRecorder/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.Database/Resources/strings.zh_trad.resx b/OpenRPA.Database/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.Database/Resources/strings.zh_trad.resx rename to OpenRPA.Database/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.Elis.Rossum/Resources/strings.zh_trad.resx b/OpenRPA.Elis.Rossum/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.Elis.Rossum/Resources/strings.zh_trad.resx rename to OpenRPA.Elis.Rossum/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.FileWatcher/Resources/strings.zh_trad.resx b/OpenRPA.FileWatcher/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.FileWatcher/Resources/strings.zh_trad.resx rename to OpenRPA.FileWatcher/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.Forms/Resources/strings.zh_trad.resx b/OpenRPA.Forms/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.Forms/Resources/strings.zh_trad.resx rename to OpenRPA.Forms/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.IE/Resources/strings.zh_trad.resx b/OpenRPA.IE/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.IE/Resources/strings.zh_trad.resx rename to OpenRPA.IE/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.Image/Resources/strings.zh_trad.resx b/OpenRPA.Image/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.Image/Resources/strings.zh_trad.resx rename to OpenRPA.Image/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.Interfaces/Extensions.cs b/OpenRPA.Interfaces/Extensions.cs index bbb12702..0264c4eb 100644 --- a/OpenRPA.Interfaces/Extensions.cs +++ b/OpenRPA.Interfaces/Extensions.cs @@ -29,6 +29,10 @@ public class OtherExtensions : MarshalByRefObject var rs = rm.GetResourceSet(culture, true, false); if (rs != null) result.Add(culture); + if (culture.TwoLetterISOLanguageName == "zh") + { + Console.WriteLine(culture.Name); + } } catch (System.Globalization.CultureNotFoundException) { diff --git a/OpenRPA.Interfaces/Resources/strings.zh_trad.resx b/OpenRPA.Interfaces/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.Interfaces/Resources/strings.zh_trad.resx rename to OpenRPA.Interfaces/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.Java/Resources/strings.zh_trad.resx b/OpenRPA.Java/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.Java/Resources/strings.zh_trad.resx rename to OpenRPA.Java/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.MSSpeech/Resources/strings.zh_trad.resx b/OpenRPA.MSSpeech/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.MSSpeech/Resources/strings.zh_trad.resx rename to OpenRPA.MSSpeech/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.NM/Resources/strings.zh_trad.resx b/OpenRPA.NM/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.NM/Resources/strings.zh_trad.resx rename to OpenRPA.NM/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.Office/Resources/strings.zh_trad.resx b/OpenRPA.Office/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.Office/Resources/strings.zh_trad.resx rename to OpenRPA.Office/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.OpenFlowDB/Resources/strings.zh_trad.resx b/OpenRPA.OpenFlowDB/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.OpenFlowDB/Resources/strings.zh_trad.resx rename to OpenRPA.OpenFlowDB/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.RDServicePlugin/Resources/strings.zh_trad.resx b/OpenRPA.RDServicePlugin/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.RDServicePlugin/Resources/strings.zh_trad.resx rename to OpenRPA.RDServicePlugin/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.SAP/Resources/strings.zh_trad.resx b/OpenRPA.SAP/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.SAP/Resources/strings.zh_trad.resx rename to OpenRPA.SAP/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.Script/Resources/strings.zh_trad.resx b/OpenRPA.Script/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.Script/Resources/strings.zh_trad.resx rename to OpenRPA.Script/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.Utilities/Resources/strings.zh_trad.resx b/OpenRPA.Utilities/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.Utilities/Resources/strings.zh_trad.resx rename to OpenRPA.Utilities/Resources/strings.zh-Hant.resx diff --git a/OpenRPA.Windows/Resources/strings.zh_trad.resx b/OpenRPA.Windows/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA.Windows/Resources/strings.zh_trad.resx rename to OpenRPA.Windows/Resources/strings.zh-Hant.resx diff --git a/OpenRPA/OpenRPA.csproj b/OpenRPA/OpenRPA.csproj index 4ff28f11..078ded7a 100644 --- a/OpenRPA/OpenRPA.csproj +++ b/OpenRPA/OpenRPA.csproj @@ -11,7 +11,7 @@ Base UI of OpenRPA, used as part of OpenRPA robot MPL-2.0 https://github.com/open-rpa/openrpa - 1.4.52 + 1.4.53 openrpa.png Debug;Release;ReleaseNuget;PrepInstaller diff --git a/OpenRPA/Resources/strings.zh_trad.resx b/OpenRPA/Resources/strings.zh-Hant.resx similarity index 100% rename from OpenRPA/Resources/strings.zh_trad.resx rename to OpenRPA/Resources/strings.zh-Hant.resx