From 6916341f5d1bb4d3faa403a5639cbd0871a91b95 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 30 Mar 2016 16:14:04 +0800 Subject: [PATCH] small translation fix for period --- app/models/project.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/project.rb b/app/models/project.rb index 37b760a..62e8b70 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -68,6 +68,7 @@ class Project else t = "period_start_date" if t == "period" fields_to_remove << t if (datas.where(t.to_sym.ne => nil).count == 0 rescue false) + t = "period" if t == "period_start_date" end pd_title << { "plugin_data_title" => I18n.t("personal_project.#{t}")