Better error handling for query lists
This commit is contained in:
parent
bc7b2afc58
commit
8adb227485
@ -1,6 +1,10 @@
|
||||
module AdditionalsQueriesHelper
|
||||
def additionals_query_session_key(object_type)
|
||||
"#{object_type}_query".to_sym
|
||||
end
|
||||
|
||||
def additionals_retrieve_query(object_type, options = {})
|
||||
session_key = "#{object_type}_query".to_sym
|
||||
session_key = additionals_query_session_key(object_type)
|
||||
query_class = Object.const_get("#{object_type.camelcase}Query")
|
||||
if params[:query_id].present?
|
||||
additionals_load_query_id(query_class, session_key, params[:query_id], options, object_type)
|
||||
|
@ -21,6 +21,7 @@ de:
|
||||
button_assign_to_me: Mir zuweisen
|
||||
custom_help_url_info_html: 'Diese URL wird für den <em>Hilfe</em> Eintrag im Topmenü verwendet. Um eine deutsche Hilfe zu benutzen, kann hier z.B. <a class="external" href="https://alphanodes.com/de/redmine-buch">https://alphanodes.com/de/redmine-buch</a> eingetragen werden. Wenn hier nichts eingetragen wird, wird die Standard URL verwendet.'
|
||||
disabled_modules_info: "Module, die nicht zur Auswahl innerhalb der Projekte zur Verfügung stehen sollen. Sind in bestehenden Projekten schon diese Module aktiviert worden, werden die Einstellungen für diese Projekte erst nach erneuten Abspeichern der jeweiligen Projekteinstellungen aktiv."
|
||||
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
|
||||
error_issue_status_could_not_changed: Der Ticket-Status konnte nicht geändert werden
|
||||
error_issues_could_not_be_assigned_to_me: Das Ticket konnte nicht mir zugeordnet werden
|
||||
errors_invalid_icon_format: ist ein ungültiger Font-Awesome Code
|
||||
|
@ -21,6 +21,7 @@ en:
|
||||
button_assign_to_me: Assign to me
|
||||
custom_help_url_info_html: "If no URL is specified, the default help URL will be used."
|
||||
disabled_modules_info: "Modules which should not be available for selection within the projects. If these modules already activated in existing projects, you will have to change and re-save the respective project settings first."
|
||||
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
|
||||
error_issue_status_could_not_changed: Issue state could not be changed
|
||||
error_issues_could_not_be_assigned_to_me: Issue could not assigned to me
|
||||
errors_invalid_icon_format: is an invalid font-awesome code
|
||||
|
@ -21,6 +21,7 @@ fr:
|
||||
button_assign_to_me: Assign to me
|
||||
custom_help_url_info_html: "After changing this URL, you have to restart the application server to activate it. If no URL is specified, the default help URL will be used."
|
||||
disabled_modules_info: "Modules which should not be available for selection within the projects. If these modules already activated in existing projects, you will have to change and re-save the respective project settings first."
|
||||
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
|
||||
error_issue_status_could_not_changed: Issue state could not be changed
|
||||
error_issues_could_not_be_assigned_to_me: Issue could not assigned to me
|
||||
errors_invalid_icon_format: is an invalid font-awesome code
|
||||
|
@ -21,6 +21,7 @@ it:
|
||||
button_assign_to_me: Assign to me
|
||||
custom_help_url_info_html: "After changing this URL, you have to restart the application server to activate it. If no URL is specified, the default help URL will be used."
|
||||
disabled_modules_info: "Modules which should not be available for selection within the projects. If these modules already activated in existing projects, you will have to change and re-save the respective project settings first."
|
||||
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
|
||||
error_issue_status_could_not_changed: Issue state could not be changed
|
||||
error_issues_could_not_be_assigned_to_me: Issue could not assigned to me
|
||||
errors_invalid_icon_format: 'è un font-awesome codice non valido'
|
||||
|
@ -21,6 +21,7 @@ ja:
|
||||
button_assign_to_me: Assign to me
|
||||
custom_help_url_info_html: "このURLを変更した後、反映するためにウェブサーバを再起動しなければなりません。URLの指定がない場合、規程のヘルプURLが使用されます。"
|
||||
disabled_modules_info: "プロジェクト内で選択させたくないモジュール。もしこのモジュールが既存のプロジェクトで既に有効な場合、設定変更した上で、ウェブサーバを再起動しなければなりません。"
|
||||
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
|
||||
error_issue_status_could_not_changed: Issue state could not be changed
|
||||
error_issues_could_not_be_assigned_to_me: Issue could not assigned to me
|
||||
errors_invalid_icon_format: is an invalid font-awesome code
|
||||
|
@ -21,6 +21,7 @@
|
||||
button_assign_to_me: Assign to me
|
||||
custom_help_url_info_html: "修改連結後,您必須重啟redmine。若未設定連結,將使用預設的幫助連結。"
|
||||
disabled_modules_info: "專案中無法選擇模組。如果這些模組已經在現有專案中啟用,必須先變更對應的專案設定。"
|
||||
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
|
||||
error_issue_status_could_not_changed: Issue state could not be changed
|
||||
error_issues_could_not_be_assigned_to_me: Issue could not assigned to me
|
||||
errors_invalid_icon_format: "無效的 font-awesome 代碼。"
|
||||
|
@ -21,6 +21,7 @@ zh:
|
||||
button_assign_to_me: Assign to me
|
||||
custom_help_url_info_html: "在修改了 URL 后,您必须重启服务以激活该配置。若未指定 URL,则使用默认的帮助 URL 地址。"
|
||||
disabled_modules_info: "项目中无法选择模块。如果这些模块已经在现有项目中激活,则必须首先更改并重新保存响应的项目设置。"
|
||||
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
|
||||
error_issue_status_could_not_changed: Issue state could not be changed
|
||||
error_issues_could_not_be_assigned_to_me: Issue could not assigned to me
|
||||
errors_invalid_icon_format: 无效的 Font-awesome 代码。
|
||||
|
Loading…
x
Reference in New Issue
Block a user