Maintenance: Improved translatable source strings.

This commit is contained in:
Martin Gruner 2022-01-19 14:59:52 +01:00
parent 104e2b415e
commit db0eb45fe1
45 changed files with 212 additions and 227 deletions

View file

@ -528,7 +528,7 @@ class ChannelEmailAccountWizard extends App.ControllerWizardModal
@showAlert('js-intro', __('Account already exists!'))
else
@showSlide('js-inbound')
@showAlert('js-inbound', __('Unable to detect your server settings. Manual configuration needed.'))
@showAlert('js-inbound', __('The server settings could not be automatically detected. Please configure them manually.'))
@$('.js-inbound [name="options::user"]').val(@account['meta']['email'])
@$('.js-inbound [name="options::password"]').val(@account['meta']['password'])
@$('.js-inbound [name="options::email"]').val(@account['meta']['email'])
@ -749,7 +749,7 @@ class ChannelEmailAccountWizard extends App.ControllerWizardModal
@delay(
=>
@showSlide('js-intro')
@showAlert('js-intro', __('Unable to verify sending and receiving. Please check your settings.'))
@showAlert('js-intro', __('Email sending and receiving could not be verified. Please check your settings.'))
2300
)
@ -759,7 +759,7 @@ class ChannelEmailAccountWizard extends App.ControllerWizardModal
@verify(@account, count + 1)
error: =>
@showSlide('js-intro')
@showAlert('js-intro', __('Unable to verify sending and receiving. Please check your settings.'))
@showAlert('js-intro', __('Email sending and receiving could not be verified. Please check your settings.'))
)
hide: (e) =>

View file

@ -182,7 +182,7 @@ class AppConfig extends App.ControllerModal
)
return
@formEnable(e)
@el.find('.alert').removeClass('hidden').text(data.error || __('Unable to verify App.'))
@el.find('.alert').removeClass('hidden').text(data.error || __('App could not be verified.'))
)
class AccountEdit extends App.ControllerModal

View file

@ -425,7 +425,7 @@ class AppConfig extends App.ControllerModal
)
return
@formEnable(e)
@el.find('.alert').removeClass('hidden').text(data.error || __('Unable to verify App.'))
@el.find('.alert').removeClass('hidden').text(data.error || __('App could not be verified.'))
)
App.Config.set('google', { prio: 5000, name: __('Google'), parent: '#channels', target: '#channels/google', controller: App.ChannelGoogle, permission: ['admin.channel_google'] }, 'NavBarAdmin')

View file

@ -416,7 +416,7 @@ class AppConfig extends App.ControllerModal
)
return
@formEnable(e)
@el.find('.alert').removeClass('hidden').text(data.error || __('Unable to verify App.'))
@el.find('.alert').removeClass('hidden').text(data.error || __('App could not be verified.'))
)
App.Config.set('microsoft365', { prio: 5000, name: __('Microsoft 365'), parent: '#channels', target: '#channels/microsoft365', controller: App.ChannelMicrosoft365, permission: ['admin.channel_microsoft365'] }, 'NavBarAdmin')

View file

@ -435,7 +435,7 @@ class TestModal extends App.ControllerModal
data = JSON.parse(xhr.responseText)
@formEnable(@el)
@el.find('.js-danger')
.text(@T(data.error || __('Unable to perform test')))
.text(@T(data.error || __('SMS test failed.')))
.removeClass('hide')
)

View file

@ -149,7 +149,7 @@ class BotAdd extends App.ControllerModal
error: (xhr) =>
data = JSON.parse(xhr.responseText)
@formEnable(e)
error_message = App.i18n.translateContent(data.error || __('Unable to save Bot.'))
error_message = App.i18n.translateContent(data.error || __('The Telegram bot could not be saved.'))
@el.find('.alert').removeClass('hidden').text(error_message)
)

View file

@ -189,7 +189,7 @@ class AppConfig extends App.ControllerModal
)
return
@formEnable(e)
@el.find('.alert').removeClass('hidden').text(data.error || __('Unable to verify App.'))
@el.find('.alert').removeClass('hidden').text(data.error || __('App could not be verified.'))
)
class AccountEdit extends App.ControllerModal

View file

@ -282,7 +282,7 @@ class ConnectionWizard extends App.ControllerWizardModal
if !_.isEmpty(detailsRaw)
details = JSON.parse(detailsRaw)
@showSlide('js-discover')
@showAlert('js-discover', details.error || __('Unable to perform backend.'))
@showAlert('js-discover', details.error || __('Server operation failed.'))
)
folders: (e) =>
@ -323,7 +323,7 @@ class ConnectionWizard extends App.ControllerWizardModal
if !_.isEmpty(detailsRaw)
details = JSON.parse(detailsRaw)
@showSlide('js-bind')
@showAlert('js-bind', details.error || __('Unable to perform backend.'))
@showAlert('js-bind', details.error || __('Server operation failed.'))
)
foldersShow: (alreadyShown) =>
@ -429,7 +429,7 @@ class ConnectionWizard extends App.ControllerWizardModal
if !_.isEmpty(detailsRaw)
details = JSON.parse(detailsRaw)
@showSlide('js-folders')
@showAlert('js-folders', details.error || __('Unable to perform backend.'))
@showAlert('js-folders', details.error || __('Server operation failed.'))
)
mappingShow: (alreadyShown) =>

View file

