diff --git a/config/locales/cs.yml b/config/locales/cs.yml index 273477f7..c1460c00 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -403,6 +403,10 @@ cs: button_edit_content: Upravit obsah field_workflow: Workflow field_modified: Aktualizoval + field_updated: Aktualizováno + field_count: Stažebí/E-mail + field_first_at: První + field_last_at: Poslední easy_pages: modules: diff --git a/config/locales/de.yml b/config/locales/de.yml index e83a9101..f342ddaf 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -404,6 +404,10 @@ de: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/es.yml b/config/locales/es.yml index ec5f645a..da4ecb39 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -403,6 +403,10 @@ es: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 9b05e1cd..4b112fc1 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -403,6 +403,10 @@ fr: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/hu.yml b/config/locales/hu.yml index 2c434f5e..e96d46cb 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -402,6 +402,10 @@ hu: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/it.yml b/config/locales/it.yml index 27221ca6..922b6ed6 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -403,6 +403,10 @@ it: # Italian strings thx 2 Matteo Arceci! button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/ja.yml b/config/locales/ja.yml index 34061f48..387ab924 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -403,6 +403,10 @@ ja: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/ko.yml b/config/locales/ko.yml index de03317e..b0cf0ccc 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -397,6 +397,10 @@ ko: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/nl.yml b/config/locales/nl.yml index 1212079e..6d9b82ea 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -403,6 +403,10 @@ nl: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/pl.yml b/config/locales/pl.yml index 78547cb0..6af43305 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -403,6 +403,10 @@ pl: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml index ae56a255..941f17f2 100644 --- a/config/locales/pt-BR.yml +++ b/config/locales/pt-BR.yml @@ -403,6 +403,10 @@ pt-BR: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 56f23719..de8c56ed 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -403,6 +403,10 @@ ru: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/sl.yml b/config/locales/sl.yml index 84d62653..9c2b746f 100644 --- a/config/locales/sl.yml +++ b/config/locales/sl.yml @@ -403,6 +403,10 @@ sl: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml index f4cf96df..60509c43 100644 --- a/config/locales/zh-TW.yml +++ b/config/locales/zh-TW.yml @@ -403,6 +403,10 @@ zh-TW: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 31a05cd6..52e50996 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -403,6 +403,10 @@ zh: button_edit_content: Edit content field_workflow: Workflow field_modified: Updated + field_updated: Updated + field_count: Downloads/Email + field_first_at: First + field_last_at: Last easy_pages: modules: diff --git a/lib/redmine_dmsf/patches/projects_helper_patch.rb b/lib/redmine_dmsf/patches/projects_helper_patch.rb index dc72750a..6f5d7f9a 100644 --- a/lib/redmine_dmsf/patches/projects_helper_patch.rb +++ b/lib/redmine_dmsf/patches/projects_helper_patch.rb @@ -36,7 +36,7 @@ module RedmineDmsf { name: 'dmsf_workflow', action: { controller: 'dmsf_workflows', action: 'index' }, partial: 'dmsf_workflows/main', label: :label_dmsf_workflow_plural } ] - tabs.concat(dmsf_tabs.select { |dmsf_tab| User.current.allowed_to?(dmsf_tab[:action], @project)} ) + tabs.concat(dmsf_tabs.select { |dmsf_tab| User.current.allowed_to?(dmsf_tab[:action], @project) }) tabs end @@ -44,5 +44,9 @@ module RedmineDmsf end end -RedmineExtensions::PatchManager.register_helper_patch 'ProjectsHelper', - 'RedmineDmsf::Patches::ProjectHelperPatch', prepend: true \ No newline at end of file +if Redmine::Plugin.installed?(:easy_extensions) + RedmineExtensions::PatchManager.register_helper_patch 'ProjectsHelper', + 'RedmineDmsf::Patches::ProjectHelperPatch', prepend: true +else + ProjectsController.send :helper, RedmineDmsf::Patches::ProjectHelperPatch +end \ No newline at end of file