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

Assign domain view: Add missing fallback texts #11500

Merged
merged 1 commit into from
Oct 26, 2021
Merged
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
13 changes: 7 additions & 6 deletions src/Umbraco.Web.UI.Client/src/views/content/assigndomain.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<umb-pane ng-if="!currentNode.metaData.variesByCulture">
<h5 class="umb-pane-title"><localize key="assignDomain_setLanguage">Culture</localize></h5>
<label for="assignDomain_language" class="control-label"><localize key="general_language"></localize></label>
<label for="assignDomain_language" class="control-label"><localize key="general_language">Language</localize></label>
<select class="umb-property-editor umb-dropdown" name="language" id="assignDomain_language" ng-model="vm.language" ng-options="lang.name for lang in vm.languages">
<option value="">{{vm.inherit}}</option>
</select>
Expand All @@ -25,18 +25,19 @@ <h5 class="umb-pane-title"><localize key="assignDomain_setLanguage">Culture</loc

<h5 class="umb-pane-title"><localize key="assignDomain_setDomains">Domains</localize></h5>
<small class="db mb3">
<localize key="assignDomain_domainHelpWithVariants"></localize>
<localize key="assignDomain_domainHelpWithVariants">Valid domain names are: "example.com", "www.example.com", "example.com:8080", or "https://www.example.com/".
Furthermore also one-level paths in domains are supported, eg. "example.com/en" or "/en".</localize>
</small>
<div class="umb-el-wrap hidelabel">
<table class="table table-condensed table-bordered domains mb3" ng-if="vm.domains.length > 0">
<thead>
<tr>
<th>
<localize key="assignDomain_domain"></localize>
<localize key="assignDomain_domain">Domain</localize>
<span class="umb-control-required">*</span>
</th>
<th>
<localize key="assignDomain_language"></localize>
<localize key="assignDomain_language">Language</localize>
<span class="umb-control-required">*</span>
</th>
<th></th>
Expand All @@ -49,9 +50,9 @@ <h5 class="umb-pane-title"><localize key="assignDomain_setDomains">Domains</loca
<input type="text" class="w-100" ng-model="domain.name" name="domain_name_{{$index}}" required umb-auto-focus />

<span ng-if="vm.domainForm.$submitted" ng-messages="vm.domainForm['domain_name_' + $index].$error">
<span class="help-inline" ng-message="required"><localize key="validation_invalidEmpty"></localize></span>
<span class="help-inline" ng-message="required"><localize key="validation_invalidEmpty">Value cannot be empty</localize></span>
</span>
<span ng-show="domain.duplicate" class="help-inline"><localize key="assignDomain_duplicateDomain"></localize><span ng-show="domain.other">({{domain.other}})</span></span>
<span ng-show="domain.duplicate" class="help-inline"><localize key="assignDomain_duplicateDomain">Domain has already been assigned.</localize><span ng-show="domain.other">({{domain.other}})</span></span>
</td>
<td>
<select
Expand Down