import type { Title } from "$lib/List/mediaTitle"; const copyMap: Record = { Home: "Dashboard", ホーム: "ダッシュボード", Completed: "Archive", 完結メディア: "アーカイブ", Schedule: "Roadmap", スケジュール: "ロードマップ", 字幕放送スケジュール: "字幕ロードマップ", Tools: "Utilities", ツール: "ユーティリティ", Settings: "Preferences", 設定: "環境設定", Profile: "Associate", "Log in with AniList": "Authenticate with AniList", AniListでログインする: "AniListで認証する", "My Profile": "My Employee Profile", バッジウォール: "表彰ウォール", プロフィール: "社員プロフィール", "My Badge Wall": "My Recognition Wall", "Log out": "End Session", ログアウト: "セッション終了", "Due Episodes": "Action Items", 追いつくべきエピソード: "対応項目", "Upcoming Episodes": "Pipeline", 今後のエピソード: "パイプライン", "Not Yet Released": "Planned Deliverables", 未公開: "計画中の成果物", Anime: "Deliverables", アニメ: "成果物", "Manga & Light Novels": "Documentation Backlog", "漫画&ライトノベル": "ドキュメントバックログ", "New Releases": "New Deliverables", 新着リリース: "新着成果物", Refresh: "Quarterly Review", Roulette: "Strategic Prioritisation", "Refresh data": "Realign KPIs", "Force refresh": "Force quarterly review", }; export const executiveCopy = (enabled: boolean, text: string) => enabled ? copyMap[text] || text : text; export const executiveTitle = (enabled: boolean, title: Title): Title => enabled ? { ...title, title: executiveCopy(enabled, title.title), } : title;