mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 21:16:21 +00:00
3518ca9e2a
* feat(i18n): localize the min read string fixes #825 * chore: format
81 lines
2.1 KiB
TypeScript
81 lines
2.1 KiB
TypeScript
import { Translation } from "./definition"
|
|
|
|
export default {
|
|
propertyDefaults: {
|
|
title: "無題",
|
|
description: "説明なし",
|
|
},
|
|
components: {
|
|
callout: {
|
|
note: "ノート",
|
|
abstract: "抄録",
|
|
info: "情報",
|
|
todo: "やるべきこと",
|
|
tip: "ヒント",
|
|
success: "成功",
|
|
question: "質問",
|
|
warning: "警告",
|
|
failure: "失敗",
|
|
danger: "危険",
|
|
bug: "バグ",
|
|
example: "例",
|
|
quote: "引用",
|
|
},
|
|
backlinks: {
|
|
title: "バックリンク",
|
|
noBacklinksFound: "バックリンクはありません",
|
|
},
|
|
themeToggle: {
|
|
lightMode: "ライトモード",
|
|
darkMode: "ダークモード",
|
|
},
|
|
explorer: {
|
|
title: "エクスプローラー",
|
|
},
|
|
footer: {
|
|
createdWith: "作成",
|
|
},
|
|
graph: {
|
|
title: "グラフビュー",
|
|
},
|
|
recentNotes: {
|
|
title: "最近の記事",
|
|
seeRemainingMore: ({ remaining }) => `さらに${remaining}件 →`,
|
|
},
|
|
transcludes: {
|
|
transcludeOf: ({ targetSlug }) => `${targetSlug}のまとめ`,
|
|
linkToOriginal: "元記事へのリンク",
|
|
},
|
|
search: {
|
|
title: "検索",
|
|
searchBarPlaceholder: "検索ワードを入力",
|
|
},
|
|
tableOfContents: {
|
|
title: "目次",
|
|
},
|
|
contentMeta: {
|
|
readingTime: ({ minutes }) => `${minutes} min read`,
|
|
},
|
|
},
|
|
pages: {
|
|
rss: {
|
|
recentNotes: "最近の記事",
|
|
lastFewNotes: ({ count }) => `最新の${count}件`,
|
|
},
|
|
error: {
|
|
title: "Not Found",
|
|
notFound: "ページが存在しないか、非公開設定になっています。",
|
|
},
|
|
folderContent: {
|
|
folder: "フォルダ",
|
|
itemsUnderFolder: ({ count }) => `${count}件のページ`,
|
|
},
|
|
tagContent: {
|
|
tag: "タグ",
|
|
tagIndex: "タグ一覧",
|
|
itemsUnderTag: ({ count }) => `${count}件のページ`,
|
|
showingFirst: ({ count }) => `のうち最初の${count}件を表示しています`,
|
|
totalTags: ({ count }) => `全${count}個のタグを表示中`,
|
|
},
|
|
},
|
|
} as const satisfies Translation
|