v1.0.6
This commit is contained in:
parent
34f683d4fa
commit
729acfa4bf
8 changed files with 972 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue