localized component views

This commit is contained in:
Simon Busborg
2016-01-13 11:14:15 +01:00
committed by Simon Busborg
parent c9ad7659a8
commit 67112b640c
3 changed files with 7 additions and 4 deletions

View File

@@ -8,7 +8,9 @@
<div class="umb-panel-header-icon" ng-if="!hideIcon" ng-click="openIconPicker()" ng-class="{'-placeholder': $parent.icon==='' || $parent.icon===null}">
<i class="icon {{$parent.icon}}" ng-if="$parent.icon!=='' && $parent.icon!==null"></i>
<div class="umb-panel-header-icon-text" ng-if="$parent.icon==='' || $parent.icon===null">Add icon</div>
<div class="umb-panel-header-icon-text" ng-if="$parent.icon==='' || $parent.icon===null">
<localize key="settings_addIcon"></localize>
</div>
</div>
<div class="umb-panel-header-title-wrapper">

View File

@@ -30,7 +30,7 @@
ngf-multiple="true"
ngf-pattern="{{ accept }}"
ngf-max-size="{{ maxFileSize }}">
- or click here to choose files
- <localize key="media_orClickHereToUpload">or click here to choose files</localize>
</div>
</div>
</div>
@@ -78,8 +78,8 @@
<strong>{{ file.name }}</strong>
<span class="file-error" ng-if="file.$error">
<span ng-if="file.$error === 'pattern'" class="errorMessage color-red">(Only allowed file types are: "{{ accept }}")</span>
<span ng-if="file.$error === 'maxSize'" class="errorMessage color-red">(Max file size is "{{maxFileSize}}")</span>
<span ng-if="file.$error === 'pattern'" class="errorMessage color-red">(<localize key="media_onlyAllowedFiles"></localize>: "{{ accept }}")</span>
<span ng-if="file.$error === 'maxSize'" class="errorMessage color-red">(<localize key="media_maxFileSize"></localize> "{{maxFileSize}}")</span>
</span>
<span class="file-error" ng-if="file.serverErrorMessage">

View File

@@ -858,6 +858,7 @@ To manage your website, simply open the Umbraco back office and start adding con
<key alias="noPropertiesDefinedOnTab">No properties defined on this tab. Click on the "add a new property" link at the top to create a new property.</key>
<key alias="masterDocumentType">Master Document Type</key>
<key alias="createMatchingTemplate">Create matching template</key>
<key alias="addIcon">Add icon</key>
</area>
<area alias="sort">
<key alias="sortDone">Sorting complete.</key>