Skip to content

Commit

Permalink
Change error message flash of existing label to more informative
Browse files Browse the repository at this point in the history
  • Loading branch information
zgalor committed Apr 24, 2017
1 parent 7769b5c commit 068b8fa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -153,7 +153,7 @@ def label_tag_mapping_add(entity, label_name, cat_description)

# UI currently can't allow 2 mappings for same (entity, label).
if Classification.find_by_name(cat_name)
add_flash(_("Mapping for %{entity}, %{label} already exists") %
add_flash(_("Mapping for %{entity}, Label \"%{label}\" already exists") %
{:entity => entity_ui_name_or_all(entity), :label => label_name}, :error)
javascript_flash
return
Expand Down

0 comments on commit 068b8fa

Please sign in to comment.