@@ -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";
}