BagSync

BagSync

3M Downloads

Found an error, enter the following command

nanjuekaien1 opened this issue · 2 comments

commented

Found an error, enter the following command:
/bgs gold (or /bgs money)
/bgs currency
/bgs profiles
/bgs config
/bgs professions
/bgs blacklist

All are into the search window

commented

This commands are meant to be typed in the chat window. They are chat slash commands that open up certain module frames for BagSync. I've never thought of testing it in the BagSync search window to see if it causes an error.

commented

I see you made some changes to the zhCN localization (#148). Those slash commands are controlled by the keywords used in the following lines.

-- ----THESE ARE FOR SLASH COMMANDS
L.SlashItemName = "[物品名称]"
L.SlashSearch = "搜索"
L.SlashGold = "金币"
L.SlashMoney = "金币"
L.SlashConfig = "配置"
L.SlashCurrency = "货币"
L.SlashFixDB = "优化数据库"
L.SlashProfiles = "信息"
L.SlashProfessions = "职业"
L.SlashBlacklist = "黑名单"
L.SlashResetDB = "重置"

So if you typed the following into your chat window.
/bgs 金币
It should open the Gold/Money window.

The tooltip descriptions should also be updated.

L.HelpGoldTooltip = "/bgs 金币  - 显示各角色的金钱统计"

I will add a localization for /bgs and /bagsync so you can use zhCN instead. So please translate as best you can the following.

L.SlashBagSyncCommand1 = "bgs"
L.SlashBagSyncCommand2 = "bagsync"

so it would be like this when the code is read
/L.SlashBagSyncCommand1 L.SlashGold