Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Getting everything ready for localization

  • Loading branch information...
commit 8ec661e2f91c2c13a93c47d47301869d6a925735 1 parent 20b3867
@Jaliborc authored
View
2  components/dialogs.lua
@@ -34,7 +34,7 @@ StaticPopupDialogs['BAGNON_CANNOT_PURCHASE_VAULT'] = {
}
StaticPopupDialogs['BAGNON_COMFIRM_TRANSFER'] = {
- text = 'Depositing these items will remove all modifications and make them non-tradeable and non-refundable.|n|nDo you wish to continue?',
+ text = L.ConfirmTransfer,
button1 = YES,
button2 = NO,
View
4 components/transferButton.lua
@@ -58,11 +58,11 @@ function TransferButton:OnEnter ()
GameTooltip:SetText(TRANSFER)
if withdraws > 0 then
- GameTooltip:AddLine(format('%d withdraw', withdraws), 1,1,1)
+ GameTooltip:AddLine(format(L.NumWithdraw, withdraws), 1,1,1)
end
if deposits > 0 then
- GameTooltip:AddLine(format('%d deposit', deposits), 1,1,1)
+ GameTooltip:AddLine(format(L.NumDeposit, deposits), 1,1,1)
end
GameTooltip:Show()
View
5 localization/en.lua
@@ -5,8 +5,11 @@
local L = LibStub('AceLocale-3.0'):NewLocale('Bagnon-VoidStorage', 'enUS', true)
+L.ConfirmTransfer = 'Depositing these items will remove all modifications and make them non-tradeable and non-refundable.|n|nDo you wish to continue?'
L.PurchaseDialog = 'Would you like to unlock the Void Storage service?|n|n|cffffd200Cost:|r %s'
L.CannotPurchaseDialog = 'You do not have enough money to unlock the Void Storage service|n|n|cffff2020Cost:|r %s'
L.AskMafia = 'Ask Mafia'
-L.Title = [[%s's Void Storage]]
+L.Title = [[%s's Void Storage]]
+L.NumDeposit = '%d deposit'
+L.NumWithdraw = '%d withdraw'
Please sign in to comment.
Something went wrong with that request. Please try again.