U4-5101: Localize Grid property editor
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<div class="cell-tools-menu"
|
||||
ng-style="overlayMenu.style"
|
||||
delayed-mouseleave="closeItemOverlay()">
|
||||
|
||||
<h5><localize key="grid_insertControl" /></h5>
|
||||
|
||||
<ul class="elements">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<div class="usky-editor-placeholder" ng-click="setEmbed()" ng-if="control.value === null">
|
||||
<i class="icon icon-movie-alt"></i>
|
||||
<div class="help-text">Click to embed</div>
|
||||
<div class="help-text"><localize key="grid_clickToEmbed">Click to embed</localize></div>
|
||||
</div>
|
||||
|
||||
<div ng-if="control.value" ng-bind-html-unsafe="control.value"></div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<div class="usky-editor-placeholder" ng-click="setImage()" ng-if="control.value === null">
|
||||
<i class="icon icon-picture"></i>
|
||||
<div ng-id="!control.$inserted" class="help-text">Click to insert image</div>
|
||||
<div ng-id="!control.$inserted" class="help-text"><localize key="grid_clickToInsertImage">Click to insert image</localize></div>
|
||||
</div>
|
||||
|
||||
<div ng-if="control.value">
|
||||
@@ -11,6 +11,6 @@
|
||||
ng-click="setImage()"
|
||||
ng-src="{{url}}"
|
||||
class="fullSizeImage" />
|
||||
<input type="text" class="caption" ng-model="control.value.caption" placeholder="Image caption..."/>
|
||||
<input type="text" class="caption" ng-model="control.value.caption" localize="placeholder" placeholder="@grid_placeholderImageCaption" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
umb-auto-focus
|
||||
class="textstring input-block-level" id="{{control.uniqueId}}_text"
|
||||
ng-model="control.value"
|
||||
ng-attr-style="{{control.editor.config.style}}" placeholder="Write here..."></textarea>
|
||||
ng-attr-style="{{control.editor.config.style}}" localize="placeholder" placeholder="@grid_placeholderWriteHere"></textarea>
|
||||
</div>
|
||||
|
||||
@@ -234,7 +234,6 @@
|
||||
|
||||
</div> <!-- .templates-preview-rows -->
|
||||
|
||||
|
||||
<p>
|
||||
<span class="help-text"><localize key="grid_addRows" /></span>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user