Add a few missing localizations for edit media
This commit is contained in:
committed by
Sebastiaan Janssen
parent
3f080ab277
commit
27ce8c8ebc
@@ -42,7 +42,7 @@
|
||||
<umb-button ng-if="model.infiniteMode"
|
||||
action="close()"
|
||||
button-style="link"
|
||||
label="Close"
|
||||
label-key="general_close"
|
||||
type="button">
|
||||
</umb-button>
|
||||
|
||||
@@ -50,14 +50,13 @@
|
||||
ng-if="page.listViewPath"
|
||||
type="link"
|
||||
href="#{{page.listViewPath}}"
|
||||
label="Return to list"
|
||||
label-key="buttons_returnToList">
|
||||
</umb-button>
|
||||
|
||||
<!-- label-key="buttons_save" -->
|
||||
<umb-button alias="save"
|
||||
type="submit"
|
||||
label="{{page.submitButtonLabel}}"
|
||||
label-key="{{page.submitButtonLabelKey}}"
|
||||
button-style="success"
|
||||
shortcut="ctrl+s"
|
||||
state="page.saveButtonState">
|
||||
|
||||
@@ -40,7 +40,7 @@ function mediaEditController($scope, $routeParams, $q, appState, mediaResource,
|
||||
$scope.page.menu.currentNode = null; //the editors affiliated node
|
||||
$scope.page.listViewPath = null;
|
||||
$scope.page.saveButtonState = "init";
|
||||
$scope.page.submitButtonLabel = "Save";
|
||||
$scope.page.submitButtonLabelKey = "buttons_save";
|
||||
|
||||
/** Syncs the content item to it's tree node - this occurs on first load and after saving */
|
||||
function syncTreeNode(content, path, initialLoad) {
|
||||
@@ -103,7 +103,7 @@ function mediaEditController($scope, $routeParams, $q, appState, mediaResource,
|
||||
|
||||
// setup infinite mode
|
||||
if(infiniteMode) {
|
||||
$scope.page.submitButtonLabel = "Save and Close";
|
||||
$scope.page.submitButtonLabelKey = "buttons_saveAndClose";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user