This commit is contained in:
Juzlus 2025-09-16 04:26:29 +02:00
parent 34f683d4fa
commit 729acfa4bf
8 changed files with 972 additions and 1 deletions

View file

@ -5,6 +5,7 @@ using CounterStrikeSharp.API.Modules.Commands;
using CounterStrikeSharp.API.Modules.Entities.Constants;
using CounterStrikeSharp.API.Modules.Utils;
using jRandomSkills.src.utils;
using System.Reflection.Metadata;
using static jRandomSkills.jRandomSkills;
namespace jRandomSkills
@ -443,6 +444,8 @@ namespace jRandomSkills
newLangCode = "pt-br";
if (Localization.chinaIsoCodes.Contains(newLangCode.ToUpper()))
newLangCode = "zh";
if (Localization.frenchIsoCodes.Contains(newLangCode.ToUpper()))
newLangCode = "fr";
newLangCode = newLangCode.ToLower();
if (!Localization.HasTranslation(newLangCode))
newLangCode = "en";