From 81e5e38d803aaa55e2e83980496944440409eff8 Mon Sep 17 00:00:00 2001 From: Jan Kruis Date: Sat, 29 Oct 2022 12:42:49 +0200 Subject: [PATCH 1/3] Update nl.lang Correction in the Dutch text. These didn't have to go in yet --- languages/nl.lang | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/languages/nl.lang b/languages/nl.lang index e8f841ad..7cc98b4e 100644 --- a/languages/nl.lang +++ b/languages/nl.lang @@ -288,7 +288,6 @@ $PALANG['description'] = 'Omschrijving'; $PALANG['aliases'] = 'Aliassen'; $PALANG['pAdminList_domain_quota'] = 'Domein quota (MB)'; $PALANG['pAdminList_domain_backupmx'] = 'Back-up MX'; -$PALANG['pAdminList-tls_policy'] = 'TLS Policy'; $PALANG['last_modified'] = 'Laatst bewerkt'; $PALANG['pAdminCreate_domain_welcome'] = 'Voeg een nieuw domein toe'; @@ -319,7 +318,7 @@ $PALANG['pAdminEdit_domain_quota'] = 'Domein Quota'; $PALANG['transport'] = 'Transport'; $PALANG['backupmx'] = 'Backup-MX'; $PALANG['pAdminEdit_domain_transport_text'] = 'Definieer transport'; -$PALANG['pAdminEdit_domain_backupmx'] = 'Definieer of deze Mailserver een Backup MX is voor het domain'; +$PALANG['pAdminEdit_domain_backupmx'] = 'Mailserver is Backup MX'; $PALANG['pAdminEdit_domain_result_error'] = 'Het bewerken van domein %s is mislukt!'; $PALANG['pAdminCreate_admin_welcome'] = 'Voeg een nieuw domein beheerder toe'; From 2dcf6ebe4af9fe29939360ca510d58fe3fee7f7a Mon Sep 17 00:00:00 2001 From: Jan Kruis Date: Thu, 3 Nov 2022 21:07:14 +0100 Subject: [PATCH 2/3] Update en.lang added two text variables $PALANG['To_Mailbox'] and $PALANG['To_Forward_Only'] to be able to translate Mailbox and Forward Only in templates/list-virtual_mailbox.tpl and replace the fixed text with the above mentioned variables --- languages/en.lang | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/languages/en.lang b/languages/en.lang index 86826349..d6981e1b 100644 --- a/languages/en.lang +++ b/languages/en.lang @@ -454,6 +454,10 @@ $PALANG['dateformat_mysql'] = '%Y-%m-%d'; # translators: rearrange to your loc $PALANG['password_expiration'] = 'Pass expires'; $PALANG['password_expiration_desc'] = 'Date when password will expire'; +$PALANG['To_Mailbox'] = 'Mailbox'; # XXX +$PALANG['To_Forward_Only'] = 'Forward Only'; # XXX + + $PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh /* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */ ?> From 63cb19cc73016046edf1560d396d8894450f72ab Mon Sep 17 00:00:00 2001 From: Jan Kruis Date: Thu, 3 Nov 2022 21:09:24 +0100 Subject: [PATCH 3/3] Update list-virtual_mailbox.tpl added two text variables $PALANG['To_Mailbox'] and $PALANG['To_Forward_Only'] to be able to translate Mailbox and Forward Only in templates/list-virtual_mailbox.tpl and replace the fixed text with the above mentioned variables --- templates/list-virtual_mailbox.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/list-virtual_mailbox.tpl b/templates/list-virtual_mailbox.tpl index 29d2e70b..9bd7f851 100644 --- a/templates/list-virtual_mailbox.tpl +++ b/templates/list-virtual_mailbox.tpl @@ -35,9 +35,9 @@ {if $display_mailbox_aliases==true} {if $item.goto_mailbox == 1} - Mailbox
+ {PALANG.To_Mailbox}
{else} - Forward only
+ {PALANG.To_Forward_Only}
{/if} {foreach from=$item.goto_other item=item2 key=j} {if $search eq ""}