mercury-web/src/features/planner/strings.ts
Munkherdene 404ab94e1c feat(web): rework planner visuals to reference bar
Elevate the Planner page presentation to match the TransactionList
reference: category-limit and savings-goal rows now use IconChip for
the category/goal chip, SectionHeader for the "+" add actions, and
EmptyState for the empty limits/goals states (split from the existing
Mongolian copy, no new strings invented). The unset daily-limit card
now shows a subtle "Лимит тохируулаагүй" hint instead of "0₮ / —".
Pure presentation — usePutBudget's full-categories-echo save and all
mutation/dialog logic are untouched.
2026-08-22 22:16:20 +08:00

67 lines
2.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Planner feature copy, ported verbatim from
// ios/Mercury/Features/Planner/{PlannerView,LimitsHubModel,PlannerEditViews,
// SavingsGoalEditView,CategoryTransactionsView}.swift.
export const plannerStrings = {
header: { title: "Төлөвлөгөө" },
horizon: {
day: "Өдөр",
week: "7 хоног",
month: "Сар",
},
plannedIncome: {
label: "Төлөвлөгдсөн орлого",
loanObligations: "Зээлийн төлбөр",
savings: "Хадгаламж",
available: "Зарцуулах боломжтой",
editTitle: "Төлөвлөгдсөн орлого",
autoHint: (detected: string) => `Цалингаар илрүүлсэн: ${detected}`,
autoAction: "Автоматаар тооцох (цалингаар)",
},
overall: {
label: {
day: "Өнөөдрийн лимит",
week: "7 хоногийн лимит",
month: "Энэ сарын лимит",
},
editTitle: (horizonLabel: string) => `${horizonLabel} — нийт лимит`,
unsetHint: "Лимит тохируулаагүй",
},
categories: {
title: "Ангиллын лимит",
empty: "Лимит алга — ангилал нэмнэ үү",
add: "Ангилал нэмэх",
addNamePlaceholder: "Ангиллын нэр",
editTitle: (name: string, horizonLabel: string) => `${name} · ${horizonLabel}`,
remove: "Лимит хасах",
removeConfirmTitle: "Ангиллын лимит хасах уу?",
removeConfirmBody: (name: string) => `«${name}» ангиллын лимит хасагдана.`,
},
savings: {
title: "Хадгаламж",
empty: "Зорилго алга — хадгаламжийн зорилго нэмнэ үү",
add: "Зорилго нэмэх",
linkAccount: "Данс холбох",
noAccount: "Холбохгүй",
perMonth: "Сар бүр",
remaining: "Үлдсэн",
addTitle: "Шинэ зорилго",
editTitle: "Зорилго засах",
name: "Нэр",
namePlaceholder: "Жишээ: Машины балон сан",
target: "Зорилтот дүн",
account: "Холбосон данс",
monthly: "Сар бүрийн хуримтлал",
date: "Зорилтот огноо",
delete: "Зорилго устгах",
deleteConfirmTitle: "Зорилго устгах уу?",
deleteConfirmBody: (name: string) => `«${name}» хадгаламжийн зорилго устана.`,
},
amountEntry: {
save: "Хадгалах",
cancel: "Болих",
},
categoryTransactions: {
empty: "Гүйлгээ алга",
filterPlaceholder: "филтер",
},
} as const;