---
src/app/controllers/catalog_entries_controller.rb | 4 ++--
src/config/locales/en.yml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/app/controllers/catalog_entries_controller.rb
b/src/app/controllers/catalog_entries_controller.rb
index bfd322f..b50da53 100644
--- a/src/app/controllers/catalog_entries_controller.rb
+++ b/src/app/controllers/catalog_entries_controller.rb
@@ -22,7 +22,7 @@ class CatalogEntriesController < ApplicationController
require_privilege(Privilege::MODIFY, @catalog_entry.deployable)
if @catalog_entry.save
- redirect_to catalog_deployable_path((a)catalog_entry.catalog,
@catalog_entry.deployable), :notice => t('catalog_entries.flash.notice.added')
+ redirect_to catalog_deployable_path((a)catalog_entry.catalog,
@catalog_entry.deployable), :notice => t('catalog_entries.flash.notice.added',
:catalog => @catalog_entry.catalog.name)
else
flash[:warning] = t('catalog_entries.flash.warning.failed')
redirect_to catalog_deployable_path((a)catalog_entry.catalog,
@catalog_entry.deployable)
@@ -37,7 +37,7 @@ class CatalogEntriesController < ApplicationController
require_privilege(Privilege::MODIFY, @catalog_entry.catalog)
require_privilege(Privilege::MODIFY, @catalog_entry.deployable)
@catalog_entry.destroy
- redirect_to catalog_deployable_path(catalog, deployable), :notice =>
t('catalog_entries.flash.notice.deleted')
+ redirect_to catalog_deployable_path(catalog, deployable), :notice =>
t('catalog_entries.flash.notice.deleted', :catalog => catalog.name)
end
end
diff --git a/src/config/locales/en.yml b/src/config/locales/en.yml
index 74f7a33..1358548 100644
--- a/src/config/locales/en.yml
+++ b/src/config/locales/en.yml
@@ -651,9 +651,9 @@ en:
not_valid: "Deployable XML file doesn't resolve valid XML"
failed: Deployable was not created.
notice:
- added: Deployable added.
+ added: Deployable added to catalog %{catalog}.
updated: Deployable updated successfully!
- deleted: Deployable deleted.
+ deleted: Deployable removed from catalog %{catalog}.
preset_filters:
all_catalog_entries: All Deployables
catalogs:
--
1.7.6.5