Quantcast

Sone rewording for install

Darthpred [10-16-14 - 18:18]
Sone rewording for install
Filename
ElvUI_SLE/core/install.lua
ElvUI_SLE/locales/english.lua
ElvUI_SLE/locales/russian.lua
diff --git a/ElvUI_SLE/core/install.lua b/ElvUI_SLE/core/install.lua
index a01b6c8..5578377 100644
--- a/ElvUI_SLE/core/install.lua
+++ b/ElvUI_SLE/core/install.lua
@@ -1689,7 +1689,8 @@ local function SetPage(PageNum)
 	elseif PageNum == 4 then
 		f.SubTitle:SetText(L["Shadow & Light Layouts"])
 		f.Desc1:SetText(L["You can now choose if you what to use one of authors' set of options. This will change not only the positioning of some elements but also change a bunch of other options."])
-		f.Desc2:SetText(format(L["SLE_Install_Text2"], E.db.layoutSet or NONE))
+		local word = E.db.layoutSet == 'tank' and L["Tank"] or E.db.layoutSet == 'healer' and L["Healer"] or E.db.layoutSet == 'dpsMelee' and L['Physical DPS'] or E.db.layoutSet == 'dpsCaster' and L['Caster DPS'] or NONE
+		f.Desc2:SetText(format(L["SLE_Install_Text2"], word))
 		f.Desc3:SetText(L["Importance: |cffFF0000Low|r"])

 		SLEInstallOption1Button:Show()
diff --git a/ElvUI_SLE/locales/english.lua b/ElvUI_SLE/locales/english.lua
index f0388e4..655dfcb 100644
--- a/ElvUI_SLE/locales/english.lua
+++ b/ElvUI_SLE/locales/english.lua
@@ -41,7 +41,10 @@ The edit doesn't change original files in any respect so you can freely disable
 L['MSG_OUTDATED'] = "Your version of ElvUI is older than recommended to use with Shadow & Light. Your version is |cff1784d1%.2f|r (recommended is |cff1784d1%.2f|r). Please update your ElvUI."

 --Install--
-L["SLE_Install_Text2"] = [=[This step is optional and only to be used if you are wanting to use one of our configurations. In some cases settings may differ depending on layout options you chose in ElvUI installation. It was "%s".
+L["SLE_Install_Text2"] = [=[This step is optional and only to be used if you are wanting to use one of our configurations. In some cases settings may differ depending on layout options you chose in ElvUI installation.
+
+A |cff1784d1"%s"|r role was chosen.
+
 |cffFF0000Warning:|r Please note that the authors' may or may not use any of the layouts/themes you have selected as they may have changed their setup more recently. Also switching between layouts in here may cause some unpredictable and weird results.]=]
 L["SLE_ARMORY_INSTALL"] = "Enable S&L Armory\n(Deatiled Character & Inspect frames)\n|cffFF0000Note:|r This is currently a beta option."

diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua
index 7029303..3baa1d0 100644
--- a/ElvUI_SLE/locales/russian.lua
+++ b/ElvUI_SLE/locales/russian.lua
@@ -88,7 +88,10 @@ L["SLE_ARMORY_INSTALL"] = "Включить режим оружейной S&L\n(
 L["This will enable S&L Armory mode components that will show more detailed information at a quick glance on the toons you inspect or your own character."] = "Активирует компоненты оружейной Shadow & Light, которые покажут вам более детальную информацию о вашем персонаже или игроке, которого вы осматриваете."
 L["Shadow & Light Layouts"] = "Шаблоны Shadow & Light"
 L["You can now choose if you what to use one of authors' set of options. This will change not only the positioning of some elements but also change a bunch of other options."] = "Вы можете использовать набор настроек, используемый одним из представленных людей. Будут изменены положения элементов и многие другие настройки."
-L["SLE_Install_Text2"] = [=[Этот шаг опционален и должен использоваться только в случае, если Вы хотите использовать одну из наших конфигураций. В зависимости от роли, выбранной в ElvUI (шаг "Расположение"), результат модет отличаться. Была выбрана роль "%s".
+L["SLE_Install_Text2"] = [=[Этот шаг опционален и должен использоваться только в случае, если Вы хотите использовать одну из наших конфигураций. В зависимости от роли, выбранной в ElvUI (шаг "Расположение"), результат модет отличаться.
+
+Была выбрана роль |cff1784d1"%s"|r.
+
 |cffFF0000Внимание:|r Пожалуйста помните, что авторы могут не использовать тему/роль, которую вы выбрали, и потому результат не всегда будет хорошим. Также переключение между шаблонами здесь может привести к неоднозначным результатам.
 ]=]
 L["Darth's Config"] = "Опции Дарта"