@ -60,7 +60,7 @@ class Form extends App.Controller
details = data.responseJSON || {}
App.Event.trigger 'notify', {
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || __('Unable to save!'))
msg: App.i18n.translateContent(details.error_human || details.error || __('Saving failed.'))
}
)

View file

@ -60,7 +60,7 @@ class Form extends App.Controller
details = data.responseJSON || {}
App.Event.trigger 'notify', {
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || __('Unable to save!'))
msg: App.i18n.translateContent(details.error_human || details.error || __('Saving failed.'))
}
)

View file

@ -73,7 +73,7 @@ class Form extends App.Controller
details = data.responseJSON || {}
@notify(
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || __('Unable to save!'))
msg: App.i18n.translateContent(details.error_human || details.error || __('Saving failed.'))
)
)

View file

@ -315,7 +315,7 @@ class ConnectionWizard extends App.ControllerWizardModal
if !_.isEmpty(detailsRaw)
details = JSON.parse(detailsRaw)
@showSlide('js-discover')
@showAlert('js-discover', details.error || __('Unable to perform backend.'))
@showAlert('js-discover', details.error || __('Server operation failed.'))
)
@ -384,7 +384,7 @@ class ConnectionWizard extends App.ControllerWizardModal
if !_.isEmpty(detailsRaw)
details = JSON.parse(detailsRaw)
@showSlide('js-bind')
@showAlert('js-bind', details.error || __('Unable to perform backend.'))
@showAlert('js-bind', details.error || __('Server operation failed.'))
)
mappingShow: (alreadyShown) =>

View file

@ -106,7 +106,7 @@ class Certificate extends App.ControllerModal
details = data.responseJSON || {}
@notify
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || __('Unable to import!'))
msg: App.i18n.translateContent(details.error_human || details.error || __('The import failed.'))
timeout: 6000
)
@ -149,7 +149,7 @@ class PrivateKey extends App.ControllerModal
details = data.responseJSON || {}
@notify
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || __('Unable to import!'))
msg: App.i18n.translateContent(details.error_human || details.error || __('The import failed.'))
timeout: 6000
)
@ -178,7 +178,7 @@ class List extends App.Controller
details = data.responseJSON || {}
@notify(
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || __('Unable to load list of certificates!'))
msg: App.i18n.translateContent(details.error_human || details.error || __('Loading failed.'))
)
# do something
@ -210,7 +210,7 @@ class List extends App.Controller
details = data.responseJSON || {}
@notify(
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || __('Unable to save!'))
msg: App.i18n.translateContent(details.error_human || details.error || __('Server operation failed.'))
)
)

View file

@ -74,7 +74,7 @@ class ProfilePassword extends App.ControllerSubContent
else
@notify
type: 'error'
msg: __('Unable to set password. Please contact your administrator.')
msg: __('The password could not be set. Please contact your administrator.')
removeAll: true
@formEnable( @$('form') )

View file

@ -113,7 +113,7 @@ class App.TicketMerge extends App.ControllerModal
details = data.responseJSON || {}
@notify
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || __('Unable to merge!'))
msg: App.i18n.translateContent(details.error_human || details.error || __('The tickets could not be merged.'))
timeout: 6000
@formEnable(e)
)

View file

@ -50,7 +50,7 @@ class Fail extends App.ControllerAppContent
render: =>
@renderScreenError(
detail: __('Unable to verify email. Please contact your administrator.')
detail: __('Email could not be verified. Please contact your administrator.')
)
App.Config.set('email_verify/:token', EmailVerify, 'Routes')

View file

@ -101,7 +101,7 @@ class GettingStartedAdmin extends App.ControllerWizardFullScreen
fail: (settings, details) =>
@formEnable(e)
@form.showAlert(details.error_human || details.error || __('Unable to create user!'))
@form.showAlert(details.error_human || details.error || __('User could not be created.'))
)
relogin: (data, status, xhr) =>

View file

@ -178,7 +178,7 @@ class GettingStartedChannelEmail extends App.ControllerWizardFullScreen
@showAlert('js-intro', __('Account already exists!') )
else
@showSlide('js-inbound')
@showAlert('js-inbound', __('Unable to detect your server settings. Manual configuration needed.') )
@showAlert('js-inbound', __('The server settings could not be automatically detected. Please configure them manually.') )
@$('.js-inbound [name="options::user"]').val( @account['meta']['email'] )
@$('.js-inbound [name="options::password"]').val( @account['meta']['password'] )
@ -354,7 +354,7 @@ class GettingStartedChannelEmail extends App.ControllerWizardFullScreen
@delay(
=>
@showSlide('js-intro')
@showAlert('js-intro', __('Unable to verify sending and receiving. Please check your settings.') )
@showAlert('js-intro', __('Email sending and receiving could not be verified. Please check your settings.') )
2300
)
@ -364,7 +364,7 @@ class GettingStartedChannelEmail extends App.ControllerWizardFullScreen
@verify( @account, count + 1 )
fail: =>
@showSlide('js-intro')
@showAlert('js-intro', __('Unable to verify sending and receiving. Please check your settings.'))
@showAlert('js-intro', __('Email sending and receiving could not be verified. Please check your settings.'))
)
App.Config.set('getting_started/channel/email', GettingStartedChannelEmail, 'Routes')

View file

