1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-31 10:04:20 +03:00

Add Mailbox quota translations

This commit is contained in:
Oliver Cooper
2022-02-13 18:01:36 +00:00
parent f0df017df3
commit b4028bd309
36 changed files with 73 additions and 3 deletions

View File

@ -103,9 +103,9 @@ class MailboxHandler extends PFAHandler
$maxquota = $this->allowed_quota($domain, $currentquota);
if ($maxquota == 0) {
# TODO: show 'unlimited'
# } elseif ($maxquota < 0) {
# TODO: show 'disabled' - at the moment, just shows '-1'
$this->struct['quota']['desc'] = Config::lang('mb_max_unlimited');
} elseif ($maxquota < 0) {
$this->struct['quota']['desc'] = Config::lang('mb_max_disabled');
} else {
$this->struct['quota']['desc'] = Config::lang_f('mb_max', "" . $maxquota);
}