diff --git a/next-ui/src/components.d.ts b/next-ui/src/components.d.ts index af12d60f9..957882da9 100644 --- a/next-ui/src/components.d.ts +++ b/next-ui/src/components.d.ts @@ -26,7 +26,7 @@ declare module 'vue' { FragmentHistoryExpandBookFileDeleted: typeof import('./fragments/fragment/history/expand/BookFileDeleted.vue')['default'] FragmentHistoryExpandBookImported: typeof import('./fragments/fragment/history/expand/BookImported.vue')['default'] FragmentHistoryExpandDuplicatePageDeleted: typeof import('./fragments/fragment/history/expand/DuplicatePageDeleted.vue')['default'] - FragmentHistoryExpandSeriesFolderDeleted: typeof import('./fragments/fragment/history/expand/SeriesFolderDeleted.vue')['default'] + FragmentHistoryExpandSeriesDirectoryDeleted: typeof import('./fragments/fragment/history/expand/SeriesDirectoryDeleted.vue')['default'] FragmentHistoryExpandTable: typeof import('./fragments/fragment/history/expand/Table.vue')['default'] FragmentHistoryTable: typeof import('./fragments/fragment/history/Table.vue')['default'] FragmentLocaleSelector: typeof import('./fragments/fragment/LocaleSelector.vue')['default'] diff --git a/next-ui/src/components/README.md b/next-ui/src/components/README.md index 6d678ae02..8e4f52b1c 100644 --- a/next-ui/src/components/README.md +++ b/next-ui/src/components/README.md @@ -1,6 +1,6 @@ # Components -Vue template files in this folder are automatically imported. +Vue template files in this directory are automatically imported. ## 🚀 Usage diff --git a/next-ui/src/fragments/README.md b/next-ui/src/fragments/README.md index f9293a488..76bc4be16 100644 --- a/next-ui/src/fragments/README.md +++ b/next-ui/src/fragments/README.md @@ -1,6 +1,6 @@ # Fragments -Vue template files in this folder are automatically imported. +Vue template files in this directory are automatically imported. ## 🚀 Usage diff --git a/next-ui/src/fragments/fragment/history/Table.vue b/next-ui/src/fragments/fragment/history/Table.vue index 37d416fc0..68be7dceb 100644 --- a/next-ui/src/fragments/fragment/history/Table.vue +++ b/next-ui/src/fragments/fragment/history/Table.vue @@ -96,7 +96,7 @@ import FragmentHistoryExpandBookFileDeleted from '@/fragments/fragment/history/e import FragmentHistoryExpandBookImported from '@/fragments/fragment/history/expand/BookImported.vue' import FragmentHistoryExpandBookConverted from '@/fragments/fragment/history/expand/BookConverted.vue' import FragmentHistoryExpandDuplicatePageDeleted from '@/fragments/fragment/history/expand/DuplicatePageDeleted.vue' -import FragmentHistoryExpandSeriesFolderDeleted from '@/fragments/fragment/history/expand/SeriesFolderDeleted.vue' +import FragmentHistoryExpandSeriesDirectoryDeleted from '@/fragments/fragment/history/expand/SeriesDirectoryDeleted.vue' import { historicalEventMessages } from '@/utils/i18n/enum/historical-event' import type { MessageDescriptor } from '@formatjs/intl/src/types' import { seriesDetailQuery } from '@/colada/series' @@ -188,7 +188,7 @@ function getExpandedComponent(eventType: string): Component | null { case 'BookFileDeleted': return markRaw(FragmentHistoryExpandBookFileDeleted) case 'SeriesFolderDeleted': - return markRaw(FragmentHistoryExpandSeriesFolderDeleted) + return markRaw(FragmentHistoryExpandSeriesDirectoryDeleted) case 'DuplicatePageDeleted': return markRaw(FragmentHistoryExpandDuplicatePageDeleted) case 'BookConverted': diff --git a/next-ui/src/fragments/fragment/history/expand/SeriesFolderDeleted.stories.ts b/next-ui/src/fragments/fragment/history/expand/SeriesDirectoryDeleted.stories.ts similarity index 66% rename from next-ui/src/fragments/fragment/history/expand/SeriesFolderDeleted.stories.ts rename to next-ui/src/fragments/fragment/history/expand/SeriesDirectoryDeleted.stories.ts index caccb46a4..8485506c4 100644 --- a/next-ui/src/fragments/fragment/history/expand/SeriesFolderDeleted.stories.ts +++ b/next-ui/src/fragments/fragment/history/expand/SeriesDirectoryDeleted.stories.ts @@ -1,22 +1,22 @@ import type { Meta, StoryObj } from '@storybook/vue3-vite' -import SeriesFolderDeleted from './SeriesFolderDeleted.vue' +import SeriesDirectoryDeleted from './SeriesDirectoryDeleted.vue' import { historySeriesFolderDeleted } from '@/mocks/api/handlers/history' const meta = { - component: SeriesFolderDeleted, + component: SeriesDirectoryDeleted, render: (args: object) => ({ - components: { SeriesFolderDeleted }, + components: { SeriesDirectoryDeleted }, setup() { return { args } }, - template: '', + template: '', }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout }, args: {}, -} satisfies Meta +} satisfies Meta export default meta type Story = StoryObj diff --git a/next-ui/src/fragments/fragment/history/expand/SeriesFolderDeleted.vue b/next-ui/src/fragments/fragment/history/expand/SeriesDirectoryDeleted.vue similarity index 85% rename from next-ui/src/fragments/fragment/history/expand/SeriesFolderDeleted.vue rename to next-ui/src/fragments/fragment/history/expand/SeriesDirectoryDeleted.vue index 088600d19..e0bf18e20 100644 --- a/next-ui/src/fragments/fragment/history/expand/SeriesFolderDeleted.vue +++ b/next-ui/src/fragments/fragment/history/expand/SeriesDirectoryDeleted.vue @@ -10,7 +10,7 @@ const { event } = defineProps<{ }>() const rows = computed(() => [ - { header: 'Folder', value: event.properties.name }, + { header: 'Directory', value: event.properties.name }, { header: 'Reason', value: event.properties.reason }, ]) diff --git a/next-ui/src/i18n/README.md b/next-ui/src/i18n/README.md index 11a3d4089..c22ef1f92 100644 --- a/next-ui/src/i18n/README.md +++ b/next-ui/src/i18n/README.md @@ -1 +1 @@ -This folder contains the compiled translation files, using `npm run i18n-compile`. +This directory contains the compiled translation files, using `npm run i18n-compile`. diff --git a/next-ui/src/pages/README.md b/next-ui/src/pages/README.md index bc9281e39..22add85de 100644 --- a/next-ui/src/pages/README.md +++ b/next-ui/src/pages/README.md @@ -1,5 +1,5 @@ # Pages -Vue components created in this folder will automatically be converted to navigable routes. +Vue components created in this directory will automatically be converted to navigable routes. Full documentation for this feature can be found in the Official [unplugin-vue-router](https://github.com/posva/unplugin-vue-router) repository. diff --git a/next-ui/src/plugins/README.md b/next-ui/src/plugins/README.md index 62201c7cf..7f0b3871f 100644 --- a/next-ui/src/plugins/README.md +++ b/next-ui/src/plugins/README.md @@ -1,3 +1,3 @@ # Plugins -Plugins are a way to extend the functionality of your Vue application. Use this folder for registering plugins that you want to use globally. +Plugins are a way to extend the functionality of your Vue application. Use this directory for registering plugins that you want to use globally. diff --git a/next-ui/src/utils/i18n/enum/historical-event.ts b/next-ui/src/utils/i18n/enum/historical-event.ts index 58ad873fd..68495493a 100644 --- a/next-ui/src/utils/i18n/enum/historical-event.ts +++ b/next-ui/src/utils/i18n/enum/historical-event.ts @@ -9,7 +9,7 @@ export const historicalEventMessages: Record = { }), SeriesFolderDeleted: defineMessage({ description: 'Historical event: SeriesFolderDeleted', - defaultMessage: 'Series Folder Deleted', + defaultMessage: 'Series Directory Deleted', id: 'enum.historicalEvent.SeriesFolderDeleted', }), DuplicatePageDeleted: defineMessage({