diff --git a/src/Umbraco.Core/EmbeddedResources/Lang/en_us.xml b/src/Umbraco.Core/EmbeddedResources/Lang/en_us.xml index 1f41d405f2..6d4756da07 100644 --- a/src/Umbraco.Core/EmbeddedResources/Lang/en_us.xml +++ b/src/Umbraco.Core/EmbeddedResources/Lang/en_us.xml @@ -1950,6 +1950,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont Fall back language none + %0% is shared across all languages. Add parameter diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/property/umbpropertyeditor.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/property/umbpropertyeditor.directive.js index 4df8442644..cc9f36852a 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/property/umbpropertyeditor.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/property/umbpropertyeditor.directive.js @@ -7,7 +7,7 @@ **/ //share property editor directive function -function umbPropEditor(umbPropEditorHelper) { +function umbPropEditor(umbPropEditorHelper, localizationService) { return { scope: { model: "=", @@ -24,6 +24,7 @@ function umbPropEditor(umbPropEditorHelper) { link: function (scope, element, attrs, ctrl) { scope.readonly = false; + scope.labels = {}; //we need to copy the form controller val to our isolated scope so that //it get's carried down to the child scopes of this! @@ -37,6 +38,11 @@ function umbPropEditor(umbPropEditorHelper) { scope.model.alias = Math.random().toString(36).slice(2); } + localizationService.localize('languages_invariantPropertyUnlockHelp', [scope.model.label]) + .then(function(value) { + scope.labels.invariantPropertyUnlockHelp = value; + }); + var unbindWatcher = scope.$watch("model.view", function() { scope.propertyEditorView = umbPropEditorHelper.getViewPath(scope.model.view, scope.isPreValue); diff --git a/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property-editor.html b/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property-editor.html index 5dc41d5a43..1ab841d771 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property-editor.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property-editor.html @@ -2,8 +2,8 @@
- {{ model.label }} is shared across all languages. - + {{ labels.invariantPropertyUnlockHelp }} +