diff --git a/languages/bg.lang b/languages/bg.lang index 7c9916bd..95f1fab0 100644 --- a/languages/bg.lang +++ b/languages/bg.lang @@ -1,4 +1,5 @@ @@ -59,6 +60,7 @@ $PALANG['pOverview_alias_goto'] = '转到'; $PALANG['pOverview_alias_modified'] = '最后修改日期'; $PALANG['pOverview_alias_active'] = 'Active'; # XXX $PALANG['pOverview_alias_edit'] = 'Alias'; # XXX +$PALANG['and_x_more'] = '[and %s more...]'; # XXX $PALANG['pOverview_mailbox_username'] = '邮件地址'; $PALANG['pOverview_mailbox_name'] = '姓名'; $PALANG['pOverview_mailbox_quota'] = '限制 (MB)'; diff --git a/languages/cs.lang b/languages/cs.lang index 888b2db1..fe661b5f 100644 --- a/languages/cs.lang +++ b/languages/cs.lang @@ -1,4 +1,5 @@ -1 = ausschalten | 0 = $PALANG['pAdminCreate_domain_transport'] = 'Transport'; $PALANG['pAdminCreate_domain_transport_text'] = 'Define transport'; $PALANG['pAdminCreate_domain_defaultaliases'] = 'Standard-Aliase hinzufügen'; -$PALANG['pAdminCreate_domain_defaultaliases_text'] = ''; # XXX +$PALANG['pAdminCreate_domain_defaultaliases_text'] = ''; $PALANG['pAdminCreate_domain_backupmx'] = 'Mail server is backup MX'; $PALANG['pAdminCreate_domain_button'] = 'Domain hinzufügen'; $PALANG['pAdminCreate_domain_result_error'] = 'Konnte Domain nicht anlegen!'; diff --git a/languages/en.lang b/languages/en.lang index 4371414e..7ff92a32 100644 --- a/languages/en.lang +++ b/languages/en.lang @@ -1,4 +1,5 @@ @@ -61,6 +62,7 @@ $PALANG['pOverview_alias_goto'] = 'To'; $PALANG['pOverview_alias_modified'] = 'Last Modified'; $PALANG['pOverview_alias_active'] = 'Active'; $PALANG['pOverview_alias_edit'] = 'Alias'; +$PALANG['and_x_more'] = '[and %s more...]'; $PALANG['pOverview_mailbox_username'] = 'Email'; $PALANG['pOverview_mailbox_name'] = 'Name'; $PALANG['pOverview_mailbox_quota'] = 'Quota (MB)'; diff --git a/languages/es.lang b/languages/es.lang index 6eef9df7..6a2437db 100644 --- a/languages/es.lang +++ b/languages/es.lang @@ -1,4 +1,5 @@ @@ -59,6 +60,7 @@ $PALANG['pOverview_alias_goto'] = 'Kellele'; $PALANG['pOverview_alias_modified'] = 'Viimati muudetud'; $PALANG['pOverview_alias_active'] = 'Active'; # XXX $PALANG['pOverview_alias_edit'] = 'Alias'; # XXX +$PALANG['and_x_more'] = '[and %s more...]'; # XXX $PALANG['pOverview_mailbox_username'] = 'E-posti aadress'; $PALANG['pOverview_mailbox_name'] = 'Nimi'; $PALANG['pOverview_mailbox_quota'] = 'Kettaruumi piirang (MB)'; diff --git a/languages/eu.lang b/languages/eu.lang index 7733261a..c6defb01 100644 --- a/languages/eu.lang +++ b/languages/eu.lang @@ -1,4 +1,5 @@ @@ -58,6 +59,7 @@ $PALANG['pOverview_alias_goto'] = 'Za'; $PALANG['pOverview_alias_modified'] = 'Zadnja promjena'; $PALANG['pOverview_alias_active'] = 'Active'; # XXX $PALANG['pOverview_alias_edit'] = 'Alias'; # XXX +$PALANG['and_x_more'] = '[and %s more...]'; # XXX $PALANG['pOverview_mailbox_username'] = 'E-pošta'; $PALANG['pOverview_mailbox_name'] = 'Ime'; $PALANG['pOverview_mailbox_quota'] = 'Kvota (MB)'; diff --git a/languages/hu.lang b/languages/hu.lang index 624e538c..e5d19257 100644 --- a/languages/hu.lang +++ b/languages/hu.lang @@ -1,4 +1,5 @@ and Levente Farkas @@ -60,6 +61,7 @@ $PALANG['pOverview_alias_goto'] = 'Hova'; $PALANG['pOverview_alias_modified'] = 'Utolsó módosítás'; $PALANG['pOverview_alias_active'] = 'Aktív'; $PALANG['pOverview_alias_edit'] = 'Alias'; +$PALANG['and_x_more'] = '[and %s more...]'; # XXX $PALANG['pOverview_mailbox_username'] = 'Email'; $PALANG['pOverview_mailbox_name'] = 'Név'; $PALANG['pOverview_mailbox_quota'] = 'Quota (MB)'; diff --git a/languages/is.lang b/languages/is.lang index 0b5cabdd..5bf73565 100644 --- a/languages/is.lang +++ b/languages/is.lang @@ -1,4 +1,5 @@ @@ -59,6 +60,7 @@ $PALANG['pOverview_alias_goto'] = 'a'; $PALANG['pOverview_alias_modified'] = 'Ultima modifica'; $PALANG['pOverview_alias_active'] = 'Active'; # XXX $PALANG['pOverview_alias_edit'] = 'Alias'; # XXX +$PALANG['and_x_more'] = '[and %s more...]'; # XXX $PALANG['pOverview_mailbox_username'] = 'Email'; $PALANG['pOverview_mailbox_name'] = 'Nome'; $PALANG['pOverview_mailbox_quota'] = 'Quota (MB)'; diff --git a/languages/lt.lang b/languages/lt.lang index 53fc8c61..9b8d61dd 100644 --- a/languages/lt.lang +++ b/languages/lt.lang @@ -1,4 +1,5 @@ @@ -58,6 +59,7 @@ $PALANG['pOverview_alias_goto'] = 'iki'; $PALANG['pOverview_alias_modified'] = 'Paskutinis keitimas'; $PALANG['pOverview_alias_active'] = 'Active'; # XXX $PALANG['pOverview_alias_edit'] = 'Alias'; # XXX +$PALANG['and_x_more'] = '[and %s more...]'; # XXX $PALANG['pOverview_mailbox_username'] = 'El.paštas'; $PALANG['pOverview_mailbox_name'] = 'Vardas'; $PALANG['pOverview_mailbox_quota'] = 'Kvota (MB)'; diff --git a/languages/mk.lang b/languages/mk.lang index 93ff359f..18f56881 100644 --- a/languages/mk.lang +++ b/languages/mk.lang @@ -1,4 +1,5 @@ @@ -59,6 +60,7 @@ $PALANG['pOverview_alias_goto'] = 'До'; $PALANG['pOverview_alias_modified'] = 'Последна промена'; $PALANG['pOverview_alias_active'] = 'Active'; # XXX $PALANG['pOverview_alias_edit'] = 'Alias'; # XXX +$PALANG['and_x_more'] = '[and %s more...]'; # XXX $PALANG['pOverview_mailbox_username'] = 'Адреса'; $PALANG['pOverview_mailbox_name'] = 'Име'; $PALANG['pOverview_mailbox_quota'] = 'Квота (MB)'; diff --git a/languages/nl.lang b/languages/nl.lang index 2e99f727..f415ed92 100644 --- a/languages/nl.lang +++ b/languages/nl.lang @@ -1,4 +1,5 @@ @@ -60,6 +61,7 @@ $PALANG['pOverview_alias_goto'] = 'Za'; $PALANG['pOverview_alias_modified'] = 'Zadnjič spremenjeno'; $PALANG['pOverview_alias_active'] = 'Active'; # XXX $PALANG['pOverview_alias_edit'] = 'Alias'; # XXX +$PALANG['and_x_more'] = '[and %s more...]'; # XXX $PALANG['pOverview_mailbox_username'] = 'E-pošta'; $PALANG['pOverview_mailbox_name'] = 'Ime'; $PALANG['pOverview_mailbox_quota'] = 'Kvota (MB)'; diff --git a/languages/sv.lang b/languages/sv.lang index e0d34a4a..376453ed 100644 --- a/languages/sv.lang +++ b/languages/sv.lang @@ -1,4 +1,5 @@ @@ -60,6 +61,7 @@ $PALANG['pOverview_alias_goto'] = 'Till'; $PALANG['pOverview_alias_modified'] = 'Senast Ändrad'; $PALANG['pOverview_alias_active'] = 'Active'; # XXX $PALANG['pOverview_alias_edit'] = 'Alias'; # XXX +$PALANG['and_x_more'] = '[and %s more...]'; # XXX $PALANG['pOverview_mailbox_username'] = 'Epost'; $PALANG['pOverview_mailbox_name'] = 'Namn'; $PALANG['pOverview_mailbox_quota'] = 'Quota (MB)'; diff --git a/languages/tr.lang b/languages/tr.lang index 58296ce5..c819ed17 100644 --- a/languages/tr.lang +++ b/languages/tr.lang @@ -1,4 +1,5 @@ @@ -59,6 +60,7 @@ $PALANG['pOverview_alias_goto'] = 'Âà¨ì'; $PALANG['pOverview_alias_modified'] = '³Ì«á­×§ï¤é´Á'; $PALANG['pOverview_alias_active'] = 'Active'; # XXX $PALANG['pOverview_alias_edit'] = 'Alias'; # XXX +$PALANG['and_x_more'] = '[and %s more...]'; # XXX $PALANG['pOverview_mailbox_username'] = '¶l¥ó¦ì§}'; $PALANG['pOverview_mailbox_name'] = '©m¦W'; $PALANG['pOverview_mailbox_quota'] = '«H½c­­¨î (MB)'; diff --git a/templates/list-virtual.tpl b/templates/list-virtual.tpl index 22583786..d6744e22 100644 --- a/templates/list-virtual.tpl +++ b/templates/list-virtual.tpl @@ -97,7 +97,18 @@ if (sizeof ($tAlias) > 0) print " " . $tAlias[$i]['address'] . "\n"; if ($CONF['alias_goto_limit'] > 0) { - print " " . ereg_replace (",", "
", preg_replace('/^(([^,]+,){'.$CONF['alias_goto_limit'].'})[^,]+,.*/','$1[and '. (substr_count ($tAlias[$i]['goto'], ',') - $CONF['alias_goto_limit'] + 1) .' more...]',$tAlias[$i]['goto'])) . "\n"; + print " " . ereg_replace ( + ",", + "
", + preg_replace( + '/^(([^,]+,){'.$CONF['alias_goto_limit'].'})[^,]+,.*/', + '$1' . sprintf( + $PALANG['and_x_more'], + (substr_count ($tAlias[$i]['goto'], ',') - $CONF['alias_goto_limit'] + 1) + ), + $tAlias[$i]['goto'] + ) + ) . "\n"; } else { print " " . ereg_replace (",", "
", $tAlias[$i]['goto']) . "\n"; }