Workaround for French and German users
Skrigger [04-10-16 - 08:45]
Workaround for French and German users
diff --git a/Changelog b/Changelog
index e488d59..cf0a692 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,6 @@
+1.6-r.4
+Workaround for French and German users. Unfortunately, they will not be able to read the letters that were written in Russian.
+
1.6-r.3
Fix input field font size. Will take font size from the game settings.
diff --git a/RuEsoChat.lua b/RuEsoChat.lua
index 27ef88b..a5f0ef2 100644
--- a/RuEsoChat.lua
+++ b/RuEsoChat.lua
@@ -1 +1,7 @@
ZO_ChatWindowTextEntryEditBox:SetFont("RuEsoChat/fonts/univers57.ttf|" .. GetChatFontSize() .. "|shadow");
+if GetCVar("language.2") == "en" or GetCVar("language.2") == "ru"
+then
+ ZoFontGame:SetFont("RuEsoChat/fonts/univers57.ttf|18|shadow");
+ ZoFontWinH4:SetFont("RuEsoChat/fonts/univers67.ttf|18|shadow");
+end
+
diff --git a/RuEsoChat.txt b/RuEsoChat.txt
index 9db42b9..618c06b 100644
--- a/RuEsoChat.txt
+++ b/RuEsoChat.txt
@@ -6,7 +6,7 @@
## Title: RuEso Chat
## APIVersion: 100014
## Author: TERAB1T, |cEFEBBESkrigger|r
-## Version: 1.6-r.3
+## Version: 1.6-r.4
RuEsoChat.lua
RuEsoChat.xml
diff --git a/RuEsoChat.xml b/RuEsoChat.xml
index 42cb6f0..177949d 100644
--- a/RuEsoChat.xml
+++ b/RuEsoChat.xml
@@ -3,9 +3,7 @@
<String name="RUESO_CHAT_FONT_BOLD" value="RuEsoChat/fonts/univers67.ttf" />
<Font name="ZoFontChat" font="$(RUESO_CHAT_FONT)|18|soft-shadow-thin" />
- <Font name="ZoFontEditChat" font="$(RUESO_CHAT_FONT)|18|shadow" />
- <Font name="ZoFontGame" font="$(RUESO_CHAT_FONT)|18|soft-shadow-thin" />
+ <Font name="ZoFontEditChat" font="$(RUESO_CHAT_FONT)|18|shadow" />
<Font name="ZoFontEdit" font="$(RUESO_CHAT_FONT)|18|shadow"/>
- <Font name="ZoFontWinH4" font="$(RUESO_CHAT_FONT_BOLD)|18|soft-shadow-thick" />
</GuiXml>