@ -39,7 +39,7 @@ class App.IdoitObjectSelector extends App.ControllerModal
return if status is 'abort'
# show error message
@contentInline = __('Unable to load content')
@contentInline = __('Content could not be loaded.')
@render()
)
''
@ -71,7 +71,7 @@ class App.IdoitObjectSelector extends App.ControllerModal
return if status is 'abort'
# show error message
@contentInline = __('Unable to load content')
@contentInline = __('Content could not be loaded.')
@render()
)

View file

@ -64,7 +64,7 @@ class App.KnowledgeBaseDeleteAction
deleteFailure: (modal, xhr) ->
modal.formEnable(modal.el)
modal.showAlert xhr.responseJSON?.error || __('Unable to delete.')
modal.showAlert xhr.responseJSON?.error || __('Deletion failed.')
# simulate modal's close function
close: ->

View file

@ -100,7 +100,7 @@ class App.KnowledgeBaseSearchFieldWidget extends App.Controller
@searchField.removeClass('loading')
text = xhr.responseJSON?.error_human || xhr.responseJSON?.errorr || __('Unable to load')
text = xhr.responseJSON?.error_human || xhr.responseJSON?.errorr || __('Loading failed.')
@renderError(text)
onSuccess: (data, originalQuery) =>

View file

@ -133,7 +133,7 @@ class PasswordResetVerify extends App.ControllerFullPage
else
@notify(
type: 'error'
msg: __('Unable to set password. Please contact your administrator.')
msg: __('The password could not be set. Please contact your administrator.')
removeAll: true
)
@formEnable(@$('form'))

View file

@ -74,7 +74,7 @@ class Signup extends App.ControllerFullPage
))
fail: (settings, details) =>
@formEnable(e)
@form.showAlert(details.error_human || details.error || __('Unable to create user!'))
@form.showAlert(details.error_human || details.error || __('User could not be created.'))
)
resend: (e) =>

View file

@ -1022,7 +1022,7 @@ class App.TicketZoom extends App.Controller
error = settings.responseJSON.error
App.Event.trigger 'notify', {
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || error || __('Unable to update!'))
msg: App.i18n.translateContent(details.error_human || details.error || error || __('Saving failed.'))
timeout: 2000
}
@autosaveStart()

View file

@ -57,7 +57,7 @@ class Delete
ui.log 'errors', details
ui.notify(
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || __('Unable to delete article!'))
msg: App.i18n.translateContent(details.error_human || details.error || __('Article could not be deleted.'))
timeout: 6000
)
)

View file

@ -70,7 +70,7 @@ class App.SidebarGitIssue extends App.Controller
success: =>
ui.close()
@renderIssues()
error: (message = __('Unable to save issue')) =>
error: (message = __('The issue could not be saved.')) =>
ui.showAlert(App.i18n.translatePlain(message))
form = ui.el.find('.js-result')
@formEnable(form)
@ -78,7 +78,7 @@ class App.SidebarGitIssue extends App.Controller
else
ui.close()
@renderIssues()
error: (message = __('Unable to load issues')) =>
error: (message = __('Loading failed.')) =>
ui.showAlert(App.i18n.translatePlain(message))
form = ui.el.find('.js-result')
@formEnable(form)
@ -126,7 +126,7 @@ class App.SidebarGitIssue extends App.Controller
@issueLinkData = result
@renderIssues()
error: =>
@showError(App.i18n.translateInline('Unable to load issues'))
@showError(App.i18n.translateInline('Loading failed.'))
)
getIssues: (params) ->
@ -141,7 +141,7 @@ class App.SidebarGitIssue extends App.Controller
# some issues redirect to pull requests like
# https://github.com/zammad/zammad/issues/1574
# in this case throw error
return params.error(__('Unable to load issues')) if _.isEmpty(data.response)
return params.error(__('Loading failed.')) if _.isEmpty(data.response)
params.success(data.response)
else
@ -176,7 +176,7 @@ class App.SidebarGitIssue extends App.Controller
links: @issueLinks
success: =>
@renderIssues()
error: (message = __('Unable to save issue')) =>
error: (message = __('The issue could not be saved.')) =>
@showError(App.i18n.translateInline(message))
)
else

View file

@ -67,7 +67,7 @@ class SidebarIdoit extends App.Controller
if data.response
@showList(data.response.result)
return
@showError(__('Unable to load data…'))
@showError(__('Loading failed.'))
error: (xhr, status, error) =>
@ -75,7 +75,7 @@ class SidebarIdoit extends App.Controller
return if status is 'abort'
# show error message
@showError(__('Unable to load data…'))
@showError(__('Loading failed.'))
)
showList: (objects) =>

View file

@ -61,7 +61,7 @@ class App.Import extends App.ControllerModal
details = data.responseJSON || {}
@notify
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || __('Unable to import!'))
msg: App.i18n.translateContent(details.error_human || details.error || __('The import failed.'))
timeout: 6000
@formEnable(e)
)

View file

@ -59,7 +59,7 @@ class App.ImportTryResult extends App.ControllerModal
details = data.responseJSON || {}
@notify
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || __('Unable to import!'))
msg: App.i18n.translateContent(details.error_human || details.error || __('The import failed.'))
timeout: 6000
@formEnable(e)
)

View file

