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
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}")