Skip to content

Commit

Permalink
Add missing fallback texts
Browse files Browse the repository at this point in the history
  • Loading branch information
BatJan authored and nathanwoulfe committed Oct 26, 2021
1 parent 87a8ea7 commit 0d73d90
Showing 1 changed file with 7 additions and 6 deletions.
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

0 comments on commit 0d73d90

Please sign in to comment.