|
|
@@ -2,11 +2,16 @@ local UIFilterView = require("UIFilter/UIFilterView_Generate")
|
|
|
local MultiTypeAssetLoadSystem = require("MultiTypeAssetLoadSystem")
|
|
|
|
|
|
local togglePath = "UIFilter/toggle"
|
|
|
+
|
|
|
+local function Localizaed(str)
|
|
|
+ return I18N.T(str)
|
|
|
+end
|
|
|
+
|
|
|
local RarityNames =
|
|
|
{
|
|
|
- string.format(Constant.BlueColorText, "Normal"),
|
|
|
- string.format(Constant.PurpleColorText, "Mini"),
|
|
|
- string.format(Constant.GoldenColorText, "Mvp"),
|
|
|
+ string.format(Constant.BlueColorText, Localizaed('BtnCollectCardNormal')),
|
|
|
+ string.format(Constant.PurpleColorText, Localizaed('BtnCollectCardMini')),
|
|
|
+ string.format(Constant.GoldenColorText, Localizaed('BtnCollectCardMVP')),
|
|
|
}
|
|
|
|
|
|
function UIFilterView:OnAwake(data)
|