@ -31,6 +31,6 @@ class App.WidgetPayloadExample extends App.ControllerModal
details = data.responseJSON || {}
@notify
type: 'error'
msg: App.i18n.translateContent(details.error_human || details.error || __('Unable to load example payload!'))
msg: App.i18n.translateContent(details.error_human || details.error || __('Loading failed.'))
timeout: 6000
)

View file

@ -48,7 +48,7 @@ class App.KnowledgeBaseAnswerTranslation extends App.Model
App.Event.trigger 'notify', {
type: 'error'
msg: xhr.responseJSON?.error || __('Unable to load')
msg: xhr.responseJSON?.error || __('Loading failed.')
}
)

View file

@ -85,7 +85,7 @@ class App.KnowledgeBaseForm extends App.Controller
@scrollTop()
error: (xhr) =>
@formEnable(@el)
formController.showAlert(xhr.responseJSON?.error || __('Unable to save changes'))
formController.showAlert(xhr.responseJSON?.error || __('Changes could not be saved.'))
@scrollTop()
)

View file

@ -128,7 +128,7 @@ curl http://localhost/api/v1/getting_started -v -u #{login}:#{password}
if params[:logo] && params[:logo] =~ %r{^data:image}i
file = StaticAssets.data_url_attributes(params[:logo])
if !file[:content] || !file[:mime_type]
messages[:logo] = __('Unable to process image upload.')
messages[:logo] = __('The uploaded image could not be processed.')
end
end

View file

@ -60,7 +60,7 @@ class ImportOtrsController < ApplicationController
if !key_parts[1]
render json: {
result: 'invalid',
message_human: __('Unable to get key from URL!')
message_human: __('Import API key could not be extracted from URL.')
}
return
end

View file

@ -56,7 +56,7 @@ class SettingsController < ApplicationController
if !file[:content] || !file[:mime_type]
render json: {
result: 'invalid',
message: __('Unable to process image upload.'),
message: __('The uploaded image could not be processed.'),
}
return
end

View file

@ -107,6 +107,6 @@ class CommunicateSmsJob < ApplicationJob
end
def log_error_prefix
'Unable to send sms message' # rubocop:disable Zammad/DetectTranslatableString
'Unable to send SMS message' # rubocop:disable Zammad/DetectTranslatableString
end
end

View file

@ -160,7 +160,7 @@ returns
if !file
raise "No such file #{store_file_id}!"
end
raise __('Unable to generate preview') if options[:silence] != true && preferences[:content_preview] != true
raise __('Content preview could not be generated.') if options[:silence] != true && preferences[:content_preview] != true
image_resize(file.content, 200)
end
@ -183,7 +183,7 @@ returns
if !file
raise "No such file #{store_file_id}!"
end
raise __('Unable to generate inline') if options[:silence] != true && preferences[:content_inline] != true
raise __('Inline content could not be generated.') if options[:silence] != true && preferences[:content_inline] != true
image_resize(file.content, 1800)
end

View file

@ -999,7 +999,7 @@ perform changes on ticket
if value['pre_condition'].start_with?('not_set')
value['value'] = 1
elsif value['pre_condition'].start_with?('current_user.')
raise __('Unable to use current_user, got no current_user_id for ticket.perform_changes') if !current_user_id
raise __("The required parameter 'current_user_id' is missing.") if !current_user_id
value['value'] = current_user_id
end
@ -1021,7 +1021,7 @@ perform changes on ticket
objects = build_notification_template_objects(article)
perform_article.each do |key, value|
raise __('Unable to create article, we only support article.note') if key != 'article.note'
raise __("Article could not be created. An unsupported key other than 'article.note' was provided.") if key != 'article.note'
add_trigger_note(id, value, objects, perform_origin)
end

View file

