Merge branch 'nightly' into ragemp

This commit is contained in:
Vortrex
2022-12-10 01:55:10 -06:00
31 changed files with 475 additions and 272 deletions

View File

@@ -297,7 +297,7 @@ async function translateMessage(messageText, translateFrom = getGlobalConfig().l
// ===========================================================================
function getLocaleFromCountryISO(isoCode) {
function getLocaleFromCountryISO(isoCode = "US") {
for (let i in getLocales()) {
for (let j in getLocales()[i].countries) {
if (toLowerCase(getLocales()[i].countries[j]) == toLowerCase(isoCode)) {