Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Row config view: Fix fallback texts #11519

Merged
merged 1 commit into from
Oct 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -1645,6 +1645,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 @@ -1665,6 +1665,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