@ -780,6 +780,13 @@ msgstr ""
msgid "App Version"
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/facebook.coffee
#: app/assets/javascripts/app/controllers/_channel/google.coffee
#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee
#: app/assets/javascripts/app/controllers/_channel/twitter.coffee
msgid "App could not be verified."
msgstr ""
#: db/seeds/settings.rb
msgid "App credentials for Facebook."
msgstr ""
@ -851,6 +858,14 @@ msgstr ""
msgid "Article Count"
msgstr ""
#: app/models/ticket.rb
msgid "Article could not be created. An unsupported key other than 'article.note' was provided."
msgstr ""
#: app/assets/javascripts/app/controllers/ticket_zoom/article_action/delete.coffee
msgid "Article could not be deleted."
msgstr ""
#: app/assets/javascripts/app/models/ticket.coffee
msgid "Article#"
msgstr ""
@ -1413,6 +1428,10 @@ msgstr ""
msgid "Cc"
msgstr ""
#: lib/secure_mailing/smime/incoming.rb
msgid "Certificate for verification could not be found."
msgstr ""
#: app/assets/javascripts/app/views/integration/smime.jst.eco
msgid "Certificates & Private Keys"
msgstr ""
@ -1463,6 +1482,10 @@ msgstr ""
msgid "Changes"
msgstr ""
#: app/assets/javascripts/app/views/knowledge_base/base_form.coffee
msgid "Changes could not be saved."
msgstr ""
#: app/assets/javascripts/app/views/object_manager/index.jst.eco
msgid "Changes were made that require a database update."
msgstr ""
@ -1930,6 +1953,14 @@ msgstr ""
msgid "Content"
msgstr ""
#: app/assets/javascripts/app/controllers/idoit_object_selector.coffee
msgid "Content could not be loaded."
msgstr ""
#: app/models/store.rb
msgid "Content preview could not be generated."
msgstr ""
#: app/assets/javascripts/app/controllers/knowledge_base/content_controller.coffee
msgid "Content was changed since loading"
msgstr ""
@ -3069,6 +3100,10 @@ msgstr ""
msgid "Deletion Task"
msgstr ""
#: app/assets/javascripts/app/controllers/knowledge_base/delete_action.coffee
msgid "Deletion failed."
msgstr ""
#: app/assets/javascripts/app/views/ticket_zoom/article_view_delivery_failed.jst.eco
msgid "Delivery failed"
msgstr ""
@ -3431,6 +3466,15 @@ msgstr ""
msgid "Email Outbound"
msgstr ""
#: app/assets/javascripts/app/controllers/email_verify.coffee
msgid "Email could not be verified. Please contact your administrator."
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/email.coffee
#: app/assets/javascripts/app/controllers/getting_started/channel_email.coffee
msgid "Email sending and receiving could not be verified. Please check your settings."
msgstr ""
#: app/assets/javascripts/app/controllers/user_profile.coffee
msgid "Email sent to \"%s\". Please let the user verify his email address."
msgstr ""
@ -4755,6 +4799,10 @@ msgstr ""
msgid "Import %s"
msgstr ""
#: app/controllers/import_otrs_controller.rb
msgid "Import API key could not be extracted from URL."
msgstr ""
#: db/seeds/settings.rb
msgid "Import Backend"
msgstr ""
@ -4933,6 +4981,10 @@ msgstr ""
msgid "Information"
msgstr ""
#: app/models/store.rb
msgid "Inline content could not be generated."
msgstr ""
#: app/assets/javascripts/app/views/translation/index.jst.eco
msgid "Inline translation"
msgstr ""
@ -5474,6 +5526,15 @@ msgstr ""
msgid "Load"
msgstr ""
#: app/assets/javascripts/app/controllers/_integration/smime.coffee
#: app/assets/javascripts/app/controllers/knowledge_base/search_field_widget.coffee
#: app/assets/javascripts/app/controllers/ticket_zoom/sidebar_git_issue.coffee
#: app/assets/javascripts/app/controllers/ticket_zoom/sidebar_idoit.coffee
#: app/assets/javascripts/app/controllers/widget/payload_example.coffee
#: app/assets/javascripts/app/models/knowledge_base_answer_translation.coffee
msgid "Loading failed."
msgstr ""
#: app/assets/javascripts/app/lib/app_post/task_manager.coffee
#: app/assets/javascripts/app/lib/base/jquery.textmodule.js
#: app/assets/javascripts/app/views/generic/page_loading.jst.eco
@ -7229,6 +7290,10 @@ msgstr ""
msgid "Priority Icons in Overviews"
msgstr ""
#: lib/secure_mailing/smime/incoming.rb
msgid "Private key for decryption could not be found."
msgstr ""
#: db/seeds/object_manager_attributes.rb
msgid "Problem"
msgstr ""
@ -7699,6 +7764,10 @@ msgstr ""
msgid "SMS successfully sent"
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/sms.coffee
msgid "SMS test failed."
msgstr ""
#: lib/email_helper.rb
msgid "SMTP - configure your own outgoing SMTP settings"
msgstr ""
@ -7767,6 +7836,13 @@ msgstr ""
msgid "Saved conditions"
msgstr ""
#: app/assets/javascripts/app/controllers/_integration/github.coffee
#: app/assets/javascripts/app/controllers/_integration/gitlab.coffee
#: app/assets/javascripts/app/controllers/_integration/idoit.coffee
#: app/assets/javascripts/app/controllers/ticket_zoom.coffee
msgid "Saving failed."
msgstr ""
#: app/assets/javascripts/app/controllers/knowledge_base/content_can_be_published_form.coffee
msgid "Schedule for"
msgstr ""
@ -8002,6 +8078,12 @@ msgstr ""
msgid "Sequencer log level"
msgstr ""
#: app/assets/javascripts/app/controllers/_integration/exchange.coffee
#: app/assets/javascripts/app/controllers/_integration/ldap.coffee
#: app/assets/javascripts/app/controllers/_integration/smime.coffee
msgid "Server operation failed."
msgstr ""
#: app/assets/javascripts/app/views/integration/index.jst.eco
msgid "Service"
msgstr ""
@ -8730,6 +8812,10 @@ msgstr ""
msgid "The MIME type of the resized image is invalid."
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/telegram.coffee
msgid "The Telegram bot could not be saved."
msgstr ""
#: lib/telegram.rb
msgid "The Telegram file is larger than the allowed 20 MB."
msgstr ""
@ -8837,6 +8923,12 @@ msgstr ""
msgid "The identifier for a ticket, e.g. Ticket#, Call#, MyTicket#. The default is Ticket#."
msgstr ""
#: app/assets/javascripts/app/controllers/_integration/smime.coffee
#: app/assets/javascripts/app/controllers/widget/import.coffee
#: app/assets/javascripts/app/controllers/widget/import_try_result.coffee
msgid "The import failed."
msgstr ""
#: app/assets/javascripts/app/views/generic/object_import/imported.jst.eco
msgid "The import was successful."
msgstr ""
@ -8849,6 +8941,10 @@ msgstr ""
msgid "The installed attachment plugin could not handle the request payload. Ensure that the correct attachment plugin is installed (ingest-attachment)."
msgstr ""
#: app/assets/javascripts/app/controllers/ticket_zoom/sidebar_git_issue.coffee
msgid "The issue could not be saved."
msgstr ""
#: app/assets/javascripts/app/controllers/_application_controller/generic_new.coffee
#: app/assets/javascripts/app/controllers/_channel/_email_signature.coffee
#: app/assets/javascripts/app/controllers/agent_ticket_create.coffee
@ -8882,6 +8978,11 @@ msgstr ""
msgid "The page you were looking for does not exist."
msgstr ""
#: app/assets/javascripts/app/controllers/_profile/password.coffee
#: app/assets/javascripts/app/controllers/password_reset_verify.coffee
msgid "The password could not be set. Please contact your administrator."
msgstr ""
#: app/assets/javascripts/app/views/knowledge_base/delete.coffee
msgid "The request could not be processed."
msgstr ""
@ -8898,6 +8999,10 @@ msgstr ""
msgid "The required parameter 'crc_token' is missing from the Twitter verify payload!"
msgstr ""
#: app/models/ticket.rb
msgid "The required parameter 'current_user_id' is missing."
msgstr ""
#: app/controllers/users_controller.rb
msgid "The required parameter 'id' is missing."
msgstr ""
@ -8914,6 +9019,11 @@ msgstr ""
msgid "The retried security process failed!"
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/email.coffee
#: app/assets/javascripts/app/controllers/getting_started/channel_email.coffee
msgid "The server settings could not be automatically detected. Please configure them manually."
msgstr ""
#: app/assets/javascripts/app/controllers/getting_started/admin.coffee
msgid "The sign-in failed. Please contact the Support team."
msgstr ""
@ -8934,6 +9044,19 @@ msgstr ""
msgid "The text at the beginning of the subject in an email reply, e.g. RE, AW, or AS."
msgstr ""
#: app/assets/javascripts/app/controllers/agent_ticket_merge.coffee
msgid "The tickets could not be merged."
msgstr ""
#: app/controllers/getting_started_controller.rb
#: app/controllers/settings_controller.rb
msgid "The uploaded image could not be processed."
msgstr ""
#: lib/external_credential/microsoft365.rb
msgid "The user's 'preferred_username' could not be extracted from 'id_token'."
msgstr ""
#: app/assets/javascripts/app/controllers/customer_ticket_create.coffee
#: app/assets/javascripts/app/views/customer_not_ticket_exists.jst.eco
msgid "The way to communicate with us is this thing called \"ticket\"."
@ -9538,153 +9661,6 @@ msgstr ""
msgid "URL (AJAX endpoint)"
msgstr ""
#: app/assets/javascripts/app/views/knowledge_base/base_form.coffee
msgid "Unable to save changes"
msgstr ""
#: app/models/ticket.rb
msgid "Unable to create article, we only support article.note"
msgstr ""
#: app/assets/javascripts/app/controllers/getting_started/admin.coffee
#: app/assets/javascripts/app/controllers/signup.coffee
msgid "Unable to create user!"
msgstr ""
#: app/assets/javascripts/app/controllers/ticket_zoom/article_action/delete.coffee
msgid "Unable to delete article!"
msgstr ""
#: app/assets/javascripts/app/controllers/knowledge_base/delete_action.coffee
msgid "Unable to delete."
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/email.coffee
#: app/assets/javascripts/app/controllers/getting_started/channel_email.coffee
msgid "Unable to detect your server settings. Manual configuration needed."
msgstr ""
#: lib/external_credential/google.rb
msgid "Unable to extract user email from id_token!"
msgstr ""
#: lib/external_credential/microsoft365.rb
msgid "Unable to extract user preferred_username from id_token!"
msgstr ""
#: lib/secure_mailing/smime/incoming.rb
msgid "Unable to find certificate for verification"
msgstr ""
#: lib/secure_mailing/smime/incoming.rb
msgid "Unable to find private key to decrypt"
msgstr ""
#: app/models/store.rb
msgid "Unable to generate inline"
msgstr ""
#: app/models/store.rb
msgid "Unable to generate preview"
msgstr ""
#: app/controllers/import_otrs_controller.rb
msgid "Unable to get key from URL!"
msgstr ""
#: app/assets/javascripts/app/controllers/_integration/smime.coffee
#: app/assets/javascripts/app/controllers/widget/import.coffee
#: app/assets/javascripts/app/controllers/widget/import_try_result.coffee
msgid "Unable to import!"
msgstr ""
#: app/assets/javascripts/app/controllers/knowledge_base/search_field_widget.coffee
#: app/assets/javascripts/app/models/knowledge_base_answer_translation.coffee
msgid "Unable to load"
msgstr ""
#: app/assets/javascripts/app/controllers/idoit_object_selector.coffee
msgid "Unable to load content"
msgstr ""
#: app/assets/javascripts/app/controllers/ticket_zoom/sidebar_idoit.coffee
msgid "Unable to load data…"
msgstr ""
#: app/assets/javascripts/app/controllers/widget/payload_example.coffee
msgid "Unable to load example payload!"
msgstr ""
#: app/assets/javascripts/app/controllers/ticket_zoom/sidebar_git_issue.coffee
msgid "Unable to load issues"
msgstr ""
#: app/assets/javascripts/app/controllers/_integration/smime.coffee
msgid "Unable to load list of certificates!"
msgstr ""
#: app/assets/javascripts/app/controllers/agent_ticket_merge.coffee
msgid "Unable to merge!"
msgstr ""
#: app/assets/javascripts/app/controllers/_integration/exchange.coffee
#: app/assets/javascripts/app/controllers/_integration/ldap.coffee
msgid "Unable to perform backend."
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/sms.coffee
msgid "Unable to perform test"
msgstr ""
#: app/controllers/getting_started_controller.rb
#: app/controllers/settings_controller.rb
msgid "Unable to process image upload."
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/telegram.coffee
msgid "Unable to save Bot."
msgstr ""
#: app/assets/javascripts/app/controllers/ticket_zoom/sidebar_git_issue.coffee
msgid "Unable to save issue"
msgstr ""
#: app/assets/javascripts/app/controllers/_integration/github.coffee
#: app/assets/javascripts/app/controllers/_integration/gitlab.coffee
#: app/assets/javascripts/app/controllers/_integration/idoit.coffee
#: app/assets/javascripts/app/controllers/_integration/smime.coffee
msgid "Unable to save!"
msgstr ""
#: app/assets/javascripts/app/controllers/_profile/password.coffee
#: app/assets/javascripts/app/controllers/password_reset_verify.coffee
msgid "Unable to set password. Please contact your administrator."
msgstr ""
#: app/assets/javascripts/app/controllers/ticket_zoom.coffee
msgid "Unable to update!"
msgstr ""
#: app/models/ticket.rb
msgid "Unable to use current_user, got no current_user_id for ticket.perform_changes"
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/facebook.coffee
#: app/assets/javascripts/app/controllers/_channel/google.coffee
#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee
#: app/assets/javascripts/app/controllers/_channel/twitter.coffee
msgid "Unable to verify App."
msgstr ""
#: app/assets/javascripts/app/controllers/email_verify.coffee
msgid "Unable to verify email. Please contact your administrator."
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/email.coffee
#: app/assets/javascripts/app/controllers/getting_started/channel_email.coffee
msgid "Unable to verify sending and receiving. Please check your settings."
msgstr ""
#: app/controllers/first_steps_controller.rb
#: db/seeds/overviews.rb
msgid "Unassigned & Open"
@ -9955,6 +9931,15 @@ msgstr ""
msgid "User assignment to telephones to be able to open new ticket screen upon answering a call."
msgstr ""
#: app/assets/javascripts/app/controllers/getting_started/admin.coffee
#: app/assets/javascripts/app/controllers/signup.coffee
msgid "User could not be created."
msgstr ""
#: lib/external_credential/google.rb
msgid "User email could not be extracted from 'id_token'."
msgstr ""
#: db/seeds/settings.rb
msgid "User email for muliple users"
msgstr ""

