Skip to content

Commit

Permalink
Map fallback texts
Browse files Browse the repository at this point in the history
  • Loading branch information
BatJan authored and nathanwoulfe committed Oct 27, 2021
1 parent 3ee289f commit f12c449
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@

<div class="umb-form-settings form-horizontal">

<p><localize key="grid_addRowConfigurationDetail"></localize></p>
<p><localize key="grid_addRowConfigurationDetail">Adjust the row by setting cell widths and adding additional cells</localize></p>

<div class="alert alert-warn ng-scope" ng-show="nameChanged">
<p>Modifying a row configuration name will result in loss of
data for any existing content that is based on this configuration.</p>
<p><strong>Modifying only the label will not result in data loss.</strong></p>
<localize key="grid_warningText">
<p>Modifying a row configuration name will result in loss of
data for any existing content that is based on this configuration.</p>
<p><strong>Modifying only the label will not result in data loss.</strong></p>
</localize>
</div>

<umb-control-group label="@general_name">
Expand Down Expand Up @@ -70,10 +72,16 @@
<div class="grid-size-scaler">
<button type="button" class="btn-link" ng-click="vm.scaleDown(currentCell)">
<umb-icon icon="icon-remove" class="icon"></umb-icon>
<span class="sr-only">
<localize key="general_remove">Remove</localize>
</span>
</button>
<span>{{currentCell.grid}}</span>
<button type="button" class="btn-link" ng-click="vm.scaleUp(currentCell, availableRowSpace, true)">
<umb-icon icon="icon-add" class="icon"></umb-icon>
<span class="sr-only">
<localize key="general_add">Add</localize>
</span>
</button>
</div>
</umb-control-group>
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 @@ -1646,6 +1646,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
<key alias="chooseDefault">Choose default</key>
<key alias="areAdded">are added</key>
<key alias="warning">Warning</key>
<key alias="warningText"><![CDATA[<p>Modifying a row configuration name will result in loss of data for any existing content that is based on this configuration.</p> <p><strong>Modifying only the label will not result in data loss.</strong></p>]]></key>
<key alias="youAreDeleting">You are deleting the row configuration</key>
<key alias="deletingARow">Deleting a row configuration name will result in loss of data for any existing content that is based on this configuration.</key>
<key alias="deleteLayout">You are deleting the layout</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 @@ -1666,6 +1666,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
<key alias="chooseDefault">Choose default</key>
<key alias="areAdded">are added</key>
<key alias="warning">Warning</key>
<key alias="warningText"><![CDATA[<p>Modifying a row configuration name will result in loss of data for any existing content that is based on this configuration.</p> <p><strong>Modifying only the label will not result in data loss.</strong></p>]]></key>
<key alias="youAreDeleting">You are deleting the row configuration</key>
<key alias="deletingARow">Deleting a row configuration name will result in loss of data for any existing content that is based on this configuration.</key>
<key alias="deleteLayout">You are deleting the layout</key>
Expand Down

0 comments on commit f12c449

Please sign in to comment.