Permalink
Browse files

Getting everything ready for localization

  • Loading branch information...
1 parent 20b3867 commit 8ec661e2f91c2c13a93c47d47301869d6a925735 @Jaliborc committed Apr 3, 2012
Showing with 7 additions and 4 deletions.
  1. +1 −1 components/dialogs.lua
  2. +2 −2 components/transferButton.lua
  3. +4 −1 localization/en.lua
View
@@ -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,
@@ -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,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'

0 comments on commit 8ec661e

Please sign in to comment.