aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Utility
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-04-02 09:56:45 +0000
committerFuwn <[email protected]>2026-04-02 09:56:45 +0000
commitaa2af2e5b534c81e18e6bb6f735104fc32d5d830 (patch)
tree1745a437e584ab658dc31fa3f74070f961033a13 /src/lib/Utility
parentfix(ui): tune april fools notification copy (diff)
downloaddue.moe-aa2af2e5b534c81e18e6bb6f735104fc32d5d830.tar.xz
due.moe-aa2af2e5b534c81e18e6bb6f735104fc32d5d830.zip
revert(ui): remove april fools executive mode
Diffstat (limited to 'src/lib/Utility')
-rw-r--r--src/lib/Utility/executiveMode.ts51
1 files changed, 0 insertions, 51 deletions
diff --git a/src/lib/Utility/executiveMode.ts b/src/lib/Utility/executiveMode.ts
deleted file mode 100644
index c7b76b02..00000000
--- a/src/lib/Utility/executiveMode.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-import type { Title } from "$lib/List/mediaTitle";
-
-const copyMap: Record<string, string> = {
- 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;