Skip to content

Commit f12c449

Browse files
BatJannathanwoulfe
authored andcommitted
Map fallback texts
1 parent 3ee289f commit f12c449

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/dialogs/rowconfig.html

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@
1818

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

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

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

2931
<umb-control-group label="@general_name">
@@ -70,10 +72,16 @@
7072
<div class="grid-size-scaler">
7173
<button type="button" class="btn-link" ng-click="vm.scaleDown(currentCell)">
7274
<umb-icon icon="icon-remove" class="icon"></umb-icon>
75+
<span class="sr-only">
76+
<localize key="general_remove">Remove</localize>
77+
</span>
7378
</button>
7479
<span>{{currentCell.grid}}</span>
7580
<button type="button" class="btn-link" ng-click="vm.scaleUp(currentCell, availableRowSpace, true)">
7681
<umb-icon icon="icon-add" class="icon"></umb-icon>
82+
<span class="sr-only">
83+
<localize key="general_add">Add</localize>
84+
</span>
7785
</button>
7886
</div>
7987
</umb-control-group>

src/Umbraco.Web.UI/Umbraco/config/lang/en.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1646,6 +1646,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
16461646
<key alias="chooseDefault">Choose default</key>
16471647
<key alias="areAdded">are added</key>
16481648
<key alias="warning">Warning</key>
1649+
<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>
16491650
<key alias="youAreDeleting">You are deleting the row configuration</key>
16501651
<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>
16511652
<key alias="deleteLayout">You are deleting the layout</key>

src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,6 +1666,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
16661666
<key alias="chooseDefault">Choose default</key>
16671667
<key alias="areAdded">are added</key>
16681668
<key alias="warning">Warning</key>
1669+
<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>
16691670
<key alias="youAreDeleting">You are deleting the row configuration</key>
16701671
<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>
16711672
<key alias="deleteLayout">You are deleting the layout</key>

0 commit comments

Comments
 (0)