Fix some missing translations in merge placeholder display

This commit is contained in:
nathan 2022-10-11 15:34:25 -06:00
parent b43dd8f2c3
commit 241b5ec839
4 changed files with 8 additions and 6 deletions

View File

@ -419,6 +419,7 @@ prevent deleting of contacts admin de Das Löschen von Adressen verhindern
private address addressbook de Privatadresse private address addressbook de Privatadresse
private custom fields addressbook de Private Benutzerdefinierte Felder private custom fields addressbook de Private Benutzerdefinierte Felder
public key addressbook de öffentlicher Schlüssel public key addressbook de öffentlicher Schlüssel
public sharing url addressbook de Geteilt mit Link
publish into groups: addressbook de In folgenden Gruppen veröffentlichen: publish into groups: addressbook de In folgenden Gruppen veröffentlichen:
read a list / search for entries. addressbook de Lese die Liste / Suche nach Einträgen read a list / search for entries. addressbook de Lese die Liste / Suche nach Einträgen
read a list of entries. addressbook de Liest eine Liste von Einträgen. read a list of entries. addressbook de Liest eine Liste von Einträgen.

View File

@ -419,6 +419,7 @@ prevent deleting of contacts admin en Prevent deleting of contacts
private address addressbook en Private address private address addressbook en Private address
private custom fields addressbook en Private custom fields private custom fields addressbook en Private custom fields
public key addressbook en Public key public key addressbook en Public key
public sharing url addressbook en Public sharing URL
publish into groups: addressbook en Publish into groups: publish into groups: addressbook en Publish into groups:
read a list / search for entries. addressbook en Read a list / search for entries. read a list / search for entries. addressbook en Read a list / search for entries.
read a list of entries. addressbook en Read a list of entries. read a list of entries. addressbook en Read a list of entries.

View File

@ -203,7 +203,7 @@ class Merge extends Api\Storage\Merge
$group = 'private'; $group = 'private';
break; break;
case 'tel_work': case 'tel_work':
$group = 'phone'; $group = 'phone numbers';
break; break;
case 'email': case 'email':
case 'email_home': case 'email_home':
@ -232,16 +232,16 @@ class Merge extends Api\Storage\Merge
// Correctly formatted address by country / preference // Correctly formatted address by country / preference
$placeholders['business'][] = [ $placeholders['business'][] = [
'value' => $this->prefix($prefix, 'adr_one_formatted', '{'), 'value' => $this->prefix($prefix, 'adr_one_formatted', '{'),
'label' => "Formatted business address" 'label' => lang('Formatted business address')
]; ];
$placeholders['private'][] = [ $placeholders['private'][] = [
'value' => $this->prefix($prefix, 'adr_two_formatted', '{'), 'value' => $this->prefix($prefix, 'adr_two_formatted', '{'),
'label' => "Formatted private address" 'label' => lang('Formatted private address')
]; ];
$placeholders['EPL only'][] = [ $placeholders['EPL only'][] = [
'value' => $this->prefix($prefix, 'share', '{'), 'value' => $this->prefix($prefix, 'share', '{'),
'label' => 'Public sharing URL' 'label' => lang('Public sharing URL')
]; ];
$this->add_customfield_placeholders($placeholders, $prefix); $this->add_customfield_placeholders($placeholders, $prefix);

View File

@ -3118,7 +3118,7 @@ abstract class Merge
} }
else else
{ {
$placeholders['customfields'][] = [ $placeholders['custom fields'][] = [
'value' => $this->prefix($prefix, '#' . $name, '{'), 'value' => $this->prefix($prefix, '#' . $name, '{'),
'label' => $field['label'] . ($field['type'] == 'select-account' ? '*' : '') 'label' => $field['label'] . ($field['type'] == 'select-account' ? '*' : '')
]; ];
@ -3294,7 +3294,7 @@ abstract class Merge
else else
{ {
$new_list[] = [ $new_list[] = [
'title' => ($title_prefix ? $title_prefix . ': ' : '') . $group_title, 'title' => ($title_prefix ? lang($title_prefix) . ': ' : '') . lang($group_title),
'placeholders' => $group_placeholders 'placeholders' => $group_placeholders
]; ];
} }