Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/frontend/@n8n/i18n/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1286,6 +1286,7 @@
"ndv.httpRequest.credentialOnly.docsNotice": "Use the <a target=\"_blank\" href=\"{docsUrl}\">{nodeName} docs</a> to construct your request. We'll take care of the authentication part if you add a {nodeName} credential below.",
"noTagsView.readyToOrganizeYourWorkflows": "Ready to organize your workflows?",
"noTagsView.withWorkflowTagsYouReFree": "With workflow tags, you're free to create the perfect tagging system for your flows",
"noTagsView.createTag": "Create a tag",
"noAnnotationTagsView.title": "Organize your executions",
"noAnnotationTagsView.description": "Execution tags help you label and identify different classes of execution. Plus once you tag an execution, it’s never deleted",
"node.thisIsATriggerNode": "This is a Trigger node. <a target=\"_blank\" href=\"https://docs.n8n.io/workflows/components/nodes/\">Learn more</a>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ import { N8nButton, N8nHeading } from '@n8n/design-system';
type Props = {
titleLocaleKey: BaseTextKey;
descriptionLocaleKey: BaseTextKey;
createLocaleKey: BaseTextKey;
};

withDefaults(defineProps<Props>(), {
titleLocaleKey: 'noTagsView.readyToOrganizeYourWorkflows',
descriptionLocaleKey: 'noTagsView.withWorkflowTagsYouReFree',
createLocaleKey: 'noTagsView.createTag',
});

const i18n = useI18n();
Expand All @@ -31,7 +33,11 @@ const i18n = useI18n();
{{ i18n.baseText(descriptionLocaleKey) }}
</div>
</div>
<N8nButton label="Create a tag" size="large" @click="$emit('enableCreate')" />
<N8nButton
:label="i18n.baseText(`${createLocaleKey}`)"
size="large"
@click="$emit('enableCreate')"
/>
</ElCol>
</div>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ interface TagsManagerProps {
titleLocaleKey?: BaseTextKey;
noTagsTitleLocaleKey?: BaseTextKey;
noTagsDescriptionLocaleKey?: BaseTextKey;
noTagsCreateLocaleKey?: BaseTextKey;
tags: ITag[];
isLoading: boolean;
onFetchTags: () => Promise<void>;
Expand All @@ -31,6 +32,7 @@ const props = withDefaults(defineProps<TagsManagerProps>(), {
usageColumnTitleLocaleKey: 'tagsTable.usage',
noTagsTitleLocaleKey: 'noTagsView.readyToOrganizeYourWorkflows',
noTagsDescriptionLocaleKey: 'noTagsView.withWorkflowTagsYouReFree',
noTagsCreateLocaleKey: 'noTagsView.createTag',
});

const emit = defineEmits<{
Expand Down Expand Up @@ -173,6 +175,7 @@ function onEnter() {
v-else
:title-locale-key="noTagsTitleLocaleKey"
:description-locale-key="noTagsDescriptionLocaleKey"
:create-locale-key="noTagsCreateLocaleKey"
@enable-create="onEnableCreate"
/>
</ElRow>
Expand Down