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 0eb0b18 commit 7794d55
Showing 1 changed file with 16 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@
<div class="editor-wrapper umb-control-group control-group" ng-model="model.property.editor" val-require-component ng-if="!model.property.locked">

<button type="button" class="btn-reset editor-placeholder" data-element="editor-add" ng-if="!model.property.editor" hotkey="alt+shift+e" ng-click="vm.openDataTypePicker(model.property)">
<localize key="defaultdialogs_selectEditor"></localize>
<localize key="defaultdialogs_selectEditor">Select editor</localize>
<div ng-messages="model.property.editor" show-validation-on-submit>
<span class="umb-validation-label" ng-message="required">Required editor</span>
<span class="umb-validation-label" ng-message="required">
<localize key="general_required">Required</localize>
</span>
</div>
</button>

Expand Down Expand Up @@ -87,7 +89,7 @@

<div class="umb-control-group clearfix" ng-if="!model.property.locked">

<h5><localize key="validation_validation"></localize></h5>
<h5><localize key="validation_validation">Validation</localize></h5>

<umb-toggle data-element="validation_mandatory"
checked="model.property.validation.mandatory"
Expand All @@ -109,7 +111,7 @@ <h5><localize key="validation_validation"></localize></h5>
ng-keypress="vm.submitOnEnter($event)" />

<label class="mt3">
<localize key="validation_customValidation"></localize>
<localize key="validation_customValidation">Custom validation</localize>
</label>

<select class="umb-dropdown" ng-options="validationType.name for validationType in vm.validationTypes" ng-model="vm.selectedValidationType" ng-change="vm.changeValidationType(vm.selectedValidationType)">
Expand Down Expand Up @@ -138,7 +140,7 @@ <h5><localize key="validation_validation"></localize></h5>
</div>
<div class="umb-control-group clearfix" ng-if="!model.property.locked">

<h5><localize key="contentTypeEditor_displaySettingsHeadline"></localize></h5>
<h5><localize key="contentTypeEditor_displaySettingsHeadline">Appearance</localize></h5>

<umb-toggle data-element="displaySettings_labelOnTop"
checked="model.property.labelOnTop"
Expand All @@ -153,7 +155,7 @@ <h5><localize key="contentTypeEditor_displaySettingsHeadline"></localize></h5>
</div>
<div class="umb-control-group clearfix -no-border" ng-if="model.contentType === 'documentType' && model.contentTypeAllowCultureVariant">

<h5><localize key="contentTypeEditor_cultureVariantHeading"></localize></h5>
<h5><localize key="contentTypeEditor_cultureVariantHeading">Allow vary by culture</localize></h5>
<umb-toggle data-element="permissions-allow-culture-variant"
checked="model.property.allowCultureVariant"
on-click="vm.toggleAllowCultureVariants()">
Expand All @@ -162,7 +164,7 @@ <h5><localize key="contentTypeEditor_cultureVariantHeading"></localize></h5>
</div>
<div class="umb-control-group clearfix" ng-if="model.contentType === 'documentType' && model.contentTypeAllowSegmentVariant">

<h5><localize key="contentTypeEditor_segmentVariantHeading"></localize></h5>
<h5><localize key="contentTypeEditor_segmentVariantHeading">Allow segmentation</localize></h5>

<umb-toggle data-element="permissions-allow-segment-variant"
checked="model.property.allowSegmentVariant"
Expand All @@ -173,11 +175,11 @@ <h5><localize key="contentTypeEditor_segmentVariantHeading"></localize></h5>

<div class="umb-control-group clearfix -no-border" ng-if="model.contentType === 'memberType'">

<h5><localize key="general_options"></localize></h5>
<h5><localize key="general_options">Options</localize></h5>

<label class="mt3">
<localize key="contentTypeEditor_showOnMemberProfile"></localize>
<small><localize key="contentTypeEditor_showOnMemberProfileDescription"></localize></small>
<localize key="contentTypeEditor_showOnMemberProfile">Show on member profile</localize>
<small><localize key="contentTypeEditor_showOnMemberProfileDescription">Allow this property value to be displayed on the member profile page</localize></small>
</label>

<umb-toggle data-element="settings_show_member_on_profile"
Expand All @@ -186,8 +188,8 @@ <h5><localize key="general_options"></localize></h5>
</umb-toggle>

<label class="mt3">
<localize key="contentTypeEditor_memberCanEdit"></localize>
<small><localize key="contentTypeEditor_memberCanEditDescription"></localize></small>
<localize key="contentTypeEditor_memberCanEdit">Member can edit</localize>
<small><localize key="contentTypeEditor_memberCanEditDescription">Allow this property value to be edited by the member on their profile page</localize></small>
</label>

<umb-toggle data-element="settings_member_can_edit"
Expand All @@ -196,8 +198,8 @@ <h5><localize key="general_options"></localize></h5>
</umb-toggle>

<label class="mt3" ng-if="vm.showSensitiveData">
<localize key="contentTypeEditor_isSensitiveData"></localize>
<small><localize key="contentTypeEditor_isSensitiveDataDescription"></localize></small>
<localize key="contentTypeEditor_isSensitiveData">Is sensitive data</localize>
<small><localize key="contentTypeEditor_isSensitiveDataDescription">Hide this property value from content editors that don't have access to view sensitive information</localize></small>
</label>

<umb-toggle ng-if="vm.showSensitiveData" data-element="settings_is_sensitive_data"
Expand Down

0 comments on commit 7794d55

Please sign in to comment.