Skip to content

Commit

Permalink
Fix localizations
Browse files Browse the repository at this point in the history
  • Loading branch information
BatJan authored and nathanwoulfe committed Oct 26, 2021
1 parent 1ce05d4 commit ad17207
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<li ng-if="model.value" class="umb-sortable-thumbnails__wrapper">

<p class="label label__trashed" ng-if="media.trashed">
<localize key="mediaPicker_trashed"></localize>
<localize key="mediaPicker_trashed">Trashed</localize>
<umb-icon icon="icon-trash"></umb-icon>
</p>

Expand All @@ -18,15 +18,21 @@
</umb-file-icon>

<div class="umb-sortable-thumbnails__actions" data-element="sortable-thumbnail-actions">
<button type="button" aria-label="Remove" class="umb-sortable-thumbnails__action -red btn-reset" data-element="action-remove" ng-click="remove()">
<button type="button" class="umb-sortable-thumbnails__action -red btn-reset" data-element="action-remove" ng-click="remove()">
<umb-icon icon="icon-delete" class="icon"></umb-icon>
<span class="sr-only">
<localize key="general_remove">Remove</localize>
</span>
</button>
</div>
</li>

<li style="border: none;" class="add-wrapper unsortable" ng-hide="model.value">
<button type="button" aria-label="Open media picker" data-element="sortable-thumbnails-add" class="add-link add-link-square btn-reset umb-outline umb-outline--surrounding" ng-click="add()">
<button type="button" data-element="sortable-thumbnails-add" class="add-link add-link-square btn-reset umb-outline umb-outline--surrounding" ng-click="add()">
<umb-icon icon="icon-add" class="icon large"></umb-icon>
<span class="sr-only">
<localize key="mediaPicker_openMediaPicker">Open media picker</localize>
</span>
</button>
</li>
</ul>
Expand Down
1 change: 1 addition & 0 deletions src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1349,6 +1349,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
<key alias="confirmRemoveAllMediaEntryMessage">Remove all medias?</key>
<key alias="tabClipboard">Clipboard</key>
<key alias="notAllowed">Not allowed</key>
<key alias="openMediaPicker">Open media picker</key>
</area>
<area alias="relatedlinks">
<key alias="enterExternal">enter external link</key>
Expand Down
1 change: 1 addition & 0 deletions src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
<key alias="confirmRemoveAllMediaEntryMessage">Remove all medias?</key>
<key alias="tabClipboard">Clipboard</key>
<key alias="notAllowed">Not allowed</key>
<key alias="openMediaPicker">Open media picker</key>
</area>
<area alias="relatedlinks">
<key alias="enterExternal">enter external link</key>
Expand Down

0 comments on commit ad17207

Please sign in to comment.