Commit 74749abf authored by Frank Bergmann's avatar Frank Bergmann

- Fixed L10n issue with empty key

parent eb329833
......@@ -440,8 +440,11 @@ db_foreach sql $sql {
}
# Format the "Approve" button behind WF controlled hours
set transition_name_l10n $transition_name
regsub -all " " $transition_name "_" transition_name
set transition_name_l10n [lang::message::lookup "" intranet-workflow.$transition_name $transition_name]
if {"" ne $transition_name} {
set transition_name_l10n [lang::message::lookup "" intranet-workflow.$transition_name $transition_name]
}
set wf_action_button_class "button"
if {"" == $transition_name} {
set wf_action_button_class ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment