Maintenance: Improved translatable source strings.

This commit is contained in:
Martin Gruner 2022-01-19 09:31:25 +01:00
parent 1a1ec2e74a
commit 05cd060dbd
38 changed files with 136 additions and 147 deletions

View file

@ -7,7 +7,7 @@ class App.ControllerGenericDestroyConfirm extends App.ControllerModal
small: true small: true
content: -> content: ->
App.i18n.translateContent('Sure to delete this object?') App.i18n.translateContent('Do you really want to delete this object?')
onSubmit: => onSubmit: =>
options = @options || {} options = @options || {}

View file

@ -87,7 +87,7 @@ class ChannelChat extends App.ControllerSubContent
name: 'inactiveClass' name: 'inactiveClass'
default: "'is-inactive'" default: "'is-inactive'"
type: 'String' type: 'String'
description: __('This class gets added to the button on initialization and gets removed once the chat connection got established.') description: __('This class gets added to the button on initialization and will be removed once the chat connection is established.')
} }
{ {
name: 'cssAutoload' name: 'cssAutoload'

View file

@ -42,7 +42,7 @@ class Modal extends App.ControllerModal
content: => content: =>
if !@sent if !@sent
return App.i18n.translateContent('Your account has not been verified. Please click the link in the verification email.') return App.i18n.translateContent('Your account has not been verified. Please click on the link in the verification email.')
content = App.i18n.translateContent('We\'ve sent an email to _%s_. Click the link in the email to verify your account.', @user.email) content = App.i18n.translateContent('We\'ve sent an email to _%s_. Click the link in the email to verify your account.', @user.email)
content += '<br><br>' content += '<br><br>'
content += App.i18n.translateContent('If you don\'t see the email, check other places it might be, like your junk, spam, social, or other folders.') content += App.i18n.translateContent('If you don\'t see the email, check other places it might be, like your junk, spam, social, or other folders.')

View file

@ -93,7 +93,7 @@ class GettingStartedAdmin extends App.ControllerWizardFullScreen
error: -> error: ->
App.Event.trigger('notify', { App.Event.trigger('notify', {
type: 'error' type: 'error'
msg: App.i18n.translateContent('Signin failed! Please contact the support team!') msg: App.i18n.translateContent('The sign-in failed. Please contact the Support team.')
timeout: 2500 timeout: 2500
}) })
) )

View file

