fix(timesheet): localize week total label
This commit is contained in:
@@ -224,6 +224,7 @@ export const en = {
|
||||
cannotAddSelf: "You are automatically the owner.",
|
||||
},
|
||||
onlyNumbersAllowed: "Only numbers are allowed for mobile number.",
|
||||
weekTotal: "Week Total"
|
||||
},
|
||||
|
||||
clients: {
|
||||
@@ -408,12 +409,12 @@ export const en = {
|
||||
runningBadge: "Running",
|
||||
noRunningEntry: "No running entry",
|
||||
searchPlaceholder: "Search time entries...",
|
||||
orderingNewest: "Newest first",
|
||||
orderingOldest: "Oldest first",
|
||||
emptyState: "No time entries found",
|
||||
emptyStateDescription: "Start the timer or add a manual entry to get started.",
|
||||
noEntriesSearch: "Try adjusting your search query or filters.",
|
||||
emptyDescription: "No description",
|
||||
orderingNewest: "Newest first",
|
||||
orderingOldest: "Oldest first",
|
||||
emptyState: "No time entries found",
|
||||
emptyStateDescription: "Start the timer or add a manual entry to get started.",
|
||||
noEntriesSearch: "Try adjusting your search query or filters.",
|
||||
emptyDescription: "No description",
|
||||
createTitle: "Add Time Entry",
|
||||
startTitle: "Start Timer",
|
||||
editTitle: "Edit Time Entry",
|
||||
|
||||
@@ -221,6 +221,7 @@ export const fa = {
|
||||
cannotAddSelf: "شما بهصورت خودکار مالک هستید.",
|
||||
},
|
||||
onlyNumbersAllowed: "برای شماره موبایل فقط مجاز به وارد کردن عدد هستید.",
|
||||
weekTotal: "مجموع هفته"
|
||||
},
|
||||
|
||||
clients: {
|
||||
|
||||
@@ -2850,7 +2850,7 @@ export default function Timesheet() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="mb-4">
|
||||
<div className="mb-10">
|
||||
<TimesheetFilterBar
|
||||
searchQuery={searchQuery}
|
||||
filters={filters}
|
||||
@@ -2907,7 +2907,7 @@ export default function Timesheet() {
|
||||
{formatWeekRange(new Date(`${week.week_start}T00:00:00`), lang)}
|
||||
</p>
|
||||
<p className="text-sm text-slate-500 dark:text-slate-400">
|
||||
Week total: <span className="font-semibold text-slate-800 dark:text-slate-100">{formatDurationMs(week.total_ms)}</span>
|
||||
{t.workspace?.weekTotal}: <span className="font-semibold text-slate-800 dark:text-slate-100">{formatDurationMs(week.total_ms)}</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user