mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-09-04 08:13:22 +00:00
reset branch
This commit is contained in:
+2
-1
@@ -1,3 +1,4 @@
|
||||
--- @class Locale
|
||||
Locale = {}
|
||||
Locale.__index = Locale
|
||||
|
||||
@@ -101,7 +102,7 @@ function Locale:t(key, subs)
|
||||
-- At this point we know whether the phrase does not exist for this key
|
||||
else
|
||||
if self.warnOnMissing then
|
||||
print(('^3Warning: Missing phrase for key: "%s"'):format(key))
|
||||
print(('^3Warning: Missing phrase for key: "%s"^0'):format(key))
|
||||
end
|
||||
if self.fallback then
|
||||
return self.fallback:t(key, subs)
|
||||
|
||||
Reference in New Issue
Block a user