View file

@ -41,7 +41,7 @@ class ExternalCredential::Google
end
user_data = user_info(response[:id_token])
raise Exceptions::UnprocessableEntity, __('Unable to extract user email from id_token!') if user_data[:email].blank?
raise Exceptions::UnprocessableEntity, __("User email could not be extracted from 'id_token'.") if user_data[:email].blank?
channel_options = {
inbound: {

View file

@ -45,7 +45,7 @@ class ExternalCredential::Microsoft365
end
user_data = user_info(response[:id_token])
raise Exceptions::UnprocessableEntity, __('Unable to extract user preferred_username from id_token!') if user_data[:preferred_username].blank?
raise Exceptions::UnprocessableEntity, __("The user's 'preferred_username' could not be extracted from 'id_token'.") if user_data[:preferred_username].blank?
channel_options = {
inbound: {

View file

@ -73,7 +73,7 @@ class SecureMailing::SMIME::Incoming < SecureMailing::Backend::Handler
return if !smime?
success = false
comment = __('Unable to find private key to decrypt')
comment = __('Private key for decryption could not be found.')
::SMIMECertificate.where.not(private_key: [nil, '']).find_each do |cert|
key = OpenSSL::PKey::RSA.new(cert.private_key, cert.private_key_secret)
@ -106,7 +106,7 @@ class SecureMailing::SMIME::Incoming < SecureMailing::Backend::Handler
return if !signed?
success = false
comment = __('Unable to find certificate for verification')
comment = __('Certificate for verification could not be found.')
result = verify_certificate_chain(verify_sign_p7enc.certificates)
if result.present?

View file

@ -327,7 +327,7 @@ RSpec.describe SecureMailing::SMIME do
it 'fails' do
expect(mail[:body]).to include(raw_body)
expect(mail['x-zammad-article-preferences'][:security][:sign][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Unable to find certificate for verification')
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Certificate for verification could not be found.')
expect(mail['x-zammad-article-preferences'][:security][:encryption][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:encryption][:comment]).to be nil
end
@ -342,7 +342,7 @@ RSpec.describe SecureMailing::SMIME do
it 'fails' do
expect(mail[:body]).to include(raw_body)
expect(mail['x-zammad-article-preferences'][:security][:sign][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Unable to find certificate for verification')
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Certificate for verification could not be found.')
expect(mail['x-zammad-article-preferences'][:security][:encryption][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:encryption][:comment]).to be nil
end
@ -356,7 +356,7 @@ RSpec.describe SecureMailing::SMIME do
it 'fails' do
expect(mail[:body]).to include(raw_body)
expect(mail['x-zammad-article-preferences'][:security][:sign][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Unable to find certificate for verification')
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Certificate for verification could not be found.')
expect(mail['x-zammad-article-preferences'][:security][:encryption][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:encryption][:comment]).to be nil
end
@ -375,7 +375,7 @@ RSpec.describe SecureMailing::SMIME do
it "won't perform verification" do
expect(mail[:body]).to include(raw_body)
expect(mail['x-zammad-article-preferences'][:security][:sign][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Unable to find certificate for verification')
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Certificate for verification could not be found.')
expect(mail['x-zammad-article-preferences'][:security][:encryption][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:encryption][:comment]).to be nil
end
@ -406,7 +406,7 @@ RSpec.describe SecureMailing::SMIME do
it 'fails' do
expect(mail[:body]).to include(raw_body)
expect(mail['x-zammad-article-preferences'][:security][:sign][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Unable to find certificate for verification')
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Certificate for verification could not be found.')
expect(mail['x-zammad-article-preferences'][:security][:encryption][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:encryption][:comment]).to be nil
end
@ -421,7 +421,7 @@ RSpec.describe SecureMailing::SMIME do
it 'fails' do
expect(mail[:body]).to include(raw_body)
expect(mail['x-zammad-article-preferences'][:security][:sign][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Unable to find certificate for verification')
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Certificate for verification could not be found.')
expect(mail['x-zammad-article-preferences'][:security][:encryption][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:encryption][:comment]).to be nil
end
@ -446,7 +446,7 @@ RSpec.describe SecureMailing::SMIME do
it 'fails' do
expect(mail[:body]).to include(raw_body)
expect(mail['x-zammad-article-preferences'][:security][:sign][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Unable to find certificate for verification')
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to eq('Certificate for verification could not be found.')
expect(mail['x-zammad-article-preferences'][:security][:encryption][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:encryption][:comment]).to be nil
end
@ -573,7 +573,7 @@ RSpec.describe SecureMailing::SMIME do
expect(mail['x-zammad-article-preferences'][:security][:sign][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:sign][:comment]).to be nil
expect(mail['x-zammad-article-preferences'][:security][:encryption][:success]).to be false
expect(mail['x-zammad-article-preferences'][:security][:encryption][:comment]).to eq('Unable to find private key to decrypt')
expect(mail['x-zammad-article-preferences'][:security][:encryption][:comment]).to eq('Private key for decryption could not be found.')
end
it_behaves_like 'HttpLog writer', 'failed'

View file

@ -234,10 +234,10 @@ RSpec.describe Store, type: :model do
it 'cannot be resized (neither inlined nor previewed)' do
expect { store.content_inline }
.to raise_error('Unable to generate inline')
.to raise_error('Inline content could not be generated.')
expect { store.content_preview }
.to raise_error('Unable to generate preview')
.to raise_error('Content preview could not be generated.')
expect(store.preferences)
.to not_include(resizable: true)
@ -254,10 +254,10 @@ RSpec.describe Store, type: :model do
it 'cannot be resized (neither inlined nor previewed)' do
expect { store.content_inline }
.to raise_error('Unable to generate inline')
.to raise_error('Inline content could not be generated.')
expect { store.content_preview }
.to raise_error('Unable to generate preview')
.to raise_error('Content preview could not be generated.')
expect(store.preferences)
.to not_include(resizable: true)
@ -273,10 +273,10 @@ RSpec.describe Store, type: :model do
it 'cannot be resized (neither inlined nor previewed)' do
expect { store.content_inline }
.to raise_error('Unable to generate inline')
.to raise_error('Inline content could not be generated.')
expect { store.content_preview }
.to raise_error('Unable to generate preview')
.to raise_error('Content preview could not be generated.')
expect(store.preferences)
.to not_include(resizable: true)
@ -291,7 +291,7 @@ RSpec.describe Store, type: :model do
it 'can be resized (previewed but not inlined)' do
expect { store.content_inline }
.to raise_error('Unable to generate inline')
.to raise_error('Inline content could not be generated.')
expect(resized_preview_image.width).to eq(200)
@ -335,10 +335,10 @@ RSpec.describe Store, type: :model do
it 'cannot be resized (neither inlined nor previewed)' do
expect { store.content_inline }
.to raise_error('Unable to generate inline')
.to raise_error('Inline content could not be generated.')
expect { store.content_preview }
.to raise_error('Unable to generate preview')
.to raise_error('Content preview could not be generated.')
expect(store.preferences)
.to not_include(resizable: true)
@ -352,10 +352,10 @@ RSpec.describe Store, type: :model do
it 'cannot be resized (neither inlined nor previewed)' do
expect { store.content_inline }
.to raise_error('Unable to generate inline')
.to raise_error('Inline content could not be generated.')
expect { store.content_preview }
.to raise_error('Unable to generate preview')
.to raise_error('Content preview could not be generated.')
expect(store.preferences)
.to not_include(resizable: true)

View file

@ -50,7 +50,7 @@ RSpec.describe 'Manage > Channels > Email', type: :system do
fill_in 'password', with: mailbox_password
select 'Users', from: 'group_id'
click '.js-submit'
expect(page).to have_text('Unable to detect your server settings. Manual configuration needed.')
expect(page).to have_text('The server settings could not be automatically detected. Please configure them manually.')
end
end