forked from saurabh/personal-project
small translation fix for period
This commit is contained in:
parent
64a6cbc4ab
commit
6916341f5d
|
@ -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}")
|
||||||
|
|
Loading…
Reference in New Issue