Maintenance: Improved translatable source string.
This commit is contained in:
parent
c68a376388
commit
502aa2cde3
5 changed files with 17 additions and 18 deletions
|
@ -224,7 +224,7 @@ class FormController < ApplicationController
|
||||||
def fingerprint_exists?
|
def fingerprint_exists?
|
||||||
return true if params[:fingerprint].present? && params[:fingerprint].length > 30
|
return true if params[:fingerprint].present? && params[:fingerprint].length > 30
|
||||||
|
|
||||||
Rails.logger.info 'No fingerprint given!'
|
Rails.logger.info "The required parameter 'fingerprint' is missing or invalid."
|
||||||
raise Exceptions::Forbidden
|
raise Exceptions::Forbidden
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -30,7 +30,7 @@ class Integration::ExchangeController < ApplicationController
|
||||||
Sequencer.process('Import::Exchange::AvailableFolders',
|
Sequencer.process('Import::Exchange::AvailableFolders',
|
||||||
parameters: { ews_config: ews_config })
|
parameters: { ews_config: ews_config })
|
||||||
.tap do |res|
|
.tap do |res|
|
||||||
raise __('No folders found for given user credentials.') if res[:folders].blank?
|
raise __('No folders were found for the given user credentials.') if res[:folders].blank?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -43,7 +43,7 @@ class Integration::ExchangeController < ApplicationController
|
||||||
parameters: { ews_folder_ids: params[:folders],
|
parameters: { ews_folder_ids: params[:folders],
|
||||||
ews_config: ews_config })
|
ews_config: ews_config })
|
||||||
.tap do |res|
|
.tap do |res|
|
||||||
raise __('No entries found in selected folder(s).') if res[:attributes].blank?
|
raise __('No entries were found in the selected folder(s).') if res[:attributes].blank?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,8 +6,8 @@ class CoreWorkflow::Result
|
||||||
attr_accessor :payload, :user, :assets, :assets_in_result, :result, :rerun
|
attr_accessor :payload, :user, :assets, :assets_in_result, :result, :rerun
|
||||||
|
|
||||||
def initialize(payload:, user:, assets: {}, assets_in_result: true, result: {})
|
def initialize(payload:, user:, assets: {}, assets_in_result: true, result: {})
|
||||||
raise ArgumentError, __('No payload->class_name given!') if !payload['class_name']
|
raise ArgumentError, __("The required parameter 'payload->class_name' is missing.") if !payload['class_name']
|
||||||
raise ArgumentError, __('No payload->screen given!') if !payload['screen']
|
raise ArgumentError, __("The required parmeter 'payload->screen' is missing.") if !payload['screen']
|
||||||
|
|
||||||
@payload = payload
|
@payload = payload
|
||||||
@user = user
|
@user = user
|
||||||
|
|
|
@ -13,4 +13,3 @@
|
||||||
<%= link_to zt(edit_kb_link_label(object)), build_kb_link(object), class: 'topbar-btn', target: :_blank %>
|
<%= link_to zt(edit_kb_link_label(object)), build_kb_link(object), class: 'topbar-btn', target: :_blank %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -6364,7 +6364,7 @@ msgid "No email!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app/controllers/integration/exchange_controller.rb
|
#: app/controllers/integration/exchange_controller.rb
|
||||||
msgid "No entries found in selected folder(s)."
|
msgid "No entries were found in the selected folder(s)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app/assets/javascripts/app/controllers/_ui_element/_application_selector.coffee
|
#: app/assets/javascripts/app/controllers/_ui_element/_application_selector.coffee
|
||||||
|
@ -6373,7 +6373,7 @@ msgid "No filter."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app/controllers/integration/exchange_controller.rb
|
#: app/controllers/integration/exchange_controller.rb
|
||||||
msgid "No folders found for given user credentials."
|
msgid "No folders were found for the given user credentials."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app/assets/javascripts/app/controllers/ticket_zoom/sidebar_git_issue.coffee
|
#: app/assets/javascripts/app/controllers/ticket_zoom/sidebar_git_issue.coffee
|
||||||
|
@ -6388,14 +6388,6 @@ msgstr ""
|
||||||
msgid "No oauth_token_secret param!"
|
msgid "No oauth_token_secret param!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app/models/core_workflow/result.rb
|
|
||||||
msgid "No payload->class_name given!"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: app/models/core_workflow/result.rb
|
|
||||||
msgid "No payload->screen given!"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: app/assets/javascripts/app/views/settings/proxy.jst.eco
|
#: app/assets/javascripts/app/views/settings/proxy.jst.eco
|
||||||
#: db/seeds/settings.rb
|
#: db/seeds/settings.rb
|
||||||
msgid "No proxy for the following hosts."
|
msgid "No proxy for the following hosts."
|
||||||
|
@ -8929,10 +8921,18 @@ msgstr ""
|
||||||
msgid "The required parameter 'id' is missing."
|
msgid "The required parameter 'id' is missing."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: app/models/core_workflow/result.rb
|
||||||
|
msgid "The required parameter 'payload->class_name' is missing."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: app/controllers/users_controller.rb
|
#: app/controllers/users_controller.rb
|
||||||
msgid "The required parameter 'signup' is missing."
|
msgid "The required parameter 'signup' is missing."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: app/models/core_workflow/result.rb
|
||||||
|
msgid "The required parmeter 'payload->screen' 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 ""
|
||||||
|
|
Loading…
Reference in a new issue