fix a vip warning
This commit is contained in:
parent
b1082121d4
commit
a329deb8c5
|
@ -1,5 +1,5 @@
|
|||
-- TIP: to find all possible translations in the modules directory use the following command
|
||||
-- find \( -name "*.lua" -o -name "*.otui" \) -exec grep -oE "tr\\("(\\\\"|[^"])*"" {} \; -exec grep -oE "tr\\(\"(\\\\\"|[^\"])*\nil {} \; | sort | uniq | sed "s/^tr(.\(.*\).$/[\"\1\"] = nil,/"
|
||||
-- find \( -name "*.lua" -o -name "*.otui" \) -exec grep -oE "tr\\('(\\\\'|[^'])*'" {} \; -exec grep -oE "tr\\(\"(\\\\\"|[^\"])*" {} \; | sort | uniq | sed "s/^tr(.\(.*\).$/[\"\1\"] = nil,/"
|
||||
|
||||
Locales = { }
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ function Options.init()
|
|||
|
||||
optionsWindow = displayUI('options.otui')
|
||||
optionsWindow:hide()
|
||||
optionsButton = TopMenu.addLeftButton('optionsButton', tr('Options'), 'options.png', Options.toggle)
|
||||
optionsButton = TopMenu.addLeftButton('optionsButton', tr('Options') .. ' (Ctrl+P)', 'options.png', Options.toggle)
|
||||
optionsTabBar = optionsWindow:getChildById('optionsTabBar')
|
||||
optionsTabBar:setContentWidget(optionsWindow:getChildById('optionsTabContent'))
|
||||
optionsTabBar:addTab(tr('General'), loadUI('general.otui'))
|
||||
|
|
|
@ -115,7 +115,7 @@ function VipList.onVipStateChange(id, online)
|
|||
local vipList = vipWindow:getChildById('contentsPanel')
|
||||
local label = vipList:getChildById('vip' .. id)
|
||||
local text = label:getText()
|
||||
vipList:removeChild(label)
|
||||
label:destroy()
|
||||
|
||||
VipList.onAddVip(id, text, online)
|
||||
end
|
||||
|
|
|
@ -46,6 +46,7 @@ else
|
|||
cmake -DCMAKE_TOOLCHAIN_FILE=$gitdir/src/framework/cmake/${platform}_toolchain.cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_REVISION=$revision \
|
||||
-DBOT_PROTECTION=OFF \
|
||||
-DPROTOCOL=$protocol \
|
||||
.. || exit
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue