refactor: make new copy localizable (#17207)
* refactor: make this localizable base on https://github.com/calcom/cal.com/pull/17198 making the new copy localizable * Update common.json * Update common.json * Update common.json --------- Co-authored-by: Anik Dhabal Babu <[email protected]>
This commit is contained in:
1 parent
b0e3e4c82f
commit
59aff41ca3
2 files changed
+4
-3
No files matched your search
@@ -1797,6 +1797,7 @@
|
|||||||
"wrong_code": "Wrong verification code",
|
"wrong_code": "Wrong verification code",
|
||||||
"not_verified": "Not yet verified",
|
"not_verified": "Not yet verified",
|
||||||
"no_availability_in_month": "No availability in {{month}}",
|
"no_availability_in_month": "No availability in {{month}}",
|
||||||
|
"view_previous_month": "View previous month",
|
||||||
"view_next_month": "View next month",
|
"view_next_month": "View next month",
|
||||||
"send_code": "Send code",
|
"send_code": "Send code",
|
||||||
"number_verified": "Number Verified",
|
"number_verified": "Number Verified",
|
||||||
|
|||||||
@@ -310,7 +310,7 @@ const DatePicker = ({
|
|||||||
scrollToTimeSlots?: () => void;
|
scrollToTimeSlots?: () => void;
|
||||||
}) => {
|
}) => {
|
||||||
const browsingDate = passThroughProps.browsingDate || dayjs().startOf("month");
|
const browsingDate = passThroughProps.browsingDate || dayjs().startOf("month");
|
||||||
const { i18n } = useLocale();
|
const { i18n, t } = useLocale();
|
||||||
const bookingData = useBookerStore((state) => state.bookingData);
|
const bookingData = useBookerStore((state) => state.bookingData);
|
||||||
const isBookingInPast = bookingData ? new Date(bookingData.endTime) < new Date() : false;
|
const isBookingInPast = bookingData ? new Date(bookingData.endTime) < new Date() : false;
|
||||||
|
|
||||||
@@ -358,7 +358,7 @@ const DatePicker = ({
|
|||||||
color="minimal"
|
color="minimal"
|
||||||
variant="icon"
|
variant="icon"
|
||||||
StartIcon="chevron-left"
|
StartIcon="chevron-left"
|
||||||
aria-label="Previous Month"
|
aria-label={t("view_previous_month")}
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
className={classNames(
|
className={classNames(
|
||||||
@@ -370,7 +370,7 @@ const DatePicker = ({
|
|||||||
color="minimal"
|
color="minimal"
|
||||||
variant="icon"
|
variant="icon"
|
||||||
StartIcon="chevron-right"
|
StartIcon="chevron-right"
|
||||||
aria-label="Next Month"
|
aria-label={t("view_next_month")}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user