Fixed wrong wording keys

This commit is contained in:
DrMint 2024-05-12 00:50:22 +02:00
parent 8173221b3a
commit 277d73d9fd
3 changed files with 15 additions and 17 deletions

View File

@ -69,8 +69,6 @@ export type WordingKey =
| "collectibles.bookFormat.binding.hardcover"
| "collectibles.bookFormat.binding.readingDirection.leftToRight"
| "collectibles.bookFormat.binding.readingDirection.rightToLeft"
| "collectibles.gallery"
| "collectibles.scans"
| "collectibles.imageCount"
| "header.topbar.settings.tooltip"
| "collectibles.contents"
@ -89,29 +87,29 @@ export type WordingKey =
| "pages.tableOfContent.break"
| "global.languageOverride.availableLanguages"
| "timeline.title"
| "timeline.eras.drakengard3"
| "timeline.description"
| "timeline.eras.cataclysm"
| "timeline.eras.drakengard"
| "timeline.eras.drakengard2"
| "timeline.eras.drakengard3"
| "timeline.eras.nier"
| "timeline.eras.nierAutomata"
| "timeline.eras.cataclysm"
| "timeline.description"
| "timeline.notes.title"
| "timeline.jumpTo"
| "timeline.notes.content"
| "timeline.notes.title"
| "timeline.priorCataclysmNote.title"
| "timeline.priorCataclysmNote.content"
| "timeline.jumpTo"
| "timeline.year.during"
| "timeline.eventFooter.languages"
| "timeline.eventFooter.sources"
| "timeline.eventFooter.languages"
| "timeline.eventFooter.note"
| "global.sources.typeLabel.url"
| "global.sources.typeLabel.page"
| "global.sources.typeLabel.collectible"
| "global.sources.typeLabel.folder"
| "global.sources.typeLabel.collectible.range.custom"
| "global.sources.typeLabel.collectible.range.page"
| "global.sources.typeLabel.collectible.range.timestamp"
| "global.sources.typeLabel.collectible.range.custom"
| "global.sources.typeLabel.folder"
| "global.sources.typeLabel.page"
| "global.sources.typeLabel.url"
| "global.openMediaPage"
| "global.downloadButton"
| "global.previewTypes.video"
@ -121,6 +119,8 @@ export type WordingKey =
| "global.previewTypes.collectible"
| "global.previewTypes.unknown"
| "collectibles.scans.title"
| "collectibles.gallery.title"
| "collectibles.gallery.subtitle"
| "collectibles.scans.subtitle"
| "collectibles.scans.shortIndex.flapFront"
| "collectibles.scans.shortIndex.front"
@ -134,11 +134,9 @@ export type WordingKey =
| "collectibles.scans.obi"
| "collectibles.scans.obiInside"
| "collectibles.scans.pages"
| "collectibles.gallery.title"
| "collectibles.gallery.subtitle"
| "global.sources.typeLabel.scans"
| "collectibles.scans.dustjacket.description"
| "collectibles.scans.obi.description"
| "global.sources.typeLabel.scans"
| "global.sources.typeLabel.gallery"
| "global.media.attributes.filename"
| "global.media.attributes.duration"

View File

@ -23,7 +23,7 @@ const translation = getLocalizedMatch(translations);
<AppLayout
openGraph={{
title: `${formatInlineTitle(translation)} (${t("collectibles.gallery")})`,
title: `${formatInlineTitle(translation)} (${t("collectibles.gallery.title")})`,
description: translation.description && formatRichTextToString(translation.description),
thumbnail,
}}

View File

@ -41,7 +41,7 @@ const hasOutsideObi = obi ? Object.keys(obi).some((value) => !value.includes("in
<AppLayout
openGraph={{
title: `${formatInlineTitle(translation)} (${t("collectibles.scans")})`,
title: `${formatInlineTitle(translation)} (${t("collectibles.scans.title")})`,
description: translation.description && formatRichTextToString(translation.description),
thumbnail,
}}