Better label for copying all entries of nested content
This commit is contained in:
+2
-2
@@ -3,9 +3,9 @@
|
||||
|
||||
<ul class="umb-actions dropdown-menu" role="menu" on-outside-click="vm.close()" ng-if="vm.isOpen" on-close="vm.close()" deep-blur="vm.close()">
|
||||
<li role="menuitem" lass="umb-action" ng-class="{'sep':action.separatorm, '-opens-dialog': action.opensDialog}" ng-repeat="action in vm.actions">
|
||||
<button type="button" ng-click="action.method($event)">
|
||||
<button type="button" ng-click="vm.executeAction(action)">
|
||||
<i class="icon icon-{{action.icon}}" aria-hidden="true"></i>
|
||||
<span class="menu-label"><localize key="{{::action.labelKey}}"></localize></span>
|
||||
<span class="menu-label"><localize key="{{::action.labelKey}}" tokens={{action.labelTokens}}></localize></span>
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
+2
-3
@@ -12,9 +12,7 @@
|
||||
vm.isOpen = false;
|
||||
|
||||
function initDropDown() {
|
||||
keyboardService.bind("esc", function() {
|
||||
navigationService.hideNavigation();
|
||||
});
|
||||
keyboardService.bind("esc", vm.close);
|
||||
}
|
||||
function destroyDropDown() {
|
||||
keyboardService.unbind("esc");
|
||||
@@ -38,6 +36,7 @@
|
||||
|
||||
vm.executeAction = function(action) {
|
||||
action.method();
|
||||
vm.close();
|
||||
}
|
||||
|
||||
vm.$onDestroy = function () {
|
||||
|
||||
+1
@@ -623,6 +623,7 @@ angular.module("umbraco").controller("Umbraco.PropertyEditors.NestedContent.Prop
|
||||
$scope.propertyActions = [
|
||||
{
|
||||
labelKey: 'actions_copy',
|
||||
labelTokens: [$scope.model.label],
|
||||
icon: 'documents',
|
||||
method: copyAllEntries
|
||||
}
|
||||
|
||||
@@ -1731,6 +1731,7 @@ Mange hilsner fra Umbraco robotten
|
||||
<key alias="usedByProperties">Brugt af</key>
|
||||
</area>
|
||||
<area alias="clipboard">
|
||||
<key alias="labelForCopyAllEntries">Kopier %0%</key>
|
||||
<key alias="labelForArrayOfItemsFrom">%0% fra %1%</key>
|
||||
</area>
|
||||
</language>
|
||||
|
||||
@@ -2168,6 +2168,7 @@ To manage your website, simply open the Umbraco back office and start adding con
|
||||
<key alias="usedByProperties">Used by</key>
|
||||
</area>
|
||||
<area alias="clipboard">
|
||||
<key alias="labelForCopyAllEntries">Copy %0%</key>
|
||||
<key alias="labelForArrayOfItemsFrom">%0% from %1%</key>
|
||||
</area>
|
||||
</language>
|
||||
|
||||
@@ -2184,6 +2184,7 @@ To manage your website, simply open the Umbraco back office and start adding con
|
||||
<key alias="usedByProperties">Used by</key>
|
||||
</area>
|
||||
<area alias="clipboard">
|
||||
<key alias="labelForCopyAllEntries">Copy %0%</key>
|
||||
<key alias="labelForArrayOfItemsFrom">%0% from %1%</key>
|
||||
</area>
|
||||
</language>
|
||||
|
||||
Reference in New Issue
Block a user