mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 02:56:10 +00:00
fix(vacay): correct weekend toggling and remove redundant labels
This commit is contained in:
@@ -115,7 +115,7 @@
|
||||
"components/Vacay/VacayCalendar.tsx": 20,
|
||||
"components/Vacay/VacayMonthCard.tsx": 5,
|
||||
"components/Vacay/VacayPersons.tsx": 4,
|
||||
"components/Vacay/VacaySettings.tsx": 27,
|
||||
"components/Vacay/VacaySettings.tsx": 26,
|
||||
"components/Vacay/VacaySharedCalendars.tsx": 6,
|
||||
"components/Vacay/VacayStats.tsx": 14,
|
||||
"components/Weather/WeatherWidget.tsx": 4,
|
||||
@@ -282,7 +282,7 @@
|
||||
"mobile/screens/vacay/MVacay.tsx": 17,
|
||||
"mobile/screens/vacay/MVacayInviteSheet.tsx": 8,
|
||||
"mobile/screens/vacay/MVacayMonth.tsx": 3,
|
||||
"mobile/screens/vacay/MVacaySettingsSheet.tsx": 34,
|
||||
"mobile/screens/vacay/MVacaySettingsSheet.tsx": 33,
|
||||
"mobile/screens/vacay/MVacayShareSheet.tsx": 10,
|
||||
"mobile/screens/vacay/vacayDayModel.ts": 1,
|
||||
"pages/AtlasPage.tsx": 32,
|
||||
|
||||
@@ -51,7 +51,6 @@ export default function VacaySettings({ onClose }: VacaySettingsProps) {
|
||||
{/* Weekend days selector */}
|
||||
{plan.block_weekends !== false && (
|
||||
<div data-testid="weekend-days" style={{ paddingInlineStart: 36 }}>
|
||||
<p className="text-xs font-medium mb-2 text-content-muted">{t('vacay.weekendDays')}</p>
|
||||
<div className="flex flex-wrap gap-1.5">
|
||||
{[
|
||||
{ day: 1, label: t('vacay.mon') },
|
||||
|
||||
@@ -110,6 +110,26 @@ describe('useVacaySettings', () => {
|
||||
expect(result.current.weekendDays).toEqual([5, 6]);
|
||||
});
|
||||
|
||||
it.each([
|
||||
[6, 0],
|
||||
[0, 6],
|
||||
])('keeps day %i deselected when the last selected day %i is then removed', (first, last) => {
|
||||
const { result } = renderHook(() => useVacaySettings({ language: 'en', loadCountries: false }));
|
||||
|
||||
act(() => result.current.toggleWeekendDay(first));
|
||||
expect(updatePlan).toHaveBeenLastCalledWith({ weekend_days: String(last) });
|
||||
act(() => useVacayStore.setState({ plan: plan({ weekend_days: String(last) }) }));
|
||||
expect(result.current.weekendDays).toEqual([last]);
|
||||
|
||||
act(() => result.current.toggleWeekendDay(last));
|
||||
expect(updatePlan).toHaveBeenLastCalledWith({ weekend_days: String(first) });
|
||||
act(() => useVacayStore.setState({ plan: plan({ weekend_days: String(first) }) }));
|
||||
expect(result.current.weekendDays).toEqual([first]);
|
||||
|
||||
act(() => result.current.toggleWeekendDay(last));
|
||||
expect(updatePlan).toHaveBeenLastCalledWith({ weekend_days: `${first},${last}` });
|
||||
});
|
||||
|
||||
it('FE-COMP-VACAYSET-005: dissolving toasts and then hands over', async () => {
|
||||
const order: string[] = [];
|
||||
toast.success.mockImplementation(() => order.push('toast'));
|
||||
|
||||
@@ -62,6 +62,8 @@ export function useVacaySettings({ language, loadCountries }: { language: string
|
||||
const weekendDays: number[] = plan?.weekend_days ? String(plan.weekend_days).split(',').map(Number) : [0, 6];
|
||||
const toggleWeekendDay = (day: number) => {
|
||||
const next = weekendDays.includes(day) ? weekendDays.filter((d) => d !== day) : [...weekendDays, day];
|
||||
// An empty value restores both default days, including the day just deselected.
|
||||
if (next.length === 0) next.push(...[0, 6].filter((d) => d !== day));
|
||||
updatePlan({ weekend_days: next.join(',') });
|
||||
};
|
||||
|
||||
|
||||
@@ -78,28 +78,23 @@ export default function MVacaySettingsSheet({ open, onClose }: MVacaySettingsShe
|
||||
<MToggle checked={plan.block_weekends !== false} onChange={() => updatePlan({ block_weekends: !plan.block_weekends })} ariaLabel={t('vacay.blockWeekends')} />
|
||||
</div>
|
||||
{plan.block_weekends !== false && (
|
||||
<>
|
||||
<div className="mb-[6px] ms-7 mt-[2px] font-geist text-[0.625rem] font-bold uppercase tracking-[.06em] text-m-faint">
|
||||
{t('vacay.weekendDays')}
|
||||
</div>
|
||||
<div className="mb-[6px] ms-7 flex gap-1">
|
||||
{weekdayChips.map(({ day, label }) => {
|
||||
const active = weekendDays.includes(day)
|
||||
return (
|
||||
<button
|
||||
key={day}
|
||||
type="button"
|
||||
onClick={() => toggleWeekendDay(day)}
|
||||
className={`flex-1 rounded-[10px] py-[7px] text-center text-[0.65625rem] font-semibold ${
|
||||
active ? 'bg-m-act text-m-actfg' : 'border border-[color:var(--m-rowbr)] bg-[color:var(--m-ic)] text-m-ink'
|
||||
}`}
|
||||
>
|
||||
{label}
|
||||
</button>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
</>
|
||||
<div className="mb-[6px] ms-7 flex gap-1">
|
||||
{weekdayChips.map(({ day, label }) => {
|
||||
const active = weekendDays.includes(day)
|
||||
return (
|
||||
<button
|
||||
key={day}
|
||||
type="button"
|
||||
onClick={() => toggleWeekendDay(day)}
|
||||
className={`flex-1 rounded-[10px] py-[7px] text-center text-[0.65625rem] font-semibold ${
|
||||
active ? 'bg-m-act text-m-actfg' : 'border border-[color:var(--m-rowbr)] bg-[color:var(--m-ic)] text-m-ink'
|
||||
}`}
|
||||
>
|
||||
{label}
|
||||
</button>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
</section>
|
||||
<section className={CARD}>
|
||||
|
||||
@@ -106,10 +106,12 @@ describe('MVacaySettingsSheet', () => {
|
||||
it('FE-MOB-MVACSET-004: shows the weekend-day chips only while weekends are blocked', () => {
|
||||
renderSheet();
|
||||
|
||||
expect(screen.getByText('Weekend days')).toBeInTheDocument();
|
||||
const sat = screen.getByRole('button', { name: 'Sat' });
|
||||
expect(sat.className).toContain('bg-m-act');
|
||||
expect(screen.getByRole('button', { name: 'Wed' }).className).not.toContain('bg-m-act');
|
||||
const chips = within(sat.parentElement as HTMLElement);
|
||||
expect(chips.getAllByRole('button')).toHaveLength(7);
|
||||
expect(sat).toHaveClass('bg-m-act');
|
||||
expect(chips.getByRole('button', { name: 'Sun' })).toHaveClass('bg-m-act');
|
||||
expect(chips.getByRole('button', { name: 'Wed' })).not.toHaveClass('bg-m-act');
|
||||
});
|
||||
|
||||
it('FE-MOB-MVACSET-005: toggling block-weekends writes the inverted flag', () => {
|
||||
@@ -125,7 +127,34 @@ describe('MVacaySettingsSheet', () => {
|
||||
seedPlan(buildPlan({ block_weekends: false }));
|
||||
renderSheet();
|
||||
|
||||
expect(screen.queryByText('Weekend days')).not.toBeInTheDocument();
|
||||
expect(screen.queryByRole('button', { name: 'Sat' })).not.toBeInTheDocument();
|
||||
expect(screen.queryByRole('button', { name: 'Wed' })).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('FE-MOB-MVACSET-006b: switching weekend blocking off and on preserves custom weekend days', async () => {
|
||||
let plan = buildPlan({ weekend_days: '5,6' });
|
||||
const updates: Partial<VacayPlan>[] = [];
|
||||
server.use(http.put('/api/addons/vacay/plan', async ({ request }) => {
|
||||
const update = (await request.json()) as Partial<VacayPlan>;
|
||||
updates.push(update);
|
||||
plan = { ...plan, ...update };
|
||||
return HttpResponse.json({ plan });
|
||||
}));
|
||||
seedPlan(plan);
|
||||
renderSheet();
|
||||
|
||||
fireEvent.click(screen.getByRole('switch', { name: 'Block Weekends' }));
|
||||
await waitFor(() => expect(screen.getByRole('switch', { name: 'Block Weekends' })).not.toBeChecked());
|
||||
expect(screen.queryByRole('button', { name: 'Fri' })).not.toBeInTheDocument();
|
||||
expect(useVacayStore.getState().plan?.weekend_days).toBe('5,6');
|
||||
|
||||
fireEvent.click(screen.getByRole('switch', { name: 'Block Weekends' }));
|
||||
await waitFor(() => expect(screen.getByRole('button', { name: 'Fri' })).toHaveClass('bg-m-act'));
|
||||
const sat = screen.getByRole('button', { name: 'Sat' });
|
||||
expect(sat).toHaveClass('bg-m-act');
|
||||
expect(within(sat.parentElement as HTMLElement).getByRole('button', { name: 'Sun' })).not.toHaveClass('bg-m-act');
|
||||
expect(updates).toEqual([{ block_weekends: false }, { block_weekends: true }]);
|
||||
expect(useVacayStore.getState().plan?.weekend_days).toBe('5,6');
|
||||
});
|
||||
|
||||
it('FE-MOB-MVACSET-007: weekend chips add and remove their day from the plan', () => {
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'من {year}',
|
||||
'vacay.blockWeekends': 'حظر عطلة نهاية الأسبوع',
|
||||
'vacay.blockWeekendsHint': 'منع إدخالات الإجازة يومي السبت والأحد',
|
||||
'vacay.weekendDays': 'أيام عطلة نهاية الأسبوع',
|
||||
'vacay.mon': 'الاثنين',
|
||||
'vacay.tue': 'الثلاثاء',
|
||||
'vacay.wed': 'الأربعاء',
|
||||
|
||||
@@ -64,7 +64,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': '{year} ilindən',
|
||||
'vacay.blockWeekends': 'Həftəsonlarını blokla',
|
||||
'vacay.blockWeekendsHint': 'Həftəsonu günlərinə məzuniyyət qeydi əlavə edilməsinin qarşısını alın',
|
||||
'vacay.weekendDays': 'Həftəsonu günləri',
|
||||
'vacay.mon': 'B.e.',
|
||||
'vacay.tue': 'Ç.a.',
|
||||
'vacay.wed': 'Ç.',
|
||||
|
||||
@@ -62,7 +62,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.remaining': 'Restantes',
|
||||
'vacay.carriedOver': 'de {year}',
|
||||
'vacay.blockWeekends': 'Bloquear fins de semana',
|
||||
'vacay.weekendDays': 'Dias de fim de semana',
|
||||
'vacay.mon': 'Seg',
|
||||
'vacay.tue': 'Ter',
|
||||
'vacay.wed': 'Qua',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'de {year}',
|
||||
'vacay.blockWeekends': 'Bloqueja els caps de setmana',
|
||||
'vacay.blockWeekendsHint': 'Impedeix marcar vacances en dissabtes i diumenges',
|
||||
'vacay.weekendDays': 'Dies de cap de setmana',
|
||||
'vacay.mon': 'Dl',
|
||||
'vacay.tue': 'Dt',
|
||||
'vacay.wed': 'Dc',
|
||||
|
||||
@@ -68,7 +68,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.fri': 'Pá',
|
||||
'vacay.sat': 'So',
|
||||
'vacay.sun': 'Ne',
|
||||
'vacay.weekendDays': 'Víkendové dny',
|
||||
'vacay.publicHolidays': 'Státní svátky',
|
||||
'vacay.schoolHolidays': 'Školní prázdniny',
|
||||
'vacay.schoolHolidaysHint': 'Označit školní prázdniny jako vizuální vrstvu kalendáře',
|
||||
|
||||
@@ -62,7 +62,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'aus {year}',
|
||||
'vacay.blockWeekends': 'Wochenenden sperren',
|
||||
'vacay.blockWeekendsHint': 'Verhindert Urlaubseinträge an Wochenendtagen',
|
||||
'vacay.weekendDays': 'Wochenendtage',
|
||||
'vacay.mon': 'Mo',
|
||||
'vacay.tue': 'Di',
|
||||
'vacay.wed': 'Mi',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'from {year}',
|
||||
'vacay.blockWeekends': 'Block Weekends',
|
||||
'vacay.blockWeekendsHint': 'Prevent vacation entries on weekend days',
|
||||
'vacay.weekendDays': 'Weekend days',
|
||||
'vacay.mon': 'Mon',
|
||||
'vacay.tue': 'Tue',
|
||||
'vacay.wed': 'Wed',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'de {year}',
|
||||
'vacay.blockWeekends': 'Bloquear fines de semana',
|
||||
'vacay.blockWeekendsHint': 'Impide marcar vacaciones en sábados y domingos',
|
||||
'vacay.weekendDays': 'Días de fin de semana',
|
||||
'vacay.mon': 'Lun',
|
||||
'vacay.tue': 'Mar',
|
||||
'vacay.wed': 'Mié',
|
||||
|
||||
@@ -62,7 +62,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'aastast {year}',
|
||||
'vacay.blockWeekends': 'Blokeeri nädalavahetused',
|
||||
'vacay.blockWeekendsHint': 'Ära luba nädalavahetustele puhkust märkida',
|
||||
'vacay.weekendDays': 'Nädalavahetuse päevad',
|
||||
'vacay.mon': 'E',
|
||||
'vacay.tue': 'T',
|
||||
'vacay.wed': 'K',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.used': 'Utilisés',
|
||||
'vacay.remaining': 'Restants',
|
||||
'vacay.carriedOver': 'de {year}',
|
||||
'vacay.weekendDays': 'Jours de week-end',
|
||||
'vacay.mon': 'Lun',
|
||||
'vacay.tue': 'Mar',
|
||||
'vacay.wed': 'Mer',
|
||||
|
||||
@@ -62,7 +62,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'από {year}',
|
||||
'vacay.blockWeekends': 'Αποκλεισμός Σαββατοκύριακων',
|
||||
'vacay.blockWeekendsHint': 'Αποτρέψτε καταχωρήσεις διακοπών σε ημέρες σαββατοκύριακου',
|
||||
'vacay.weekendDays': 'Ημέρες σαββατοκύριακου',
|
||||
'vacay.mon': 'Δευ',
|
||||
'vacay.tue': 'Τρι',
|
||||
'vacay.wed': 'Τετ',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'מ-{year}',
|
||||
'vacay.blockWeekends': 'חסימת סופי שבוע',
|
||||
'vacay.blockWeekendsHint': 'מניעת רישום חופשה בימי סוף שבוע',
|
||||
'vacay.weekendDays': 'ימי סוף שבוע',
|
||||
'vacay.mon': 'ב׳',
|
||||
'vacay.tue': 'ג׳',
|
||||
'vacay.wed': 'ד׳',
|
||||
|
||||
@@ -70,7 +70,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.calendarLabel': 'Címke (opcionális)',
|
||||
'vacay.calendarColor': 'Szín',
|
||||
'vacay.noSchoolCalendars': 'Még nincs hozzáadott iskolaiszünet-naptár',
|
||||
'vacay.weekendDays': 'Hétvégi napok',
|
||||
'vacay.mon': 'Hé',
|
||||
'vacay.tue': 'Ke',
|
||||
'vacay.wed': 'Sze',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'dari {year}',
|
||||
'vacay.blockWeekends': 'Blokir Akhir Pekan',
|
||||
'vacay.blockWeekendsHint': 'Cegah entri cuti pada hari akhir pekan',
|
||||
'vacay.weekendDays': 'Hari akhir pekan',
|
||||
'vacay.mon': 'Sen',
|
||||
'vacay.tue': 'Sel',
|
||||
'vacay.wed': 'Rab',
|
||||
|
||||
@@ -63,7 +63,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'dal {year}',
|
||||
'vacay.blockWeekends': 'Blocca weekend',
|
||||
'vacay.blockWeekendsHint': 'Impedisci le voci ferie nei giorni del weekend',
|
||||
'vacay.weekendDays': 'Giorni del weekend',
|
||||
'vacay.mon': 'Lun',
|
||||
'vacay.tue': 'Mar',
|
||||
'vacay.wed': 'Mer',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': '{year}年から繰越',
|
||||
'vacay.blockWeekends': '週末を除外',
|
||||
'vacay.blockWeekendsHint': '週末に休暇を登録できないようにします',
|
||||
'vacay.weekendDays': '週末',
|
||||
'vacay.mon': '月',
|
||||
'vacay.tue': '火',
|
||||
'vacay.wed': '水',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': '{year}에서 이월',
|
||||
'vacay.blockWeekends': '주말 차단',
|
||||
'vacay.blockWeekendsHint': '주말에 휴가 항목 추가를 방지합니다',
|
||||
'vacay.weekendDays': '주말 요일',
|
||||
'vacay.mon': '월',
|
||||
'vacay.tue': '화',
|
||||
'vacay.wed': '수',
|
||||
|
||||
@@ -62,7 +62,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'van {year}',
|
||||
'vacay.blockWeekends': 'Weekenden blokkeren',
|
||||
'vacay.blockWeekendsHint': 'Voorkom vakantie-invoeren op zaterdag en zondag',
|
||||
'vacay.weekendDays': 'Weekenddagen',
|
||||
'vacay.mon': 'Ma',
|
||||
'vacay.tue': 'Di',
|
||||
'vacay.wed': 'Wo',
|
||||
|
||||
@@ -62,7 +62,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'z {year}',
|
||||
'vacay.blockWeekends': 'Blokuj weekendy',
|
||||
'vacay.blockWeekendsHint': 'Zapobiegaj wpisywaniu urlopów w weekendy',
|
||||
'vacay.weekendDays': 'Dni weekendowe',
|
||||
'vacay.mon': 'Pon',
|
||||
'vacay.tue': 'Wt',
|
||||
'vacay.wed': 'Śr',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'из {year}',
|
||||
'vacay.blockWeekends': 'Блокировать выходные',
|
||||
'vacay.blockWeekendsHint': 'Запретить записи об отпуске в субботу и воскресенье',
|
||||
'vacay.weekendDays': 'Выходные дни',
|
||||
'vacay.mon': 'Пн',
|
||||
'vacay.tue': 'Вт',
|
||||
'vacay.wed': 'Ср',
|
||||
|
||||
@@ -62,7 +62,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'z roku {year}',
|
||||
'vacay.blockWeekends': 'Blokovať víkendy',
|
||||
'vacay.blockWeekendsHint': 'Zabrániť zadávaniu dovolenky na víkendové dni',
|
||||
'vacay.weekendDays': 'Víkendové dni',
|
||||
'vacay.mon': 'Po',
|
||||
'vacay.tue': 'Ut',
|
||||
'vacay.wed': 'St',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'från {year}',
|
||||
'vacay.blockWeekends': 'Blockera Helger',
|
||||
'vacay.blockWeekendsHint': 'Förhindra att semesterdagar läggs in på helgdagar',
|
||||
'vacay.weekendDays': 'Helgdagar',
|
||||
'vacay.mon': 'Mån',
|
||||
'vacay.tue': 'Tis',
|
||||
'vacay.wed': 'Ons',
|
||||
|
||||
@@ -40,7 +40,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'จาก {year}',
|
||||
'vacay.blockWeekends': 'บล็อกวันหยุดสุดสัปดาห์',
|
||||
'vacay.blockWeekendsHint': 'ป้องกันไม่ให้รายการลาพักร้อนในวันสุดสัปดาห์',
|
||||
'vacay.weekendDays': 'วันหยุดสุดสัปดาห์',
|
||||
'vacay.mon': 'จันทร์',
|
||||
'vacay.tue': 'อ',
|
||||
'vacay.wed': 'พ',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': '{year} yılından devreden',
|
||||
'vacay.blockWeekends': 'Hafta Sonlarını Engelle',
|
||||
'vacay.blockWeekendsHint': 'Hafta sonu günlerine tatil girişi yapılmasını engeller',
|
||||
'vacay.weekendDays': 'Hafta sonu günleri',
|
||||
'vacay.mon': 'Pzt',
|
||||
'vacay.tue': 'Sal',
|
||||
'vacay.wed': 'Çar',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'із {year}',
|
||||
'vacay.blockWeekends': 'Блокувати вихідні',
|
||||
'vacay.blockWeekendsHint': 'Заборонити записи про відпустку в суботу та неділю',
|
||||
'vacay.weekendDays': 'Вихідні дні',
|
||||
'vacay.mon': 'Пн',
|
||||
'vacay.tue': 'Вт',
|
||||
'vacay.wed': 'Ср',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': 'từ {year}',
|
||||
'vacay.blockWeekends': 'Các ngày cuối tuần',
|
||||
'vacay.blockWeekendsHint': 'Ngăn chặn các mục nghỉ vào những ngày cuối tuần',
|
||||
'vacay.weekendDays': 'Những ngày cuối tuần',
|
||||
'vacay.mon': 'Thứ hai',
|
||||
'vacay.tue': 'thứ ba',
|
||||
'vacay.wed': 'Thứ tư',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': '從 {year} 結轉',
|
||||
'vacay.blockWeekends': '鎖定週末',
|
||||
'vacay.blockWeekendsHint': '禁止在週六和週日安排假期',
|
||||
'vacay.weekendDays': '週末',
|
||||
'vacay.mon': '週一',
|
||||
'vacay.tue': '週二',
|
||||
'vacay.wed': '週三',
|
||||
|
||||
@@ -61,7 +61,6 @@ const vacay: TranslationStrings = {
|
||||
'vacay.carriedOver': '从 {year} 结转',
|
||||
'vacay.blockWeekends': '锁定周末',
|
||||
'vacay.blockWeekendsHint': '禁止在周六和周日安排假期',
|
||||
'vacay.weekendDays': '周末',
|
||||
'vacay.mon': '周一',
|
||||
'vacay.tue': '周二',
|
||||
'vacay.wed': '周三',
|
||||
|
||||
Reference in New Issue
Block a user