diff --git a/src/ARKServerManager/Globalization/de-DE/de-DE.xaml b/src/ARKServerManager/Globalization/de-DE/de-DE.xaml index b7dba195..cd83aaec 100644 --- a/src/ARKServerManager/Globalization/de-DE/de-DE.xaml +++ b/src/ARKServerManager/Globalization/de-DE/de-DE.xaml @@ -13,7 +13,34 @@ Fehler - + + The Island + The Center + Scorched Earth + Ragnarok + Aberration + Extinction + Valguero + Genesis + + + + Primitive Plus + + + + Live + + + + Valentines Day + Easter + Fear Evolved (Halloween) + Turkey Trial + Winter Wonderland + + + Alle Unbekannt ARK Prime @@ -2380,33 +2407,6 @@ Einstellungen - - The Island - The Center - Scorched Earth - Ragnarok - Aberration - Extinction - Valguero - Genesis - - - - Primitive Plus - - - - Live - - - - Valentines Day - Easter - Fear Evolved (Halloween) - Turkey Trial - Winter Wonderland - - diff --git a/src/ARKServerManager/Globalization/en-US/en-US.xaml b/src/ARKServerManager/Globalization/en-US/en-US.xaml index e61444ff..c8c83020 100644 --- a/src/ARKServerManager/Globalization/en-US/en-US.xaml +++ b/src/ARKServerManager/Globalization/en-US/en-US.xaml @@ -13,7 +13,37 @@ Error - + + The Island + The Center + Scorched Earth + Ragnarok + Aberration + Extinction + Valguero + Genesis: Part 1 + Crystal Isles + Genesis: Part 2 + + + + Primitive Plus + + + + Live + + + + None + Valentines Day + Easter + Fear Evolved (Halloween) + Turkey Trial + Winter Wonderland + + + All Unknown ARK Prime @@ -2476,36 +2506,6 @@ Settings - - The Island - The Center - Scorched Earth - Ragnarok - Aberration - Extinction - Valguero - Genesis: Part 1 - Crystal Isles - Genesis: Part 2 - - - - Primitive Plus - - - - Live - - - - None - Valentines Day - Easter - Fear Evolved (Halloween) - Turkey Trial - Winter Wonderland - - diff --git a/src/ARKServerManager/Globalization/es-ES/es-ES.xaml b/src/ARKServerManager/Globalization/es-ES/es-ES.xaml index a55e4d64..55223869 100644 --- a/src/ARKServerManager/Globalization/es-ES/es-ES.xaml +++ b/src/ARKServerManager/Globalization/es-ES/es-ES.xaml @@ -13,7 +13,35 @@ Error - + + The Island + The Center + Scorched Earth + Ragnarok + Aberración + Extinción + Valguero + Genesis + + + + Primitive Plus + + + + Pública + + + + Ninguno + Love Evolved (San Valentín) + Eggcellent Adventure (Pascua) + Fear Evolved (Halloween) + Turkey Trial (Acción de Gracias) + Winter Wonderland (Navidad) + + + Todos Desconocido ARK Prime @@ -2400,34 +2428,6 @@ Ajustes - - The Island - The Center - Scorched Earth - Ragnarok - Aberración - Extinción - Valguero - Genesis - - - - Primitive Plus - - - - Pública - - - - Ninguno - Love Evolved (San Valentín) - Eggcellent Adventure (Pascua) - Fear Evolved (Halloween) - Turkey Trial (Acción de Gracias) - Winter Wonderland (Navidad) - - diff --git a/src/ARKServerManager/Globalization/fr-FR/fr-FR.xaml b/src/ARKServerManager/Globalization/fr-FR/fr-FR.xaml index e41141ba..72408ded 100644 --- a/src/ARKServerManager/Globalization/fr-FR/fr-FR.xaml +++ b/src/ARKServerManager/Globalization/fr-FR/fr-FR.xaml @@ -13,7 +13,37 @@ Erreur - + + The Island + The Center + Scorched Earth + Ragnarok + Aberration + Extinction + Valguero + Genesis + Crystal Isles + Genesis: Part 2 + + + + Primitive Plus + + + + Version Steam (Défaut) + + + + Aucun + Saint-Valentin + Pâques + Fear Evolved (Halloween) + Turkey Trial + Winter Wonderland + + + All Unknown ARK Prime @@ -2462,36 +2492,6 @@ Paramètres - - The Island - The Center - Scorched Earth - Ragnarok - Aberration - Extinction - Valguero - Genesis - Crystal Isles - Genesis: Part 2 - - - - Primitive Plus - - - - Version Steam (Défaut) - - - - Aucun - Saint-Valentin - Pâques - Fear Evolved (Halloween) - Turkey Trial - Winter Wonderland - - diff --git a/src/ARKServerManager/Globalization/pt-BR/pt-BR.xaml b/src/ARKServerManager/Globalization/pt-BR/pt-BR.xaml index 23c47a99..57f24005 100644 --- a/src/ARKServerManager/Globalization/pt-BR/pt-BR.xaml +++ b/src/ARKServerManager/Globalization/pt-BR/pt-BR.xaml @@ -13,7 +13,37 @@ Error - + + The Island + The Center + Scorched Earth + Ragnarok + Aberration + Extinction + Valguero + Genesis: Part 1 + Crystal Isles + Genesis: Part 2 + + + + Primitive Plus + + + + Live + + + + Nenhum + Dia dos namorados + Páscoa + Fear Evolved (Halloween) + Turkey Trial + Winter Wonderland + + + Todos Desconhecido ARK Prime @@ -2466,36 +2496,6 @@ Definições - - The Island - The Center - Scorched Earth - Ragnarok - Aberration - Extinction - Valguero - Genesis: Part 1 - Crystal Isles - Genesis: Part 2 - - - - Primitive Plus - - - - Live - - - - Nenhum - Dia dos namorados - Páscoa - Fear Evolved (Halloween) - Turkey Trial - Winter Wonderland - - diff --git a/src/ARKServerManager/Globalization/ru-RU/ru-RU.xaml b/src/ARKServerManager/Globalization/ru-RU/ru-RU.xaml index 6920adb2..0e11214c 100644 --- a/src/ARKServerManager/Globalization/ru-RU/ru-RU.xaml +++ b/src/ARKServerManager/Globalization/ru-RU/ru-RU.xaml @@ -13,7 +13,37 @@ Ошибка - + + The Island + The Center + Scorched Earth + Ragnarok + Aberration + Extinction + Valguero + Genesis: Part 1 + Crystal Isles + Genesis: Part 2 + + + + Primitive Plus + + + + Основной ARK + + + + None + Valentines Day + Easter + Fear Evolved (Halloween) + Turkey Trial + Winter Wonderland + + + All Unknown ARK Prime @@ -2462,36 +2492,6 @@ Настройки - - The Island - The Center - Scorched Earth - Ragnarok - Aberration - Extinction - Valguero - Genesis: Part 1 - Crystal Isles - Genesis: Part 2 - - - - Primitive Plus - - - - Основной ARK - - - - None - Valentines Day - Easter - Fear Evolved (Halloween) - Turkey Trial - Winter Wonderland - - diff --git a/src/ARKServerManager/Globalization/zh-CN/zh-CN.xaml b/src/ARKServerManager/Globalization/zh-CN/zh-CN.xaml index d383589f..1c10e204 100644 --- a/src/ARKServerManager/Globalization/zh-CN/zh-CN.xaml +++ b/src/ARKServerManager/Globalization/zh-CN/zh-CN.xaml @@ -13,7 +13,37 @@ 错误 - + + 孤岛(The Island) + 中心岛地图(The Center) + 焦土地图(Scorched Earth) + 仙境地图(Ragnarok) + 畸变地图(Aberration) + 灭绝地图(Extinction) + 瓦尔盖罗(Valguero) + 创世纪(Genesis) + 创世纪 2(Genesis: Part 2) + 水晶岛(Crystal Isles) + + + + 原始服(Primitive Plus) + + + + 生存 + + + + 无节日 + 情人节 + 复活节 + 恐惧进化(万圣节) + 土耳其审判(感恩节) + 冬季仙境(圣诞节) + + + 所有 未知 方舟主体 @@ -2463,36 +2493,6 @@ 设置 - - 孤岛(The Island) - 中心岛地图(The Center) - 焦土地图(Scorched Earth) - 仙境地图(Ragnarok) - 畸变地图(Aberration) - 灭绝地图(Extinction) - 瓦尔盖罗(Valguero) - 创世纪(Genesis) - 创世纪 2(Genesis: Part 2) - 水晶岛(Crystal Isles) - - - - 原始服(Primitive Plus) - - - - 生存 - - - - 无节日 - 情人节 - 复活节 - 恐惧进化(万圣节) - 土耳其审判(感恩节) - 冬季仙境(圣诞节) - - diff --git a/src/ARKServerManager/Lib/GameData.cs b/src/ARKServerManager/Lib/GameData.cs index c5f2c7ce..5ad10edc 100644 --- a/src/ARKServerManager/Lib/GameData.cs +++ b/src/ARKServerManager/Lib/GameData.cs @@ -259,7 +259,7 @@ namespace ServerManagerTool.Lib public static IEnumerable GetGameMaps() => gameMaps.Select(d => d.Duplicate()); - public static string FriendlyMapNameForClass(string className, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(className) ? string.Empty : GlobalizedApplication.Instance.GetResourceString(className) ?? gameData?.GameMaps?.FirstOrDefault(i => i.ClassName.Equals(className) && !i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : className); + public static string FriendlyMapNameForClass(string className, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(className) ? string.Empty : GlobalizedApplication.Instance.GetResourceString("Map_" + className) ?? gameData?.GameMaps?.FirstOrDefault(i => i.ClassName.Equals(className) && !i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : className); private static ComboBoxItem[] gameMapsSotF = new[] { @@ -268,7 +268,7 @@ namespace ServerManagerTool.Lib public static IEnumerable GetGameMapsSotF() => gameMapsSotF.Select(d => d.Duplicate()); - public static string FriendlyMapSotFNameForClass(string className, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(className) ? string.Empty : GlobalizedApplication.Instance.GetResourceString(className) ?? gameData?.GameMaps?.FirstOrDefault(i => i.ClassName.Equals(className) && i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : className); + public static string FriendlyMapSotFNameForClass(string className, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(className) ? string.Empty : GlobalizedApplication.Instance.GetResourceString("Map_" + className) ?? gameData?.GameMaps?.FirstOrDefault(i => i.ClassName.Equals(className) && i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : className); #endregion #region Total Conversions @@ -279,7 +279,7 @@ namespace ServerManagerTool.Lib public static IEnumerable GetTotalConversions() => totalConversions.Select(d => d.Duplicate()); - public static string FriendlyTotalConversionNameForClass(string className, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(className) ? string.Empty : GlobalizedApplication.Instance.GetResourceString(className) ?? gameData?.Mods?.FirstOrDefault(i => i.ClassName.Equals(className) && !i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : className); + public static string FriendlyTotalConversionNameForClass(string className, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(className) ? string.Empty : GlobalizedApplication.Instance.GetResourceString("TotalConv_" + className) ?? gameData?.Mods?.FirstOrDefault(i => i.ClassName.Equals(className) && !i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : className); private static ComboBoxItem[] totalConversionsSotF = new[] { @@ -288,7 +288,7 @@ namespace ServerManagerTool.Lib public static IEnumerable GetTotalConversionsSotF() => totalConversionsSotF.Select(d => d.Duplicate()); - public static string FriendlyTotalConversionSotFNameForClass(string className, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(className) ? string.Empty : GlobalizedApplication.Instance.GetResourceString(className) ?? gameData?.Mods?.FirstOrDefault(i => i.ClassName.Equals(className) && i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : className); + public static string FriendlyTotalConversionSotFNameForClass(string className, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(className) ? string.Empty : GlobalizedApplication.Instance.GetResourceString("TotalConv_" + className) ?? gameData?.Mods?.FirstOrDefault(i => i.ClassName.Equals(className) && i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : className); #endregion #region Stats Multipliers @@ -379,7 +379,7 @@ namespace ServerManagerTool.Lib public static IEnumerable GetBranches() => branches.Select(d => d.Duplicate()); - public static string FriendlyBranchName(string branchName, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(branchName) ? string.Empty : GlobalizedApplication.Instance.GetResourceString(branchName) ?? gameData?.Branches?.FirstOrDefault(i => i.BranchName.Equals(branchName) && !i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : branchName); + public static string FriendlyBranchName(string branchName, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(branchName) ? string.Empty : GlobalizedApplication.Instance.GetResourceString("Branch_" + branchName) ?? gameData?.Branches?.FirstOrDefault(i => i.BranchName.Equals(branchName) && !i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : branchName); private static ComboBoxItem[] branchesSotF = new[] { @@ -388,7 +388,7 @@ namespace ServerManagerTool.Lib public static IEnumerable GetBranchesSotF() => branchesSotF.Select(d => d.Duplicate()); - public static string FriendlyBranchSotFName(string branchName, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(branchName) ? string.Empty : GlobalizedApplication.Instance.GetResourceString(branchName) ?? gameData?.Branches?.FirstOrDefault(i => i.BranchName.Equals(branchName) && i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : branchName); + public static string FriendlyBranchSotFName(string branchName, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(branchName) ? string.Empty : GlobalizedApplication.Instance.GetResourceString("Branch_" + branchName) ?? gameData?.Branches?.FirstOrDefault(i => i.BranchName.Equals(branchName) && i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : branchName); #endregion #region Events @@ -399,7 +399,7 @@ namespace ServerManagerTool.Lib public static IEnumerable GetEvents() => events.Select(d => d.Duplicate()); - public static string FriendlyEventName(string eventName, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(eventName) ? string.Empty : GlobalizedApplication.Instance.GetResourceString(eventName) ?? gameData?.Events?.FirstOrDefault(i => i.EventName.Equals(eventName) && !i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : eventName); + public static string FriendlyEventName(string eventName, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(eventName) ? string.Empty : GlobalizedApplication.Instance.GetResourceString("Event_" + eventName) ?? gameData?.Events?.FirstOrDefault(i => i.EventName.Equals(eventName) && !i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : eventName); private static ComboBoxItem[] eventsSotF = new[] { @@ -408,7 +408,7 @@ namespace ServerManagerTool.Lib public static IEnumerable GetEventsSotF() => eventsSotF.Select(d => d.Duplicate()); - public static string FriendlyEventSotFName(string eventName, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(eventName) ? string.Empty : GlobalizedApplication.Instance.GetResourceString(eventName) ?? gameData?.Events?.FirstOrDefault(i => i.EventName.Equals(eventName) && i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : eventName); + public static string FriendlyEventSotFName(string eventName, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(eventName) ? string.Empty : GlobalizedApplication.Instance.GetResourceString("Event_" + eventName) ?? gameData?.Events?.FirstOrDefault(i => i.EventName.Equals(eventName) && i.IsSotF)?.Description ?? (returnEmptyIfNotFound ? string.Empty : eventName); #endregion } } diff --git a/src/ConanServerManager/Globalization/en-US/en-US.xaml b/src/ConanServerManager/Globalization/en-US/en-US.xaml index d0b5792b..43175cce 100644 --- a/src/ConanServerManager/Globalization/en-US/en-US.xaml +++ b/src/ConanServerManager/Globalization/en-US/en-US.xaml @@ -13,6 +13,15 @@ Error + + The Exiled Lands + Isle of Siptah + + + + Live + + Unknown Not Downloaded @@ -26,10 +35,6 @@ Unknown - - Live - - Europe North America @@ -39,11 +44,6 @@ Japan - - The Exiled Lands - Isle of Siptah - - Low Below Normal diff --git a/src/ConanServerManager/Globalization/fr-FR/fr-FR.xaml b/src/ConanServerManager/Globalization/fr-FR/fr-FR.xaml index d484cd4c..b598f7dd 100644 --- a/src/ConanServerManager/Globalization/fr-FR/fr-FR.xaml +++ b/src/ConanServerManager/Globalization/fr-FR/fr-FR.xaml @@ -12,6 +12,14 @@ Erreur + + Les terres exilées + + + + Version Steam (Défaut) + + Tout Conan Exiles @@ -989,12 +997,4 @@ Vérification des tâches planifiées... - - Version Steam (Défaut) - - - - Les terres exilées - - \ No newline at end of file diff --git a/src/ConanServerManager/Globalization/pt-BR/pt-BR.xaml b/src/ConanServerManager/Globalization/pt-BR/pt-BR.xaml index 60c33d02..df0c6e73 100644 --- a/src/ConanServerManager/Globalization/pt-BR/pt-BR.xaml +++ b/src/ConanServerManager/Globalization/pt-BR/pt-BR.xaml @@ -12,6 +12,14 @@ Error + + The Exiled Lands + + + + Live + + Todos Conan @@ -1033,12 +1041,4 @@ Verificando tarefas agendadas ... - - Live - - - - The Exiled Lands - - \ No newline at end of file diff --git a/src/ConanServerManager/Lib/GameData.cs b/src/ConanServerManager/Lib/GameData.cs index bd96fbac..bd2282e8 100644 --- a/src/ConanServerManager/Lib/GameData.cs +++ b/src/ConanServerManager/Lib/GameData.cs @@ -71,7 +71,7 @@ namespace ServerManagerTool.Lib public static IEnumerable GetGameMaps() => gameMaps.Select(m => m.Duplicate()); - public static string FriendlyMapNameForClass(string className, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(className) ? string.Empty : GlobalizedApplication.Instance.GetResourceString(className) ?? gameData?.GameMaps?.FirstOrDefault(i => i.ClassName.Equals(className))?.Description ?? (returnEmptyIfNotFound ? string.Empty : className); + public static string FriendlyMapNameForClass(string className, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(className) ? string.Empty : GlobalizedApplication.Instance.GetResourceString("Map_" + className) ?? gameData?.GameMaps?.FirstOrDefault(i => i.ClassName.Equals(className))?.Description ?? (returnEmptyIfNotFound ? string.Empty : className); public static string MapSaveNameForClass(string className, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(className) ? string.Empty : gameData?.GameMaps?.FirstOrDefault(i => i.ClassName.Equals(className))?.SaveFileName ?? (returnEmptyIfNotFound ? string.Empty : className); #endregion @@ -84,7 +84,7 @@ namespace ServerManagerTool.Lib public static IEnumerable GetBranches() => branches.Select(d => d.Duplicate()); - public static string FriendlyBranchName(string branchName, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(branchName) ? string.Empty : GlobalizedApplication.Instance.GetResourceString(branchName) ?? gameData?.Branches?.FirstOrDefault(i => i.BranchName.Equals(branchName))?.Description ?? (returnEmptyIfNotFound ? string.Empty : branchName); + public static string FriendlyBranchName(string branchName, bool returnEmptyIfNotFound = false) => string.IsNullOrWhiteSpace(branchName) ? string.Empty : GlobalizedApplication.Instance.GetResourceString("Branch_" + branchName) ?? gameData?.Branches?.FirstOrDefault(i => i.BranchName.Equals(branchName))?.Description ?? (returnEmptyIfNotFound ? string.Empty : branchName); #endregion #region Server Regions