From af21810172e68ef51be6ff90610e433f1b247b92 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Tue, 23 May 2023 14:55:08 +0200 Subject: [PATCH] add field for Mobile Phone number (`mobile`/`contact:mobile`) --- data/fields/mobile.json | 10 ++++++++++ data/presets/@templates/contact.json | 1 + interim/source_strings.yaml | 7 +++++++ 3 files changed, 18 insertions(+) create mode 100644 data/fields/mobile.json diff --git a/data/fields/mobile.json b/data/fields/mobile.json new file mode 100644 index 00000000..d480f5f7 --- /dev/null +++ b/data/fields/mobile.json @@ -0,0 +1,10 @@ +{ + "key": "mobile", + "keys": ["mobile", "mobile:phone"], + "type": "tel", + "label": "Mobile Phone", + "placeholder": "+31 42 123 4567", + "terms": [ + "phone number" + ] +} diff --git a/data/presets/@templates/contact.json b/data/presets/@templates/contact.json index 6601c8d0..342a6658 100644 --- a/data/presets/@templates/contact.json +++ b/data/presets/@templates/contact.json @@ -3,6 +3,7 @@ "moreFields": [ "email", "fax", + "mobile", "phone", "website" ], diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index 009469b2..b7ed9a30 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -3084,6 +3084,13 @@ en: # minspeed field placeholder placeholder: 20, 30, 40... terms: '[translate with synonyms or related terms for ''Minimum Speed Limit'', separated by commas]' + mobile: + # mobile=*, mobile:phone=* + label: Mobile Phone + # mobile field placeholder + placeholder: +31 42 123 4567 + # 'terms: phone number' + terms: '[translate with synonyms or related terms for ''Mobile Phone'', separated by commas]' model: # model=* label: Model