api: use locale independent yes and no

This commit is contained in:
shagu
2017-07-02 23:03:33 +02:00
parent 34e3926349
commit 9706b7c8da
+1 -1
View File
@@ -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]