@ -19,7 +19,7 @@ class Job extends App.ControllerSubContent
pagerPerPage: 150 pagerPerPage: 150
navupdate: '#Jobs' navupdate: '#Jobs'
notes: [ notes: [
__('Scheduler are …') __('Schedulers are …')
] ]
buttons: [ buttons: [
{ name: __('New Scheduler'), 'data-type': 'new', class: 'btn--success' } { name: __('New Scheduler'), 'data-type': 'new', class: 'btn--success' }

View file

@ -24,7 +24,7 @@ class Organization extends App.ControllerSubContent
pagerPerPage: 150 pagerPerPage: 150
navupdate: '#organizations' navupdate: '#organizations'
notes: [ notes: [
__('Organizations are for any person in the system. Agents (Owners, Resposbiles, …) and Customers.') __('Organizations are for any person in the system: agents (owners, responsibles, …) and customers.')
] ]
buttons: [ buttons: [
{ name: __('Import'), 'data-type': 'import', class: 'btn' } { name: __('Import'), 'data-type': 'import', class: 'btn' }

View file

@ -21,7 +21,7 @@ class Overview extends App.ControllerSubContent
objects: __('Overviews') objects: __('Overviews')
navupdate: '#overviews' navupdate: '#overviews'
notes: [ notes: [
__('Overview are …') __('Overviews are …')
] ]
buttons: [ buttons: [
{ name: __('New Overview'), 'data-type': 'new', class: 'btn--success' } { name: __('New Overview'), 'data-type': 'new', class: 'btn--success' }

View file

@ -69,7 +69,7 @@ class Sla extends App.ControllerSubContent
id: id id: id
pageData: pageData:
title: __('SLAs') title: __('SLAs')
object: __('Sla') object: __('SLA')
objects: __('SLAs') objects: __('SLAs')
genericObject: 'Sla' genericObject: 'Sla'
callback: @load callback: @load

View file

@ -136,7 +136,7 @@ class DestroyConfirm extends App.ControllerModal
small: true small: true
content: -> content: ->
App.i18n.translateContent('Sure to delete this object?') App.i18n.translateContent('Do you really want to delete this object?')
onSubmit: => onSubmit: =>
@ajax( @ajax(

View file

@ -315,7 +315,7 @@ class ArticleViewItem extends App.ControllerObserver
if data.sign.success if data.sign.success
@notify @notify
type: 'success' type: 'success'
msg: App.i18n.translateContent('Verify sign success!') msg: App.i18n.translateContent('The signature was successfully verified.')
else if data.sign.comment else if data.sign.comment
comment = App.i18n.translateContent('Verify sign failed!') + ' ' + App.i18n.translateContent(data.sign.comment || '') comment = App.i18n.translateContent('Verify sign failed!') + ' ' + App.i18n.translateContent(data.sign.comment || '')
@notify @notify
@ -326,7 +326,7 @@ class ArticleViewItem extends App.ControllerObserver
if data.encryption.success if data.encryption.success
@notify @notify
type: 'success' type: 'success'
msg: App.i18n.translateContent('Decryption successful!') msg: App.i18n.translateContent('Decryption was successful.')
else if data.encryption.comment else if data.encryption.comment
comment = App.i18n.translateContent('Decryption failed!') + ' ' + App.i18n.translateContent(data.encryption.comment || '') comment = App.i18n.translateContent('Decryption failed!') + ' ' + App.i18n.translateContent(data.encryption.comment || '')
@notify @notify
@ -337,7 +337,7 @@ class ArticleViewItem extends App.ControllerObserver
error: (xhr) => error: (xhr) =>
@notify @notify
type: 'error' type: 'error'
msg: App.i18n.translateContent('Retry security process failed!') msg: App.i18n.translateContent('The retried security process failed!')
) )
stopPropagation: (e) -> stopPropagation: (e) ->

View file

@ -110,7 +110,7 @@ class Translation extends App.ControllerSubContent
resetChanges: => resetChanges: =>
@loader = new App.ControllerModalLoading( @loader = new App.ControllerModalLoading(
head: __('Reset changes') head: __('Reset changes')
message: __('Reseting changes…') message: __('Resetting changes…')
container: @el.closest('.content') container: @el.closest('.content')
) )
@ajax( @ajax(

View file

@ -102,7 +102,7 @@ class User extends App.ControllerSubContent
attribute.title = null attribute.title = null
if object.maxLoginFailedReached() if object.maxLoginFailedReached()
attribute.title = App.i18n.translateContent('The user is locked, because of too many failed login attempts.') attribute.title = App.i18n.translateContent('This user is currently blocked because of too many failed login attempts.')
attribute.prefixIcon = 'lock' attribute.prefixIcon = 'lock'
value value

View file

@ -742,7 +742,7 @@
} }
else { else {
textmodule.emptyResultsContainer() textmodule.emptyResultsContainer()
items.push($('<li>').text(App.i18n.translateInline('Please select a group first, before you mention a user!'))) items.push($('<li>').text(App.i18n.translateInline('Before you mention a user, please select a group.')))
textmodule.appendResults(items) textmodule.appendResults(items)
} }
}, 200, 'textmoduleMentionDelay', 'textmodule') }, 200, 'textmoduleMentionDelay', 'textmodule')

View file

@ -5,6 +5,6 @@
<h4><%- @T( 'Recent Customer Tickets' ) %></h4> <h4><%- @T( 'Recent Customer Tickets' ) %></h4>
<div id="ticket-merge-customer-tickets"></div> <div id="ticket-merge-customer-tickets"></div>
<hr> <hr>
<h4><%- @T( 'Recent viewed Tickets' ) %></h4> <h4><%- @T( 'Recently Viewed Tickets' ) %></h4>
<div id="ticket-merge-recent-tickets"></div> <div id="ticket-merge-recent-tickets"></div>
</div> </div>

View file

@ -142,7 +142,7 @@
<pre><code class="language-html js-code">&lt;script src="https://code.jquery.com/jquery-3.6.0.min.js"&gt;&lt;/script&gt;</code></pre> <pre><code class="language-html js-code">&lt;script src="https://code.jquery.com/jquery-3.6.0.min.js"&gt;&lt;/script&gt;</code></pre>
<h3><%- @T('Show chat automatically') %> (<%- @T('default') %>)</h3> <h3><%- @T('Show chat automatically') %> (<%- @T('default') %>)</h3>
<p><%- @T('The chat will show up once the connection to the server got established and if there is someone online to chat with.') %></p> <p><%- @T('The chat will show up once the connection to the server got established and if there is an operator online to chat with.') %></p>
<pre><code class="language-html js-code">&lt;script src="<%= @baseurl %>/assets/chat/chat.min.js"&gt;&lt;/script&gt; <pre><code class="language-html js-code">&lt;script src="<%= @baseurl %>/assets/chat/chat.min.js"&gt;&lt;/script&gt;
&lt;script&gt; &lt;script&gt;
@ -169,12 +169,12 @@ $(function() {
<h3><%- @T("Why doesn't the chat show up?") %></h3> <h3><%- @T("Why doesn't the chat show up?") %></h3>
<p> <p>
<%- @T('There can be several reasons for the chat to not show up:') %> <%- @T("There are several possible reasons why the chat won't show up:") %>
<ol> <ol>
<li><%- @T('The browser is outdated. It does not support WebSocket - the technology we use for the chat.') %> <li><%- @T('The browser is outdated. It does not support WebSocket - the technology we use for the chat.') %>
<li><%- @T('There is no agent online.') %> <li><%- @T('There is no agent online.') %>
<li><%- @T('The chat is turned off.') %> <li><%- @T('The chat is turned off.') %>
<li><%- @T('There are too many people in queue for the chat.') %> <li><%- @T('There are too many people in the chat queue.') %>
</ol> </ol>
<%- @T('When you turn on debugging by setting the option §debug§ to §true§ the reason gets printed to the javascript console.') %> <%- @T('When you turn on debugging by setting the option §debug§ to §true§ the reason gets printed to the javascript console.') %>
</p> </p>

View file

@ -9,7 +9,7 @@
<% if @is_allowed_to_create_ticket: %> <% if @is_allowed_to_create_ticket: %>
<p><%- @T('You have not created a ticket yet.') %></p> <p><%- @T('You have not created a ticket yet.') %></p>
<p><%- @T('The way to communicate with us is this thing called "ticket".') %></p> <p><%- @T('The way to communicate with us is this thing called "ticket".') %></p>
<p><%- @T('Please click the button below to create your first one.') %></p> <p><%- @T('Please click on the button below to create your first one.') %></p>
<p><a class="btn btn--primary" href="#customer_ticket_new"><%- @T('Create your first ticket') %></a></p> <p><a class="btn btn--primary" href="#customer_ticket_new"><%- @T('Create your first ticket') %></a></p>
<% else: %> <% else: %>

View file

@ -14,7 +14,7 @@
</div> </div>
<div class="form-group js-sure"> <div class="form-group js-sure">
<h3 class="danger-color"><%- @T('Warning') %></h3> <h3 class="danger-color"><%- @T('Warning') %></h3>
<p class="danger-color"><%- @T('There is no rollback of this deletion possible. If you are absolutely sure to do this, then type in "%s" into the input.', App.i18n.translatePlain('delete').toUpperCase()) %></p> <p class="danger-color"><%- @T('There is no rollback of this deletion possible. If you are sure that you wish to proceed, please type "%s" into the input.', App.i18n.translatePlain('delete').toUpperCase()) %></p>
<%- @sure_html %> <%- @sure_html %>
</div> </div>
</div> </div>

View file

@ -1,6 +1,6 @@
<div class="alert alert--danger hidden" role="alert"></div> <div class="alert alert--danger hidden" role="alert"></div>
<p> <p>
<%- @T('The tutorial on how to manage a %s is hosted on our online documentation %l.', 'Facebook App', 'https://admin-docs.zammad.org/en/latest/channels/facebook.html') %> <%- @T('You can find a tutorial on how to manage a %s in our online documentation %l.', 'Facebook App', 'https://admin-docs.zammad.org/en/latest/channels/facebook.html') %>
</p> </p>
<fieldset> <fieldset>
<h2><%- @T('Enter your %s App Keys', 'Facebook') %></h2> <h2><%- @T('Enter your %s App Keys', 'Facebook') %></h2>

View file

@ -3,7 +3,7 @@
<div class="setup wizard"> <div class="setup wizard">
<div class="wizard-slide"> <div class="wizard-slide">
<div class="wizard-body vertical centered"> <div class="wizard-body vertical centered">
<%- @T('The auto wizard is enabled, please use the prodvided auto wizard url.') %> <%- @T('The auto wizard is enabled. Please use the provided auto wizard url.') %>
</div> </div>
</div> </div>
</div> </div>

View file

@ -3,10 +3,10 @@
<div class="setup wizard js-start"> <div class="setup wizard js-start">
<div class="wizard-slide"> <div class="wizard-slide">
<div class="wizard-body vertical centered"> <div class="wizard-body vertical centered">
<a class="btn btn--primary" href="#getting_started/admin"><%- @T('Setup new System') %></a> <a class="btn btn--primary" href="#getting_started/admin"><%- @T('Set up a new system') %></a>
</div> </div>
<div class="wizard-aside"> <div class="wizard-aside">
<%- @T('Or') %> <span class="u-clickable u-highlight"><a href="#import"><%- @T('migrate from another system') %></a></span>. <span class="u-clickable u-highlight"><a href="#import"><%- @T('Or migrate from another system.') %></a></span>
</div> </div>
</div> </div>
</div> </div>

View file

@ -1,6 +1,6 @@
<div class="alert alert--danger hidden" role="alert"></div> <div class="alert alert--danger hidden" role="alert"></div>
<p> <p>
<%- @T('The tutorial on how to manage a %s is hosted on our online documentation %l.', 'Google App', 'https://admin-docs.zammad.org/en/latest/channels/google/index.html') %> <%- @T('You can find a tutorial on how to manage a %s in our online documentation %l.', 'Google App', 'https://admin-docs.zammad.org/en/latest/channels/google/index.html') %>
</p> </p>
<fieldset> <fieldset>
<h2><%- @T('Enter your %s App Keys', 'Google') %></h2> <h2><%- @T('Enter your %s App Keys', 'Google') %></h2>

View file

@ -27,7 +27,7 @@
<% if @hasRecentViewed: %> <% if @hasRecentViewed: %>
<hr> <hr>
<h4><%- @T('Recent viewed Tickets') %></h4> <h4><%- @T('Recently Viewed Tickets') %></h4>
<div id="ticket-merge-recent-tickets"></div> <div id="ticket-merge-recent-tickets"></div>
<% end %> <% end %>
</fieldset> </fieldset>

View file

@ -1,6 +1,6 @@
<div class="alert alert--danger hidden" role="alert"></div> <div class="alert alert--danger hidden" role="alert"></div>
<p> <p>
<%- @T('The tutorial on how to manage a %s is hosted on our online documentation %l.', 'Microsoft 365 App', 'https://admin-docs.zammad.org/en/latest/channels/microsoft365/index.html') %> <%- @T('You can find a tutorial on how to manage a %s in our online documentation %l.', 'Microsoft 365 App', 'https://admin-docs.zammad.org/en/latest/channels/microsoft365/index.html') %>
</p> </p>
<fieldset> <fieldset>
<h2><%- @T('Enter your %s App Keys', 'Microsoft 365') %></h2> <h2><%- @T('Enter your %s App Keys', 'Microsoft 365') %></h2>

View file

@ -6,7 +6,7 @@
<p> <p>
<%- @T('The installation of packages comes with security implications, because arbitrary code will be executed in the context of the Zammad application.') %> <%- @T('The installation of packages comes with security implications, because arbitrary code will be executed in the context of the Zammad application.') %>
<br> <br>
<%- @T('Only packages from known, trusted and verfied sources should be installed.') %> <%- @T('Only packages from known, trusted, and verfied sources should be installed.') %>
</p> </p>
<p> <p>
<%- @T('After installing, updating, or uninstalling packages the following commands need to be executed on the server:') %> <%- @T('After installing, updating, or uninstalling packages the following commands need to be executed on the server:') %>

View file

@ -3,5 +3,5 @@
<div class="tab js-timeRange" data-type="month"><%- @T('Month') %></div> <div class="tab js-timeRange" data-type="month"><%- @T('Month') %></div>
<div class="tab js-timeRange" data-type="week"><%- @T('Week') %></div> <div class="tab js-timeRange" data-type="week"><%- @T('Week') %></div>
<div class="tab js-timeRange" data-type="day"><%- @T('Day') %></div> <div class="tab js-timeRange" data-type="day"><%- @T('Day') %></div>
<div class="tab js-timeRange" data-type="realtime"><%- @T('Realtime') %></div> <div class="tab js-timeRange" data-type="realtime"><%- @T('Real-time') %></div>
</div> </div>

View file

@ -3,7 +3,7 @@
<div class="hero-unit fullscreen-body"> <div class="hero-unit fullscreen-body">
<h1><%- @T('Registration successful!') %></h1> <h1><%- @T('Registration successful!') %></h1>
<p><%- @T('Thanks for joining. Email sent to "%s".', @email) %></p> <p><%- @T('Thanks for joining. Email sent to "%s".', @email) %></p>
<p><%- @T('Please click the link in the verification email.') %> <%- @T('If you don\'t see the email, check other places it might be, like your junk, spam, social, or other folders.') %></p> <p><%- @T('Please click on the link in the verification email.') %> <%- @T('If you don\'t see the email, check other places it might be, like your junk, spam, social, or other folders.') %></p>
<form> <form>
<input type="hidden" name="email" value="<%= @email %>"> <input type="hidden" name="email" value="<%= @email %>">
<div class="form-controls"> <div class="form-controls">

View file

@ -1,6 +1,6 @@
<div class="alert alert--danger hidden" role="alert"></div> <div class="alert alert--danger hidden" role="alert"></div>
<p> <p>
<%- @T('The tutorial on how to manage a %s is hosted on our online documentation %l.', 'Telegram Bot', 'https://admin-docs.zammad.org/en/latest/channels/telegram.html') %> <%- @T('You can find a tutorial on how to manage a %s in our online documentation %l.', 'Telegram Bot', 'https://admin-docs.zammad.org/en/latest/channels/telegram.html') %>
</p> </p>
<fieldset> <fieldset>
<h2><%- @T('Enter your %s App Keys', 'Telegram') %></h2> <h2><%- @T('Enter your %s App Keys', 'Telegram') %></h2>

View file

@ -1,3 +1,3 @@
<form> <form>
<input type="text" name="time_unit" placeholder="<%- @T('Please enter your time which you want to account.') %>"/> <input type="text" name="time_unit" placeholder="<%- @T('Please enter the time you want to record.') %>"/>
</form> </form>

View file

@ -1,6 +1,6 @@
<div class="alert alert--danger hidden" role="alert"></div> <div class="alert alert--danger hidden" role="alert"></div>
<p> <p>
<%- @T('The tutorial on how to manage a %s is hosted on our online documentation %l.', 'Twitter App', 'https://admin-docs.zammad.org/en/latest/channels/twitter.html') %> <%- @T('You can find a tutorial on how to manage a %s in our online documentation %l.', 'Twitter App', 'https://admin-docs.zammad.org/en/latest/channels/twitter.html') %>
</p> </p>
<fieldset> <fieldset>
<h2><%- @T('Enter your %s App Keys', 'Twitter') %></h2> <h2><%- @T('Enter your %s App Keys', 'Twitter') %></h2>

View file

@ -73,9 +73,9 @@
<div class="action-block"> <div class="action-block">
<h3><%- @T('Retweets') %></h3> <h3><%- @T('Retweets') %></h3>
<% if channel.options.sync.track_retweets: %> <% if channel.options.sync.track_retweets: %>
<%- @T('Retweets are converted to Tickets') %>. <%- @T('Retweets are converted into tickets.') %>
<%- @T('Conversion of retweets into tickets is turned off.') %>
<% else: %> <% else: %>
<%- @T('Conversion of retweets into tickets is turned off') %>.
<% end %> <% end %>
</div> </div>
</div> </div>

View file

@ -53,7 +53,7 @@ class ChannelsTwitterController < ApplicationController
end end
raise Exceptions::UnprocessableEntity, __('Could not find external_credential in cache!') if external_credential.blank? raise Exceptions::UnprocessableEntity, __('Could not find external_credential in cache!') if external_credential.blank?
raise Exceptions::UnprocessableEntity, __('Could not find external_credential[:consumer_secret] in cache!') if external_credential[:consumer_secret].blank? raise Exceptions::UnprocessableEntity, __('Could not find external_credential[:consumer_secret] in cache!') if external_credential[:consumer_secret].blank?
raise Exceptions::UnprocessableEntity, __("Required parameter 'crc_token' missing in verify payload from twitter!") if params['crc_token'].blank? raise Exceptions::UnprocessableEntity, __("The required parameter 'crc_token' is missing from the Twitter verify payload!") if params['crc_token'].blank?
render json: { render json: {
response_token: hmac_signature_gen(external_credential[:consumer_secret], params['crc_token']) response_token: hmac_signature_gen(external_credential[:consumer_secret], params['crc_token'])

View file

@ -173,7 +173,7 @@ class TicketArticlesController < ApplicationController
access = true access = true
end end
end end
raise Exceptions::Forbidden, __('Requested file id is not linked with article_id.') if !access raise Exceptions::Forbidden, __('The file does not belong to the specified article.') if !access
send_data( send_data(
download_file.content(params[:view]), download_file.content(params[:view]),

View file

@ -965,7 +965,7 @@ curl http://localhost/api/v1/users/avatar -v -u #{login}:#{password} -H "Content
# check signup option only after admin account is created # check signup option only after admin account is created
if !params[:signup] if !params[:signup]
raise Exceptions::UnprocessableEntity, __('Only signup with not authenticate user possible!') raise Exceptions::UnprocessableEntity, __("The required parameter 'signup' is missing.")
end end
# check if user already exists # check if user already exists

View file

@ -1127,6 +1127,10 @@ msgstr ""
msgid "Bcc address for all outgoing emails" msgid "Bcc address for all outgoing emails"
msgstr "" msgstr ""
#: app/assets/javascripts/app/lib/base/jquery.textmodule.js
msgid "Before you mention a user, please select a group."
msgstr ""
#: db/seeds/settings.rb #: db/seeds/settings.rb
msgid "Beginner" msgid "Beginner"
msgstr "" msgstr ""
@ -1959,7 +1963,7 @@ msgid "Conversation is transferred into another chat. Please stay tuned."
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/twitter/list.jst.eco #: app/assets/javascripts/app/views/twitter/list.jst.eco
msgid "Conversion of retweets into tickets is turned off" msgid "Conversion of retweets into tickets is turned off."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_plugin/electron_events.coffee #: app/assets/javascripts/app/controllers/_plugin/electron_events.coffee
@ -2371,7 +2375,7 @@ msgid "Decryption failed!"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee #: app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee
msgid "Decryption successful!" msgid "Decryption was successful."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_ui_element/object_manager_attribute.coffee #: app/assets/javascripts/app/controllers/_ui_element/object_manager_attribute.coffee
@ -3198,6 +3202,11 @@ msgstr ""
msgid "Do not sign email" msgid "Do not sign email"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_application_controller/generic_destroy_confirm.coffee
#: app/assets/javascripts/app/controllers/tag.coffee
msgid "Do you really want to delete this object?"
msgstr ""
#: db/seeds/object_manager_attributes.rb #: db/seeds/object_manager_attributes.rb
msgid "Domain" msgid "Domain"
msgstr "" msgstr ""
@ -6670,11 +6679,7 @@ msgid "Only lowercase letters, numbers, and '_' are allowed"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/package.jst.eco #: app/assets/javascripts/app/views/package.jst.eco
msgid "Only packages from known, trusted and verfied sources should be installed." msgid "Only packages from known, trusted, and verfied sources should be installed."
msgstr ""
#: app/controllers/users_controller.rb
msgid "Only signup with not authenticate user possible!"
msgstr "" msgstr ""
#: db/seeds/settings.rb #: db/seeds/settings.rb
@ -6729,7 +6734,7 @@ msgid "Options"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/getting_started/intro.jst.eco #: app/assets/javascripts/app/views/getting_started/intro.jst.eco
msgid "Or" msgid "Or migrate from another system."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/ticket_overview.coffee #: app/assets/javascripts/app/controllers/ticket_overview.coffee
@ -6788,7 +6793,7 @@ msgid "Organizations"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/organization.coffee #: app/assets/javascripts/app/controllers/organization.coffee
msgid "Organizations are for any person in the system. Agents (Owners, Resposbiles, …) and Customers." msgid "Organizations are for any person in the system: agents (owners, responsibles, …) and customers."
msgstr "" msgstr ""
#: app/assets/javascripts/app/models/ticket_article.coffee #: app/assets/javascripts/app/models/ticket_article.coffee
@ -6836,10 +6841,6 @@ msgstr ""
msgid "Overview" msgid "Overview"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/overview.coffee
msgid "Overview are …"
msgstr ""
#: app/assets/javascripts/app/controllers/core_workflow.coffee #: app/assets/javascripts/app/controllers/core_workflow.coffee
msgid "Overview bulk mask" msgid "Overview bulk mask"
msgstr "" msgstr ""
@ -6853,6 +6854,10 @@ msgstr ""
msgid "Overviews" msgid "Overviews"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/overview.coffee
msgid "Overviews are …"
msgstr ""
#: app/assets/javascripts/app/controllers/_ui_element/postmaster_set.coffee #: app/assets/javascripts/app/controllers/_ui_element/postmaster_set.coffee
#: app/assets/javascripts/app/controllers/_ui_element/ticket_perform_action.coffee #: app/assets/javascripts/app/controllers/_ui_element/ticket_perform_action.coffee
#: app/assets/javascripts/app/models/ticket.coffee #: app/assets/javascripts/app/models/ticket.coffee
@ -7075,11 +7080,11 @@ msgid "Please add categories and/or answers"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/customer_not_ticket_exists.jst.eco #: app/assets/javascripts/app/views/customer_not_ticket_exists.jst.eco
msgid "Please click the button below to create your first one." msgid "Please click on the button below to create your first one."
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/signup/verify.jst.eco #: app/assets/javascripts/app/views/signup/verify.jst.eco
msgid "Please click the link in the verification email." msgid "Please click on the link in the verification email."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_profile/out_of_office.coffee #: app/assets/javascripts/app/controllers/_profile/out_of_office.coffee
@ -7094,12 +7099,12 @@ msgstr ""
msgid "Please enter a text." msgid "Please enter a text."
msgstr "" msgstr ""
#: app/models/knowledge_base.rb #: app/assets/javascripts/app/views/ticket_zoom/time_accounting.jst.eco
msgid "Please enter valid path or domain" msgid "Please enter the time you want to record."
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/ticket_zoom/time_accounting.jst.eco #: app/models/knowledge_base.rb
msgid "Please enter your time which you want to account." msgid "Please enter valid path or domain"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/object_manager/index.jst.eco #: app/assets/javascripts/app/views/object_manager/index.jst.eco
@ -7110,10 +7115,6 @@ msgstr ""
msgid "Please fill in all fields" msgid "Please fill in all fields"
msgstr "" msgstr ""
#: app/assets/javascripts/app/lib/base/jquery.textmodule.js
msgid "Please select a group first, before you mention a user!"
msgstr ""
#: app/controllers/integration/exchange_controller.rb #: app/controllers/integration/exchange_controller.rb
msgid "Please select at least one folder." msgid "Please select at least one folder."
msgstr "" msgstr ""
@ -7327,7 +7328,7 @@ msgid "Raw"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/report/time_range_picker.jst.eco #: app/assets/javascripts/app/views/report/time_range_picker.jst.eco
msgid "Realtime" msgid "Real-time"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/google/list.jst.eco #: app/assets/javascripts/app/views/google/list.jst.eco
@ -7350,7 +7351,7 @@ msgstr ""
#: app/assets/javascripts/app/views/agent_ticket_merge.jst.eco #: app/assets/javascripts/app/views/agent_ticket_merge.jst.eco
#: app/assets/javascripts/app/views/link/ticket/add.jst.eco #: app/assets/javascripts/app/views/link/ticket/add.jst.eco
msgid "Recent viewed Tickets" msgid "Recently Viewed Tickets"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/layout_ref/kb_link_ticket_to_answer_ref.jst.eco #: app/assets/javascripts/app/views/layout_ref/kb_link_ticket_to_answer_ref.jst.eco
@ -7488,18 +7489,10 @@ msgstr ""
msgid "Request for Change" msgid "Request for Change"
msgstr "" msgstr ""
#: app/controllers/ticket_articles_controller.rb
msgid "Requested file id is not linked with article_id."
msgstr ""
#: app/assets/javascripts/app/views/api.jst.eco #: app/assets/javascripts/app/views/api.jst.eco
msgid "Requesting the Grant" msgid "Requesting the Grant"
msgstr "" msgstr ""
#: app/controllers/channels_twitter_controller.rb
msgid "Required parameter 'crc_token' missing in verify payload from twitter!"
msgstr ""
#: app/controllers/reports_controller.rb #: app/controllers/reports_controller.rb
msgid "Required parameter 'downloadBackendSelected' is missing." msgid "Required parameter 'downloadBackendSelected' is missing."
msgstr "" msgstr ""
@ -7541,7 +7534,7 @@ msgid "Reset changes"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/translation.coffee #: app/assets/javascripts/app/controllers/translation.coffee
msgid "Reseting changes…" msgid "Resetting changes…"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/widget/http_log_show.jst.eco #: app/assets/javascripts/app/views/widget/http_log_show.jst.eco
@ -7572,17 +7565,13 @@ msgstr ""
msgid "Retry security process" msgid "Retry security process"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee
msgid "Retry security process failed!"
msgstr ""
#: app/assets/javascripts/app/views/twitter/account_edit.jst.eco #: app/assets/javascripts/app/views/twitter/account_edit.jst.eco
#: app/assets/javascripts/app/views/twitter/list.jst.eco #: app/assets/javascripts/app/views/twitter/list.jst.eco
msgid "Retweets" msgid "Retweets"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/twitter/list.jst.eco #: app/assets/javascripts/app/views/twitter/list.jst.eco
msgid "Retweets are converted to Tickets" msgid "Retweets are converted into tickets."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_profile/notification.coffee #: app/assets/javascripts/app/controllers/_profile/notification.coffee
@ -7784,11 +7773,11 @@ msgid "Scheduler"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/job.coffee #: app/assets/javascripts/app/controllers/job.coffee
msgid "Scheduler are …" msgid "Schedulers"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/job.coffee #: app/assets/javascripts/app/controllers/job.coffee
msgid "Schedulers" msgid "Schedulers are …"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/object_manager/screens.jst.eco #: app/assets/javascripts/app/views/object_manager/screens.jst.eco
@ -8080,6 +8069,10 @@ msgstr ""
msgid "Set timeframe in seconds. If it's set to 0 you can delete notes without time limits" msgid "Set timeframe in seconds. If it's set to 0 you can delete notes without time limits"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/getting_started/intro.jst.eco
msgid "Set up a new system"
msgstr ""
#: app/assets/javascripts/app/views/getting_started/channel.jst.eco #: app/assets/javascripts/app/views/getting_started/channel.jst.eco
msgid "Set up the communication channels you want to use with your Zammad." msgid "Set up the communication channels you want to use with your Zammad."
msgstr "" msgstr ""
@ -8120,7 +8113,6 @@ msgstr ""
msgid "Setup Finished" msgid "Setup Finished"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/getting_started/intro.jst.eco
#: app/assets/javascripts/app/views/layout_ref/setup.jst.eco #: app/assets/javascripts/app/views/layout_ref/setup.jst.eco
msgid "Setup new System" msgid "Setup new System"
msgstr "" msgstr ""
@ -8231,10 +8223,6 @@ msgstr ""
msgid "Signed" msgid "Signed"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/getting_started/admin.coffee
msgid "Signin failed! Please contact the support team!"
msgstr ""
#: app/assets/javascripts/app/lib/app_post/iconset_picker.coffee #: app/assets/javascripts/app/lib/app_post/iconset_picker.coffee
msgid "Simple Line Icons" msgid "Simple Line Icons"
msgstr "" msgstr ""
@ -8267,10 +8255,6 @@ msgstr ""
msgid "Skip" msgid "Skip"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/sla.coffee
msgid "Sla"
msgstr ""
#: app/assets/javascripts/app/controllers/_integration/slack.coffee #: app/assets/javascripts/app/controllers/_integration/slack.coffee
msgid "Slack" msgid "Slack"
msgstr "" msgstr ""
@ -8535,11 +8519,6 @@ msgstr ""
msgid "Support of multi-lingual Knowledge Base." msgid "Support of multi-lingual Knowledge Base."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_application_controller/generic_destroy_confirm.coffee
#: app/assets/javascripts/app/controllers/tag.coffee
msgid "Sure to delete this object?"
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/email.coffee #: app/assets/javascripts/app/controllers/_channel/email.coffee
#: app/assets/javascripts/app/controllers/_channel/facebook.coffee #: app/assets/javascripts/app/controllers/_channel/facebook.coffee
#: app/assets/javascripts/app/controllers/_channel/google.coffee #: app/assets/javascripts/app/controllers/_channel/google.coffee
@ -8632,10 +8611,6 @@ msgstr ""
msgid "Telegram Account" msgid "Telegram Account"
msgstr "" msgstr ""
#: lib/telegram.rb
msgid "Telegram file is to big. (Maximum 20mb)"
msgstr ""
#: app/assets/javascripts/app/controllers/agent_ticket_create/sidebar_template.coffee #: app/assets/javascripts/app/controllers/agent_ticket_create/sidebar_template.coffee
msgid "Templates" msgid "Templates"
msgstr "" msgstr ""
@ -8741,6 +8716,10 @@ msgstr ""
msgid "The MIME type of the resized image is invalid." msgid "The MIME type of the resized image is invalid."
msgstr "" msgstr ""
#: lib/telegram.rb
msgid "The Telegram file is larger than the allowed 20 MB."
msgstr ""
#: app/assets/javascripts/app/views/getting_started/base.jst.eco #: app/assets/javascripts/app/views/getting_started/base.jst.eco
msgid "The URL to this installation of Zammad." msgid "The URL to this installation of Zammad."
msgstr "" msgstr ""
@ -8750,7 +8729,7 @@ msgid "The article does not belong to the specified ticket."
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/getting_started/auto_wizard_enabled.jst.eco #: app/assets/javascripts/app/views/getting_started/auto_wizard_enabled.jst.eco
msgid "The auto wizard is enabled, please use the prodvided auto wizard url." msgid "The auto wizard is enabled. Please use the provided auto wizard url."
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/channel/chat.jst.eco #: app/assets/javascripts/app/views/channel/chat.jst.eco
@ -8766,7 +8745,7 @@ msgid "The chat is turned off."
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/channel/chat.jst.eco #: app/assets/javascripts/app/views/channel/chat.jst.eco
msgid "The chat will show up once the connection to the server got established and if there is someone online to chat with." msgid "The chat will show up once the connection to the server got established and if there is an operator online to chat with."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_plugin/maintenance.coffee #: app/assets/javascripts/app/controllers/_plugin/maintenance.coffee
@ -8789,6 +8768,14 @@ msgstr ""
msgid "The divider between TicketHook and ticket number. E. g. ': '." msgid "The divider between TicketHook and ticket number. E. g. ': '."
msgstr "" msgstr ""
#: lib/telegram.rb
msgid "The file could not be retrieved from the bot."
msgstr ""
#: app/controllers/ticket_articles_controller.rb
msgid "The file does not belong to the specified article."
msgstr ""
#: app/assets/javascripts/app/views/generic/object_import/imported.jst.eco #: app/assets/javascripts/app/views/generic/object_import/imported.jst.eco
msgid "The following changes have been made:" msgid "The following changes have been made:"
msgstr "" msgstr ""
@ -8837,14 +8824,34 @@ msgstr ""
msgid "The page you were looking for does not exist." msgid "The page you were looking for does not exist."
msgstr "" msgstr ""
#: app/controllers/channels_twitter_controller.rb
msgid "The required parameter 'crc_token' is missing from the Twitter verify payload!"
msgstr ""
#: app/controllers/users_controller.rb #: app/controllers/users_controller.rb
msgid "The required parameter 'id' is missing." msgid "The required parameter 'id' is missing."
msgstr "" msgstr ""
#: app/controllers/users_controller.rb
msgid "The required parameter 'signup' is missing."
msgstr ""
#: app/controllers/users_controller.rb #: app/controllers/users_controller.rb
msgid "The resized image is invalid." msgid "The resized image is invalid."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee
msgid "The retried security process failed!"
msgstr ""
#: app/assets/javascripts/app/controllers/getting_started/admin.coffee
msgid "The sign-in failed. Please contact the Support team."
msgstr ""
#: app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee
msgid "The signature was successfully verified."
msgstr ""
#: app/assets/javascripts/app/views/generic/object_import/import_try.jst.eco #: app/assets/javascripts/app/views/generic/object_import/import_try.jst.eco
msgid "The test run was successful." msgid "The test run was successful."
msgstr "" msgstr ""
@ -8857,18 +8864,6 @@ msgstr ""
msgid "The text at the beginning of the subject in an email reply, e.g. RE, AW, or AS." msgid "The text at the beginning of the subject in an email reply, e.g. RE, AW, or AS."
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/facebook/app_config.jst.eco
#: app/assets/javascripts/app/views/google/app_config.jst.eco
#: app/assets/javascripts/app/views/microsoft365/app_config.jst.eco
#: app/assets/javascripts/app/views/telegram/bot_add.jst.eco
#: app/assets/javascripts/app/views/twitter/app_config.jst.eco
msgid "The tutorial on how to manage a %s is hosted on our online documentation %l."
msgstr ""
#: app/assets/javascripts/app/controllers/user.coffee
msgid "The user is locked, because of too many failed login attempts."
msgstr ""
#: app/assets/javascripts/app/controllers/customer_ticket_create.coffee #: app/assets/javascripts/app/controllers/customer_ticket_create.coffee
#: app/assets/javascripts/app/views/customer_not_ticket_exists.jst.eco #: app/assets/javascripts/app/views/customer_not_ticket_exists.jst.eco
msgid "The way to communicate with us is this thing called \"ticket\"." msgid "The way to communicate with us is this thing called \"ticket\"."
@ -8883,11 +8878,11 @@ msgid "There are more than 1000 tickets in the Zendesk system. Due to API rate l
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/channel/chat.jst.eco #: app/assets/javascripts/app/views/channel/chat.jst.eco
msgid "There are too many people in queue for the chat." msgid "There are several possible reasons why the chat won't show up:"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/channel/chat.jst.eco #: app/assets/javascripts/app/views/channel/chat.jst.eco
msgid "There can be several reasons for the chat to not show up:" msgid "There are too many people in the chat queue."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_manage/knowledge_base.coffee #: app/assets/javascripts/app/controllers/_manage/knowledge_base.coffee
@ -8903,7 +8898,7 @@ msgid "There is no match for your search."
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/data_privacy/preview.jst.eco #: app/assets/javascripts/app/views/data_privacy/preview.jst.eco
msgid "There is no rollback of this deletion possible. If you are absolutely sure to do this, then type in \"%s\" into the input." msgid "There is no rollback of this deletion possible. If you are sure that you wish to proceed, please type \"%s\" into the input."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_manage/security.coffee #: app/assets/javascripts/app/controllers/_manage/security.coffee
@ -8915,7 +8910,7 @@ msgid "This category is empty"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_channel/chat.coffee #: app/assets/javascripts/app/controllers/_channel/chat.coffee
msgid "This class gets added to the button on initialization and gets removed once the chat connection got established." msgid "This class gets added to the button on initialization and will be removed once the chat connection is established."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_ui_element/holiday_selector.coffee #: app/assets/javascripts/app/controllers/_ui_element/holiday_selector.coffee
@ -8926,18 +8921,6 @@ msgstr ""
msgid "This is Zammad version %s" msgid "This is Zammad version %s"
msgstr "" msgstr ""
#: lib/email_helper/probe.rb
msgid "This is a Test Email"
msgstr ""
#: lib/email_helper/probe.rb
msgid "This is a Test Email of Zammad to check if sending and receiving is working correctly.\\n\\nYou can ignore or delete this email."
msgstr ""
#: lib/email_helper/probe.rb
msgid "This is a Test Email of Zammad to verify if Zammad can send emails to an external address.\\n\\nIf you see this email, you can ignore and delete it."
msgstr ""
#: app/models/channel/email_parser.rb #: app/models/channel/email_parser.rb
msgid "This message cannot be displayed because it contains over 5,000 links. Download the raw message below and open it via an Email client if you still wish to view it." msgid "This message cannot be displayed because it contains over 5,000 links. Download the raw message below and open it via an Email client if you still wish to view it."
msgstr "" msgstr ""
@ -9000,6 +8983,10 @@ msgstr ""
msgid "This ticket was merged into" msgid "This ticket was merged into"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/user.coffee
msgid "This user is currently blocked because of too many failed login attempts."
msgstr ""
#: app/assets/javascripts/app/controllers/_ui_element/basedate.coffee #: app/assets/javascripts/app/controllers/_ui_element/basedate.coffee
msgid "Thu" msgid "Thu"
msgstr "" msgstr ""
@ -9560,10 +9547,6 @@ msgstr ""
msgid "Unable to get key from URL!" msgid "Unable to get key from URL!"
msgstr "" msgstr ""
#: lib/telegram.rb
msgid "Unable to get you file from bot."
msgstr ""
#: app/assets/javascripts/app/controllers/_integration/smime.coffee #: app/assets/javascripts/app/controllers/_integration/smime.coffee
#: app/assets/javascripts/app/controllers/widget/import.coffee #: app/assets/javascripts/app/controllers/widget/import.coffee
#: app/assets/javascripts/app/controllers/widget/import_try_result.coffee #: app/assets/javascripts/app/controllers/widget/import_try_result.coffee
@ -10082,10 +10065,6 @@ msgstr ""
msgid "Verify sign failed!" msgid "Verify sign failed!"
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee
msgid "Verify sign success!"
msgstr ""
#: app/assets/javascripts/app/views/channel/email_account_wizard.jst.eco #: app/assets/javascripts/app/views/channel/email_account_wizard.jst.eco
#: app/assets/javascripts/app/views/channel/email_notification_wizard.jst.eco #: app/assets/javascripts/app/views/channel/email_notification_wizard.jst.eco
#: app/assets/javascripts/app/views/getting_started/email.jst.eco #: app/assets/javascripts/app/views/getting_started/email.jst.eco
@ -10515,6 +10494,14 @@ msgstr ""
msgid "You can define different signatures for each group. So you can have different email signatures for different departments.\n\nOnce you have created a signature here, you need also to edit the groups where you want to use it." msgid "You can define different signatures for each group. So you can have different email signatures for different departments.\n\nOnce you have created a signature here, you need also to edit the groups where you want to use it."
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/facebook/app_config.jst.eco
#: app/assets/javascripts/app/views/google/app_config.jst.eco
#: app/assets/javascripts/app/views/microsoft365/app_config.jst.eco
#: app/assets/javascripts/app/views/telegram/bot_add.jst.eco
#: app/assets/javascripts/app/views/twitter/app_config.jst.eco
msgid "You can find a tutorial on how to manage a %s in our online documentation %l."
msgstr ""
#: app/assets/javascripts/app/views/profile/token_access.jst.eco #: app/assets/javascripts/app/views/profile/token_access.jst.eco
msgid "You can generate a personal access token for each application you use that needs access to the Zammad API." msgid "You can generate a personal access token for each application you use that needs access to the Zammad API."
msgstr "" msgstr ""
@ -10657,7 +10644,7 @@ msgid "Your Zammad as the following email address."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_plugin/user_signup_check.coffee #: app/assets/javascripts/app/controllers/_plugin/user_signup_check.coffee
msgid "Your account has not been verified. Please click the link in the verification email." msgid "Your account has not been verified. Please click on the link in the verification email."
msgstr "" msgstr ""
#: app/assets/javascripts/app/controllers/_integration/clearbit.coffee #: app/assets/javascripts/app/controllers/_integration/clearbit.coffee
@ -11214,7 +11201,6 @@ msgstr ""
msgid "message" msgid "message"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/getting_started/intro.jst.eco
#: app/assets/javascripts/app/views/layout_ref/setup.jst.eco #: app/assets/javascripts/app/views/layout_ref/setup.jst.eco
msgid "migrate from another system" msgid "migrate from another system"
msgstr "" msgstr ""

View file

@ -299,21 +299,24 @@ returns on fail
end end
# prepare test email # prepare test email
# rubocop:disable Zammad/DetectTranslatableString
mail = if subject mail = if subject
{ {
from: email, from: email,
to: email, to: email,
subject: "Zammad Getting started Test Email #{subject}", subject: "Zammad Getting started Test Email #{subject}",
body: __("This is a Test Email of Zammad to check if sending and receiving is working correctly.\n\nYou can ignore or delete this email."), body: "This is a test email from Zammad to check if email sending and receiving work correctly.\n\nYou can ignore or delete this email.",
} }
else else
{ {
from: email, from: email,
to: 'emailtrytest@znuny.com', to: 'emailtrytest@znuny.com',
subject: __('This is a Test Email'), subject: 'This is a Test Email',
body: __("This is a Test Email of Zammad to verify if Zammad can send emails to an external address.\n\nIf you see this email, you can ignore and delete it."), body: "This is a test email from Zammad to verify if Zammad can send emails to an external address.\n\nIf you see this email, you can ignore or delete it.",
} }
end end
# rubocop:enable Zammad/DetectTranslatableString
if subject.present? if subject.present?
mail['X-Zammad-Test-Message'] = subject mail['X-Zammad-Test-Message'] = subject
end end

View file

@ -770,7 +770,7 @@ returns
# telegram bot files are limited up to 20MB # telegram bot files are limited up to 20MB
# https://core.telegram.org/bots/api#getfile # https://core.telegram.org/bots/api#getfile
if !validate_file_size(file) if !validate_file_size(file)
message_text = __('Telegram file is to big. (Maximum 20mb)') message_text = __('The Telegram file is larger than the allowed 20 MB.')
message(params[:message][:chat][:id], "Sorry, we could not handle your message. #{message_text}", params[:message][:from][:language_code]) message(params[:message][:chat][:id], "Sorry, we could not handle your message. #{message_text}", params[:message][:from][:language_code])
raise Exceptions::UnprocessableEntity, message_text raise Exceptions::UnprocessableEntity, message_text
end end
@ -778,7 +778,7 @@ returns
result = download_file(file[:file_id]) result = download_file(file[:file_id])
if !validate_download(result) if !validate_download(result)
message_text = __('Unable to get you file from bot.') message_text = __('The file could not be retrieved from the bot.')
message(params[:message][:chat][:id], "Sorry, we could not handle your message. #{message_text}", params[:message][:from][:language_code]) message(params[:message][:chat][:id], "Sorry, we could not handle your message. #{message_text}", params[:message][:from][:language_code])
raise Exceptions::UnprocessableEntity, message_text raise Exceptions::UnprocessableEntity, message_text
end end

View file

@ -18,10 +18,10 @@ RSpec.describe 'System setup process', type: :system, set_up: false, authenticat
visit '/' visit '/'
expect(page).to have_css('.setup.wizard', text: 'Setup new System') expect(page).to have_css('.setup.wizard', text: 'Set up a new system')
# choose setup (over migration) # choose setup (over migration)
click_on('Setup new System') click_on('Set up a new system')
# admin user form # admin user form
expect(page).to have_css('.js-admin h2', text: 'Administrator Account') expect(page).to have_css('.js-admin h2', text: 'Administrator Account')
@ -114,7 +114,7 @@ RSpec.describe 'System setup process', type: :system, set_up: false, authenticat
it 'Shows an error message if too weak password is filled in' do it 'Shows an error message if too weak password is filled in' do
visit '/' visit '/'
click_on('Setup new System') click_on('Set up a new system')
within('.js-admin') do within('.js-admin') do
fill_in 'firstname', with: 'Test Admin' fill_in 'firstname', with: 'Test Admin'

View file

@ -16,7 +16,7 @@ class AaaGettingStartedTest < TestCase
location(url: browser_url) location(url: browser_url)
watch_for( watch_for(
css: '.setup.wizard', css: '.setup.wizard',
value: 'setup new system', value: 'Set up a new system',
) )
click(css: '.js-start .btn--primary') click(css: '.js-start .btn--primary')
watch_for( watch_for(