mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
Fix locale issue
This commit is contained in:
@@ -5,5 +5,5 @@ function _(str, ...) -- Translate string
|
||||
end
|
||||
|
||||
function _U(str, ...) -- Translate string first char uppercase
|
||||
return _(str, ...):gsub("^%l", string.upper)
|
||||
return tostring(_(str, ...):gsub("^%l", string.upper))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user