memi-board 0.56.2 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -8
- package/dist/{commentImages-DsW2yCqu.js → commentImages-mIfyNHgz.js} +143 -59
- package/dist/commentImages-mIfyNHgz.js.map +1 -0
- package/dist/composables/useMemiBoardModeration.d.ts +2 -0
- package/dist/composables/useMemiBoardPosts.d.ts +1 -1
- package/dist/composables/useMemiBoardUserDirectory.d.ts +20 -0
- package/dist/composables/useMemiBoardUserProfile.d.ts +1 -1
- package/dist/composables/useMemiBoardUsers.d.ts +1 -1
- package/dist/{en-BDkfivhc.js → en-Dc7zQOy-.js} +85 -1
- package/dist/en-Dc7zQOy-.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +921 -711
- package/dist/index.js.map +1 -1
- package/dist/module.mjs +4 -0
- package/dist/module.mjs.map +1 -1
- package/dist/runtime/components/AccountDeletion.vue +64 -0
- package/dist/runtime/components/AuthorMenu.vue +4 -4
- package/dist/runtime/components/CommentFeed.vue +17 -13
- package/dist/runtime/components/CommentForm.vue +58 -56
- package/dist/runtime/components/CommentImageField.vue +6 -3
- package/dist/runtime/components/CommentItem.vue +16 -3
- package/dist/runtime/components/CommentList.vue +10 -1
- package/dist/runtime/components/CommentThread.vue +16 -2
- package/dist/runtime/components/Detail.vue +7 -1
- package/dist/runtime/components/Editor.vue +1 -5
- package/dist/runtime/components/Profile.vue +14 -2
- package/dist/runtime/components/ProfileEditModal.vue +20 -3
- package/dist/runtime/components/UserListControls.vue +29 -0
- package/dist/runtime/components/UserListPagination.vue +17 -0
- package/dist/runtime/components/UserManagementEmail.vue +21 -0
- package/dist/runtime/components/UserRoleGuide.vue +38 -0
- package/dist/runtime/components/Users.vue +21 -59
- package/dist/runtime/components/UsersSettings.vue +119 -0
- package/dist/storage.js +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/utils/postSlug.d.ts +12 -0
- package/dist/utils/profileNameModeration.d.ts +8 -0
- package/dist/utils/userDirectoryPage.d.ts +19 -0
- package/docs/account-deletion.md +60 -0
- package/docs/firestore.rules.example +61 -2
- package/docs/host-integration.md +72 -9
- package/docs/storage.rules.example +7 -2
- package/package.json +3 -2
- package/scripts/backfill-post-slugs.mjs +38 -0
- package/dist/commentImages-DsW2yCqu.js.map +0 -1
- package/dist/en-BDkfivhc.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commentImages-mIfyNHgz.js","names":[],"sources":["../src/i18n/locales.ts","../src/utils/boardPaths.ts","../src/config.ts","../src/i18n/messages/ko/accountDeletion.ts","../src/i18n/messages/ko/attachments.ts","../src/i18n/messages/ko/auth.ts","../src/i18n/messages/ko/authorMemo.ts","../src/i18n/messages/ko/authorMenu.ts","../src/i18n/messages/ko/avatarCropModal.ts","../src/i18n/messages/ko/boardSettings.ts","../src/i18n/messages/ko/boardUsers.ts","../src/i18n/messages/ko/commentFeed.ts","../src/i18n/messages/ko/commentForm.ts","../src/i18n/messages/ko/commentItem.ts","../src/i18n/messages/ko/commentList.ts","../src/i18n/messages/ko/commentThread.ts","../src/i18n/messages/ko/comments.ts","../src/i18n/messages/ko/common.ts","../src/i18n/messages/ko/detail.ts","../src/i18n/messages/ko/editor.ts","../src/i18n/messages/ko/footer.ts","../src/i18n/messages/ko/likes.ts","../src/i18n/messages/ko/list.ts","../src/i18n/messages/ko/listViewSwitch.ts","../src/i18n/messages/ko/miniComments.ts","../src/i18n/messages/ko/miniList.ts","../src/i18n/messages/ko/miniPicker.ts","../src/i18n/messages/ko/miniPost.ts","../src/i18n/messages/ko/moderation.ts","../src/i18n/messages/ko/moderationPrompt.ts","../src/i18n/messages/ko/moderationStrike.ts","../src/i18n/messages/ko/posts.ts","../src/i18n/messages/ko/profile.ts","../src/i18n/messages/ko/profileEditModal.ts","../src/i18n/messages/ko/reportButton.ts","../src/i18n/messages/ko/reportList.ts","../src/i18n/messages/ko/reports.ts","../src/i18n/messages/ko/sectionUtil.ts","../src/i18n/messages/ko/sections.ts","../src/i18n/messages/ko/seo.ts","../src/i18n/messages/ko/settings.ts","../src/i18n/messages/ko/shareButton.ts","../src/i18n/messages/ko/signIn.ts","../src/i18n/messages/ko/storage.ts","../src/i18n/messages/ko/swipeHint.ts","../src/i18n/messages/ko/userCommentList.ts","../src/i18n/messages/ko/userPostList.ts","../src/i18n/messages/ko/users.ts","../src/i18n/messages/ko/writingAssistant.ts","../src/i18n/messages/ko/index.ts","../src/i18n/translate.ts","../src/utils/formatDate.ts","../src/i18n/useMemiBoardI18n.ts","../src/utils/slugify.ts","../src/utils/commentImages.ts"],"sourcesContent":["/** 게시판 UI 지원 언어. 코드는 @nuxtjs/i18n 호스트의 locale code 와 맞춘다. */\nexport const MEMI_BOARD_LOCALES = [\n { code: 'ko', name: '한국어', intl: 'ko-KR', dir: 'ltr' },\n { code: 'en', name: 'English', intl: 'en-US', dir: 'ltr' },\n { code: 'ja', name: '日本語', intl: 'ja-JP', dir: 'ltr' },\n { code: 'de', name: 'Deutsch', intl: 'de-DE', dir: 'ltr' },\n { code: 'fr', name: 'Français', intl: 'fr-FR', dir: 'ltr' },\n { code: 'es', name: 'Español', intl: 'es-419', dir: 'ltr' },\n { code: 'pt', name: 'Português', intl: 'pt-BR', dir: 'ltr' },\n { code: 'zh', name: '中文', intl: 'zh-CN', dir: 'ltr' },\n { code: 'ar', name: 'العربية', intl: 'ar', dir: 'rtl' },\n { code: 'id', name: 'Indonesia', intl: 'id-ID', dir: 'ltr' },\n] as const\n\nexport type MemiBoardLocale = typeof MEMI_BOARD_LOCALES[number]['code']\nexport type MemiBoardLocaleInfo = typeof MEMI_BOARD_LOCALES[number]\n\nexport const DEFAULT_MEMI_BOARD_LOCALE: MemiBoardLocale = 'ko'\n/** 번역이 빠진 키(긴 안내문 등)를 채우는 언어. ko 는 원문이라 모든 키가 있다. */\nexport const FALLBACK_MEMI_BOARD_LOCALE: MemiBoardLocale = 'en'\n\nconst CODES = new Set<string>(MEMI_BOARD_LOCALES.map(item => item.code))\n\n/** 'en-US', 'pt_BR', 'zh-Hans' 같은 값을 지원 언어 코드로 맞춘다. 지원하지 않으면 undefined. */\nexport function normalizeMemiBoardLocale(value: unknown): MemiBoardLocale | undefined {\n if (typeof value !== 'string') return undefined\n const code = value.trim().toLowerCase().split(/[-_]/)[0]\n return code && CODES.has(code) ? code as MemiBoardLocale : undefined\n}\n\nexport function memiBoardLocaleInfo(locale: MemiBoardLocale): MemiBoardLocaleInfo {\n return MEMI_BOARD_LOCALES.find(item => item.code === locale) ?? MEMI_BOARD_LOCALES[0]\n}\n","/**\n * Firestore / Storage 경로\n *\n * ```\n * memiBoardUsers/{uid}\n * memiBoardSettings/{boardId} // 보드 설정 (구 memiBoards/{id} stub + settings/config 통합)\n * memiBoardPosts/{postId} // boardId 는 문서 필드\n * memiBoardPosts/{postId}/body/main\n * memiBoardComments/{commentId} // postId, boardId 는 문서 필드\n * memiBoardLikes/{targetId}_{uid} // 글: postId_uid / 댓글: commentId_uid\n * memiBoardReports/{postId}_{uid} // 글 신고. 유저당 글당 1건\n * ```\n *\n * Storage: `memiBoardPosts/{postId}/...` (postId 가 전역 고유이므로 boardId 불필요)\n *\n * 카테고리 개념 없음 — 예전 category id 가 곧 boardId. boardId/postId 는 경로가\n * 아니라 문서 필드이므로, 보드/글 단위로 좁혀야 하는 쿼리는 항상 where 필터로\n * 스코핑한다 (컬렉션 자체는 항상 최상위 flat 컬렉션).\n */\nimport {\n collection,\n doc,\n type CollectionReference,\n type DocumentReference,\n type Firestore,\n} from 'firebase/firestore'\n\nexport const DEFAULT_POSTS_COLLECTION = 'memiBoardPosts'\nexport const DEFAULT_COMMENTS_COLLECTION = 'memiBoardComments'\nexport const DEFAULT_LIKES_COLLECTION = 'memiBoardLikes'\nexport const DEFAULT_REPORTS_COLLECTION = 'memiBoardReports'\nexport const DEFAULT_SETTINGS_COLLECTION = 'memiBoardSettings'\nexport const DEFAULT_USERS_COLLECTION = 'memiBoardUsers'\n\nexport interface BoardPathConfig {\n postsCollection: string\n commentsCollection: string\n likesCollection: string\n reportsCollection: string\n settingsCollection: string\n usersCollection: string\n}\n\nexport function resolveBoardPathConfig(input: {\n postsCollection?: string\n commentsCollection?: string\n likesCollection?: string\n reportsCollection?: string\n settingsCollection?: string\n usersCollection?: string\n}): BoardPathConfig {\n return {\n postsCollection: input.postsCollection?.trim() || DEFAULT_POSTS_COLLECTION,\n commentsCollection: input.commentsCollection?.trim() || DEFAULT_COMMENTS_COLLECTION,\n likesCollection: input.likesCollection?.trim() || DEFAULT_LIKES_COLLECTION,\n reportsCollection: input.reportsCollection?.trim() || DEFAULT_REPORTS_COLLECTION,\n settingsCollection: input.settingsCollection?.trim() || DEFAULT_SETTINGS_COLLECTION,\n usersCollection: input.usersCollection?.trim() || DEFAULT_USERS_COLLECTION,\n }\n}\n\n/** 보드 설정 목록/문서 — 구 memiBoards/{boardId} stub + settings/config 통합 */\nexport function settingsCol(db: Firestore, cfg: BoardPathConfig): CollectionReference {\n return collection(db, cfg.settingsCollection)\n}\n\nexport function settingsDoc(\n db: Firestore,\n cfg: BoardPathConfig,\n boardId: string,\n): DocumentReference {\n return doc(db, cfg.settingsCollection, boardId)\n}\n\nexport function postsCol(db: Firestore, cfg: BoardPathConfig): CollectionReference {\n return collection(db, cfg.postsCollection)\n}\n\nexport function postDoc(db: Firestore, cfg: BoardPathConfig, postId: string): DocumentReference {\n return doc(db, cfg.postsCollection, postId)\n}\n\nexport function postBodyDoc(\n db: Firestore,\n cfg: BoardPathConfig,\n postId: string,\n): DocumentReference {\n return doc(db, cfg.postsCollection, postId, 'body', 'main')\n}\n\nexport function commentsCol(db: Firestore, cfg: BoardPathConfig): CollectionReference {\n return collection(db, cfg.commentsCollection)\n}\n\nexport function commentDoc(\n db: Firestore,\n cfg: BoardPathConfig,\n commentId: string,\n): DocumentReference {\n return doc(db, cfg.commentsCollection, commentId)\n}\n\nexport function likesCol(db: Firestore, cfg: BoardPathConfig): CollectionReference {\n return collection(db, cfg.likesCollection)\n}\n\n/** 좋아요 문서ID 관례: `${targetId}_{uid}` — targetId 는 postId 또는 commentId. 토글은 create-or-delete */\nexport function likeDocId(targetId: string, uid: string): string {\n return `${targetId}_${uid}`\n}\n\nexport function likeDoc(\n db: Firestore,\n cfg: BoardPathConfig,\n targetId: string,\n uid: string,\n): DocumentReference {\n return doc(db, cfg.likesCollection, likeDocId(targetId, uid))\n}\n\nexport function reportsCol(db: Firestore, cfg: BoardPathConfig): CollectionReference {\n return collection(db, cfg.reportsCollection)\n}\n\n/** 신고 문서ID: `${postId}_{uid}` — 유저당 글당 1건 */\nexport function reportDocId(postId: string, uid: string): string {\n return `${postId}_${uid}`\n}\n\nexport function reportDoc(\n db: Firestore,\n cfg: BoardPathConfig,\n postId: string,\n uid: string,\n): DocumentReference {\n return doc(db, cfg.reportsCollection, reportDocId(postId, uid))\n}\n\nexport function boardUsersCol(db: Firestore, cfg: BoardPathConfig): CollectionReference {\n return collection(db, cfg.usersCollection)\n}\n\nexport function boardUserDoc(\n db: Firestore,\n cfg: BoardPathConfig,\n uid: string,\n): DocumentReference {\n return doc(db, cfg.usersCollection, uid)\n}\n\n/** 이메일만 담는 비공개 문서 — memiBoardUsers/{uid}는 공개 프로필이라 이메일만 분리한다. */\nexport function boardUserPrivateDoc(\n db: Firestore,\n cfg: BoardPathConfig,\n uid: string,\n): DocumentReference {\n return doc(db, cfg.usersCollection, uid, 'private', 'info')\n}\n\n/** 본인만 보는 작성자 메모 — 문서 ID 자체가 targetUid라 대상당 메모가 하나로 고정된다. */\nexport function authorMemoDoc(\n db: Firestore,\n cfg: BoardPathConfig,\n viewerUid: string,\n targetUid: string,\n): DocumentReference {\n return doc(db, cfg.usersCollection, viewerUid, 'memos', targetUid)\n}\n\n/** postId 가 전역 고유이므로 boardId 프리픽스 불필요 */\nexport function postStorageFolder(cfg: BoardPathConfig, postId: string): string {\n return `${cfg.postsCollection}/${postId}`\n}\n\nexport function boardSsrKey(cfg: BoardPathConfig, suffix: string): string {\n return `${cfg.postsCollection}/${cfg.usersCollection}/${suffix}`\n}\n","import { reactive } from 'vue'\nimport { MEMI_BOARD_LOCALES, normalizeMemiBoardLocale, type MemiBoardLocale } from './i18n/locales'\nimport type { BoardUserRole } from './types'\nimport {\n DEFAULT_COMMENTS_COLLECTION,\n DEFAULT_LIKES_COLLECTION,\n DEFAULT_REPORTS_COLLECTION,\n DEFAULT_POSTS_COLLECTION,\n DEFAULT_SETTINGS_COLLECTION,\n DEFAULT_USERS_COLLECTION,\n resolveBoardPathConfig,\n type BoardPathConfig,\n} from './utils/boardPaths'\n\nexport interface MemiBoardAuthOptions {\n providers?: Array<'google' | 'apple' | 'emailPassword'>\n /** Login route for comment prompts; the host receives the return URL as `next`. */\n loginPath?: string\n}\n\nexport interface MemiBoardI18nOptions {\n /** false이면 호스트·게시판 언어 대신 locale로 UI를 고정하고 번역 기능도 끈다. 기본 true. */\n enabled?: boolean\n}\n\nexport interface MemiBoardTranslationOptions {\n /** false이면 콘텐츠 번역 생성과 번역문 표시를 끈다. UI 언어 설정은 유지한다. 기본 true. */\n enabled?: boolean\n}\n\nexport interface MemiBoardModerationOptions {\n enabled?: boolean\n model?: string\n localBlocklist?: string[]\n onError?: 'allow' | 'block'\n moderateImages?: boolean\n useLimitedUseAppCheckTokens?: boolean\n blockBanThreshold?: number\n blockBanDecayMs?: number\n}\n\nexport interface MemiBoardSeoOptions {\n enabled?: boolean\n siteName?: string\n siteUrl?: string\n defaultOgImage?: string\n /**\n * 호스트 게시판 base path (trailing slash 없음). 기본 '/board'\n * canonical: {base}, {base}/{boardId}, {base}/{boardId}/{slug}\n */\n basePath?: string\n}\n\n/**\n * 관리자가 보드 전체 설정 화면에서 바꾸는 값(Firestore `memiBoardSettings/__app` 문서).\n * 호스트 `nuxt.config` 설정 위에 덧씌우며, 비어 있으면 호스트 설정을 그대로 따른다.\n */\nexport interface MemiBoardSiteSettings {\n /** true 이면 AI 기능(검열·번역·글쓰기 도우미·AI 제목)을 모두 끈다. */\n disableAi?: boolean\n /** true 이면 국제화를 끄고 `locale` 한 언어로 고정한다. */\n disableI18n?: boolean\n /** 기본 언어(국제화를 끄면 고정 언어). */\n locale?: string\n /** 쓸 수 있는 언어(MEMI_BOARD_LOCALES 코드). 비어 있으면 지원 언어 전체. */\n locales?: string[]\n}\n\nexport interface MemiBoardConfig {\n /** 글 컬렉션. 기본 `memiBoardPosts` */\n postsCollection: string\n /** 댓글 컬렉션. 기본 `memiBoardComments` */\n commentsCollection: string\n /** 좋아요 컬렉션. 기본 `memiBoardLikes` */\n likesCollection: string\n /** 신고 컬렉션. 기본 `memiBoardReports` */\n reportsCollection: string\n /** 보드 설정 컬렉션. 기본 `memiBoardSettings` */\n settingsCollection: string\n /** 역할 문서 컬렉션. 기본 `memiBoardUsers` */\n usersCollection: string\n auth: MemiBoardAuthOptions\n moderation: MemiBoardModerationOptions\n seo: MemiBoardSeoOptions\n i18n?: MemiBoardI18nOptions\n translation?: MemiBoardTranslationOptions\n /** 관리자 화면에서 바꾸는 사이트 전체 설정. 런타임에 Firestore 값으로 채운다. */\n site?: MemiBoardSiteSettings\n /**\n * 기본 언어. 호스트에 @nuxtjs/i18n 이 있으면 그 언어를 따르고,\n * 보드 설정에서 언어를 고르면 그 보드는 그 언어로 고정된다. 기본 'ko'.\n */\n roleLabels?: Partial<Record<BoardUserRole, string>>\n locale?: string\n}\n\nconst GLOBAL_KEY = '__MEMI_BOARD_CONFIG__' as const\n\nfunction getSharedConfig(): MemiBoardConfig {\n const g = globalThis as typeof globalThis & {\n [GLOBAL_KEY]?: MemiBoardConfig\n }\n if (!g[GLOBAL_KEY]) {\n g[GLOBAL_KEY] = reactive<MemiBoardConfig>({\n postsCollection: DEFAULT_POSTS_COLLECTION,\n commentsCollection: DEFAULT_COMMENTS_COLLECTION,\n likesCollection: DEFAULT_LIKES_COLLECTION,\n reportsCollection: DEFAULT_REPORTS_COLLECTION,\n settingsCollection: DEFAULT_SETTINGS_COLLECTION,\n usersCollection: DEFAULT_USERS_COLLECTION,\n auth: { providers: ['google', 'apple'] },\n moderation: {\n enabled: true,\n model: 'gemini-3.5-flash-lite',\n onError: 'allow',\n moderateImages: false,\n localBlocklist: [],\n blockBanThreshold: 10,\n blockBanDecayMs: 24 * 60 * 60 * 1000,\n },\n seo: {\n enabled: true,\n siteName: 'Board',\n siteUrl: '',\n defaultOgImage: '',\n basePath: '/board',\n },\n })\n }\n return g[GLOBAL_KEY]\n}\n\nexport function configureMemiBoard(options: Partial<MemiBoardConfig>): void {\n const config = getSharedConfig()\n if (options.postsCollection != null && options.postsCollection !== '') {\n config.postsCollection = options.postsCollection.trim()\n }\n if (options.commentsCollection != null && options.commentsCollection !== '') {\n config.commentsCollection = options.commentsCollection.trim()\n }\n if (options.likesCollection != null && options.likesCollection !== '') {\n config.likesCollection = options.likesCollection.trim()\n }\n if (options.reportsCollection != null && options.reportsCollection !== '') {\n config.reportsCollection = options.reportsCollection.trim()\n }\n if (options.settingsCollection != null && options.settingsCollection !== '') {\n config.settingsCollection = options.settingsCollection.trim()\n }\n if (options.usersCollection != null && options.usersCollection !== '') {\n config.usersCollection = options.usersCollection.trim()\n }\n if (options.auth) Object.assign(config.auth, options.auth)\n if (options.moderation) Object.assign(config.moderation, options.moderation)\n if (options.seo) Object.assign(config.seo, options.seo)\n if (options.i18n) config.i18n = { ...config.i18n, ...options.i18n }\n if (options.translation) config.translation = { ...config.translation, ...options.translation }\n if (options.roleLabels) config.roleLabels = { ...options.roleLabels }\n if (options.locale) config.locale = options.locale\n}\n\nexport function useMemiBoardConfig(): MemiBoardConfig {\n return getSharedConfig()\n}\n\n/** 관리자가 AI 기능을 끄지 않았는지. 검열·번역·글쓰기 도우미·AI 제목이 모두 이 값을 따른다. */\nexport function isMemiBoardAiEnabled(): boolean {\n return useMemiBoardConfig().site?.disableAi !== true\n}\n\n/** UI를 거치지 않는 호출도 AI 요청 전에 차단한다. */\nexport function assertMemiBoardAiEnabled(): void {\n if (!isMemiBoardAiEnabled()) {\n throw Object.assign(new Error('AI features are disabled for this board service.'), {\n code: 'memi-board/ai-disabled',\n })\n }\n}\n\nexport function isMemiBoardI18nEnabled(): boolean {\n const config = useMemiBoardConfig()\n return config.site?.disableI18n !== true && config.i18n?.enabled !== false\n}\n\nexport function isMemiBoardTranslationEnabled(): boolean {\n return isMemiBoardAiEnabled() && isMemiBoardI18nEnabled() && useMemiBoardConfig().translation?.enabled !== false\n}\n\n/**\n * 관리자가 사용하도록 고른 언어. 국제화가 꺼져 있거나 고른 언어가 없으면 지원 언어 전체.\n * 번역 대상, 보드 언어 선택, 호스트의 언어 메뉴가 이 목록을 따른다.\n */\nexport function memiBoardEnabledLocales(): MemiBoardLocale[] {\n const all = MEMI_BOARD_LOCALES.map(item => item.code)\n const picked = useMemiBoardConfig().site?.locales\n if (!isMemiBoardI18nEnabled() || !picked?.length) return all\n const chosen = new Set(picked.map(code => normalizeMemiBoardLocale(code)).filter(Boolean))\n const enabled = all.filter(code => chosen.has(code))\n return enabled.length ? enabled : all\n}\n\n/** 기본(또는 고정) 언어. 관리자가 고른 값이 호스트 설정보다 우선하고, 사용 언어 목록 안에 있어야 한다. */\nexport function memiBoardDefaultLocale(): string | undefined {\n const config = useMemiBoardConfig()\n const wanted = config.site?.locale || config.locale\n const enabled = memiBoardEnabledLocales()\n const normalized = normalizeMemiBoardLocale(wanted)\n if (enabled.length === MEMI_BOARD_LOCALES.length || (normalized && enabled.includes(normalized))) return wanted\n return enabled[0]\n}\n\n/** Firestore 의 사이트 설정 문서 값을 런타임 설정에 반영한다. 문서가 없으면 호스트 설정으로 돌아간다. */\nexport function applyMemiBoardSiteSettings(data: Record<string, unknown> | undefined): void {\n useMemiBoardConfig().site = {\n disableAi: data?.disableAi === true,\n disableI18n: data?.disableI18n === true,\n locale: typeof data?.locale === 'string' && data.locale ? data.locale : undefined,\n locales: Array.isArray(data?.locales) ? data.locales.filter((code): code is string => typeof code === 'string') : undefined,\n }\n}\n\n/** UI를 거치지 않는 호출도 AI 요청·이용 횟수 갱신 전에 차단한다. */\nexport function assertMemiBoardTranslationEnabled(): void {\n if (!isMemiBoardTranslationEnabled()) {\n throw Object.assign(new Error('Content translation is disabled for this board service.'), {\n code: 'memi-board/translation-disabled',\n })\n }\n}\n\nexport function useBoardPathConfig(): BoardPathConfig {\n return resolveBoardPathConfig(useMemiBoardConfig())\n}\n","export default {\n title: '회원 탈퇴',\n intro: '계정과 개인정보를 삭제하려면 탈퇴를 진행해 주세요.',\n open: '회원 탈퇴',\n description: '삭제할 내용을 확인하고 로그인 계정을 다시 인증해 주세요.',\n ownerBlocked: '소유자는 먼저 다른 계정으로 소유자 권한을 이전해야 탈퇴할 수 있습니다.',\n authWarning: 'Firebase 로그인 계정이 삭제됩니다. 같은 계정을 공유하는 호스트 서비스에서도 로그인할 수 없게 됩니다. 처리 완료 후에는 복구할 수 없습니다.',\n deleteContent: '내 글·댓글과 첨부파일도 삭제',\n contentWarning: '내 글에 달린 다른 사람의 댓글과 첨부파일도 함께 삭제됩니다. 다른 사람 글의 답글 연결에 필요한 댓글은 내용 없는 삭제 표시로 남습니다.',\n retention: '체크하지 않으면 글·댓글과 첨부파일은 남기고 작성자 이름·사진·계정 연결을 익명화합니다. 본문에 직접 작성한 개인정보는 남을 수 있습니다. 프로필·이메일·사진·개인 메모·좋아요·보드 담당 배정은 선택과 관계없이 삭제됩니다.',\n acknowledge: '탈퇴를 시작하면 되돌릴 수 없음을 이해했습니다.',\n typeConfirmation: '확인을 위해 DELETE를 입력해 주세요.',\n confirm: '재인증 후 영구 탈퇴',\n resume: '이어서 탈퇴 처리',\n resumePolicy: '이미 시작한 탈퇴는 이전에 선택한 삭제 범위로 이어서 처리합니다.',\n authenticating: '로그인 계정을 다시 확인하고 있습니다…',\n working: '탈퇴 처리 중입니다…',\n progress: '{count}건 처리했습니다. 데이터가 많으면 시간이 걸립니다. 이 화면을 유지해 주세요.',\n retry: '처리를 마치지 못했습니다. 다시 눌러 이어서 처리해 주세요.',\n unavailable: '회원 탈퇴 기능이 아직 준비되지 않았습니다. 운영자에게 문의해 주세요.',\n signInAgain: '로그인 계정을 다시 인증해 주세요.',\n unsupportedProvider: '이 로그인 방식은 자동 재인증을 지원하지 않습니다. 운영자에게 문의해 주세요.',\n cancelled: '재인증이 취소되었습니다. 계정은 삭제되지 않았습니다.',\n sessionExpired: '처리 세션이 만료되었습니다. 로그인 계정을 다시 인증해 이어서 처리해 주세요.',\n leaveWarning: '탈퇴 처리가 진행 중입니다. 이동하면 일시 중단됩니다. 나중에 이 화면에서 이어서 처리할 수 있습니다. 이동할까요?',\n success: '회원 탈퇴가 완료되었습니다.',\n}\n","export default {\n attach: '파일 첨부 ({count} / {max})',\n dropOrClick: '파일을 놓거나 클릭해서 추가',\n uploading: '파일 업로드 중…',\n maxFiles: '최대 {max}개까지 첨부할 수 있습니다.',\n}\n","export default {\n writeRestricted: '콘텐츠 경고가 누적되어 글·댓글 작성이 잠시 제한됐어요.',\n writeRestrictedUntil: '콘텐츠 경고가 누적되어 글·댓글 작성이 잠시 제한됐어요. ({until})',\n strikeSuffix: ' (경고 {count}/{threshold})',\n strikeRestrictedUntil: ' 경고 {count}회가 되어 글·댓글 작성이 제한됩니다 ({until}).',\n strikeRestricted: ' 경고 {count}회가 되어 글·댓글 작성이 제한됩니다.',\n notInitialized: '[memi-board] Firebase Auth가 초기화되지 않았습니다.',\n}\n","export default {\n tooLong: '메모는 {max}자까지 작성할 수 있습니다.',\n}\n","export default {\n viewProfile: '프로필 보기',\n viewPosts: '작성글 보기',\n viewComments: '작성한 댓글 보기',\n memoAriaLabel: '이 작성자에 대한 메모',\n memoTitle: '나만 보는 메모',\n memoPlaceholder: '이 작성자에 대해 적어두기…',\n bad: '나쁨',\n good: '좋음',\n}\n","export default {\n title: '프로필 사진 자르기',\n description: '정사각형(1:1)으로 보여집니다. 영역을 맞춰 주세요.',\n hint: '드래그로 위치·확대 조절 · {size}×{size} 정사각 JPEG로 저장됩니다',\n confirm: '자르고 업로드',\n}\n","export default {\n signInRequired: '로그인이 필요합니다.',\n idAndNameRequired: '보드 ID와 이름을 입력해 주세요.',\n deleteIdRequired: '삭제할 보드 ID가 필요합니다.',\n nameRequired: '보드 이름을 입력해 주세요.',\n}\n","export default {\n unsupportedRole: '지원하지 않는 역할입니다.',\n guide: {\n title: '사용자 역할 안내',\n assignmentNote: '매니저·스태프의 실제 담당 보드는 각 보드 설정에서 지정합니다. 역할만 변경해도 담당 보드가 자동으로 배정되지는 않습니다.',\n owner: {\n permissions: '사용자 역할, 보드 설정과 모든 콘텐츠를 관리합니다.',\n roles: '관리자를 지정·해제하고 매니저·스태프·일반 사용자의 역할을 변경합니다.',\n restriction: '소유자 권한의 지정·이전은 이 화면에서 할 수 없습니다. 서버·콘솔에서 설정합니다.',\n },\n admin: {\n permissions: '보드 설정과 모든 보드의 글·댓글을 관리합니다.',\n roles: '매니저·스태프·일반 사용자의 역할을 변경합니다.',\n restriction: '다른 관리자와 소유자의 역할은 변경할 수 없습니다.',\n },\n manager: {\n permissions: '담당 보드의 설정을 변경하고 스태프를 지정합니다.',\n roles: '담당 보드의 글·댓글을 관리합니다.',\n restriction: '서비스 전체 설정과 사용자 역할은 변경할 수 없습니다.',\n },\n staff: {\n permissions: '담당 보드의 글·댓글을 관리합니다.',\n roles: '보드 설정과 담당자 배정은 변경할 수 없습니다.',\n restriction: '서비스 전체 설정과 사용자 역할은 변경할 수 없습니다.',\n },\n user: {\n permissions: '보드 권한에 따라 글·댓글을 작성합니다.',\n roles: '본인이 작성한 글·댓글을 수정·삭제합니다.',\n restriction: '사용자 관리와 보드 설정에는 접근할 수 없습니다.',\n },\n },\n roleDescription: {\n owner: '관리자 지정과 서비스 전체를 관리합니다.',\n manager: '담당 보드의 설정과 스태프 배정을 관리합니다.',\n admin: '사용자 역할, 보드 설정과 모든 콘텐츠를 관리합니다.',\n staff: '담당 보드의 게시글과 댓글을 관리합니다. 설정과 담당자 배정은 바꿀 수 없습니다.',\n user: '글과 댓글을 작성하고 본인이 작성한 콘텐츠만 수정·삭제할 수 있습니다.',\n },\n}\n","export default {\n empty: '아직 댓글이 없습니다.',\n emptyLiked: '좋아요를 받은 댓글이 아직 없습니다.',\n loadFailed: '목록을 불러오지 못했습니다: {error}',\n blinded: '관리자에 의해 블라인드된 댓글입니다.',\n}\n","export default {\n confirmLeave: '작성 중인 댓글이 있습니다. 저장하지 않고 나가시겠습니까?',\n translationPending: '{count}개 언어 번역을 준비했습니다. 댓글을 저장하면 함께 기록됩니다.',\n translationSkipped: '번역하지 못해 원문만 등록했습니다. 나중에 수정 화면에서 번역할 수 있습니다.',\n hiddenBoardDenied: '숨김 보드에는 담당 스태프만 댓글을 남길 수 있습니다.',\n denied: '이 보드에는 댓글쓰기 권한이 없습니다.',\n signInRequired: '로그인이 필요합니다.',\n writeRestricted: '콘텐츠 경고가 누적되어 글·댓글 작성이 잠시 제한됐어요.',\n moderationBlocked: '작성할 수 없는 내용이 포함되어 있습니다.',\n replyTo: '{name}님에게 답글',\n placeholder: '댓글을 입력하세요',\n submitReply: '답글 작성',\n submit: '댓글 작성',\n signInToComment: '로그인하고 댓글을 남겨보세요',\n attachHint: '여기에 이미지를 드롭하거나 클릭하세요.',\n attachNote: 'jpg, png, gif, webp · 큰 이미지는 5MB 이하로 조정됩니다.',\n removeImage: '첨부 이미지 제거',\n imageOnly: 'jpg, png, gif, webp 이미지만 첨부할 수 있습니다.',\n uploadFailed: '이미지를 올리지 못했습니다.',\n uploading: '이미지 올리는 중…',\n}\n","export default {\n editRestricted: '댓글 수정이 잠시 제한됐어요.',\n moderationBlocked: '작성할 수 없는 내용이 포함되어 있습니다.',\n editFailed: '댓글을 수정하지 못했습니다.',\n blindConfirm: '이 댓글을 블라인드하면 모든 사용자에게 본문 대신 블라인드 안내가 표시됩니다. 원문은 삭제되지 않으며 나중에 다시 해제할 수 있습니다.\\n\\n블라인드하시겠습니까?',\n unblindConfirm: '블라인드를 해제하면 댓글 원문이 모든 사용자에게 다시 표시됩니다.\\n\\n블라인드를 해제하시겠습니까?',\n blindFailed: '블라인드 상태를 변경하지 못했습니다.',\n likeFailed: '좋아요를 처리하지 못했습니다.',\n blinded: '관리자에 의해 블라인드된 댓글입니다.',\n attachedImage: '댓글에 첨부된 이미지',\n edit: '댓글 수정',\n blind: '댓글 블라인드',\n unblind: '댓글 블라인드 해제',\n delete: '댓글 삭제',\n}\n","export default {\n loading: '댓글을 불러오고 있습니다',\n empty: '아직 댓글이 없습니다.',\n loadMore: '댓글 더보기',\n loadingMore: '댓글을 더 불러오고 있습니다',\n}\n","export default {\n deleteConfirm: '이 댓글을 삭제하시겠습니까?',\n deleteFailed: '댓글을 삭제하지 못했습니다.',\n hideReplies: '답글 숨기기',\n showReplies: '답글 {count}개',\n loadMoreReplies: '답글 더보기',\n}\n","export default {\n bodyRequired: '댓글 내용을 입력해 주세요.',\n bodyTooLong: '댓글은 {max}자까지 작성할 수 있습니다.',\n replyTargetNotFound: '답글 대상 댓글을 찾을 수 없습니다.',\n threadNotFound: '댓글 스레드를 찾을 수 없습니다.',\n hasRepliesCannotDelete: '답글이 있는 댓글은 현재 삭제할 수 없습니다.',\n}\n","/** 여러 화면이 함께 쓰는 짧은 문구. */\nexport default {\n action: {\n cancel: '취소',\n save: '저장',\n saved: '저장됨',\n edit: '수정',\n delete: '삭제',\n confirm: '확인',\n close: '닫기',\n add: '추가',\n more: '더 보기',\n prev: '이전',\n next: '다음',\n retry: '다시 시도',\n reply: '답글',\n like: '좋아요',\n unlike: '좋아요 취소',\n share: '공유',\n report: '신고',\n signIn: '로그인',\n signOut: '로그아웃',\n write: '글쓰기',\n toTop: '위로',\n },\n label: {\n anonymous: '익명',\n user: '사용자',\n image: '이미지',\n draft: '초안',\n loading: '불러오는 중…',\n },\n role: {\n owner: '최고 관리자',\n manager: '매니저',\n admin: '관리자',\n staff: '스태프',\n user: '사용자',\n },\n date: {\n justNow: '방금 전',\n fewSecondsAgo: '몇 초 전',\n checking: '시간 확인 중',\n createdAt: '생성시간: {time}',\n updatedAt: '수정시간: {time}',\n },\n}\n","export default {\n deleteConfirm: '이 게시글을 삭제하시겠습니까? 되돌릴 수 없습니다.',\n notFound: '게시글을 찾을 수 없습니다.',\n draftPreview: '미공개 미리보기',\n draftNotice: '아직 게시되지 않았습니다. 게시하기 전까지는 작성자만 볼 수 있어요.',\n publish: '게시하기',\n notice: '공지',\n pin: '공지로 지정',\n unpin: '공지 해제',\n backToList: '목록으로 돌아가기',\n postNav: '게시글 이동',\n list: '목록',\n comments: '댓글',\n}\n","export default {\n confirmLeave: '저장하지 않은 내용이 있습니다. 이 페이지를 나가시겠습니까?',\n titlePlaceholder: '제목',\n contentPlaceholder: '본문을 입력하세요… / 를 입력하면 블록 메뉴가 열립니다.',\n imageContentPlaceholder: '내용을 입력하세요…',\n tagsPlaceholder: '태그 입력 후 Enter',\n pinNotice: '공지로 등록',\n submitEdit: '수정 완료',\n submitNext: '다음: 미리보기',\n apply: '적용',\n imageOptimizing: '이미지 최적화 및 업로드 중…',\n cover: {\n hint: '사진 {count}/{max} · 대표사진 선택 · 끌어 순서 변경 · 파일 드롭/붙여넣기로 추가',\n imageLink: '이미지 링크',\n addPhoto: '사진 추가',\n alt: '사진 {n}',\n representative: '대표',\n setRepresentative: '대표로',\n setRepresentativeAria: '사진 {n}을 대표사진으로 설정',\n remove: '사진 제거',\n add: '추가',\n uploading: '업로드 중…',\n dropOrClick: '사진을 놓거나 클릭해서 추가',\n emptyHint: '여러 장 선택 가능 · 업로드 후 대표사진 선택 · 끌어 순서 변경',\n uploadTitle: '업로드',\n },\n uploadFailed: '업로드 실패',\n aiAssistant: 'AI 글쓰기 도우미',\n insertBlock: '블록 삽입',\n blockMenu: '블록 메뉴',\n imageDialog: {\n title: '이미지 추가',\n chooseFile: '내 기기에서 이미지 선택',\n orLink: '또는 이미지 링크',\n urlLabel: '이미지 URL',\n urlHelp: 'HTTPS 주소만 사용할 수 있으며 원본 사이트에서 삭제되면 이미지도 표시되지 않습니다.',\n previewAlt: '외부 이미지 미리보기',\n addLink: '링크 추가',\n },\n customDialog: {\n title: '커스텀 스타일로 바꾸기',\n label: '어떻게 바꿀까요?',\n help: '예: 경상도 사투리 스타일로 / 정중한 문어체로 / 간결한 개조식으로',\n placeholder: '경상도 사투리 스타일로',\n },\n translateView: {\n title: '{language} 번역 미리 보기',\n notSaved: '저장되지 않았습니다. 미리 보기일 뿐입니다.',\n },\n aiPreview: {\n title: 'AI 결과 확인',\n currentTitle: '현재 제목',\n newTitle: '새 제목',\n currentContent: '현재 내용',\n appendedContent: '추가될 내용',\n before: '이전',\n after: '이후',\n },\n menu: {\n ai: 'AI',\n aiContinue: 'AI로 이어쓰기',\n style: '스타일',\n insert: '삽입',\n paragraph: '본문',\n heading1: '제목 1',\n heading2: '제목 2',\n heading3: '제목 3',\n bulletList: '글머리표 목록',\n orderedList: '번호 목록',\n blockquote: '인용문',\n codeBlock: '코드 블록',\n horizontalRule: '구분선',\n image: '이미지',\n turnInto: '다른 형식으로 변경',\n resetFormatting: '서식 초기화',\n duplicate: '복제',\n moveUp: '위로 이동',\n moveDown: '아래로 이동',\n delete: '삭제',\n },\n toolbar: {\n link: '링크',\n image: '이미지',\n format: '서식',\n bold: '굵게',\n italic: '기울임',\n underline: '밑줄',\n strike: '취소선',\n title: '제목',\n heading: '머리말',\n subheading: '부머리말',\n body: '본문',\n mono: '모노 스타일',\n bulletList: '구분점 목록',\n orderedList: '번호 목록',\n blockquote: '블록 인용',\n codeBlock: '코드 블록',\n horizontalRule: '구분선',\n clearFormatting: '서식 지우기',\n undo: '실행 취소',\n redo: '다시 실행',\n },\n ai: {\n proofread: '맞춤법 검사',\n polish: '문장 다듬기',\n continue: '자연스럽게 이어쓰기',\n summarize: '짧게 요약하기',\n translateEn: '영어로 번역',\n translateKo: '한국어로 번역',\n translateView: '번역해서 보기',\n translateAll: '{count}개 언어로 번역해 저장',\n translateEmpty: '번역할 제목이나 본문을 먼저 입력해 주세요.',\n title: '본문에서 제목 만들기',\n custom: '커스텀 스타일로 바꾸기…',\n failed: 'AI 작업에 실패했습니다. 다시 시도해 주세요.',\n },\n youtubePrompt: 'YouTube 링크를 입력하세요.',\n errors: {\n coverMax: '사진은 최대 {max}장까지 올릴 수 있어요.',\n imageUrlRequired: '이미지 주소를 입력해 주세요.',\n imageUrlInvalid: '올바른 이미지 주소를 입력해 주세요.',\n imageUrlHttps: 'HTTPS 이미지 주소만 사용할 수 있습니다.',\n imageUrlCredentials: '로그인 정보가 포함된 주소는 사용할 수 없습니다.',\n imageTimeout: '이미지를 불러오는 데 시간이 너무 오래 걸립니다.',\n imageNotDisplayable: '표시할 수 없는 이미지입니다.',\n imageLoadFailed: '이미지를 불러올 수 없습니다. 주소나 외부 링크 허용 여부를 확인해 주세요.',\n editorNotReady: '에디터를 준비하지 못했습니다. 다시 시도해 주세요.',\n imageLinkFailed: '이미지 링크를 추가하지 못했습니다.',\n imageOnly: '이미지 파일만 업로드할 수 있습니다.',\n imageTooLarge: '원본 이미지는 {mb}MB 이하여야 합니다.',\n imageUploadFailed: '이미지 업로드에 실패했습니다.',\n pasteAsFile: '사진은 위 영역에 파일로 붙여넣거나 드래그해 주세요.',\n postNotFound: '게시글을 찾을 수 없습니다.',\n loadPermission: '글을 불러올 권한이 없습니다. 로그인 상태를 확인해 주세요.',\n loadFailed: '글을 불러오지 못했습니다: {message}',\n editPermission: '수정 권한이 없습니다. 본인이 작성한 글인지, 로그인이 유지되는지 확인해 주세요.',\n titleRequired: '제목을 입력해 주세요.',\n photoRequired: '사진을 한 장 이상 올려 주세요.',\n bodyRequired: '본문에 글자를 입력하거나 이미지를 첨부해 주세요.',\n signInRequired: '로그인이 필요합니다.',\n boardMissing: '보드(보드)이 지정되지 않았습니다.',\n writeRestricted: '콘텐츠 경고가 누적되어 글·댓글 작성이 잠시 제한됐어요.',\n moderationBlocked: '게시할 수 없는 내용이 포함되어 있습니다.',\n },\n titleOptionalPlaceholder: '제목 (비워 두면 AI가 만들어 드려요)',\n titleAiNotice: 'AI가 글 내용으로 제목을 만들었어요. 마음에 들면 저장하고, 아니면 고쳐 주세요.',\n hint: {\n titling: '제목을 만드는 중…',\n translating: '글을 {count}개 언어로 번역하는 중…',\n reviewing: '내용을 검토하는 중…',\n saving: '저장하는 중…',\n },\n}\n","export default {\n introduction: 'memi-board는 Nuxt 4와 Vue 3, TypeScript를 바탕으로 만들었습니다. Nuxt UI와 Firebase로 글과 댓글, 사람과 이야기를 자연스럽게 이어갑니다.',\n eyebrow: '함께 만드는 이야기',\n tagline: '글과 댓글로 이어지는 작은 커뮤니티.',\n detail: '자세한 소개',\n links: '링크 & 연락처',\n email: \"이메일\",\n credit: \"만든 이: memi\",\n feedback: '피드백 보내기',\n feedbackSubject: 'memi-board 피드백',\n feedbackBody: '의견:\\n',\n siteEyebrow: \"memi-board와 함께\",\n changelog: \"변경 기록\",\n info: {\n title: 'memi-board',\n about: 'memi-board 소개',\n sites: '적용 사례',\n history: '버전 히스토리',\n },\n sites: {\n description: 'memi-board로 글과 대화를 이어가는 서비스들입니다.',\n memi: '개발과 일상을 나누는 공간',\n waiting: 'QR로 간편하게 시작하는 대기 서비스',\n track: '이동 경로를 기록하는 GPS 트래킹',\n loop: '차량 운행 기록과 센서 솔루션',\n safe: '페달 오조작 방지 장치 연결 및 설정',\n inviteTitle: '당신도 쓰고 계신가요?',\n invite: '사이트 주소를 알려주세요~',\n inviteSite: 'memi.dev에 남기기',\n inviteOr: '또는',\n inviteSubject: 'memi-board를 쓰고 있어요',\n inviteBody: '사이트 주소:\\n',\n },\n stack: {\n ui: '화면과 경험',\n data: '데이터와 로그인',\n writing: '글쓰기와 편의',\n },\n}\n","export default {\n signInRequired: '로그인이 필요합니다.',\n commentNotFound: '댓글을 찾을 수 없습니다.',\n}\n","export default {\n introduction: '이 보드는 Nuxt 4와 Vue 3, TypeScript를 바탕으로 만들었어요. Nuxt UI와 Tailwind CSS로 편안한 화면을 구성하고, Firebase Firestore·Auth·Storage와 nuxt-vuefire로 글과 댓글을 자연스럽게 이어갑니다.',\n settings: '설정',\n loadFailed: '목록을 불러오지 못했습니다: {error}',\n empty: '아직 게시글이 없습니다.',\n notice: '공지',\n commentCount: '댓글 {count}개',\n photo: '사진',\n likeCount: '추천 {count}',\n boardInfo: {\n creator: '만든 사람',\n managers: '담당 매니저',\n staff: '담당 스태프',\n },\n info: {\n title: '보드 정보',\n about: '이 보드는',\n history: '버전 히스토리',\n },\n stack: {\n framework: '프레임워크 & 언어',\n ui: 'UI & 스타일',\n backend: '백엔드 & 데이터',\n },\n tech: {\n nuxt: 'Vue 기반 SSR 프레임워크',\n vue: 'Composition API · script setup',\n typescript: '안전한 데이터와 컴포넌트 타입',\n nuxtUi: '보드·폼·모달 UI',\n tailwind: '반응형 · 라이트/다크 스타일',\n lucide: '가볍고 일관된 아이콘',\n dayjs: '읽기 편한 날짜와 상대 시각',\n firestore: '게시글과 댓글을 위한 실시간 DB',\n auth: '안전한 사용자 로그인과 권한',\n storage: '이미지와 첨부파일 보관',\n vuefire: 'Nuxt와 Firebase 실시간 연결',\n },\n}\n","export default {\n default: '일반',\n card: '카드',\n dense: '조밀',\n video: '영상',\n}\n","export default {\n empty: '아직 댓글이 없습니다.',\n blinded: '관리자에 의해 블라인드된 댓글입니다.',\n}\n","export default {\n empty: '아직 글이 없습니다.',\n}\n","export default {\n selectedCount: '고른 글 {count} / {max}',\n layoutHint: '2개부터 캐러셀, 4개는 그리드',\n searchPlaceholder: '제목 검색',\n loading: '글을 불러오는 중…',\n noMore: '더 고를 글이 없습니다.',\n}\n","export default {\n empty: '고른 게시물이 없습니다.',\n}\n","export default {\n reviewFailed: '내용 검토에 실패해 글을 등록할 수 없습니다. 잠시 후 다시 시도해 주세요.',\n writeRestricted: '콘텐츠 경고가 누적되어 글·댓글 작성이 잠시 제한됐어요.',\n}\n","export default {\n localHit: '「{hit}」 같은 표현은 사용할 수 없습니다. 다른 말로 바꿔 주세요.',\n localGeneric: '욕설·비속어가 포함되어 게시할 수 없습니다. 표현을 바꿔 주세요.',\n categoryBlocked: '{category}이(가) 포함되어 게시할 수 없습니다. 내용을 수정해 주세요.',\n genericBlocked: '게시할 수 없는 내용이 포함되어 있습니다. 내용을 수정해 주세요.',\n categories: {\n abuse: '욕설·비속어·모욕',\n spam: '스팸·광고',\n adult: '선정적·성인 내용',\n violence: '폭력·위협',\n other: '부적절한 내용',\n },\n}\n","export default {\n liftSoon: '곧 해제',\n liftInHours: '약 {hours}시간 후 해제',\n liftInDays: '약 {days}일 후 해제',\n liftInDaysHours: '약 {days}일 {hours}시간 후 해제',\n}\n","export default {\n boardIdRequired: '[memi-board] boardId 가 필요합니다.',\n photoRequired: '사진을 올려 주세요.',\n bodyRequired: '본문에 글자를 입력하거나 이미지를 첨부해 주세요.',\n titleRequired: '제목을 입력해 주세요.',\n}\n","export default {\n myAccount: '내 계정',\n notFound: '사용자를 찾을 수 없습니다.',\n noName: '이름 없음',\n joined: '가입 {time}',\n lastVisit: '최근 방문 {time}',\n stats: {\n posts: '글 {count}',\n comments: '댓글 {count}',\n aiUsage: 'AI 사용 {used} / {limit}',\n aiUsageResets: 'AI 사용 {used} / {limit} · {hours}시간 후 초기화',\n warnings: '경고 {count}회',\n },\n}\n","export default {\n imageOnly: '이미지 파일만 선택할 수 있습니다.',\n nameRequired: '이름을 입력해 주세요.',\n nameReviewHelp: '새 이름은 저장 전에 욕설·혐오·스팸·운영진 사칭 여부를 검사합니다.',\n checkingName: '이름 검사 중…',\n nameRejected: '사용할 수 없는 이름입니다. 다른 이름을 입력해 주세요.',\n nameReviewFailed: 'AI가 이름을 확인하지 못했습니다. 잠시 후 다시 시도해 주세요.',\n saveFailed: '프로필을 저장하지 못했습니다.',\n title: '프로필 수정',\n changePhoto: '사진 변경',\n name: '이름',\n bio: '자기소개',\n bioPlaceholder: '나를 소개해 보세요',\n}\n","export default {\n failed: '신고하지 못했습니다.',\n reported: '신고함',\n title: '게시물 신고',\n done: '신고를 접수했습니다. 스태프가 내용을 확인합니다.',\n reason: '사유',\n detailPlaceholder: '자세한 내용 (선택)',\n submit: '신고하기',\n}\n","export default {\n staffOnly: '스태프만 신고 목록을 볼 수 있습니다.',\n loadFailed: '목록을 불러오지 못했습니다: {error}',\n empty: '대기 중인 신고가 없습니다.',\n untitled: '제목 없는 글',\n author: '작성 {name}',\n dismiss: '기각',\n confirm: '확인',\n}\n","export default {\n reason: {\n spam: '스팸·광고',\n abuse: '욕설·혐오·괴롭힘',\n adult: '음란물',\n illegal: '불법 정보',\n other: '기타',\n },\n fallbackLabel: '신고',\n signInRequired: '로그인이 필요합니다.',\n cannotReportOwn: '자신의 글은 신고할 수 없습니다.',\n reasonRequired: '신고 사유를 선택해 주세요.',\n detailTooLong: '자세한 내용은 {max}자까지입니다.',\n}\n","export default {\n kind: {\n list: '게시목록',\n post: '게시물',\n comments: '댓글모음',\n },\n sort: {\n latest: '최신순',\n likes: '좋아요순',\n },\n untitledPost: '게시물',\n view: {\n media: '미디어',\n list: '목록',\n },\n}\n","export default {\n defaultTitle: '섹션 {n}',\n}\n","export default {\n allCategory: '전체',\n boardDescription: '{name} 보드',\n allDescription: '보드 — 공지와 커뮤니티 소식을 확인하세요.',\n postFallbackTitle: '게시글 | {site}',\n postFallbackDescription: '보드',\n photo: '사진',\n postDescriptionFallback: '보드 글',\n listTitle: '{name} 보드 | {site}',\n listTitleAll: '보드 | {site}',\n listDescription: '{name} 보드 — 소식을 확인하세요.',\n listDescriptionAll: '보드 — 공지와 이야기를 확인하세요.',\n}\n","export default {\n managers: '담당 매니저',\n loading: '설정을 불러오고 있습니다.',\n noAccess: '접근 권한이 없습니다',\n notFound: {\n title: '없는 보드입니다',\n checkAddress: '주소를 다시 확인해 주세요.',\n checkBoardAddress: '보드 주소를 다시 확인해 주세요.',\n },\n newBoard: {\n title: '아직 없는 보드입니다',\n description: '아래 정보를 입력하고 저장하면 이 ID로 새로 만들어집니다.',\n },\n noLabel: '라벨 없음',\n option: {\n default: '일반',\n },\n id: {\n label: '카테고리 ID',\n help: '주소와 데이터 기준값',\n },\n writeRole: {\n label: '글쓰기 권한',\n help: '이 카테고리에 글을 쓸 수 있는 최소 역할',\n helpShort: '글을 쓸 수 있는 최소 역할',\n options: {\n user: '일반 이상',\n staff: '스태프 이상',\n admin: '관리자만',\n },\n },\n commentWriteRole: {\n label: '댓글쓰기 권한',\n help: '이 카테고리에 댓글을 쓸 수 있는 최소 역할',\n helpShort: '댓글을 쓸 수 있는 최소 역할',\n hiddenHelp: '숨김 보드는 댓글이 공개 피드에 안 나오고, 담당 스태프만 작성할 수 있습니다',\n hiddenFixed: '담당 스태프만 (숨김 보드 고정)',\n },\n staff: {\n label: '담당 스태프',\n help: '지정한 스태프만 이 보드를 설정·관리합니다. 비우면 관리자만',\n placeholder: '관리자만 (스태프 미지정)',\n },\n label: {\n label: '표시 라벨',\n help: '사용자에게 보이는 이름',\n },\n description: {\n label: '설명',\n help: '보드 상단 등에 보이는 안내 문구',\n placeholder: '이 보드에 대한 짧은 설명 (선택)',\n },\n list: {\n filterAll: '전체',\n filterPlaceholder: '이름 또는 주소',\n sort: '정렬',\n sortName: '이름',\n sortDescription: '설명',\n sortId: '주소',\n empty: '해당하는 보드가 없습니다.',\n none: '없음',\n fieldCount: '{count}개',\n localeAuto: '자동',\n },\n visibility: {\n pending: '공개 범위 변경이 아직 끝나지 않았습니다. 같은 설정으로 다시 저장하면 이어서 처리합니다.',\n label: '공개 범위',\n help: '숨김이면 전체 필터에 안 나오고, 글은 관리자·담당 스태프·작성자만 읽을 수 있습니다. 댓글은 담당 스태프만 쓸 수 있습니다',\n options: {\n public: { label: '보임', description: '전체 목록·필터에 표시' },\n hidden: { label: '숨김', description: '일기장·비공개. 댓글은 담당 스태프만' },\n },\n },\n listView: {\n label: '리스트뷰',\n help: '게시글 목록 표시 방식',\n options: {\n card: '카드',\n dense: '조밀',\n video: '영상',\n },\n },\n editorType: {\n label: '입력 폼',\n help: '글쓰기 화면의 작성 방식',\n options: {\n default: '제목과 본문을 작성',\n image: '여러 사진과 대표사진을 작성',\n },\n },\n customFields: {\n label: '커스텀 필드',\n help: '글에 추가로 저장할 항목입니다. 키는 나중에 그 값으로 검색할 때 쓰고, 이름은 입력한 그대로 보이며 번역하지 않습니다.',\n key: '키',\n keyPlaceholder: 'channel',\n name: '이름',\n namePlaceholder: '채널',\n placeholder: '플레이스홀더',\n inputPlaceholder: '글쓰기 칸에 흐리게 보일 문구',\n add: '필드 추가',\n limit: '커스텀 필드는 8개까지입니다.',\n invalidKey: '키는 영문 소문자로 시작하고, 영문·숫자·밑줄만 32자 이내로 쓸 수 있습니다.',\n duplicateKey: '키 {key}가 중복입니다.',\n labelRequired: '키 {key}의 이름을 입력해 주세요.',\n },\n locale: {\n label: '보드 언어',\n help: '비우면 사이트 언어를 따릅니다. 고르면 이 보드는 항상 그 언어로 보입니다.',\n auto: '자동 (사이트 언어 따름)',\n },\n bulk: {\n title: '모든 보드에 적용',\n help: '체크한 항목만 모든 보드에 덮어씁니다. 보드별로 편집 중인 다른 값은 저장하지 않습니다.',\n apply: '보드 {count}개에 적용',\n applyShort: '적용',\n confirmTitle: '모든 보드에 적용',\n confirm: '체크한 항목을 보드 {count}개에 적용할까요?',\n applied: '보드 {count}개에 적용했습니다.',\n translateUntranslated: '번역 안 된 보드 번역 ({count})',\n translated: '보드 {count}개의 이름·설명을 번역해 저장했습니다.',\n translateFailed: '보드 {count}개는 번역하지 못했습니다. 다시 시도해 주세요.',\n },\n translationLocales: {\n label: '번역 언어',\n help: '이름·설명과 글을 이 언어들로 번역합니다. 글을 쓴 언어는 번역하지 않습니다. 모두 고르면 나중에 추가되는 언어도 포함됩니다.',\n },\n autoTranslatePosts: {\n label: '글·댓글 작성 시 자동 번역',\n help: '켜 두면 새 글의 제목·요약·본문과 댓글·답글을 {count}개 언어로 번역해 함께 저장합니다. 기본값은 꺼짐입니다.',\n },\n autoTranslate: {\n action: \"{count}개 언어로 번역\",\n manualHelp: \"표시 라벨과 설명을 함께 번역합니다. 번역 후 저장 버튼을 눌러 적용하세요.\",\n pending: \"{count}개 언어 번역이 준비되었습니다. 저장 버튼을 눌러 적용하세요.\",\n manualFailed: \"번역하지 못했습니다. 입력한 내용은 유지됩니다. 다시 시도해 주세요.\",\n label: '저장할 때 {count}개 언어로 번역',\n help: '켜 두면 이름과 설명을 {count}개 언어로 번역합니다. 꺼져 있으면 번역하지 않습니다. 문구가 그대로면 다시 번역하지 않습니다.',\n failed: '설정은 저장했지만 {count}개 언어 번역에 실패했습니다. 다시 저장해 주세요.',\n ready: '이름과 설명이 {count}개 언어로 저장되어 있습니다.',\n },\n action: {\n moveDown: '아래로',\n goToBoard: '보드로 이동',\n deleteBoard: '보드 삭제',\n create: '만들기',\n },\n newCategoryPlaceholder: '새 보드 이름',\n newCategoryHelp: '입력한 이름이 보드 주소가 됩니다. 40자까지이고, 공백은 - 가 되며, 영문·숫자·한글만 남습니다.',\n newCategoryUrl: '주소: {path}',\n deleteConfirm: '‘{label}’ 보드를 삭제하시겠습니까?\\n\\n이 보드의 모든 게시물, 댓글, 대댓글, 본문 이미지, 댓글 이미지와 첨부파일이 영구 삭제됩니다. 이 작업은 되돌릴 수 없습니다.',\n savedCategory: '‘{label}’ 카테고리를 저장했습니다.',\n savedSettings: '보드 설정을 저장했습니다.',\n created: '보드를 만들었습니다.',\n error: {\n orderFailed: '카테고리 순서를 저장하지 못했습니다.',\n deleteFailed: '보드와 연결 데이터를 삭제하지 못했습니다.',\n saveFailed: '보드 설정을 저장하지 못했습니다.',\n deleteAllFailed: '보드 데이터를 삭제하지 못했습니다.',\n },\n aiTitle: {\n label: 'AI 제목 자동 만들기',\n help: '새 글의 제목을 비우면 AI가 글(글이 없으면 첫 사진)로 제목을 만들어 줍니다. 사진은 제목을 만들 때만 Google AI로 전송됩니다. 끄면 제목을 직접 써야 하고 사진도 전송되지 않습니다.',\n },\n site: {\n apply: '적용',\n applied: '적용했습니다.',\n title: '전체 설정',\n help: '사이트 전체에 적용됩니다. 호스트 앱의 설정 위에 덧씌워지고, 바꾸면 바로 반영됩니다.',\n ai: { label: 'AI 기능 사용', help: '비용 등으로 AI를 쓰지 않을 때 끄세요. 끄면 번역, 글쓰기 도우미, AI 제목, AI 검열이 모두 꺼지고 사진도 AI로 전송되지 않습니다. 금칙어 검사는 그대로 동작합니다.' },\n i18n: { label: '국제화 사용', help: '끄면 모든 화면이 아래에서 고른 한 언어로 고정되고 번역 기능도 꺼집니다. 이미 저장된 번역은 지워지지 않습니다.' },\n locales: { label: '사용할 언어', help: '선택한 {count}개 언어만 번역하고 언어 메뉴에 보여 줍니다. 고르지 않은 언어는 새로 번역하지 않으며, 이미 저장된 번역은 지워지지 않습니다.' },\n locale: { label: '기본 언어', help: '호스트 앱이 언어를 정하지 않을 때 쓰는 언어입니다.', fixedLabel: '고정 언어', fixedHelp: '모든 화면이 이 언어로 표시됩니다.' },\n },\n i18nBoard: {\n label: '국제화',\n help: '켜면 보드 이름·설명과 새 글·댓글을 {count}개 언어로 자동 번역해 함께 저장합니다. 끄면 원문만 보입니다.',\n existing: '기존 글도 번역하기',\n },\n about: {\n label: 'About memi-board 표시',\n help: '화면 아래의 About memi-board 링크와 소개 팝업을 모든 보드 화면에 보여 줍니다. 끄면 사이트 전체에서 숨겨집니다.',\n },\n postTranslations: {\n label: '기존 글 번역',\n help: '번역이 없거나 원문과 달라진 글을 찾아 한꺼번에 번역하고 저장합니다. 자동 번역을 끈 보드나, 번역이 빠진 글을 채울 때 쓰세요. AI 사용 횟수는 차감하지 않습니다.',\n scan: '번역할 글 찾기',\n run: '{count}개 글 번역하기',\n confirm: '{count}개 글을 번역해 저장합니다. 글 수만큼 AI 호출이 일어납니다. 계속할까요?',\n progress: '번역 중… 완료 {done}, 실패 {failed}',\n allDone: '게시된 글 {total}개 모두 번역이 최신입니다.',\n found: '게시된 글 {total}개 중 {count}개를 번역해야 합니다.',\n failed: '{count}개 글은 번역하지 못했습니다. 다시 찾아서 시도해 주세요.',\n },\n cleanup: {\n contextChanged: '조회 이후 계정이나 보드 설정이 변경되었습니다. 다시 조회해 주세요.',\n title: '고아 파일·문서 정리',\n description: '전체 보드에서 부모 글이 없는 파일·댓글, 삭제된 댓글의 이미지, 대상이 없는 좋아요를 조회합니다. 최근 24시간 내 파일과 사용 중인 파일, 신고 기록은 보존합니다.',\n scan: '고아 항목 조회',\n empty: '조회된 고아 항목이 없습니다.',\n selectAll: '전체 선택 ({count}개)',\n delete: '선택 삭제 ({count}개)',\n confirm: '선택한 고아 항목 {count}개를 영구 삭제하시겠습니까? 이 작업은 되돌릴 수 없습니다.',\n failed: '정리 작업에 실패했습니다. 관리자용 Firestore·Storage 규칙을 확인해 주세요.',\n result: '{deleted}개 삭제, {skipped}개 연결 복구로 제외, {failed}개 실패. 실패한 항목은 다시 시도할 수 있습니다.',\n kinds: { file: '파일', comment: '댓글 문서', like: '좋아요 문서' },\n },\n danger: {\n title: '위험 영역',\n description: '모든 게시글, 댓글, 댓글 이미지, 첨부파일과 카테고리 설정을 영구 삭제합니다. 보드 사용자와 관리자 권한은 유지합니다.',\n confirmLabel: '확인을 위해 ‘{phrase}’를 입력하세요',\n phrase: '보드 데이터 삭제',\n button: '모든 데이터 삭제',\n done: '보드 데이터를 모두 삭제했습니다.',\n },\n}\n","export default {\n copied: '링크 복사됨',\n}\n","export default {\n withGoogle: 'Google로 로그인',\n withApple: 'Apple로 로그인',\n or: '또는',\n name: '이름',\n email: '이메일',\n password: '비밀번호',\n signUp: '회원가입',\n toSignUp: '계정이 없으신가요? 회원가입',\n toSignIn: '이미 계정이 있으신가요? 로그인',\n}\n","export default {\n tooLargeAfterCompress: '압축 후에도 이미지가 5MB를 초과합니다. 더 작은 이미지를 선택해 주세요.',\n sourceTooLarge: '원본 이미지는 {max}MB 이하여야 합니다.',\n heicUnsupported: 'HEIC 사진은 바로 올릴 수 없습니다. 사진 앱에서 선택하거나 JPG, PNG 또는 WebP로 변환해 주세요.',\n cannotOptimize: '이 이미지 형식은 브라우저에서 최적화할 수 없습니다. JPG, PNG 또는 WebP로 변환해 주세요.',\n imageOnly: '이미지 파일만 업로드할 수 있습니다.',\n canvasUnavailable: 'Canvas를 사용할 수 없습니다',\n compressFailed: '압축 실패',\n loadFailed: '이미지 로드 실패',\n}\n","export default {\n title: '좌우로 스와이프해 보세요',\n description: '왼쪽으로 밀면 다음 글, 오른쪽으로 밀면 이전 글로 이동해요.',\n}\n","export default {\n loadFailed: '목록을 불러오지 못했습니다: {error}',\n empty: '작성한 댓글이 없습니다.',\n blinded: '관리자에 의해 블라인드된 댓글입니다.',\n likes: '좋아요 {count}',\n}\n","export default {\n loadFailed: '목록을 불러오지 못했습니다: {error}',\n empty: '작성한 글이 없습니다.',\n}\n","export default {\n title: '보드 사용자',\n sort: {\n label: '사용자 정렬 기준',\n name: '이름순',\n role: '역할순',\n direction: '정렬 방향',\n asc: '오름차순',\n desc: '내림차순',\n },\n pagination: {\n label: '사용자 목록 페이지 이동',\n pageSize: '페이지당 사용자 수',\n perPage: '{count}명씩',\n status: '{page}페이지 · {count}명',\n },\n loadFailed: '사용자 목록을 불러오지 못했습니다.',\n changeRoleFailed: '역할을 변경하지 못했습니다.',\n confirmRole: {\n title: '사용자 권한 변경',\n description: '{name}님의 역할을 {from}에서 {to}(으)로 변경하시겠습니까?',\n confirm: '변경하기',\n },\n loading: '사용자 목록을 불러오고 있습니다.',\n noPermission: {\n title: '권한이 없습니다',\n description: '보드 관리자만 사용자 역할을 관리할 수 있습니다.',\n },\n empty: '보드에 로그인한 사용자가 없습니다.',\n noName: '이름 없음',\n noEmail: '이메일 없음',\n emailLoadFailed: '이메일을 불러오지 못했습니다.',\n moderationWarnings: '콘텐츠 경고 {count}회',\n}\n","export default {\n loginRequired: 'AI 글쓰기 도우미는 로그인 후 사용할 수 있습니다.',\n userMissing: '사용자 정보를 확인한 뒤 다시 시도해 주세요.',\n dailyLimit: 'AI 글쓰기 도우미는 하루 {limit}회까지 사용할 수 있습니다. 약 {hours}시간 후 다시 이용해 주세요.',\n contentRequired: 'AI로 다듬을 내용을 먼저 입력해 주세요.',\n customRequired: '어떻게 바꿀지 지시문을 입력해 주세요.',\n emptyResult: 'AI가 결과를 만들지 못했습니다. 다시 시도해 주세요.',\n translateEmpty: '번역할 제목이나 본문을 먼저 입력해 주세요.',\n translateTooLong: '본문이 {limit}자를 넘으면 {count}개 언어로 저장할 수 없습니다. 줄인 뒤 다시 시도해 주세요.',\n translateIncomplete: '일부 언어 번역이 비었습니다. 다시 시도해 주세요.',\n failed: 'AI 작업에 실패했습니다. 다시 시도해 주세요.',\n actions: {\n proofread: '맞춤법 검사',\n polish: '문장 다듬기',\n continue: '자연스럽게 이어쓰기',\n summarize: '짧게 요약하기',\n translateEn: '영어로 번역',\n translateKo: '한국어로 번역',\n translateAll: '{count}개 언어로 번역해 저장',\n title: '본문에서 제목 만들기',\n custom: '커스텀 스타일로 바꾸기…',\n },\n}\n","// 자동 생성 — scripts/gen-i18n-index.mjs\nimport accountDeletion from './accountDeletion'\nimport attachments from './attachments'\nimport auth from './auth'\nimport authorMemo from './authorMemo'\nimport authorMenu from './authorMenu'\nimport avatarCropModal from './avatarCropModal'\nimport boardSettings from './boardSettings'\nimport boardUsers from './boardUsers'\nimport commentFeed from './commentFeed'\nimport commentForm from './commentForm'\nimport commentItem from './commentItem'\nimport commentList from './commentList'\nimport commentThread from './commentThread'\nimport comments from './comments'\nimport common from './common'\nimport detail from './detail'\nimport editor from './editor'\nimport footer from './footer'\nimport likes from './likes'\nimport list from './list'\nimport listViewSwitch from './listViewSwitch'\nimport miniComments from './miniComments'\nimport miniList from './miniList'\nimport miniPicker from './miniPicker'\nimport miniPost from './miniPost'\nimport moderation from './moderation'\nimport moderationPrompt from './moderationPrompt'\nimport moderationStrike from './moderationStrike'\nimport posts from './posts'\nimport profile from './profile'\nimport profileEditModal from './profileEditModal'\nimport reportButton from './reportButton'\nimport reportList from './reportList'\nimport reports from './reports'\nimport sectionUtil from './sectionUtil'\nimport sections from './sections'\nimport seo from './seo'\nimport settings from './settings'\nimport shareButton from './shareButton'\nimport signIn from './signIn'\nimport storage from './storage'\nimport swipeHint from './swipeHint'\nimport userCommentList from './userCommentList'\nimport userPostList from './userPostList'\nimport users from './users'\nimport writingAssistant from './writingAssistant'\n\nexport default {\n accountDeletion,\n attachments,\n auth,\n authorMemo,\n authorMenu,\n avatarCropModal,\n boardSettings,\n boardUsers,\n commentFeed,\n commentForm,\n commentItem,\n commentList,\n commentThread,\n comments,\n common,\n detail,\n editor,\n footer,\n likes,\n list,\n listViewSwitch,\n miniComments,\n miniList,\n miniPicker,\n miniPost,\n moderation,\n moderationPrompt,\n moderationStrike,\n posts,\n profile,\n profileEditModal,\n reportButton,\n reportList,\n reports,\n sectionUtil,\n sections,\n seo,\n settings,\n shareButton,\n signIn,\n storage,\n swipeHint,\n userCommentList,\n userPostList,\n users,\n writingAssistant,\n}\n","import { shallowRef, type Ref } from 'vue'\nimport {\n DEFAULT_MEMI_BOARD_LOCALE,\n FALLBACK_MEMI_BOARD_LOCALE,\n type MemiBoardLocale,\n} from './locales'\nimport ko from './messages/ko'\n\nexport interface MemiBoardMessages {\n [key: string]: string | MemiBoardMessages\n}\n\nexport type MemiBoardMessageParams = Record<string, string | number | null | undefined>\n\n/**\n * 언어별 번역은 필요할 때만 받는다(언어당 별도 청크).\n * ko 는 원문이자 최종 폴백이라 코어 번들에 들어간다.\n */\nconst loaders: Record<Exclude<MemiBoardLocale, 'ko'>, () => Promise<{ default: MemiBoardMessages }>> = {\n en: () => import('./messages/en'),\n ja: () => import('./messages/ja'),\n de: () => import('./messages/de'),\n fr: () => import('./messages/fr'),\n es: () => import('./messages/es'),\n pt: () => import('./messages/pt'),\n zh: () => import('./messages/zh'),\n ar: () => import('./messages/ar'),\n id: () => import('./messages/id'),\n}\n\nconst GLOBAL_KEY = '__MEMI_BOARD_I18N__' as const\n\ninterface I18nStore {\n messages: Partial<Record<MemiBoardLocale, MemiBoardMessages>>\n pending: Partial<Record<MemiBoardLocale, Promise<void>>>\n /** 언어 파일이 도착하면 올라가서 t() 를 쓰는 화면을 다시 그린다. */\n version: Ref<number>\n}\n\nfunction store(): I18nStore {\n const g = globalThis as typeof globalThis & { [GLOBAL_KEY]?: I18nStore }\n g[GLOBAL_KEY] ??= { messages: { ko }, pending: {}, version: shallowRef(0) }\n return g[GLOBAL_KEY]\n}\n\nfunction loadOne(locale: MemiBoardLocale): Promise<void> {\n const s = store()\n if (s.messages[locale]) return Promise.resolve()\n if (locale === 'ko') return Promise.resolve()\n s.pending[locale] ??= loaders[locale]()\n .then((mod) => {\n s.messages[locale] = mod.default\n s.version.value++\n })\n .catch((error) => {\n delete s.pending[locale]\n console.warn(`[memi-board] failed to load locale \"${locale}\"`, error)\n })\n return s.pending[locale]!\n}\n\n/** 해당 언어와 폴백(en) 번역을 받아 둔다. 이미 받았으면 바로 끝난다. */\nexport function loadMemiBoardLocale(locale: MemiBoardLocale): Promise<void> {\n if (locale === 'ko') return Promise.resolve()\n return Promise.all([loadOne(locale), loadOne(FALLBACK_MEMI_BOARD_LOCALE)]).then(() => undefined)\n}\n\nexport function isMemiBoardLocaleLoaded(locale: MemiBoardLocale): boolean {\n return !!store().messages[locale]\n}\n\nfunction lookup(tree: MemiBoardMessages | undefined, key: string): string | undefined {\n let node: string | MemiBoardMessages | undefined = tree\n for (const part of key.split('.')) {\n if (!node || typeof node === 'string') return undefined\n node = node[part]\n }\n return typeof node === 'string' ? node : undefined\n}\n\nfunction interpolate(text: string, params?: MemiBoardMessageParams): string {\n if (!params) return text\n return text.replace(/\\{(\\w+)\\}/g, (match, name: string) => {\n const value = params[name]\n return value == null ? match : String(value)\n })\n}\n\n/**\n * 키 하나를 번역한다. 언어 → en → ko 순으로 찾는다.\n * 아직 받지 않은 언어는 건너뛰므로, 파일이 오기 전 잠깐은 폴백 문구가 보일 수 있다.\n * 반응형 의존성을 걸어 두어 파일이 도착하면 다시 계산된다.\n */\nexport function translate(\n locale: MemiBoardLocale | undefined,\n key: string,\n params?: MemiBoardMessageParams,\n): string {\n const s = store()\n void s.version.value\n const code = locale ?? DEFAULT_MEMI_BOARD_LOCALE\n const text = lookup(s.messages[code], key)\n ?? (code === 'ko' ? undefined : lookup(s.messages[FALLBACK_MEMI_BOARD_LOCALE], key))\n ?? lookup(s.messages.ko, key)\n return text == null ? key : interpolate(text, params)\n}\n","import type { Timestamp } from 'firebase/firestore'\nimport { DEFAULT_MEMI_BOARD_LOCALE, memiBoardLocaleInfo, type MemiBoardLocale } from '../i18n/locales'\nimport { translate } from '../i18n/translate'\n\nfunction intl(locale: MemiBoardLocale | undefined): string {\n return memiBoardLocaleInfo(locale ?? DEFAULT_MEMI_BOARD_LOCALE).intl\n}\n\nexport function formatDate(ts: Timestamp | undefined, locale?: MemiBoardLocale): string {\n return ts?.toDate ? ts.toDate().toLocaleDateString(intl(locale)) : ''\n}\n\nconst MINUTE = 60\nconst HOUR = 60 * MINUTE\nconst DAY = 24 * HOUR\n\n/** dayjs relativeTime 기본 구간과 같은 기준으로 반올림한다. */\nexport function formatRelativeDate(ts: Timestamp | undefined, now = Date.now(), locale?: MemiBoardLocale): string {\n if (!ts?.toDate) return translate(locale, 'common.date.justNow')\n const seconds = Math.max(0, Math.round((now - ts.toDate().getTime()) / 1000))\n if (seconds < 45) return translate(locale, 'common.date.fewSecondsAgo')\n const rtf = new Intl.RelativeTimeFormat(intl(locale), { numeric: 'always' })\n const days = seconds / DAY\n if (seconds < 90) return rtf.format(-1, 'minute')\n if (seconds < 45 * MINUTE) return rtf.format(-Math.round(seconds / MINUTE), 'minute')\n if (seconds < 90 * MINUTE) return rtf.format(-1, 'hour')\n if (seconds < 22 * HOUR) return rtf.format(-Math.round(seconds / HOUR), 'hour')\n if (seconds < 36 * HOUR) return rtf.format(-1, 'day')\n if (days < 26) return rtf.format(-Math.round(days), 'day')\n if (days < 46) return rtf.format(-1, 'month')\n if (days < 320) return rtf.format(-Math.round(days / 30.4), 'month')\n if (days < 548) return rtf.format(-1, 'year')\n return rtf.format(-Math.round(days / 365), 'year')\n}\n\nexport function formatFullDate(ts: Timestamp | undefined, locale?: MemiBoardLocale): string {\n if (!ts?.toDate) return translate(locale, 'common.date.checking')\n return new Intl.DateTimeFormat(intl(locale), {\n year: 'numeric',\n month: 'long',\n day: 'numeric',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit',\n hourCycle: 'h23',\n }).format(ts.toDate())\n}\n\n/** 생성·수정 시각이 같거나 수정 시각이 없으면 한 줄, 실제 수정됐으면 두 줄. */\nexport function formatTimestampDetails(\n createdAt: Timestamp | undefined,\n updatedAt?: Timestamp,\n locale?: MemiBoardLocale,\n): string[] {\n const created = formatFullDate(createdAt, locale)\n const createdMs = createdAt?.toMillis?.()\n const updatedMs = updatedAt?.toMillis?.()\n if (updatedMs == null || createdMs == null || createdMs === updatedMs) return [created]\n return [\n translate(locale, 'common.date.createdAt', { time: created }),\n translate(locale, 'common.date.updatedAt', { time: formatFullDate(updatedAt, locale) }),\n ]\n}\n","import {\n computed,\n getCurrentInstance,\n hasInjectionContext,\n inject,\n onServerPrefetch,\n provide,\n toValue,\n watch,\n type ComputedRef,\n type InjectionKey,\n type MaybeRefOrGetter,\n} from 'vue'\nimport { isMemiBoardAiEnabled, isMemiBoardI18nEnabled, isMemiBoardTranslationEnabled, memiBoardDefaultLocale, useMemiBoardConfig } from '../config'\nimport {\n DEFAULT_MEMI_BOARD_LOCALE,\n memiBoardLocaleInfo,\n normalizeMemiBoardLocale,\n type MemiBoardLocale,\n} from './locales'\nimport { loadMemiBoardLocale, translate, type MemiBoardMessageParams } from './translate'\nimport {\n formatDate,\n formatFullDate,\n formatRelativeDate,\n formatTimestampDetails,\n} from '../utils/formatDate'\nimport type { Timestamp } from 'firebase/firestore'\n\n/**\n * 호스트 언어. memi-board Nuxt 플러그인이 @nuxtjs/i18n 의 locale 을 앱 단위로 provide 한다.\n * 문자열 키 — dist 번들과 호스트 컴파일 플러그인이 같은 키를 보게 한다.\n */\nexport const memiBoardHostLocaleKey = 'memiBoard:hostLocale' as unknown as InjectionKey<MaybeRefOrGetter<string | undefined | null>>\n/** 보드 단위 언어. 보드 화면(List·Detail·Editor)이 provide 하고 자식(댓글 등)이 따른다. */\nconst boardLocaleKey: InjectionKey<ComputedRef<MemiBoardLocale>> = Symbol('memiBoard:boardLocale')\n\nexport interface UseMemiBoardI18nOptions {\n /**\n * 보드 설정의 언어(`BoardModel.locale`). 비어 있으면 호스트 언어를 따른다.\n * 넘기면 이 컴포넌트 아래 자식들도 같은 언어를 쓴다.\n */\n boardLocale?: MaybeRefOrGetter<string | undefined | null>\n}\n\nexport function useMemiBoardI18n(options: UseMemiBoardI18nOptions = {}) {\n const canInject = hasInjectionContext()\n const parentLocale = canInject ? inject(boardLocaleKey, null) : null\n const hostLocale = canInject ? inject(memiBoardHostLocaleKey, null) : null\n const config = useMemiBoardConfig()\n\n const i18nEnabled = computed(isMemiBoardI18nEnabled)\n const translationEnabled = computed(isMemiBoardTranslationEnabled)\n const aiEnabled = computed(isMemiBoardAiEnabled)\n const locale = computed<MemiBoardLocale>(() => {\n if (!i18nEnabled.value) return normalizeMemiBoardLocale(memiBoardDefaultLocale()) ?? DEFAULT_MEMI_BOARD_LOCALE\n return normalizeMemiBoardLocale(toValue(options.boardLocale))\n ?? parentLocale?.value\n ?? normalizeMemiBoardLocale(toValue(hostLocale))\n ?? normalizeMemiBoardLocale(memiBoardDefaultLocale())\n ?? DEFAULT_MEMI_BOARD_LOCALE\n })\n\n if (options.boardLocale !== undefined && canInject) provide(boardLocaleKey, locale)\n\n watch(locale, value => void loadMemiBoardLocale(value), { immediate: true })\n if (getCurrentInstance()) onServerPrefetch(() => loadMemiBoardLocale(locale.value))\n\n const info = computed(() => memiBoardLocaleInfo(locale.value))\n\n return {\n locale,\n i18nEnabled,\n translationEnabled,\n aiEnabled,\n /** 'ltr' | 'rtl' — 보드 루트 요소의 dir 속성에 쓴다. */\n dir: computed(() => info.value.dir),\n /** Intl 로케일 태그(예: 'ko-KR'). */\n intlLocale: computed(() => info.value.intl),\n t: (key: string, params?: MemiBoardMessageParams) => {\n const role = key.startsWith('common.role.') ? key.slice('common.role.'.length) : ''\n return config.roleLabels?.[role as keyof NonNullable<typeof config.roleLabels>] ?? translate(locale.value, key, params)\n },\n formatDate: (ts: Timestamp | undefined) => formatDate(ts, locale.value),\n formatFullDate: (ts: Timestamp | undefined) => formatFullDate(ts, locale.value),\n formatRelativeDate: (ts: Timestamp | undefined, now?: number) => formatRelativeDate(ts, now, locale.value),\n formatTimestampDetails: (createdAt: Timestamp | undefined, updatedAt?: Timestamp) =>\n formatTimestampDetails(createdAt, updatedAt, locale.value),\n /** 숫자를 현재 언어 형식으로(예: 1,234). */\n formatNumber: (value: number) => value.toLocaleString(info.value.intl),\n }\n}\n\nexport type MemiBoardI18n = ReturnType<typeof useMemiBoardI18n>\n","/** 새 게시판 이름. 이 문자열이 주소가 되므로 메뉴와 주소창에 들어가는 길이로 둔다. */\nexport const BOARD_NAME_MAX = 40\n\n/**\n * 제목 문자열을 URL-friendly slug로 변환\n * e.g. \"게시판 모듈 만들기!!\" → \"게시판-모듈-만들기\"\n */\nexport function slugify(text: string): string {\n return text\n .trim()\n .replace(/\\s+/g, '-') // 공백(연속 포함) → 하이픈\n .replace(/[^a-zA-Z0-9가-힣ㄱ-ㅎㅏ-ㅣ-]/g, '') // 허용 문자 외 제거\n .replace(/-+/g, '-') // 연속 하이픈 → 단일 하이픈\n .replace(/^-+|-+$/g, '') // 앞뒤 하이픈 제거\n}\n\n/** Storage 경로/파일명에 안전한 문자열로 변환 (한글은 유지) */\nexport function safeFileName(name: string, maxLength = 60): string {\n return name.replace(/[^a-zA-Z0-9가-힣ㄱ-ㅎ._-]/g, '-').slice(0, maxLength)\n}\n","import type { Attachment } from '../types'\n\n/** 댓글·답글에 둘 수 있는 이미지 수 */\nexport const COMMENT_IMAGE_LIMIT = 1\n\nconst COMMENT_IMAGE_TYPES = new Set(['image/jpeg', 'image/png', 'image/gif', 'image/webp'])\n\nexport function isCommentImageFile(file: File): boolean {\n const type = (file.type || '').toLowerCase()\n if (COMMENT_IMAGE_TYPES.has(type)) return true\n const name = file.name.toLowerCase()\n return ['.jpg', '.jpeg', '.png', '.gif', '.webp'].some(ext => name.endsWith(ext))\n}\n\nexport function normalizeCommentImages(images: Attachment[] | null | undefined): Attachment[] {\n if (!images?.length) return []\n for (const item of images) {\n if (!item?.name || !item.url?.startsWith('https://') || !item.path) continue\n if (item.path.includes('..') || !item.type?.startsWith('image/')) continue\n if (!Number.isFinite(item.size) || item.size <= 0) continue\n return [{\n name: item.name.slice(0, 200),\n url: item.url,\n path: item.path,\n size: Math.round(item.size),\n type: item.type,\n }]\n }\n return []\n}\n\n/** prefix 아래의 댓글 이미지 객체 경로만 모은다. 다른 글의 파일은 빼 둔다. */\nexport function commentImagePathsUnder(images: unknown, prefix: string): string[] {\n const base = prefix.endsWith('/') ? prefix : `${prefix}/`\n if (!Array.isArray(images)) return []\n const paths = new Set<string>()\n for (const item of images) {\n if (!item || typeof item !== 'object') continue\n const path = (item as { path?: unknown }).path\n if (typeof path !== 'string' || !path.startsWith(base)) continue\n if (path.split('/').includes('..')) continue\n paths.add(path)\n }\n return [...paths]\n}\n"],"mappings":";;;AACA,IAAa,IAAqB;CAChC;EAAE,MAAM;EAAM,MAAM;EAAO,MAAM;EAAS,KAAK;CAAM;CACrD;EAAE,MAAM;EAAM,MAAM;EAAW,MAAM;EAAS,KAAK;CAAM;CACzD;EAAE,MAAM;EAAM,MAAM;EAAO,MAAM;EAAS,KAAK;CAAM;CACrD;EAAE,MAAM;EAAM,MAAM;EAAW,MAAM;EAAS,KAAK;CAAM;CACzD;EAAE,MAAM;EAAM,MAAM;EAAY,MAAM;EAAS,KAAK;CAAM;CAC1D;EAAE,MAAM;EAAM,MAAM;EAAW,MAAM;EAAU,KAAK;CAAM;CAC1D;EAAE,MAAM;EAAM,MAAM;EAAa,MAAM;EAAS,KAAK;CAAM;CAC3D;EAAE,MAAM;EAAM,MAAM;EAAM,MAAM;EAAS,KAAK;CAAM;CACpD;EAAE,MAAM;EAAM,MAAM;EAAW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@ -6,6 +6,8 @@ import { ModerationResult } from '../types';
|
|
|
6
6
|
* 콘텐츠 차단(local/ai) 시 board users 경고 누적.
|
|
7
7
|
*/
|
|
8
8
|
export declare function useMemiBoardModeration(options?: {
|
|
9
|
+
/** Profile names use a dedicated policy, require a valid AI verdict, and do not add posting strikes. */
|
|
10
|
+
context?: 'content' | 'profile-name';
|
|
9
11
|
/** 보드 언어. 같은 컴포넌트에서 boardLocale 을 provide 했다면 그 locale 을 넘긴다(자기 자신에게 inject 되지 않음). */
|
|
10
12
|
locale?: MaybeRefOrGetter<string | undefined | null>;
|
|
11
13
|
}): {
|
|
@@ -12,7 +12,7 @@ export interface CreatePostInput {
|
|
|
12
12
|
authorName: string | null;
|
|
13
13
|
authorPhoto: string | null;
|
|
14
14
|
moderationModel?: string;
|
|
15
|
-
/**
|
|
15
|
+
/** URL 후보. 실제 중복 확인·예약은 글 저장 트랜잭션에서 확정한다. */
|
|
16
16
|
slug?: string;
|
|
17
17
|
/** 10개 언어 번역. 있으면 글과 본문에 함께 저장한다. */
|
|
18
18
|
translations?: PostTranslationSet;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { UserDirectoryDirection, UserDirectorySort } from '../utils/userDirectoryPage';
|
|
3
|
+
import { BoardUserModel, BoardUserRole } from '../types';
|
|
4
|
+
/** Bounded, cursor-based directory. Assignment pickers keep useMemiBoardUsers. */
|
|
5
|
+
export declare function useMemiBoardUserDirectory(options?: {
|
|
6
|
+
enabled?: MaybeRefOrGetter<boolean>;
|
|
7
|
+
}): {
|
|
8
|
+
users: import('vue').ShallowRef<BoardUserModel[], BoardUserModel[]>;
|
|
9
|
+
usersPending: import('vue').Ref<boolean, boolean>;
|
|
10
|
+
loadError: import('vue').Ref<string, string>;
|
|
11
|
+
sort: import('vue').Ref<UserDirectorySort, UserDirectorySort>;
|
|
12
|
+
direction: import('vue').Ref<UserDirectoryDirection, UserDirectoryDirection>;
|
|
13
|
+
pageSize: import('vue').Ref<number, number>;
|
|
14
|
+
page: import('vue').Ref<number, number>;
|
|
15
|
+
hasNext: import('vue').Ref<boolean, boolean>;
|
|
16
|
+
nextPage: () => void;
|
|
17
|
+
previousPage: () => void;
|
|
18
|
+
refresh: () => Promise<void> | undefined;
|
|
19
|
+
updateUserRole: (uid: string, role: BoardUserRole) => Promise<void>;
|
|
20
|
+
};
|
|
@@ -5,6 +5,6 @@ import { BoardUserModel } from '../types';
|
|
|
5
5
|
* 누구나 조회할 수 있다(rules) — email 필드는 애초에 이 문서에 없다.
|
|
6
6
|
*/
|
|
7
7
|
export declare function useMemiBoardUserProfile(uid: MaybeRefOrGetter<string>): {
|
|
8
|
-
profile: import('vue').
|
|
8
|
+
profile: import('vue').ComputedRef<import('vuefire').VueFirestoreDocumentData<BoardUserModel> | undefined>;
|
|
9
9
|
profilePending: import('vue').Ref<boolean, boolean>;
|
|
10
10
|
};
|
|
@@ -11,7 +11,7 @@ export declare const BOARD_USER_ROLES: Array<{
|
|
|
11
11
|
}>;
|
|
12
12
|
/**
|
|
13
13
|
* memiBoardUsers/{uid}는 이메일만 빼면 공개 프로필이라 목록 읽기 자체는 누구나 할 수
|
|
14
|
-
* 있다(rules)
|
|
14
|
+
* 있다(rules). 공개 사용자 목록과 관리자 역할 변경 화면에서 함께 사용한다.
|
|
15
15
|
* enabled가 false인 동안은 쿼리 자체를 시작하지 않는다 — role 확인이 끝나기 전에
|
|
16
16
|
* 미리 구독을 걸어두면 화면이 불필요하게 로딩 상태로 오래 머문다.
|
|
17
17
|
*
|
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
//#endregion
|
|
2
2
|
//#region src/i18n/messages/en/index.ts
|
|
3
3
|
var e = {
|
|
4
|
+
accountDeletion: {
|
|
5
|
+
title: "Delete account",
|
|
6
|
+
intro: "Permanently remove your account and personal information.",
|
|
7
|
+
open: "Delete account",
|
|
8
|
+
description: "Review what will be removed, then verify your sign-in again.",
|
|
9
|
+
ownerBlocked: "Transfer ownership to another account before deleting your account.",
|
|
10
|
+
authWarning: "This deletes your Firebase sign-in account, including access to host services that share it. Completed deletion cannot be undone.",
|
|
11
|
+
deleteContent: "Also delete my posts, comments, and attachments",
|
|
12
|
+
contentWarning: "Other people’s comments and attachments on your posts will also be deleted. Comments needed to connect replies on other people’s posts remain as empty deleted placeholders.",
|
|
13
|
+
retention: "If unchecked, posts, comments, and attachments remain with author names, photos, and account links anonymized. Personal information you typed in the content may remain. Your profile, email, avatar, private memos, likes, and board assignments are removed in either case.",
|
|
14
|
+
acknowledge: "I understand that deletion cannot be undone once started.",
|
|
15
|
+
typeConfirmation: "Type DELETE to confirm.",
|
|
16
|
+
confirm: "Verify and permanently delete",
|
|
17
|
+
resume: "Resume deletion",
|
|
18
|
+
resumePolicy: "An existing deletion continues with the scope you previously confirmed.",
|
|
19
|
+
authenticating: "Verifying your sign-in…",
|
|
20
|
+
working: "Deleting your account…",
|
|
21
|
+
progress: "{count} items processed. Large accounts take longer. Please keep this page open.",
|
|
22
|
+
retry: "Deletion could not finish. Try again to resume processing.",
|
|
23
|
+
unavailable: "Account deletion is not available yet. Please contact support.",
|
|
24
|
+
signInAgain: "Please verify your sign-in again.",
|
|
25
|
+
unsupportedProvider: "Automatic verification is unavailable for this sign-in method. Please contact support.",
|
|
26
|
+
cancelled: "Verification was cancelled. Your account has not been deleted.",
|
|
27
|
+
sessionExpired: "The processing session expired. Verify your sign-in again to resume.",
|
|
28
|
+
leaveWarning: "Account deletion is in progress. Leaving pauses it. You can resume from this page later. Leave now?",
|
|
29
|
+
success: "Your account has been deleted."
|
|
30
|
+
},
|
|
4
31
|
attachments: {
|
|
5
32
|
attach: "Attach files ({count} / {max})",
|
|
6
33
|
dropOrClick: "Drop files or click to add",
|
|
@@ -40,6 +67,35 @@ var e = {
|
|
|
40
67
|
},
|
|
41
68
|
boardUsers: {
|
|
42
69
|
unsupportedRole: "Unsupported role.",
|
|
70
|
+
guide: {
|
|
71
|
+
title: "User role guide",
|
|
72
|
+
assignmentNote: "Assign managers and staff to specific boards in each board’s settings. Changing a role does not automatically assign any boards.",
|
|
73
|
+
owner: {
|
|
74
|
+
permissions: "Manages user roles, board settings, and all content.",
|
|
75
|
+
roles: "Appoints or removes admins and changes manager, staff, and user roles.",
|
|
76
|
+
restriction: "Ownership cannot be assigned or transferred here. Configure it through the server or console."
|
|
77
|
+
},
|
|
78
|
+
admin: {
|
|
79
|
+
permissions: "Manages board settings and posts and comments across all boards.",
|
|
80
|
+
roles: "Changes manager, staff, and user roles.",
|
|
81
|
+
restriction: "Cannot change other admins’ or the owner’s role."
|
|
82
|
+
},
|
|
83
|
+
manager: {
|
|
84
|
+
permissions: "Changes settings and assigns staff for assigned boards.",
|
|
85
|
+
roles: "Manages posts and comments in assigned boards.",
|
|
86
|
+
restriction: "Cannot change service-wide settings or user roles."
|
|
87
|
+
},
|
|
88
|
+
staff: {
|
|
89
|
+
permissions: "Manages posts and comments in assigned boards.",
|
|
90
|
+
roles: "Cannot change board settings or board assignments.",
|
|
91
|
+
restriction: "Cannot change service-wide settings or user roles."
|
|
92
|
+
},
|
|
93
|
+
user: {
|
|
94
|
+
permissions: "Writes posts and comments as allowed by each board.",
|
|
95
|
+
roles: "Edits or deletes their own posts and comments.",
|
|
96
|
+
restriction: "Cannot access user management or board settings."
|
|
97
|
+
}
|
|
98
|
+
},
|
|
43
99
|
roleDescription: {
|
|
44
100
|
owner: "Manages administrators and the entire service.",
|
|
45
101
|
manager: "Manages settings and staff assignments for assigned boards.",
|
|
@@ -453,6 +509,7 @@ var e = {
|
|
|
453
509
|
titleRequired: "Please enter a title."
|
|
454
510
|
},
|
|
455
511
|
profile: {
|
|
512
|
+
myAccount: "My account",
|
|
456
513
|
notFound: "User not found.",
|
|
457
514
|
noName: "No name",
|
|
458
515
|
joined: "Joined {time}",
|
|
@@ -468,6 +525,10 @@ var e = {
|
|
|
468
525
|
profileEditModal: {
|
|
469
526
|
imageOnly: "Only image files can be selected.",
|
|
470
527
|
nameRequired: "Please enter a name.",
|
|
528
|
+
nameReviewHelp: "New names are checked for abuse, hate, spam, and deceptive staff impersonation before saving.",
|
|
529
|
+
checkingName: "Checking name…",
|
|
530
|
+
nameRejected: "This name cannot be used. Please choose another name.",
|
|
531
|
+
nameReviewFailed: "AI could not review the name. Please try again shortly.",
|
|
471
532
|
saveFailed: "Couldn’t save the profile.",
|
|
472
533
|
title: "Edit profile",
|
|
473
534
|
changePhoto: "Change photo",
|
|
@@ -811,7 +872,28 @@ var e = {
|
|
|
811
872
|
empty: "No posts yet."
|
|
812
873
|
},
|
|
813
874
|
users: {
|
|
875
|
+
title: "Board users",
|
|
876
|
+
sort: {
|
|
877
|
+
label: "Sort users by",
|
|
878
|
+
name: "Name",
|
|
879
|
+
role: "Role",
|
|
880
|
+
direction: "Sort direction",
|
|
881
|
+
asc: "Ascending",
|
|
882
|
+
desc: "Descending"
|
|
883
|
+
},
|
|
884
|
+
pagination: {
|
|
885
|
+
label: "User list pagination",
|
|
886
|
+
pageSize: "Users per page",
|
|
887
|
+
perPage: "{count} per page",
|
|
888
|
+
status: "Page {page} · {count} users"
|
|
889
|
+
},
|
|
890
|
+
loadFailed: "Couldn’t load users.",
|
|
814
891
|
changeRoleFailed: "Couldn’t change the role.",
|
|
892
|
+
confirmRole: {
|
|
893
|
+
title: "Change user permissions",
|
|
894
|
+
description: "Change {name}’s role from {from} to {to}?",
|
|
895
|
+
confirm: "Change role"
|
|
896
|
+
},
|
|
815
897
|
loading: "Loading users…",
|
|
816
898
|
noPermission: {
|
|
817
899
|
title: "No permission",
|
|
@@ -819,6 +901,8 @@ var e = {
|
|
|
819
901
|
},
|
|
820
902
|
empty: "No users have signed in to the board yet.",
|
|
821
903
|
noName: "No name",
|
|
904
|
+
noEmail: "No email",
|
|
905
|
+
emailLoadFailed: "Couldn’t load the email.",
|
|
822
906
|
moderationWarnings: "{count} content warnings"
|
|
823
907
|
},
|
|
824
908
|
writingAssistant: {
|
|
@@ -848,4 +932,4 @@ var e = {
|
|
|
848
932
|
//#endregion
|
|
849
933
|
export { e as default };
|
|
850
934
|
|
|
851
|
-
//# sourceMappingURL=en-
|
|
935
|
+
//# sourceMappingURL=en-Dc7zQOy-.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en-Dc7zQOy-.js","names":[],"sources":["../src/i18n/messages/en/accountDeletion.ts","../src/i18n/messages/en/attachments.ts","../src/i18n/messages/en/auth.ts","../src/i18n/messages/en/authorMemo.ts","../src/i18n/messages/en/authorMenu.ts","../src/i18n/messages/en/avatarCropModal.ts","../src/i18n/messages/en/boardSettings.ts","../src/i18n/messages/en/boardUsers.ts","../src/i18n/messages/en/commentFeed.ts","../src/i18n/messages/en/commentForm.ts","../src/i18n/messages/en/commentItem.ts","../src/i18n/messages/en/commentList.ts","../src/i18n/messages/en/commentThread.ts","../src/i18n/messages/en/comments.ts","../src/i18n/messages/en/common.ts","../src/i18n/messages/en/detail.ts","../src/i18n/messages/en/editor.ts","../src/i18n/messages/en/footer.ts","../src/i18n/messages/en/likes.ts","../src/i18n/messages/en/list.ts","../src/i18n/messages/en/listViewSwitch.ts","../src/i18n/messages/en/miniComments.ts","../src/i18n/messages/en/miniList.ts","../src/i18n/messages/en/miniPicker.ts","../src/i18n/messages/en/miniPost.ts","../src/i18n/messages/en/moderation.ts","../src/i18n/messages/en/moderationPrompt.ts","../src/i18n/messages/en/moderationStrike.ts","../src/i18n/messages/en/posts.ts","../src/i18n/messages/en/profile.ts","../src/i18n/messages/en/profileEditModal.ts","../src/i18n/messages/en/reportButton.ts","../src/i18n/messages/en/reportList.ts","../src/i18n/messages/en/reports.ts","../src/i18n/messages/en/sectionUtil.ts","../src/i18n/messages/en/sections.ts","../src/i18n/messages/en/seo.ts","../src/i18n/messages/en/settings.ts","../src/i18n/messages/en/shareButton.ts","../src/i18n/messages/en/signIn.ts","../src/i18n/messages/en/storage.ts","../src/i18n/messages/en/swipeHint.ts","../src/i18n/messages/en/userCommentList.ts","../src/i18n/messages/en/userPostList.ts","../src/i18n/messages/en/users.ts","../src/i18n/messages/en/writingAssistant.ts","../src/i18n/messages/en/index.ts"],"sourcesContent":["export default {\n title: 'Delete account',\n intro: 'Permanently remove your account and personal information.',\n open: 'Delete account',\n description: 'Review what will be removed, then verify your sign-in again.',\n ownerBlocked: 'Transfer ownership to another account before deleting your account.',\n authWarning: 'This deletes your Firebase sign-in account, including access to host services that share it. Completed deletion cannot be undone.',\n deleteContent: 'Also delete my posts, comments, and attachments',\n contentWarning: 'Other people’s comments and attachments on your posts will also be deleted. Comments needed to connect replies on other people’s posts remain as empty deleted placeholders.',\n retention: 'If unchecked, posts, comments, and attachments remain with author names, photos, and account links anonymized. Personal information you typed in the content may remain. Your profile, email, avatar, private memos, likes, and board assignments are removed in either case.',\n acknowledge: 'I understand that deletion cannot be undone once started.',\n typeConfirmation: 'Type DELETE to confirm.',\n confirm: 'Verify and permanently delete',\n resume: 'Resume deletion',\n resumePolicy: 'An existing deletion continues with the scope you previously confirmed.',\n authenticating: 'Verifying your sign-in…',\n working: 'Deleting your account…',\n progress: '{count} items processed. Large accounts take longer. Please keep this page open.',\n retry: 'Deletion could not finish. Try again to resume processing.',\n unavailable: 'Account deletion is not available yet. Please contact support.',\n signInAgain: 'Please verify your sign-in again.',\n unsupportedProvider: 'Automatic verification is unavailable for this sign-in method. Please contact support.',\n cancelled: 'Verification was cancelled. Your account has not been deleted.',\n sessionExpired: 'The processing session expired. Verify your sign-in again to resume.',\n leaveWarning: 'Account deletion is in progress. Leaving pauses it. You can resume from this page later. Leave now?',\n success: 'Your account has been deleted.',\n}\n","export default {\n attach: 'Attach files ({count} / {max})',\n dropOrClick: 'Drop files or click to add',\n uploading: 'Uploading files…',\n maxFiles: 'You can attach up to {max} files.',\n}\n","export default {\n writeRestricted: 'Posting and commenting are temporarily restricted due to repeated content warnings.',\n writeRestrictedUntil: 'Posting and commenting are temporarily restricted due to repeated content warnings. ({until})',\n strikeSuffix: ' (Warning {count}/{threshold})',\n strikeRestrictedUntil: ' You have reached {count} warnings, so posting and commenting are restricted ({until}).',\n strikeRestricted: ' You have reached {count} warnings, so posting and commenting are restricted.',\n notInitialized: '[memi-board] Firebase Auth is not initialized.',\n}\n","export default {\n tooLong: 'Memos can be up to {max} characters.',\n}\n","export default {\n viewProfile: 'View profile',\n viewPosts: 'View posts',\n viewComments: 'View comments',\n memoAriaLabel: 'Note about this author',\n memoTitle: 'Private note',\n memoPlaceholder: 'Jot something down about this author…',\n bad: 'Bad',\n good: 'Good',\n}\n","export default {\n title: 'Crop profile photo',\n description: 'Shown as a square (1:1). Adjust the area to fit.',\n hint: 'Drag to move and zoom · Saved as a {size}×{size} square JPEG',\n confirm: 'Crop and upload',\n}\n","export default {\n signInRequired: 'Please sign in.',\n idAndNameRequired: 'Please enter a board ID and name.',\n deleteIdRequired: 'A board ID is required to delete.',\n nameRequired: 'Please enter a board name.',\n}\n","export default {\n unsupportedRole: 'Unsupported role.',\n guide: {\n title: 'User role guide',\n assignmentNote: 'Assign managers and staff to specific boards in each board’s settings. Changing a role does not automatically assign any boards.',\n owner: {\n permissions: 'Manages user roles, board settings, and all content.',\n roles: 'Appoints or removes admins and changes manager, staff, and user roles.',\n restriction: 'Ownership cannot be assigned or transferred here. Configure it through the server or console.',\n },\n admin: {\n permissions: 'Manages board settings and posts and comments across all boards.',\n roles: 'Changes manager, staff, and user roles.',\n restriction: 'Cannot change other admins’ or the owner’s role.',\n },\n manager: {\n permissions: 'Changes settings and assigns staff for assigned boards.',\n roles: 'Manages posts and comments in assigned boards.',\n restriction: 'Cannot change service-wide settings or user roles.',\n },\n staff: {\n permissions: 'Manages posts and comments in assigned boards.',\n roles: 'Cannot change board settings or board assignments.',\n restriction: 'Cannot change service-wide settings or user roles.',\n },\n user: {\n permissions: 'Writes posts and comments as allowed by each board.',\n roles: 'Edits or deletes their own posts and comments.',\n restriction: 'Cannot access user management or board settings.',\n },\n },\n roleDescription: {\n owner: 'Manages administrators and the entire service.',\n manager: 'Manages settings and staff assignments for assigned boards.',\n admin: 'Manages user roles, board settings, and all content.',\n staff: 'Manages posts and comments in assigned boards, but cannot change settings or assignments.',\n user: 'Can write posts and comments, and edit or delete only their own content.',\n },\n}\n","export default {\n empty: 'No comments yet.',\n emptyLiked: 'No liked comments yet.',\n loadFailed: 'Couldn’t load the list: {error}',\n blinded: 'This comment was hidden by an admin.',\n}\n","export default {\n confirmLeave: 'You have an unfinished comment. Leave without saving?',\n translationPending: 'Translations in {count} languages are ready and will be saved with your comment.',\n translationSkipped: 'Your comment was posted without translation. You can translate it later from the edit form.',\n hiddenBoardDenied: 'Only assigned staff can comment on hidden boards.',\n denied: 'You don’t have permission to comment on this board.',\n signInRequired: 'Please sign in.',\n writeRestricted: 'Posting is temporarily restricted due to repeated content warnings.',\n moderationBlocked: 'This contains content that can’t be posted.',\n replyTo: 'Reply to {name}',\n placeholder: 'Write a comment',\n submitReply: 'Reply',\n submit: 'Comment',\n signInToComment: 'Sign in to leave a comment.',\n attachHint: 'Drop an image here or click to choose one.',\n attachNote: 'jpg, png, gif, webp. Large images are resized to 5MB or less.',\n removeImage: 'Remove attached image',\n imageOnly: 'Only jpg, png, gif, and webp images can be attached.',\n uploadFailed: 'Couldn’t upload the image.',\n uploading: 'Uploading image…',\n}\n","export default {\n editRestricted: 'Editing comments is temporarily restricted.',\n moderationBlocked: 'This contains content that can’t be posted.',\n editFailed: 'Couldn’t update the comment.',\n blindConfirm: 'Hiding this comment shows a notice to everyone instead of its text. The original isn’t deleted and you can unhide it later.\\n\\nHide this comment?',\n unblindConfirm: 'Unhiding shows the original comment to everyone again.\\n\\nUnhide this comment?',\n blindFailed: 'Couldn’t change the hidden state.',\n likeFailed: 'Couldn’t process the like.',\n blinded: 'This comment was hidden by an admin.',\n attachedImage: 'Image attached to the comment',\n edit: 'Edit comment',\n blind: 'Hide comment',\n unblind: 'Unhide comment',\n delete: 'Delete comment',\n}\n","export default {\n loading: 'Loading comments',\n empty: 'No comments yet.',\n loadMore: 'More comments',\n loadingMore: 'Loading more comments',\n}\n","export default {\n deleteConfirm: 'Delete this comment?',\n deleteFailed: 'Couldn’t delete the comment.',\n hideReplies: 'Hide replies',\n showReplies: '{count} replies',\n loadMoreReplies: 'More replies',\n}\n","export default {\n bodyRequired: 'Please enter a comment.',\n bodyTooLong: 'Comments can be up to {max} characters.',\n replyTargetNotFound: 'The comment you are replying to could not be found.',\n threadNotFound: 'The comment thread could not be found.',\n hasRepliesCannotDelete: 'Comments with replies cannot be deleted right now.',\n}\n","export default {\n action: {\n cancel: 'Cancel',\n save: 'Save',\n saved: 'Saved',\n edit: 'Edit',\n delete: 'Delete',\n confirm: 'OK',\n close: 'Close',\n add: 'Add',\n more: 'More',\n prev: 'Previous',\n next: 'Next',\n retry: 'Retry',\n reply: 'Reply',\n like: 'Like',\n unlike: 'Unlike',\n share: 'Share',\n report: 'Report',\n signIn: 'Sign in',\n signOut: 'Sign out',\n write: 'Write',\n toTop: 'Top',\n },\n label: {\n anonymous: 'Anonymous',\n user: 'User',\n image: 'Image',\n draft: 'Draft',\n loading: 'Loading…',\n },\n role: {\n owner: 'Owner',\n manager: 'Manager',\n admin: 'Admin',\n staff: 'Staff',\n user: 'User',\n },\n date: {\n justNow: 'Just now',\n fewSecondsAgo: 'A few seconds ago',\n checking: 'Checking time',\n createdAt: 'Created: {time}',\n updatedAt: 'Updated: {time}',\n },\n}\n","export default {\n deleteConfirm: 'Delete this post? This can’t be undone.',\n notFound: 'Post not found.',\n draftPreview: 'Unpublished preview',\n draftNotice: 'This post isn’t published yet. Only you can see it until you publish.',\n publish: 'Publish',\n notice: 'Notice',\n pin: 'Make notice',\n unpin: 'Remove notice',\n backToList: 'Back to list',\n postNav: 'Post navigation',\n list: 'List',\n comments: 'Comments',\n}\n","export default {\n confirmLeave: 'You have unsaved changes. Leave this page?',\n titlePlaceholder: 'Title',\n contentPlaceholder: 'Write something… Type / to open the block menu.',\n imageContentPlaceholder: 'Write something…',\n tagsPlaceholder: 'Type a tag and press Enter',\n pinNotice: 'Pin as notice',\n submitEdit: 'Save changes',\n submitNext: 'Next: Preview',\n apply: 'Apply',\n imageOptimizing: 'Optimizing and uploading image…',\n cover: {\n hint: 'Photos {count}/{max} · Pick a cover · Drag to reorder · Drop or paste files to add',\n imageLink: 'Image link',\n addPhoto: 'Add photos',\n alt: 'Photo {n}',\n representative: 'Cover',\n setRepresentative: 'Set cover',\n setRepresentativeAria: 'Set photo {n} as cover',\n remove: 'Remove photo',\n add: 'Add',\n uploading: 'Uploading…',\n dropOrClick: 'Drop photos or click to add',\n emptyHint: 'Select multiple · Pick a cover after upload · Drag to reorder',\n uploadTitle: 'Upload',\n },\n uploadFailed: 'Upload failed',\n aiAssistant: 'AI writing assistant',\n insertBlock: 'Insert block',\n blockMenu: 'Block menu',\n imageDialog: {\n title: 'Add image',\n chooseFile: 'Choose image from device',\n orLink: 'or image link',\n urlLabel: 'Image URL',\n urlHelp: 'Only HTTPS URLs are allowed. If the image is removed from the source site, it won’t display here either.',\n previewAlt: 'External image preview',\n addLink: 'Add link',\n },\n customDialog: {\n title: 'Rewrite in a custom style',\n label: 'How should it be rewritten?',\n help: 'e.g. in a casual tone / in formal written style / as concise bullet points',\n placeholder: 'In a casual tone',\n },\n translateView: {\n title: '{language} translation preview',\n notSaved: 'Not saved. This is only a preview.',\n },\n aiPreview: {\n title: 'Review AI result',\n currentTitle: 'Current title',\n newTitle: 'New title',\n currentContent: 'Current content',\n appendedContent: 'Content to add',\n before: 'Before',\n after: 'After',\n },\n menu: {\n ai: 'AI',\n aiContinue: 'Continue with AI',\n style: 'Style',\n insert: 'Insert',\n paragraph: 'Paragraph',\n heading1: 'Heading 1',\n heading2: 'Heading 2',\n heading3: 'Heading 3',\n bulletList: 'Bulleted list',\n orderedList: 'Numbered list',\n blockquote: 'Quote',\n codeBlock: 'Code block',\n horizontalRule: 'Divider',\n image: 'Image',\n turnInto: 'Turn into',\n resetFormatting: 'Reset formatting',\n duplicate: 'Duplicate',\n moveUp: 'Move up',\n moveDown: 'Move down',\n delete: 'Delete',\n },\n toolbar: {\n link: 'Link',\n image: 'Image',\n format: 'Format',\n bold: 'Bold',\n italic: 'Italic',\n underline: 'Underline',\n strike: 'Strikethrough',\n title: 'Title',\n heading: 'Heading',\n subheading: 'Subheading',\n body: 'Body',\n mono: 'Monospace',\n bulletList: 'Bulleted list',\n orderedList: 'Numbered list',\n blockquote: 'Block quote',\n codeBlock: 'Code block',\n horizontalRule: 'Divider',\n clearFormatting: 'Clear formatting',\n undo: 'Undo',\n redo: 'Redo',\n },\n ai: {\n proofread: 'Check spelling',\n polish: 'Polish writing',\n continue: 'Continue writing',\n summarize: 'Summarize briefly',\n translateEn: 'Translate to English',\n translateKo: 'Translate to Korean',\n translateView: 'Translate to preview',\n translateAll: 'Translate and save in {count} languages',\n translateEmpty: 'Enter a title or body to translate first.',\n title: 'Generate title from body',\n custom: 'Rewrite in a custom style…',\n failed: 'The AI task failed. Please try again.',\n },\n youtubePrompt: 'Enter a YouTube link.',\n errors: {\n coverMax: 'You can upload up to {max} photos.',\n imageUrlRequired: 'Enter an image URL.',\n imageUrlInvalid: 'Enter a valid image URL.',\n imageUrlHttps: 'Only HTTPS image URLs are allowed.',\n imageUrlCredentials: 'URLs containing login credentials aren’t allowed.',\n imageTimeout: 'The image is taking too long to load.',\n imageNotDisplayable: 'This image can’t be displayed.',\n imageLoadFailed: 'Couldn’t load the image. Check the URL or whether the site allows external linking.',\n editorNotReady: 'The editor isn’t ready. Please try again.',\n imageLinkFailed: 'Couldn’t add the image link.',\n imageOnly: 'Only image files can be uploaded.',\n imageTooLarge: 'Original images must be {mb}MB or smaller.',\n imageUploadFailed: 'Image upload failed.',\n pasteAsFile: 'Paste or drag photos as files into the area above.',\n postNotFound: 'Post not found.',\n loadPermission: 'You don’t have permission to load this post. Check that you’re signed in.',\n loadFailed: 'Couldn’t load the post: {message}',\n editPermission: 'You don’t have permission to edit. Make sure it’s your post and you’re still signed in.',\n titleRequired: 'Enter a title.',\n photoRequired: 'Upload at least one photo.',\n bodyRequired: 'Write some text or attach an image.',\n signInRequired: 'Sign-in required.',\n boardMissing: 'No board was specified.',\n writeRestricted: 'Posting and commenting are temporarily restricted due to repeated content warnings.',\n moderationBlocked: 'This contains content that can’t be posted.',\n },\n titleOptionalPlaceholder: 'Title (leave empty and AI will write one)',\n titleAiNotice: 'AI wrote a title from your text. Save if you like it, or edit it first.',\n hint: {\n titling: 'Writing a title…',\n translating: 'Translating the post into {count} languages…',\n reviewing: 'Reviewing content…',\n saving: 'Saving…',\n },\n}\n","export default {\n introduction: 'memi-board is built on Nuxt 4, Vue 3 and TypeScript. Nuxt UI and Firebase bring posts, comments and conversations together.',\n eyebrow: 'A space for conversation',\n tagline: 'Small communities. Shared stories.',\n detail: 'Detailed introduction',\n links: 'Links & contact',\n email: \"Email\",\n credit: \"by memi\",\n feedback: 'Send feedback',\n feedbackSubject: 'memi-board feedback',\n feedbackBody: 'Feedback:\\n',\n siteEyebrow: \"Built with memi-board\",\n changelog: \"Changelog\",\n info: {\n title: 'memi-board',\n about: 'About memi-board',\n sites: 'Showcase',\n history: 'Version history',\n },\n sites: {\n description: 'Services using memi-board to bring posts and conversations together.',\n memi: 'A space for development and everyday stories',\n waiting: 'A simple QR-based waitlist service',\n track: 'GPS tracking for your journeys',\n loop: 'Vehicle recording and sensor solutions',\n safe: 'Pedal safety device connection and settings',\n inviteTitle: 'Using it too?',\n invite: 'Tell us your site address.',\n inviteSite: 'Leave it on memi.dev',\n inviteOr: 'or',\n inviteSubject: 'We use memi-board',\n inviteBody: 'Site address:\\n',\n },\n stack: {\n ui: 'Interface & experience',\n data: 'Data & sign-in',\n writing: 'Writing & convenience',\n },\n}\n","export default {\n signInRequired: 'Please sign in.',\n commentNotFound: 'Comment not found.',\n}\n","export default {\n introduction: 'This board is built on Nuxt 4, Vue 3 and TypeScript. Nuxt UI and Tailwind CSS shape a comfortable interface, while Firebase Firestore, Auth, Storage and nuxt-vuefire keep posts and comments flowing smoothly.',\n settings: 'Settings',\n loadFailed: 'Couldn’t load the list: {error}',\n empty: 'No posts yet.',\n notice: 'Notice',\n commentCount: '{count} comments',\n photo: 'Photo',\n likeCount: 'Likes {count}',\n boardInfo: {\n creator: 'Created by',\n managers: 'Managers',\n staff: 'Staff',\n },\n info: {\n title: 'Board info',\n about: 'About this board',\n history: 'Version history',\n },\n stack: {\n framework: 'Framework & language',\n ui: 'UI & styling',\n backend: 'Backend & data',\n },\n tech: {\n nuxt: 'Vue-based SSR framework',\n vue: 'Composition API · script setup',\n typescript: 'Type-safe data and components',\n nuxtUi: 'Board, form and modal UI',\n tailwind: 'Responsive · light/dark styles',\n lucide: 'Lightweight, consistent icons',\n dayjs: 'Readable dates and relative times',\n firestore: 'Real-time DB for posts and comments',\n auth: 'Secure sign-in and permissions',\n storage: 'Image and attachment storage',\n vuefire: 'Real-time Nuxt–Firebase binding',\n },\n}\n","export default {\n default: 'Default',\n card: 'Card',\n dense: 'Compact',\n video: 'Video',\n}\n","export default {\n empty: 'No comments yet.',\n blinded: 'This comment was hidden by an admin.',\n}\n","export default {\n empty: 'No posts yet.',\n}\n","export default {\n selectedCount: 'Selected {count} / {max}',\n layoutHint: '2+ show as a carousel, 4 as a grid',\n searchPlaceholder: 'Search titles',\n loading: 'Loading posts…',\n noMore: 'No more posts to pick.',\n}\n","export default {\n empty: 'No posts selected.',\n}\n","export default {\n reviewFailed: 'We could not review your content, so it cannot be posted. Please try again shortly.',\n writeRestricted: 'Posting and commenting are temporarily restricted due to repeated content warnings.',\n}\n","export default {\n localHit: 'Expressions like “{hit}” aren’t allowed. Please rephrase.',\n localGeneric: 'This contains profanity, so it can’t be posted. Please rephrase.',\n categoryBlocked: 'This contains {category}, so it can’t be posted. Please edit it.',\n genericBlocked: 'This contains content that can’t be posted. Please edit it.',\n categories: {\n abuse: 'profanity or insults',\n spam: 'spam or advertising',\n adult: 'sexual or adult content',\n violence: 'violence or threats',\n other: 'inappropriate content',\n },\n}\n","export default {\n liftSoon: 'lifts soon',\n liftInHours: 'lifts in about {hours}h',\n liftInDays: 'lifts in about {days}d',\n liftInDaysHours: 'lifts in about {days}d {hours}h',\n}\n","export default {\n boardIdRequired: '[memi-board] boardId is required.',\n photoRequired: 'Please add a photo.',\n bodyRequired: 'Please enter some text or attach an image.',\n titleRequired: 'Please enter a title.',\n}\n","export default {\n myAccount: 'My account',\n notFound: 'User not found.',\n noName: 'No name',\n joined: 'Joined {time}',\n lastVisit: 'Last seen {time}',\n stats: {\n posts: '{count} posts',\n comments: '{count} comments',\n aiUsage: 'AI used {used} / {limit}',\n aiUsageResets: 'AI used {used} / {limit} · resets in {hours}h',\n warnings: '{count} warnings',\n },\n}\n","export default {\n imageOnly: 'Only image files can be selected.',\n nameRequired: 'Please enter a name.',\n nameReviewHelp: 'New names are checked for abuse, hate, spam, and deceptive staff impersonation before saving.',\n checkingName: 'Checking name…',\n nameRejected: 'This name cannot be used. Please choose another name.',\n nameReviewFailed: 'AI could not review the name. Please try again shortly.',\n saveFailed: 'Couldn’t save the profile.',\n title: 'Edit profile',\n changePhoto: 'Change photo',\n name: 'Name',\n bio: 'Bio',\n bioPlaceholder: 'Tell people about yourself',\n}\n","export default {\n failed: 'Couldn’t submit the report.',\n reported: 'Reported',\n title: 'Report post',\n done: 'Report received. Staff will review it.',\n reason: 'Reason',\n detailPlaceholder: 'Details (optional)',\n submit: 'Report',\n}\n","export default {\n staffOnly: 'Only staff can view reports.',\n loadFailed: 'Couldn’t load the list: {error}',\n empty: 'No pending reports.',\n untitled: 'Untitled post',\n author: 'by {name}',\n dismiss: 'Dismiss',\n confirm: 'Resolve',\n}\n","export default {\n reason: {\n spam: 'Spam / advertising',\n abuse: 'Abuse / hate / harassment',\n adult: 'Sexual content',\n illegal: 'Illegal content',\n other: 'Other',\n },\n fallbackLabel: 'Report',\n signInRequired: 'Please sign in.',\n cannotReportOwn: 'You cannot report your own post.',\n reasonRequired: 'Please select a reason.',\n detailTooLong: 'Details can be up to {max} characters.',\n}\n","export default {\n kind: {\n list: 'Post list',\n post: 'Posts',\n comments: 'Comments',\n },\n sort: {\n latest: 'Latest',\n likes: 'Most liked',\n },\n untitledPost: 'Post',\n view: {\n media: 'Media',\n list: 'List',\n },\n}\n","export default {\n defaultTitle: 'Section {n}',\n}\n","export default {\n allCategory: 'All',\n boardDescription: '{name} board',\n allDescription: 'Board — announcements and community news.',\n postFallbackTitle: 'Post | {site}',\n postFallbackDescription: 'Board',\n photo: 'Photo',\n postDescriptionFallback: 'Board post',\n listTitle: '{name} | {site}',\n listTitleAll: 'Board | {site}',\n listDescription: '{name} — catch up on the latest posts.',\n listDescriptionAll: 'Board — announcements and stories.',\n}\n","export default {\n managers: 'Assigned managers',\n loading: 'Loading settings…',\n noAccess: 'You don’t have access',\n notFound: {\n title: 'Board not found',\n checkAddress: 'Please check the address.',\n checkBoardAddress: 'Please check the board address.',\n },\n newBoard: {\n title: 'This board doesn’t exist yet',\n description: 'Fill in the details below and save to create it with this ID.',\n },\n noLabel: 'No label',\n option: {\n default: 'Standard',\n },\n id: {\n label: 'Category ID',\n help: 'Used in the URL and data',\n },\n writeRole: {\n label: 'Who can post',\n help: 'Minimum role required to post in this category',\n helpShort: 'Minimum role required to post',\n options: {\n user: 'Users and up',\n staff: 'Staff and up',\n admin: 'Admins only',\n },\n },\n commentWriteRole: {\n label: 'Who can comment',\n help: 'Minimum role required to comment in this category',\n helpShort: 'Minimum role required to comment',\n hiddenHelp: 'Comments on hidden boards don’t appear in the public feed, and only assigned staff can write them',\n hiddenFixed: 'Assigned staff only (fixed for hidden boards)',\n },\n staff: {\n label: 'Assigned staff',\n help: 'Only the selected staff can configure and manage this board. Leave empty for admins only',\n placeholder: 'Admins only (no staff assigned)',\n },\n label: {\n label: 'Display name',\n help: 'The name users see',\n },\n description: {\n label: 'Description',\n help: 'Shown at the top of the board and elsewhere',\n placeholder: 'A short description of this board (optional)',\n },\n list: {\n filterAll: 'All',\n filterPlaceholder: 'Name or address',\n sort: 'Sort',\n sortName: 'Name',\n sortDescription: 'Description',\n sortId: 'Address',\n empty: 'No boards match this filter.',\n none: 'None',\n fieldCount: '{count}',\n localeAuto: 'Auto',\n },\n visibility: {\n pending: 'Visibility change is incomplete. Save the same setting again to resume.',\n label: 'Visibility',\n help: 'Hidden boards don’t appear in the all-boards filter, and posts can only be read by admins, assigned staff, and their authors. Only assigned staff can comment',\n options: {\n public: { label: 'Visible', description: 'Shown in the full list and filters' },\n hidden: { label: 'Hidden', description: 'Journal or private. Only assigned staff can comment' },\n },\n },\n listView: {\n label: 'List view',\n help: 'How the post list is displayed',\n options: {\n card: 'Card',\n dense: 'Compact',\n video: 'Video',\n },\n },\n editorType: {\n label: 'Post form',\n help: 'How posts are written',\n options: {\n default: 'Write a title and body',\n image: 'Add multiple photos and a cover photo',\n },\n },\n customFields: {\n label: 'Custom fields',\n help: 'Extra values stored on each post. The key is what you filter on later. The name is shown as typed and is not translated.',\n key: 'Key',\n keyPlaceholder: 'channel',\n name: 'Name',\n namePlaceholder: 'Channel',\n placeholder: 'Placeholder',\n inputPlaceholder: 'Faint hint shown in the write field',\n add: 'Add field',\n limit: 'You can add up to 8 custom fields.',\n invalidKey: 'A key must start with a lowercase letter and contain only letters, numbers, and underscores, up to 32 characters.',\n duplicateKey: 'The key {key} is duplicated.',\n labelRequired: 'Enter a name for the key {key}.',\n },\n locale: {\n label: 'Board language',\n help: 'Leave empty to follow the site language. If set, this board always appears in that language.',\n auto: 'Auto (follow site language)',\n },\n bulk: {\n title: 'Apply to all boards',\n help: 'Only checked items overwrite every board. Other unsaved edits on individual boards are not saved.',\n apply: 'Apply to {count} boards',\n applyShort: 'Apply',\n confirmTitle: 'Apply to all boards',\n confirm: 'Apply the checked items to {count} boards?',\n applied: 'Applied to {count} boards.',\n translateUntranslated: 'Translate untranslated boards ({count})',\n translated: 'Translated and saved names and descriptions for {count} boards.',\n translateFailed: 'Couldn’t translate {count} boards. Try again.',\n },\n translationLocales: {\n label: 'Translation languages',\n help: 'The name, description, and posts are translated into these languages. The language a post was written in is skipped. Selecting all also includes languages added later.',\n },\n autoTranslatePosts: {\n label: 'Automatically translate new posts and comments',\n help: 'Translate new post titles, summaries, bodies, comments and replies into {count} languages when saving. Off by default.',\n },\n autoTranslate: {\n action: \"Translate into {count} languages\",\n manualHelp: \"Translate the display label and description together, then click Save to apply.\",\n pending: \"Translations for {count} languages are ready. Click Save to apply.\",\n manualFailed: \"Translation failed. Your text is unchanged. Please try again.\",\n label: 'Translate into {count} languages when saving',\n help: 'When on, the name and description are translated into {count} languages. When off, they are not translated. Unchanged text is not translated again.',\n failed: 'Settings were saved, but translating into {count} languages failed. Save again to retry.',\n ready: 'The name and description are saved in {count} languages.',\n },\n action: {\n moveDown: 'Down',\n goToBoard: 'Go to board',\n deleteBoard: 'Delete board',\n create: 'Create',\n },\n newCategoryPlaceholder: 'New board name',\n newCategoryHelp: 'This name becomes the board address. Up to 40 characters. Spaces turn into hyphens, and only letters, numbers, and Korean characters are kept.',\n newCategoryUrl: 'Address: {path}',\n deleteConfirm: 'Delete the “{label}” board?\\n\\nAll posts, comments, replies, inline images, comment images, and attachments on this board will be permanently deleted. This can’t be undone.',\n savedCategory: 'Saved the “{label}” category.',\n savedSettings: 'Board settings saved.',\n created: 'Board created.',\n error: {\n orderFailed: 'Couldn’t save the category order.',\n deleteFailed: 'Couldn’t delete the board and its data.',\n saveFailed: 'Couldn’t save the board settings.',\n deleteAllFailed: 'Couldn’t delete the board data.',\n },\n aiTitle: {\n label: 'Write titles with AI',\n help: 'When a new post\\'s title is left empty, AI writes one from the text (or from the first photo if there is no text). Photos are sent to Google AI only to write a title. Turn it off to require a typed title and stop sending photos.',\n },\n site: {\n apply: 'Apply',\n applied: 'Applied.',\n title: 'Site-wide settings',\n help: 'Apply to the whole site. They override the host app\\'s settings and take effect as soon as you change them.',\n ai: { label: 'Use AI features', help: 'Turn this off if you can\\'t use AI, for example because of cost. It turns off translation, the writing assistant, AI titles, and AI moderation, and photos are no longer sent to AI. The blocked-word check keeps working.' },\n i18n: { label: 'Use internationalization', help: 'When off, every screen is fixed to the single language chosen below and translation is turned off. Saved translations are not deleted.' },\n locales: { label: 'Languages to offer', help: 'Only the {count} selected languages are translated and shown in the language menu. Languages you don\\'t select get no new translations, and saved translations are not deleted.' },\n locale: { label: 'Default language', help: 'The language used when the host app doesn\\'t set one.', fixedLabel: 'Fixed language', fixedHelp: 'Every screen is shown in this language.' },\n },\n i18nBoard: {\n label: 'Internationalization',\n help: 'When on, the board name and description and new posts and comments are automatically translated into {count} languages and saved. When off, only the original text is shown.',\n existing: 'Translate existing posts too',\n },\n about: {\n label: 'Show About memi-board',\n help: 'Shows the About memi-board link and popup at the bottom of every board screen. Turn it off to hide it across the site.',\n },\n postTranslations: {\n label: 'Translate existing posts',\n help: 'Finds posts whose translation is missing or no longer matches the original, then translates and saves them in one go. Use it for boards with automatic translation off, or to fill in posts that missed translation. It does not use the daily AI quota.',\n scan: 'Find posts to translate',\n run: 'Translate {count} posts',\n confirm: 'This translates and saves {count} posts, making AI calls for each one. Continue?',\n progress: 'Translating… {done} done, {failed} failed',\n allDone: 'All {total} published posts have up-to-date translations.',\n found: '{count} of {total} published posts need translation.',\n failed: '{count} posts could not be translated. Scan again and retry.',\n },\n cleanup: {\n contextChanged: 'Your account or board configuration changed after scanning. Scan again before deleting.',\n title: 'Orphan files and documents',\n description: 'Scan all boards for files and comments without a post, images without a comment, and likes without a target. Files updated within 24 hours, referenced files, and report history are retained.',\n scan: 'Scan orphan items',\n empty: 'No orphan items found.',\n selectAll: 'Select all ({count})',\n delete: 'Delete selected ({count})',\n confirm: 'Permanently delete {count} selected orphan items? This cannot be undone.',\n failed: 'Cleanup failed. Check the admin Firestore and Storage rules.',\n result: '{deleted} deleted, {skipped} retained after connections were restored, {failed} failed. Failed items can be retried.',\n kinds: { file: 'File', comment: 'Comment document', like: 'Like document' },\n },\n danger: {\n title: 'Danger zone',\n description: 'Permanently deletes all posts, comments, comment images, attachments, and category settings. Board users and admin roles are kept.',\n confirmLabel: 'Type “{phrase}” to confirm',\n phrase: 'delete board data',\n button: 'Delete all data',\n done: 'All board data has been deleted.',\n },\n}\n","export default {\n copied: 'Link copied',\n}\n","export default {\n withGoogle: 'Sign in with Google',\n withApple: 'Sign in with Apple',\n or: 'or',\n name: 'Name',\n email: 'Email',\n password: 'Password',\n signUp: 'Sign up',\n toSignUp: 'Don’t have an account? Sign up',\n toSignIn: 'Already have an account? Sign in',\n}\n","export default {\n tooLargeAfterCompress: 'The image is still larger than 5MB after compression. Please choose a smaller image.',\n sourceTooLarge: 'The original image must be {max}MB or smaller.',\n heicUnsupported: 'HEIC photos cannot be uploaded directly. Pick it from the Photos app or convert it to JPG, PNG, or WebP.',\n cannotOptimize: 'This image format cannot be optimized in the browser. Please convert it to JPG, PNG, or WebP.',\n imageOnly: 'Only image files can be uploaded.',\n canvasUnavailable: 'Canvas is not available',\n compressFailed: 'Compression failed',\n loadFailed: 'Failed to load image',\n}\n","export default {\n title: 'Try swiping left or right',\n description: 'Swipe left for the next post, right for the previous one.',\n}\n","export default {\n loadFailed: 'Couldn’t load the list: {error}',\n empty: 'No comments yet.',\n blinded: 'This comment was hidden by an admin.',\n likes: '{count} likes',\n}\n","export default {\n loadFailed: 'Couldn’t load the list: {error}',\n empty: 'No posts yet.',\n}\n","export default {\n title: 'Board users',\n sort: {\n label: 'Sort users by',\n name: 'Name',\n role: 'Role',\n direction: 'Sort direction',\n asc: 'Ascending',\n desc: 'Descending',\n },\n pagination: {\n label: 'User list pagination',\n pageSize: 'Users per page',\n perPage: '{count} per page',\n status: 'Page {page} · {count} users',\n },\n loadFailed: 'Couldn’t load users.',\n changeRoleFailed: 'Couldn’t change the role.',\n confirmRole: {\n title: 'Change user permissions',\n description: 'Change {name}’s role from {from} to {to}?',\n confirm: 'Change role',\n },\n loading: 'Loading users…',\n noPermission: {\n title: 'No permission',\n description: 'Only board admins can manage user roles.',\n },\n empty: 'No users have signed in to the board yet.',\n noName: 'No name',\n noEmail: 'No email',\n emailLoadFailed: 'Couldn’t load the email.',\n moderationWarnings: '{count} content warnings',\n}\n","export default {\n loginRequired: 'Sign in to use the AI writing assistant.',\n userMissing: 'Couldn’t verify your user info. Please try again.',\n dailyLimit: 'The AI writing assistant can be used up to {limit} times a day. Please try again in about {hours} hour(s).',\n contentRequired: 'Enter some content for the AI to work on first.',\n customRequired: 'Enter an instruction for how to rewrite it.',\n emptyResult: 'The AI couldn’t produce a result. Please try again.',\n translateEmpty: 'Enter a title or body to translate first.',\n translateTooLong: 'Posts longer than {limit} characters can’t be saved in {count} languages. Shorten it and try again.',\n translateIncomplete: 'Some languages came back empty. Please try again.',\n failed: 'The AI task failed. Please try again.',\n actions: {\n proofread: 'Check spelling',\n polish: 'Polish sentences',\n continue: 'Continue writing',\n summarize: 'Summarize',\n translateEn: 'Translate to English',\n translateKo: 'Translate to Korean',\n translateAll: 'Translate and save in {count} languages',\n title: 'Generate title from body',\n custom: 'Rewrite in a custom style…',\n },\n}\n","// 자동 생성 — scripts/gen-i18n-index.mjs\nimport accountDeletion from './accountDeletion'\nimport attachments from './attachments'\nimport auth from './auth'\nimport authorMemo from './authorMemo'\nimport authorMenu from './authorMenu'\nimport avatarCropModal from './avatarCropModal'\nimport boardSettings from './boardSettings'\nimport boardUsers from './boardUsers'\nimport commentFeed from './commentFeed'\nimport commentForm from './commentForm'\nimport commentItem from './commentItem'\nimport commentList from './commentList'\nimport commentThread from './commentThread'\nimport comments from './comments'\nimport common from './common'\nimport detail from './detail'\nimport editor from './editor'\nimport footer from './footer'\nimport likes from './likes'\nimport list from './list'\nimport listViewSwitch from './listViewSwitch'\nimport miniComments from './miniComments'\nimport miniList from './miniList'\nimport miniPicker from './miniPicker'\nimport miniPost from './miniPost'\nimport moderation from './moderation'\nimport moderationPrompt from './moderationPrompt'\nimport moderationStrike from './moderationStrike'\nimport posts from './posts'\nimport profile from './profile'\nimport profileEditModal from './profileEditModal'\nimport reportButton from './reportButton'\nimport reportList from './reportList'\nimport reports from './reports'\nimport sectionUtil from './sectionUtil'\nimport sections from './sections'\nimport seo from './seo'\nimport settings from './settings'\nimport shareButton from './shareButton'\nimport signIn from './signIn'\nimport storage from './storage'\nimport swipeHint from './swipeHint'\nimport userCommentList from './userCommentList'\nimport userPostList from './userPostList'\nimport users from './users'\nimport writingAssistant from './writingAssistant'\n\nexport default {\n accountDeletion,\n attachments,\n auth,\n authorMemo,\n authorMenu,\n avatarCropModal,\n boardSettings,\n boardUsers,\n commentFeed,\n commentForm,\n commentItem,\n commentList,\n commentThread,\n comments,\n common,\n detail,\n editor,\n footer,\n likes,\n list,\n listViewSwitch,\n miniComments,\n miniList,\n miniPicker,\n miniPost,\n moderation,\n moderationPrompt,\n moderationStrike,\n posts,\n profile,\n profileEditModal,\n reportButton,\n reportList,\n reports,\n sectionUtil,\n sections,\n seo,\n settings,\n shareButton,\n signIn,\n storage,\n swipeHint,\n userCommentList,\n userPostList,\n users,\n writingAssistant,\n}\n"],"mappings":";;A8CgDA,IAAA,IAAe;CACb,iBAAA;E9ChDA,OAAO;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,cAAc;EACd,aAAa;EACb,eAAe;EACf,gBAAgB;EAChB,WAAW;EACX,aAAa;EACb,kBAAkB;EAClB,SAAS;EACT,QAAQ;EACR,cAAc;EACd,gBAAgB;EAChB,SAAS;EACT,UAAU;EACV,OAAO;EACP,aAAa;EACb,aAAa;EACb,qBAAqB;EACrB,WAAW;EACX,gBAAgB;EAChB,cAAc;EACd,SAAS;C8CwBT;CACA,aAAA;E7CjDA,QAAQ;EACR,aAAa;EACb,WAAW;EACX,UAAU;C6C8CV;CACA,MAAA;E5ClDA,iBAAiB;EACjB,sBAAsB;EACtB,cAAc;EACd,uBAAuB;EACvB,kBAAkB;EAClB,gBAAgB;C4C6ChB;CACA,YAAA,E3CnDA,SAAS,uC2CmDT;CACA,YAAA;E1CpDA,aAAa;EACb,WAAW;EACX,cAAc;EACd,eAAe;EACf,WAAW;EACX,iBAAiB;EACjB,KAAK;EACL,MAAM;C0C6CN;CACA,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QAAQ;GACR,MAAM;EACR;CS/HA;CACA,aAAA,ERtFA,QAAQ,cQsFR;CACA,QAAA;EPvFA,YAAY;EACZ,WAAW;EACX,IAAI;EACJ,MAAM;EACN,OAAO;EACP,UAAU;EACV,QAAQ;EACR,UAAU;EACV,UAAU;CO+EV;CACA,SAAA;ENxFA,uBAAuB;EACvB,gBAAgB;EAChB,iBAAiB;EACjB,gBAAgB;EAChB,WAAW;EACX,mBAAmB;EACnB,gBAAgB;EAChB,YAAY;CMiFZ;CACA,WAAA;ELzFA,OAAO;EACP,aAAa;CKwFb;CACA,iBAAA;EJ1FA,YAAY;EACZ,OAAO;EACP,SAAS;EACT,OAAO;CIuFP;CACA,cAAA;EH3FA,YAAY;EACZ,OAAO;CG0FP;CACA,OAAA;EF5FA,OAAO;EACP,MAAM;GACJ,OAAO;GACP,MAAM;GACN,MAAM;GACN,WAAW;GACX,KAAK;GACL,MAAM;EACR;EACA,YAAY;GACV,OAAO;GACP,UAAU;GACV,SAAS;GACT,QAAQ;EACV;EACA,YAAY;EACZ,kBAAkB;EAClB,aAAa;GACX,OAAO;GACP,aAAa;GACb,SAAS;EACX;EACA,SAAS;EACT,cAAc;GACZ,OAAO;GACP,aAAa;EACf;EACA,OAAO;EACP,QAAQ;EACR,SAAS;EACT,iBAAiB;EACjB,oBAAoB;CE6DpB;CACA,kBAAA;ED7FA,eAAe;EACf,aAAa;EACb,YAAY;EACZ,iBAAiB;EACjB,gBAAgB;EAChB,aAAa;EACb,gBAAgB;EAChB,kBAAkB;EAClB,qBAAqB;EACrB,QAAQ;EACR,SAAS;GACP,WAAW;GACX,QAAQ;GACR,UAAU;GACV,WAAW;GACX,aAAa;GACb,aAAa;GACb,cAAc;GACd,OAAO;GACP,QAAQ;EACV;CCyEA;AACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export { useMemiBoardModeration } from './composables/useMemiBoardModeration';
|
|
|
27
27
|
export { useMemiBoardSettings, DEFAULT_CATEGORIES, DEFAULT_BOARDS } from './composables/useMemiBoardSettings';
|
|
28
28
|
export { canManageBoardByRole, canWriteCommentByRole, isAssignedStaff } from './utils/boardAccess';
|
|
29
29
|
export { useMemiBoardUsers, BOARD_USER_ROLES } from './composables/useMemiBoardUsers';
|
|
30
|
+
export { useMemiBoardUserDirectory } from './composables/useMemiBoardUserDirectory';
|
|
31
|
+
export type { UserDirectorySort, UserDirectoryDirection } from './utils/userDirectoryPage';
|
|
30
32
|
export { useMemiBoardUserProfile } from './composables/useMemiBoardUserProfile';
|
|
31
33
|
export { useMemiBoardSections, normalizeBoardSection } from './composables/useMemiBoardSections';
|
|
32
34
|
export { useMemiBoardMiniLatest, useMemiBoardMiniPicked } from './composables/useMemiBoardMiniPosts';
|