We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c03f0e3 commit 439ed93Copy full SHA for 439ed93
modules/@apostrophecms/doc-type/ui/apos/components/AposDocLocalePicker.vue
@@ -61,7 +61,7 @@ const props = defineProps({
61
62
const $t = inject('i18n');
63
const i18nAction = apos.modules['@apostrophecms/i18n'].action;
64
-const docType = props.moduleOptions.label.toLowerCase();
+const docType = $t(props.moduleOptions.label)?.toLowerCase();
65
const forbiddenTooltip = $t('apostrophe:localeSwitcherPermissionToCreate', { docType });
66
const menu = ref(null);
67
const docLocalized = ref({});
0 commit comments