Skip to content

Commit

Permalink
Enabled the chat locale selector for all locales
Browse files Browse the repository at this point in the history
  • Loading branch information
papa-smurf committed Apr 3, 2024
1 parent fec5443 commit 6260b6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions Classes/Commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,7 @@ function Commands:_dispatch(str)

-- User entered "/gl" with no additional arguments, open localization or settings window
if (not str or #str < 1) then
command = "settings";

if (not GL.Settings:get("chatLocale") and GL:inTable({ "frFR", "zhCN", "ruRU", }, GetLocale())) then
command = "locale";
end
command = GL.Settings:get("chatLocale") and "settings" or "locale";
end

-- Make sure commands are case insensitive (Busmonstret = dumdum)
Expand Down
2 changes: 1 addition & 1 deletion Data/Localizations/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ L.ROLLING_IDENTICAL_ROLL_WARNING = [[
Warning: another identical roll was found which can point to a tie
]];
L.ROLLING_INVALID_START_DATA_WARNING = "Invalid data provided for roll of start!";
L.ROLLING_INVALID_START_DATA_WARNING = "Invalid data provided for roll start!";
L.ROLLING_ITEM_WON_BR_COST = "(BR: %s)";
L.ROLLING_ITEM_WON_GIVEN = "(item given: yes)";
L.ROLLING_ITEM_WON_NOT_GIVEN = "(item given: no)";
Expand Down

0 comments on commit 6260b6c

Please sign in to comment.