TF-1014: [Dev] Show quota at the bottom of mailbox

This commit is contained in:
ManhNTX
2022-11-09 16:49:01 +07:00
committed by Dat H. Pham
parent 21f027246b
commit 75495e7d1f
28 changed files with 508 additions and 6 deletions
@@ -2519,4 +2519,34 @@ class AppLocalizations {
args: [count]
);
}
String get storageQuotas {
return Intl.message(
'Storage',
name: 'storageQuotas',
);
}
String textQuotasUsed(num used, num softLimit) {
return Intl.message(
'$used GB of $softLimit GB Used',
name: 'textQuotasUsed',
args: [used, softLimit],
);
}
String textQuotasWarningTitle(num progress) {
return Intl.message(
'You are running out of storage ($progress%).',
name: 'textQuotasWarningTitle',
args: [progress],
);
}
String get textQuotasWarningContent {
return Intl.message(
"Soon you won't be able to email in Tmail. Please clean your storage or upgrade your storage to get full features in Tmail.",
name: 'textQuotasWarningTitle',
);
}
}