Skip to content

Commit 32b2f44

Browse files
committed
test options for custom icons and labels
1 parent a425628 commit 32b2f44

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

modules/@apostrophecms/i18n/i18n/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"at": "at",
4747
"attachment": "Attachment",
4848
"automaticTranslationCheckbox": "Translate text content",
49+
"automaticTranslationDisclaimer": "",
4950
"automaticTranslationErrMsg": "An error happened while getting available languages for translation. Translation will be skipped.",
5051
"automaticTranslationErrorNoProvider": "Translation provider not found. Page \"{{ title }}\" was not translated.",
5152
"automaticTranslationErrorTargets": "Badly formatted translation targets.",

modules/@apostrophecms/i18n/ui/apos/components/AposI18nLocalize.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@
231231
{{ $t('apostrophe:automaticTranslationSettings') }}
232232
</span>
233233
</p>
234+
<p v-if="automaticTranslationDisclaimer" class="apos-wizard__translation-disclaimer">
235+
{{ automaticTranslationDisclaimer }}
236+
</p>
234237
<AposCheckbox
235238
v-model="wizard.values.translateContent.data"
236239
:field="{ name: 'translate' }"
@@ -449,7 +452,8 @@ export default {
449452
translationEnabled: apos.modules['@apostrophecms/translation'].enabled,
450453
translationErrMsg: null,
451454
translationShowRetry: false,
452-
translationShowLoader: false
455+
translationShowLoader: false,
456+
automaticTranslationDisclaimer: this.$t('apostrophe:automaticTranslationDisclaimer')
453457
};
454458
},
455459
computed: {

0 commit comments

Comments
 (0)