Skip to content

Instantly share code, notes, and snippets.

@dpobel
Created March 9, 2016 17:34
Show Gist options
  • Save dpobel/6f28290c60cd7330de3f to your computer and use it in GitHub Desktop.
Save dpobel/6f28290c60cd7330de3f to your computer and use it in GitHub Desktop.
diff --git a/Resources/public/js/views/ez-discoverybarview.js b/Resources/public/js/views/ez-discoverybarview.js
index 0fdea61..fb93e0e 100644
--- a/Resources/public/js/views/ez-discoverybarview.js
+++ b/Resources/public/js/views/ez-discoverybarview.js
@@ -45,19 +45,19 @@ YUI.add('ez-discoverybarview', function (Y) {
new Y.eZ.ButtonActionView({
actionId: "minimizeDiscoveryBar",
disabled: false,
- label: Y.eZ.Translator.trans('tree.minimize', {}, 'editorial'),
+ label: Y.eZ.Translator.trans('discoverybar.minimize', {}, 'editorial'),
priority: 1000
}),
new Y.eZ.TreeActionView({
actionId: "tree",
disabled: false,
- label: Y.eZ.Translator.trans('tree.contenttree', {}, 'editorial'),
+ label: Y.eZ.Translator.trans('discoverybar.contenttree', {}, 'editorial'),
priority: 800
}),
new Y.eZ.ButtonActionView({
actionId: "viewTrash",
disabled: false,
- label: "Trash",
+ label: Y.eZ.Translator.trans('discoverybar.trash', {}, 'editorial'),
priority: 600
}),
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment