mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 19:19:59 +00:00
api: use locale independent yes and no
This commit is contained in:
+1
-1
@@ -450,7 +450,7 @@ function pfUI.api.CreateQuestionDialog(text, yes, no, editbox)
|
||||
end
|
||||
|
||||
local yes, no = yes, no
|
||||
local yescap, nocap = "Yes", "No"
|
||||
local yescap, nocap = YES, NO
|
||||
|
||||
if yes and type(yes) == "table" then
|
||||
yescap = yes[1]
|
||||
|
||||
Reference in New Issue
Block a user