Browse Source

Improve texts and localization.

pull/892/head
Sebastian 4 years ago
parent
commit
369e890a3b
  1. 2
      backend/i18n/frontend_en.json
  2. 2
      backend/i18n/source/frontend_en.json
  3. 2
      frontend/src/app/features/rules/shared/actions/generic-action.component.html
  4. 2
      frontend/src/app/features/rules/shared/triggers/asset-changed-trigger.component.html
  5. 2
      frontend/src/app/features/rules/shared/triggers/comment-trigger.component.html
  6. 2
      frontend/src/app/features/rules/shared/triggers/content-changed-trigger.component.html
  7. 2
      frontend/src/app/features/rules/shared/triggers/schema-changed-trigger.component.html

2
backend/i18n/frontend_en.json

@ -865,7 +865,7 @@
"schemas.fieldTypes.references.countMax": "Max Items",
"schemas.fieldTypes.references.countMin": "Min Items",
"schemas.fieldTypes.references.description": "Links to other content items.",
"schemas.fieldTypes.references.mustBePublished": "References must be published",
"schemas.fieldTypes.references.mustBePublished": "Only take published references into account when validating.",
"schemas.fieldTypes.references.resolve": "Resolve references",
"schemas.fieldTypes.references.resolveHint": "Show the name of the referenced item in content list when MaxItems is set to 1.",
"schemas.fieldTypes.string.characters": "Characters",

2
backend/i18n/source/frontend_en.json

@ -865,7 +865,7 @@
"schemas.fieldTypes.references.countMax": "Max Items",
"schemas.fieldTypes.references.countMin": "Min Items",
"schemas.fieldTypes.references.description": "Links to other content items.",
"schemas.fieldTypes.references.mustBePublished": "References must be published",
"schemas.fieldTypes.references.mustBePublished": "Only take published references into account when validating.",
"schemas.fieldTypes.references.resolve": "Resolve references",
"schemas.fieldTypes.references.resolveHint": "Show the name of the referenced item in content list when MaxItems is set to 1.",
"schemas.fieldTypes.string.characters": "Characters",

2
frontend/src/app/features/rules/shared/actions/generic-action.component.html

@ -40,7 +40,7 @@
<span [sqxMarkdown]="property.description" [inline]="true" [html]="true"></span>
<div *ngIf="property.isFormattable">
{{ 'i18n:rules.advancedFormattingHint' | sqxTranslate }}: <a tabindex="-1" href="https://docs.squidex.io/concepts/rules#3-formatting" sqxExternalLink>{{ 'i18n:common.documentation' | sqxTranslate }}</a>
{{ 'rules.advancedFormattingHint' | sqxTranslate }}: <a tabindex="-1" href="https://docs.squidex.io/concepts/rules#3-formatting" sqxExternalLink>{{ 'common.documentation' | sqxTranslate }}</a>
</div>
</sqx-form-hint>
</div>

2
frontend/src/app/features/rules/shared/triggers/asset-changed-trigger.component.html

@ -4,7 +4,7 @@
<sqx-control-errors for="condition"></sqx-control-errors>
<textarea class="form-control code" id="condition" formControlName="condition" placeholder="{{ 'i18n:rules.conditionHint' | sqxTranslate }}"></textarea>
<textarea class="form-control code" id="condition" formControlName="condition" placeholder="{{ 'rules.conditionHint' | sqxTranslate }}"></textarea>
</div>
<div class="help">

2
frontend/src/app/features/rules/shared/triggers/comment-trigger.component.html

@ -4,7 +4,7 @@
<sqx-control-errors for="condition"></sqx-control-errors>
<textarea class="form-control code" id="condition" formControlName="condition" placeholder="{{ 'i18n:rules.conditionHint' | sqxTranslate }}"></textarea>
<textarea class="form-control code" id="condition" formControlName="condition" placeholder="{{ 'rules.conditionHint' | sqxTranslate }}"></textarea>
</div>
<div class="help">

2
frontend/src/app/features/rules/shared/triggers/content-changed-trigger.component.html

@ -21,7 +21,7 @@
<span class="truncate">{{triggerSchema.schema.displayName}}</span>
</td>
<td class="text-center">
<input type="text" class="form-control code" placeholder="{{ 'i18n:rules.conditionHint' | sqxTranslate }}"
<input type="text" class="form-control code" placeholder="{{ 'rules.conditionHint' | sqxTranslate }}"
[disabled]="triggerForm.form.disabled"
[ngModelOptions]="{ updateOn: 'blur' }"
[ngModel]="triggerSchema.condition"

2
frontend/src/app/features/rules/shared/triggers/schema-changed-trigger.component.html

@ -4,7 +4,7 @@
<sqx-control-errors for="condition"></sqx-control-errors>
<textarea class="form-control code" id="condition" formControlName="condition" placeholder="{{ 'i18n:rules.conditionHint' | sqxTranslate }}"></textarea>
<textarea class="form-control code" id="condition" formControlName="condition" placeholder="{{ 'rules.conditionHint' | sqxTranslate }}"></textarea>
</div>
<div class="help">

Loading…
Cancel
Save