Fix issue #143
This commit is contained in:
parent
6d6f600c44
commit
b806b57628
|
@ -221,8 +221,10 @@ function CharacterList.create(characters, account, otui)
|
||||||
characterList:focusChild(focusLabel, ActiveFocusReason)
|
characterList:focusChild(focusLabel, ActiveFocusReason)
|
||||||
|
|
||||||
-- account
|
-- account
|
||||||
if account.premDays > 0 then
|
if account.premDays > 0 and account.premDays < 65535 then
|
||||||
accountStatusLabel:setText(tr("Account Status:\nPremium Account (%s) days left", account.premDays))
|
accountStatusLabel:setText(tr("Account Status:\nPremium Account (%s) days left", account.premDays))
|
||||||
|
elseif account.premDays >= 65535 then
|
||||||
|
accountStatusLabel:setText(tr("Account Status:\nLifetime Premium Account"))
|
||||||
else
|
else
|
||||||
accountStatusLabel:setText(tr('Account Status:\nFree Account'))
|
accountStatusLabel:setText(tr('Account Status:\nFree Account'))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue