small translation fix for period

This commit is contained in:
Harry Bomrah 2016-03-30 16:14:04 +08:00
parent 64a6cbc4ab
commit 6916341f5d
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ class Project
else else
t = "period_start_date" if t == "period" t = "period_start_date" if t == "period"
fields_to_remove << t if (datas.where(t.to_sym.ne => nil).count == 0 rescue false) fields_to_remove << t if (datas.where(t.to_sym.ne => nil).count == 0 rescue false)
t = "period" if t == "period_start_date"
end end
pd_title << { pd_title << {
"plugin_data_title" => I18n.t("personal_project.#{t}") "plugin_data_title" => I18n.t("personal_project.#{t}")