このコミットが含まれているのは:
@@ -5,6 +5,7 @@ import { localisedDateString, msToTime, originalCreatedAtString } from '@/lib/ut
|
||||
|
||||
import type { CountColumn, CountField, CountRecord,
|
||||
CountsResource, CountsVersion } from '@/lib/counts'
|
||||
import type { CountsDefinition } from '@/lib/countsDefinitions'
|
||||
import type { LocaleCode } from '@/lib/locales'
|
||||
|
||||
|
||||
@@ -245,6 +246,7 @@ export const countsImageURL = (value: string | null | undefined): string | null
|
||||
export const countsExportLabels = (
|
||||
resource: CountsResource,
|
||||
locale: LocaleCode,
|
||||
definition?: CountsDefinition,
|
||||
): Record<string, string> => {
|
||||
const aliases: Record<string, string> = { versionNo: 'version_no',
|
||||
languageCode: 'language', scriptCode: 'script', autoGenerated: 'auto_generated' }
|
||||
@@ -257,7 +259,7 @@ export const countsExportLabels = (
|
||||
if (field.children) visit (field.children)
|
||||
}
|
||||
}
|
||||
visit (fieldsForCounts (resource))
|
||||
visit (fieldsForCounts (resource, definition))
|
||||
for (const key of ['internal', 'external'])
|
||||
labels[`kind:${key}`] = translateUIMessage (`kinds.${key}`, 'counts', locale).text
|
||||
for (const key of ['deerjikist', 'meme', 'character', 'general', 'material', 'meta'])
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする