mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 12:40:02 +00:00
gui: include original client gamefonts
This commit is contained in:
@@ -581,6 +581,29 @@ pfUI:RegisterModule("gui", function ()
|
||||
"Interface\\AddOns\\pfUI\\fonts\\PT-Sans-Narrow-Regular.ttf:PT-Sans-Narrow-Regular"
|
||||
}
|
||||
|
||||
-- add locale dependent client fonts to the list
|
||||
if GetLocale() == "enUS" or GetLocale() == "frFR" or GetLocale() == "deDE" or GetLocale() == "ruRU" then
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\ARIALN.TTF:ARIALN")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\FRIZQT__.TTF:FRIZQT")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\MORPHEUS.TTF:MORPHEUS")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\SKURRI.TTF:SKURRI")
|
||||
elseif GetLocale() == "koKR" then
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\ARIALN.TTF:ARIALN")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\FRIZQT__.TTF:FRIZQT")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\FZBWJW.TTF:FZBWJW")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\FZJZJW.TTF:FZJZJW")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\FZLBJW.TTF:FZLBJW")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\FZXHJW.TTF:FZXHJW")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\FZXHLJW.TTF:FZXHLJW")
|
||||
elseif GetLocale() == "zhCN" then
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\2002.TTF:2002")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\2002B.TTF:2002B")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\ARIALN.TTF:ARIALN")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\FRIZQT__.TTF:FRIZQT")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\K_Damage.TTF:K_Damage")
|
||||
table.insert(dropdown_selection_fonts, "Fonts\\K_Pagetext.TTF:K_Pagetext")
|
||||
end
|
||||
|
||||
local dropdown_unitframes_text = {
|
||||
"none:" .. T["Disable"],
|
||||
"unit:" .. T["Unit String"],
|
||||
|
||||
Reference in New Issue
Block a user