From ff64fb5230095e3e259ebad4da0c220c4be2ae55 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 21 Aug 2013 13:46:04 +0800 Subject: [PATCH] file title translations fixed --- .../panel/personal_book/desktop/personal_books_helper.rb | 4 ++-- .../personal_conference/desktop/conference_pages_helper.rb | 4 ++-- .../personal_diploma/desktop/personal_diplomas_helper.rb | 4 ++-- .../desktop/personal_experiences_helper.rb | 4 ++-- .../panel/personal_honor/desktop/personal_honors_helper.rb | 4 ++-- .../panel/personal_journal/desktop/journal_pages_helper.rb | 4 ++-- .../panel/personal_lab/desktop/personal_labs_helper.rb | 4 ++-- .../panel/personal_patent/desktop/personal_patents_helper.rb | 4 ++-- .../personal_project/desktop/personal_projects_helper.rb | 4 ++-- .../personal_research/desktop/personal_researchs_helper.rb | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/vendor/built_in_modules/personal_book/app/helpers/panel/personal_book/desktop/personal_books_helper.rb b/vendor/built_in_modules/personal_book/app/helpers/panel/personal_book/desktop/personal_books_helper.rb index 04292390..186b2d59 100644 --- a/vendor/built_in_modules/personal_book/app/helpers/panel/personal_book/desktop/personal_books_helper.rb +++ b/vendor/built_in_modules/personal_book/app/helpers/panel/personal_book/desktop/personal_books_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalBook::Desktop::PersonalBooksHelper def link_publication_file publication publication.writing_book_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_conference/app/helpers/panel/personal_conference/desktop/conference_pages_helper.rb b/vendor/built_in_modules/personal_conference/app/helpers/panel/personal_conference/desktop/conference_pages_helper.rb index 3a2fd2cc..d22bfc18 100644 --- a/vendor/built_in_modules/personal_conference/app/helpers/panel/personal_conference/desktop/conference_pages_helper.rb +++ b/vendor/built_in_modules/personal_conference/app/helpers/panel/personal_conference/desktop/conference_pages_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalConference::Desktop::ConferencePagesHelper def link_publication_file publication publication.writing_conference_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_diploma/app/helpers/panel/personal_diploma/desktop/personal_diplomas_helper.rb b/vendor/built_in_modules/personal_diploma/app/helpers/panel/personal_diploma/desktop/personal_diplomas_helper.rb index 031b07c2..6ca26061 100644 --- a/vendor/built_in_modules/personal_diploma/app/helpers/panel/personal_diploma/desktop/personal_diplomas_helper.rb +++ b/vendor/built_in_modules/personal_diploma/app/helpers/panel/personal_diploma/desktop/personal_diplomas_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalDiploma::Desktop::PersonalDiplomasHelper def link_publication_file publication publication.writing_conference_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_experience/app/helpers/panel/personal_experience/desktop/personal_experiences_helper.rb b/vendor/built_in_modules/personal_experience/app/helpers/panel/personal_experience/desktop/personal_experiences_helper.rb index eda87783..f78c6948 100644 --- a/vendor/built_in_modules/personal_experience/app/helpers/panel/personal_experience/desktop/personal_experiences_helper.rb +++ b/vendor/built_in_modules/personal_experience/app/helpers/panel/personal_experience/desktop/personal_experiences_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalExperience::Desktop::PersonalExperiencesHelper def link_publication_file publication publication.writing_conference_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_honor/app/helpers/panel/personal_honor/desktop/personal_honors_helper.rb b/vendor/built_in_modules/personal_honor/app/helpers/panel/personal_honor/desktop/personal_honors_helper.rb index c1172f6d..3cdccddc 100644 --- a/vendor/built_in_modules/personal_honor/app/helpers/panel/personal_honor/desktop/personal_honors_helper.rb +++ b/vendor/built_in_modules/personal_honor/app/helpers/panel/personal_honor/desktop/personal_honors_helper.rb @@ -58,11 +58,11 @@ module Panel::PersonalHonor::Desktop::PersonalHonorsHelper def link_publication_file publication publication.writing_book_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_journal/app/helpers/panel/personal_journal/desktop/journal_pages_helper.rb b/vendor/built_in_modules/personal_journal/app/helpers/panel/personal_journal/desktop/journal_pages_helper.rb index 28ee2598..63310a5c 100644 --- a/vendor/built_in_modules/personal_journal/app/helpers/panel/personal_journal/desktop/journal_pages_helper.rb +++ b/vendor/built_in_modules/personal_journal/app/helpers/panel/personal_journal/desktop/journal_pages_helper.rb @@ -66,11 +66,11 @@ module Panel::PersonalJournal::Desktop::JournalPagesHelper def link_publication_file publication publication.writing_journal_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_lab/app/helpers/panel/personal_lab/desktop/personal_labs_helper.rb b/vendor/built_in_modules/personal_lab/app/helpers/panel/personal_lab/desktop/personal_labs_helper.rb index 80511a3d..087d4bcd 100644 --- a/vendor/built_in_modules/personal_lab/app/helpers/panel/personal_lab/desktop/personal_labs_helper.rb +++ b/vendor/built_in_modules/personal_lab/app/helpers/panel/personal_lab/desktop/personal_labs_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalLab::Desktop::PersonalLabsHelper def link_publication_file publication publication.lab_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_patent/app/helpers/panel/personal_patent/desktop/personal_patents_helper.rb b/vendor/built_in_modules/personal_patent/app/helpers/panel/personal_patent/desktop/personal_patents_helper.rb index ed2141d0..024b8d64 100644 --- a/vendor/built_in_modules/personal_patent/app/helpers/panel/personal_patent/desktop/personal_patents_helper.rb +++ b/vendor/built_in_modules/personal_patent/app/helpers/panel/personal_patent/desktop/personal_patents_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalPatent::Desktop::PersonalPatentsHelper def link_publication_file publication publication.writing_patent_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_project/app/helpers/panel/personal_project/desktop/personal_projects_helper.rb b/vendor/built_in_modules/personal_project/app/helpers/panel/personal_project/desktop/personal_projects_helper.rb index dd5f45ad..1b47e9f5 100644 --- a/vendor/built_in_modules/personal_project/app/helpers/panel/personal_project/desktop/personal_projects_helper.rb +++ b/vendor/built_in_modules/personal_project/app/helpers/panel/personal_project/desktop/personal_projects_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalProject::Desktop::PersonalProjectsHelper def link_publication_file publication publication.project_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_research/app/helpers/panel/personal_research/desktop/personal_researchs_helper.rb b/vendor/built_in_modules/personal_research/app/helpers/panel/personal_research/desktop/personal_researchs_helper.rb index ffc2d64c..4327faa6 100644 --- a/vendor/built_in_modules/personal_research/app/helpers/panel/personal_research/desktop/personal_researchs_helper.rb +++ b/vendor/built_in_modules/personal_research/app/helpers/panel/personal_research/desktop/personal_researchs_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalResearch::Desktop::PersonalResearchsHelper def link_publication_file publication publication.research_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end