summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Weidinger <alexwegoo@gmail.com>2016-03-03 16:23:20 +0100
committerAlexander Weidinger <alexwegoo@gmail.com>2016-03-03 16:31:43 +0100
commitfe01c80039d65ba811a564db88f5216acbcc892f (patch)
treee3165f47020c69b22685dd8b528b64ad86feaa0f
parent08738e7267b1424cb9c3d3ccbea418d839cac606 (diff)
Fixed some typos in types of input fields.
-rw-r--r--js/public/script.js32
-rw-r--r--js/services/vCardProperties.js4
-rw-r--r--templates/detailItems/date.html2
-rw-r--r--templates/detailItems/url.html2
4 files changed, 20 insertions, 20 deletions
diff --git a/js/public/script.js b/js/public/script.js
index dae7add2..9b15938c 100644
--- a/js/public/script.js
+++ b/js/public/script.js
@@ -1108,16 +1108,16 @@ app.service('vCardPropertiesService', [function() {
template: 'text'
},
org: {
- readableName: t('contacts', 'Organisation'),
+ readableName: t('contacts', 'Organization'),
template: 'text'
},
note: {
- readableName: t('contacts', 'Note'),
+ readableName: t('contacts', 'Notes'),
template: 'textarea'
},
url: {
multiple: true,
- readableName: t('contacts', 'Url'),
+ readableName: t('contacts', 'Website'),
template: 'url'
},
title: {
@@ -1140,7 +1140,7 @@ app.service('vCardPropertiesService', [function() {
]
},
categories: {
- readableName: t('contacts', 'Categories'),
+ readableName: t('contacts', 'Groups'),
template: 'text'
},
bday: {
@@ -1149,27 +1149,27 @@ app.service('vCardPropertiesService', [function() {
},
email: {
multiple: true,
- readableName: t('contacts', 'E-Mail'),
- template: 'date'
+ readableName: t('contacts', 'Email'),
+ template: 'text'
},
impp: {
multiple: true,
- readableName: t('contacts', 'Instant Messaging'),
- template: 'date'
+ readableName: t('contacts', 'Instant messaging'),
+ template: 'text'
},
tel: {
multiple: true,
- readableName: t('contacts', 'Telephone'),
+ readableName: t('contacts', 'Phone'),
template: 'tel',
options: [
- {id: 'HOME,VOICE', name: t('contacts', 'Home, voice')},
- {id: 'WORK,VOICE', name: t('contacts', 'Work, voice')},
- {id: 'HOME,FAX', name: t('contacts', 'Home, fax')},
- {id: 'WORK,FAX', name: t('contacts', 'Work, fax')},
- {id: 'PAGER', name: t('contacts', 'Pager')},
- {id: 'VOICE', name: t('contacts', 'Voice')},
+ {id: 'HOME,VOICE', name: t('contacts', 'Home')},
+ {id: 'WORK,VOICE', name: t('contacts', 'Work')},
+ {id: 'CELL', name: t('contacts', 'Mobile')},
{id: 'FAX', name: t('contacts', 'Fax')},
- {id: 'CELL', name: t('contacts', 'Mobile')}
+ {id: 'HOME,FAX', name: t('contacts', 'Fax home')},
+ {id: 'WORK,FAX', name: t('contacts', 'Fax work')},
+ {id: 'PAGER', name: t('contacts', 'Pager')},
+ {id: 'VOICE', name: t('contacts', 'Voice')}
]
}
};
diff --git a/js/services/vCardProperties.js b/js/services/vCardProperties.js
index dce5153c..3c0e046d 100644
--- a/js/services/vCardProperties.js
+++ b/js/services/vCardProperties.js
@@ -57,12 +57,12 @@ app.service('vCardPropertiesService', [function() {
email: {
multiple: true,
readableName: t('contacts', 'Email'),
- template: 'date'
+ template: 'text'
},
impp: {
multiple: true,
readableName: t('contacts', 'Instant messaging'),
- template: 'date'
+ template: 'text'
},
tel: {
multiple: true,
diff --git a/templates/detailItems/date.html b/templates/detailItems/date.html
index b066361d..bc8bf3b7 100644
--- a/templates/detailItems/date.html
+++ b/templates/detailItems/date.html
@@ -1,5 +1,5 @@
<label for="details-{{ctrl.name}}">{{ctrl.meta.readableName}}</label>
-<input type="text" id="details-{{ctrl.name}}" name="{{ctrl.name}}"
+<input type="date" id="details-{{ctrl.name}}" name="{{ctrl.name}}"
ng-model="ctrl.data.value" ng-model-options="{ debounce: 500 }"
ng-change="ctrl.model.updateContact()" value=""
focus-expression="$parent.ctrl.focus === ctrl.name"
diff --git a/templates/detailItems/url.html b/templates/detailItems/url.html
index 08cc58e3..47324f2e 100644
--- a/templates/detailItems/url.html
+++ b/templates/detailItems/url.html
@@ -1,5 +1,5 @@
<label for="details-{{ctrl.name}}">{{ctrl.meta.readableName}}</label>
-<input type="text" id="details-{{ctrl.name}}" name="{{ctrl.name}}"
+<input type="url" id="details-{{ctrl.name}}" name="{{ctrl.name}}"
ng-model="ctrl.data.value" ng-model-options="{ debounce: 500 }"
ng-change="ctrl.model.updateContact()" value=""
focus-expression="$parent.ctrl.focus === ctrl.name"