update numberPrefixStyle and add decimalLength

This commit is contained in:
Crum
2018-01-21 22:18:33 -06:00
parent 92bb08fc4a
commit dabfbfc067
12 changed files with 86 additions and 32 deletions
+15 -4
View File
@@ -193,11 +193,22 @@ E.Options.args.general = {
get = function(info) return E.db.general.numberPrefixStyle; end,
set = function(info, value) E.db.general.numberPrefixStyle = value; E:StaticPopup_Show("CONFIG_RL"); end,
values = {
["METRIC"] = "k, M, G",
["ENGLISH"] = "K, M, B",
["CHINESE"] = "W, Y"
["METRIC"] = "Metric (k, M, G)",
["ENGLISH"] = "English (K, M, B)",
["CHINESE"] = "Chinese (W, Y)",
["KOREAN"] = "Korean (천, 만, 억)",
["GERMAN"] = "German (Tsd, Mio, Mrd)"
}
}
},
decimalLength = {
order = 22,
type = "range",
name = L["Decimal Length"],
desc = L["Controls the amount of decimals used in values displayed on elements like NamePlates and UnitFrames."],
min = 0, max = 4, step = 1,
get = function(info) return E.db.general.decimalLength end,
set = function(info, value) E.db.general.decimalLength = value; E:StaticPopup_Show("GLOBAL_RL") end
}
}
},
media = {
@@ -389,6 +389,8 @@ L["Automatically vendor gray items when visiting a vendor."] = "当访问商人
L["Bottom Panel"] = "底部面板"
L["Chat Bubbles Style"] = "聊天气泡样式"
L["Chat Bubbles"] = "聊天气泡"
L["Controls the amount of decimals used in values displayed on elements like NamePlates and UnitFrames."] = "控制像姓名版和团队框架中各数值的小数位数"
L["Decimal Length"] = "小数位数"
L["Direction the bar moves on gains/losses"] = "条增加/减少时的方向"
L["Display a panel across the bottom of the screen. This is for cosmetic only."] = "显示跨越屏幕底部的面板,仅仅是用于装饰."
L["Display a panel across the top of the screen. This is for cosmetic only."] = "显示跨越屏幕顶部的面板,仅仅是用于装饰."
@@ -378,6 +378,8 @@ L["Automatically vendor gray items when visiting a vendor."] = true;
L["Bottom Panel"] = true;
L["Chat Bubbles Style"] = true;
L["Chat Bubbles"] = true;
L["Controls the amount of decimals used in values displayed on elements like NamePlates and UnitFrames."] = true
L["Decimal Length"] = true
L["Direction the bar moves on gains/losses"] = true;
L["Display a panel across the bottom of the screen. This is for cosmetic only."] = true;
L["Display a panel across the top of the screen. This is for cosmetic only."] = true;
@@ -389,6 +389,8 @@ L["Automatically vendor gray items when visiting a vendor."] = "Vendre automatiq
L["Bottom Panel"] = "Bandeau en bas"
L["Chat Bubbles Style"] = "Style des bulles de discussion"
L["Chat Bubbles"] = "Bulles de discussion"
L["Controls the amount of decimals used in values displayed on elements like NamePlates and UnitFrames."] = true
L["Decimal Length"] = true
L["Direction the bar moves on gains/losses"] = "Direction que prend la barre quand gain / perte"
L["Display a panel across the bottom of the screen. This is for cosmetic only."] = "Affiche un bandeau au bas de l'écran. Option purement cosmétique."
L["Display a panel across the top of the screen. This is for cosmetic only."] = "Affiche un bandeau en haut de l'écran. Option purement cosmétique."
@@ -389,6 +389,8 @@ L["Automatically vendor gray items when visiting a vendor."] = "Automatischer Ve
L["Bottom Panel"] = "Untere Leiste"
L["Chat Bubbles Style"] = "Sprechblasen Stil"
L["Chat Bubbles"] = "Sprechblasen"
L["Controls the amount of decimals used in values displayed on elements like NamePlates and UnitFrames."] = "Kontrolliert die Anzahl der Dezimalstellen in den Werten auf den Namensplaketten und Einheitenfenstern."
L["Decimal Length"] = "Dezimalstellen"
L["Direction the bar moves on gains/losses"] = "Richtung in die der Balken wächst/sinkt"
L["Display a panel across the bottom of the screen. This is for cosmetic only."] = "Zeige eine Leiste am unterem Bildschirmrand. Das ist rein kosmetisch."
L["Display a panel across the top of the screen. This is for cosmetic only."] = "Zeige eine Leiste am oberen Bildschirmrand. Das ist rein kosmetisch."
@@ -437,6 +437,8 @@ L["Automatically vendor gray items when visiting a vendor."] = "상점이 열리
L["Bottom Panel"] = "하단 패널 표시"
L["Chat Bubbles Style"] = "말풍선 디자인"
L["Chat Bubbles"] = true;
L["Controls the amount of decimals used in values displayed on elements like NamePlates and UnitFrames."] = true
L["Decimal Length"] = true
L["Direction the bar moves on gains/losses"] = "바의 증감방향을 결정합니다."
L["Display a panel across the bottom of the screen. This is for cosmetic only."] = "화면 하단에 꾸미기 용도의 바를 생성합니다."
L["Display a panel across the top of the screen. This is for cosmetic only."] = "화면 상단에 꾸미기 용도의 바를 생성합니다."
@@ -389,6 +389,8 @@ L["Automatically vendor gray items when visiting a vendor."] = "Vender itens cin
L["Bottom Panel"] = "Painel Infeior"
L["Chat Bubbles Style"] = "Estilo dos Balões de Fala"
L["Chat Bubbles"] = true;
L["Controls the amount of decimals used in values displayed on elements like NamePlates and UnitFrames."] = true
L["Decimal Length"] = true
L["Direction the bar moves on gains/losses"] = true;
L["Display a panel across the bottom of the screen. This is for cosmetic only."] = "Mostra um painel na parte inferior da tela. Apenas para efeito cosmético."
L["Display a panel across the top of the screen. This is for cosmetic only."] = "Mostra um painel na parte superior da tela. Apenas para efeito cosmético."
@@ -389,6 +389,8 @@ L["Automatically vendor gray items when visiting a vendor."] = "Автомати
L["Bottom Panel"] = "Нижняя панель"
L["Chat Bubbles Style"] = "Стиль облачков сообщений"
L["Chat Bubbles"] = "Облачка сообщений"
L["Controls the amount of decimals used in values displayed on elements like NamePlates and UnitFrames."] = true
L["Decimal Length"] = true
L["Direction the bar moves on gains/losses"] = "направление заполнения полосы"
L["Display a panel across the bottom of the screen. This is for cosmetic only."] = "Отображать панель на нижней границе экрана. Это косметический элемент."
L["Display a panel across the top of the screen. This is for cosmetic only."] = "Отображать панель на верхней границе экрана. Это косметический элемент."
@@ -389,6 +389,8 @@ L["Automatically vendor gray items when visiting a vendor."] = "Vender automáti
L["Bottom Panel"] = "Panel Inferior"
L["Chat Bubbles Style"] = true;
L["Chat Bubbles"] = true;
L["Controls the amount of decimals used in values displayed on elements like NamePlates and UnitFrames."] = true
L["Decimal Length"] = true
L["Direction the bar moves on gains/losses"] = true;
L["Display a panel across the bottom of the screen. This is for cosmetic only."] = "Despliega un panel a través de la parte inferior de la pantalla. Es es sólo algo cosmético."
L["Display a panel across the top of the screen. This is for cosmetic only."] = "Despliega un panel a través de la parte superior de la pantalla. Es es sólo algo cosmético."
@@ -389,6 +389,8 @@ L["Automatically vendor gray items when visiting a vendor."] = "當訪問商人
L["Bottom Panel"] = "底部面板"
L["Chat Bubbles Style"] = "聊天氣泡樣式"
L["Chat Bubbles"] = "聊天氣泡"
L["Controls the amount of decimals used in values displayed on elements like NamePlates and UnitFrames."] = true
L["Decimal Length"] = true
L["Direction the bar moves on gains/losses"] = true;
L["Display a panel across the bottom of the screen. This is for cosmetic only."] = "顯示跨越螢幕底部的面板,僅僅是用于裝飾."
L["Display a panel across the top of the screen. This is for cosmetic only."] = "顯示跨越螢幕頂部的面板,僅僅是用于裝飾."