diff options
author | Johannes Merkel <mail@johannesgge.de> | 2023-06-30 10:52:54 +0200 |
---|---|---|
committer | Johannes Merkel <mail@johannesgge.de> | 2023-06-30 10:52:54 +0200 |
commit | 501b9905abdf55f45f3d67b72680c2cf6918b13c (patch) | |
tree | 82abbc1a94e6d7059f27fbd8849e3627ed1dd0d8 | |
parent | 0c48554494cab71f91eac697535dcc26dfbf6497 (diff) |
fix(contacts): split up detailed-name again to fix vCard
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
-rw-r--r-- | src/models/rfcProps.js | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/src/models/rfcProps.js b/src/models/rfcProps.js index 62bdfc5f..df830a1d 100644 --- a/src/models/rfcProps.js +++ b/src/models/rfcProps.js @@ -49,14 +49,10 @@ const properties = { t('contacts', 'Additional names'), t('contacts', 'Prefix'), t('contacts', 'Suffix'), - - t('contacts', 'Nickname'), - t('contacts', 'Phonetic first name'), - t('contacts', 'Phonetic last name'), ], - displayOrder: [3, 1, 2, 0, 4, 5, 6, 7], + displayOrder: [3, 1, 2, 0, 4], defaultValue: { - value: ['', '', '', '', '', '', '', ''], + value: ['', '', '', '', ''], }, icon: 'icon-detailed-name', actions: [ @@ -64,6 +60,23 @@ const properties = { ], primary: false, }, + nickname: { + readableName: t('contacts', 'Nickname'), + icon: 'icon-detailed-name', + primary: false, + }, + 'x-phonetic-first-name': { + readableName: t('contacts', 'Phonetic first name'), + icon: 'icon-detailed-name', + force: 'text', + primary: false, + }, + 'x-phonetic-last-name': { + readableName: t('contacts', 'Phonetic last name'), + icon: 'icon-detailed-name', + force: 'text', + primary: false, + }, note: { readableName: t('contacts', 'Notes'), icon: 'icon-note', @@ -398,6 +411,9 @@ const fieldOrder = [ 'anniversary', 'deathdate', 'n', + 'nickname', + 'x-phonetic-first-name', + 'x-phonetic-last-name', 'gender', 'cloud', 'impp', |