fix: ux audit changes (#26875)
* fix: ux audit changes
* fix: remove locale-insensitive toLowerCase() on translation
Remove .toLowerCase() call on t('minutes') translation as it is
locale-insensitive and can corrupt translations (e.g., Turkish
dotted/dotless 'i'). The translation itself should provide the
desired casing.
Addresses Cubic AI review feedback with confidence 9/10.
Co-Authored-By: unknown <>
* fix: redirect url tool tip not working
* fix: type check
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
15 files changed
+92
-82
No files matched your search
@@ -24,6 +24,7 @@ import { showToast } from "@calcom/ui/components/toast";
|
||||
import { revalidateTravelSchedules } from "@calcom/web/app/cache/travelSchedule";
|
||||
|
||||
import TravelScheduleModal from "@components/settings/TravelScheduleModal";
|
||||
import { Icon } from "@calcom/ui/components/icon";
|
||||
|
||||
export type FormValues = {
|
||||
locale: {
|
||||
@@ -317,6 +318,7 @@ const GeneralView = ({ user, travelSchedules }: GeneralViewProps) => {
|
||||
)}
|
||||
/>
|
||||
<div className="text-gray text-subtle mt-2 flex items-center text-xs">
|
||||
<Icon name="info" className="mr-2" />
|
||||
{t("timeformat_profile_hint")}
|
||||
</div>
|
||||
<Controller
|
||||
|
||||
Reference in new issue
Block a user