U4-5101: Localize Grid property editor

This commit is contained in:
arknu
2014-11-07 22:35:33 +01:00
parent 8bc9fb9242
commit 30042aae6d
7 changed files with 24 additions and 6 deletions

View File

@@ -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">

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -234,7 +234,6 @@
</div> <!-- .templates-preview-rows -->
<p>
<span class="help-text"><localize key="grid_addRows" /></span>
</p>

View File

@@ -608,6 +608,16 @@ Mange hilsner fra Umbraco robotten
<area alias="imagecropper">
<key alias="reset">Nulstil</key>
</area>
<area alias="grid">
<key alias="helpSelectLayout">Vælg et layout for at starte</key>
<key alias="helpAddRows">Tilføj rækker til dit layout</key>
<key alias="helpAddElement"><![CDATA[Kom i gang ved at trykke på <i class=" icon icon-add blue"></i> nedenfor og tilføje det første element]]></key>
<key alias="insertControl">Indsæt element</key>
<key alias="clickToEmbed">Klik for at indlejre</key>
<key alias="clickToInsertImage">Klik for at indsætte et billede</key>
<key alias="placeholderImageCaption">Billedtekst...</key>
<key alias="placeholderWriteHere">Skriv her...</key>
</area>
<area alias="rollback">
<key alias="currentVersion">Nuværende version</key>
<key alias="diffHelp"><![CDATA[Her vises forskellene mellem den nuværende version og den valgte version<br /><del>Rød</del> tekst vil ikke blive vist i den valgte version. <ins>Grøn betyder tilføjet</ins>]]></key>

View File

@@ -716,6 +716,16 @@ To manage your website, simply open the Umbraco back office and start adding con
<area alias="imagecropper">
<key alias="reset">Reset</key>
</area>
<area alias="grid">
<key alias="helpSelectLayout">To start, select a layout for your grid</key>
<key alias="helpAddRows">Add rows to your layout</key>
<key alias="helpAddElement"><![CDATA[To start, click the <i class=" icon icon-add blue"></i> below and add your first element]]></key>
<key alias="insertControl">Insert control</key>
<key alias="clickToEmbed">Click to embed</key>
<key alias="clickToInsertImage">Click to insert image</key>
<key alias="placeholderImageCaption">Image caption...</key>
<key alias="placeholderWriteHere">Write here...</key>
</area>
<area alias="rollback">
<key alias="currentVersion">Current version</key>
<key alias="diffHelp"><![CDATA[This shows the differences between the current version and the selected version<br /><del>Red</del> text will not be shown in the selected version. , <ins>green means added</ins>]]></key>