Improved wording.

This commit is contained in:
Martin Edenhofer 2016-03-09 08:04:56 +01:00
parent 5e397f84a7
commit 26bdc0c665
4 changed files with 8 additions and 8 deletions

View file

@ -496,7 +496,7 @@ class App.ChannelEmailAccountWizard extends App.WizardModal
# base # base
configureAttributesBase = [ configureAttributesBase = [
{ name: 'realname', display: 'Department Name', tag: 'input', type: 'text', limit: 160, null: false, placeholder: 'Organization Support', autocomplete: 'off' }, { name: 'realname', display: 'Department Name', tag: 'input', type: 'text', limit: 160, null: false, placeholder: 'Organization Support', autocomplete: 'off' },
{ name: 'email', display: 'User', tag: 'input', type: 'email', limit: 120, null: false, placeholder: 'support@example.com', autocapitalize: false, autocomplete: 'off', }, { name: 'email', display: 'Email', tag: 'input', type: 'email', limit: 120, null: false, placeholder: 'support@example.com', autocapitalize: false, autocomplete: 'off' },
{ name: 'password', display: 'Password', tag: 'input', type: 'password', limit: 120, null: false, autocapitalize: false, autocomplete: 'new-password', single: true }, { name: 'password', display: 'Password', tag: 'input', type: 'password', limit: 120, null: false, autocapitalize: false, autocomplete: 'new-password', single: true },
{ name: 'group_id', display: 'Destination Group', tag: 'select', null: false, relation: 'Group', nulloption: true }, { name: 'group_id', display: 'Destination Group', tag: 'select', null: false, relation: 'Group', nulloption: true },
] ]

View file

@ -2,11 +2,11 @@
class App.UiElement.time_range class App.UiElement.time_range
@render: (attribute) -> @render: (attribute) ->
ranges = ranges =
minute: 'minute(s)' minute: 'Minute(s)'
hour: 'hour(s)' hour: 'Hour(s)'
day: 'day(s)' day: 'Day(s)'
month: 'month(s)' month: 'Month(s)'
year: 'year(s)' year: 'Year(s)'
for key, value of ranges for key, value of ranges
ranges[key] = App.i18n.translateInline(value) ranges[key] = App.i18n.translateInline(value)

View file

@ -1,4 +1,4 @@
# coffeelint: disable=camel_case_classes # coffeelint: disable=camel_case_classes
class App.UiElement.user_autocompletion class App.UiElement.user_autocompletion
@render: (attribute) -> @render: (attribute) ->
new App.UserOrganizationAutocompletion( attribute: attribute ).element() new App.UserOrganizationAutocompletion(attribute: attribute).element()

View file

@ -3,4 +3,4 @@ class App.UiElement.user_autocompletion_search
@render: (attributeOrig) -> @render: (attributeOrig) ->
attribute = _.clone(attributeOrig) attribute = _.clone(attributeOrig)
attribute.disableCreateUser = true attribute.disableCreateUser = true
new App.UserOrganizationAutocompletion( attribute: attribute ).element() new App.UserOrganizationAutocompletion(attribute: attribute).element()