Fix spelling mistakes

This commit is contained in:
Julian Kornberger 2016-11-29 10:24:56 +01:00
parent 6742fd0348
commit 776910cf13
4 changed files with 16 additions and 16 deletions

View file

@ -97,15 +97,15 @@ class App.TicketZoomArticleActions extends App.Controller
recipientUsed = {}
for recipient in recipients
if !_.isEmpty(recipient.address)
localRecipientAddeess = recipient.address.toString().toLowerCase()
if !recipientUsed[localRecipientAddeess]
recipientUsed[localRecipientAddeess] = true
localAddess = false
localRecipientAddress = recipient.address.toString().toLowerCase()
if !recipientUsed[localRecipientAddress]
recipientUsed[localRecipientAddress] = true
localAddress = false
for address in localAddresses
if localRecipientAddeess is address.email.toString().toLowerCase()
recipientUsed[localRecipientAddeess] = true
localAddess = true
if !localAddess
if localRecipientAddress is address.email.toString().toLowerCase()
recipientUsed[localRecipientAddress] = true
localAddress = true
if !localAddress
forgeinRecipients.push recipient
# check if reply all is neede
@ -327,12 +327,12 @@ class App.TicketZoomArticleActions extends App.Controller
for recipient in recipients
if !_.isEmpty(recipient.address)
# check if addess is not local
localAddess = false
# check if address is not local
localAddress = false
for address in localAddresses
if !_.isEmpty(recipient.address) && recipient.address.toString().toLowerCase() == address.email.toString().toLowerCase()
localAddess = true
if !localAddess
localAddress = true
if !localAddress
# filter for uniq recipients
if !recipientAddresses[ recipient.address.toString().toLowerCase() ]

View file

@ -12,7 +12,7 @@
<h2><%- @T('Token Access') %> (HTTP Token Authentication)</h2>
</div>
<p><%- @T('Enable REST API using tokens (not username/email addeess and password). Each user need to create own access tokens in user profile.') %></p>
<p><%- @T('Enable REST API using tokens (not username/email address and password). Each user need to create own access tokens in user profile.') %></p>
<p><%- @T('Example') %>:</p>
@ -74,4 +74,4 @@ OAuth URLs are:
</table>
</div>
</div>
</div>

View file

@ -8,7 +8,7 @@ module Channel::Filter::SenderIsSystemAddress
return if mail[ 'x-zammad-ticket-create-article-sender'.to_sym ]
return if mail[ 'x-zammad-article-sender'.to_sym ]
# check if sender addesss is system
# check if sender address is system
form = 'raw-from'.to_sym
return if !mail[form]
return if !mail[:to]

View file

@ -1579,7 +1579,7 @@ Setting.create_if_not_exists(
title: 'API Token Access',
name: 'api_token_access',
area: 'API::Base',
description: 'Enable REST API using tokens (not username/email addeess and password). Each user need to create own access tokens in user profile.',
description: 'Enable REST API using tokens (not username/email address and password). Each user need to create own access tokens in user profile.',
options: {
form: [
{