translation added

This commit is contained in:
Samandar Turgunboyev
2025-11-06 10:38:52 +05:00
parent b3401085c7
commit 08ed9f7f19
8 changed files with 122 additions and 24 deletions

View File

@@ -216,7 +216,7 @@ const StepTwo = ({
name="desc"
render={({ field }) => (
<FormItem>
<Label>{t("Qisqacha ta'rif (UZ)")}</Label>
<Label>{t("Qisqacha ta'rif")}</Label>
<FormControl>
<Textarea {...field} placeholder={t("Qisqacha ta'rif")} />
</FormControl>
@@ -231,11 +231,11 @@ const StepTwo = ({
name="desc_ru"
render={({ field }) => (
<FormItem>
<Label>{t("Qisqacha ta'rif (RU)")}</Label>
<Label>{t("Qisqacha ta'rif")} (ru)</Label>
<FormControl>
<Textarea
{...field}
placeholder={t("Qisqacha ta'rif (rus tilida)")}
placeholder={t("Qisqacha ta'rif") + " (ru)"}
/>
</FormControl>
<FormMessage />
@@ -254,7 +254,7 @@ const StepTwo = ({
render={({ field }) => (
<FormItem>
<FormControl>
<Input {...field} placeholder={t("Teg (UZ)")} />
<Input {...field} placeholder={t("Teg")} />
</FormControl>
<FormMessage />
</FormItem>
@@ -266,7 +266,7 @@ const StepTwo = ({
render={({ field }) => (
<FormItem>
<FormControl>
<Input {...field} placeholder={t("Teg (RU)")} />
<Input {...field} placeholder={t("Teg") + " (ru)"} />
</FormControl>
<FormMessage />
</FormItem>
@@ -301,7 +301,7 @@ const StepTwo = ({
>
<div className="flex justify-between items-center">
<p className="text-sm text-gray-300">
{t("Bolim")} #{index + 1}
{t(" ")} #{index + 1}
</p>
<button
type="button"
@@ -364,7 +364,7 @@ const StepTwo = ({
name={`sections.${index}.text`}
render={({ field }) => (
<FormItem>
<Label>{t("Matn (UZ)")}</Label>
<Label>{t("Matn")}</Label>
<FormControl>
<Textarea {...field} placeholder={t("Matn kiriting")} />
</FormControl>
@@ -378,9 +378,9 @@ const StepTwo = ({
name={`sections.${index}.text_ru`}
render={({ field }) => (
<FormItem>
<Label>{t("Matn (RU)")}</Label>
<Label>{t("Matn") + " (ru)"}</Label>
<FormControl>
<Textarea {...field} placeholder={t("Matn (rus tilida)")} />
<Textarea {...field} placeholder={t("Matn") + " (ru)"} />
</FormControl>
</FormItem>
)}

View File

@@ -1455,13 +1455,13 @@ const StepOne = ({
<div className="flex gap-3 items-end flex-wrap">
<Input
id="extra_service_name"
placeholder={t("Xizmat nomi (UZ)")}
placeholder={t("Xizmat nomi")}
className="h-12 !text-md flex-1 min-w-[200px]"
/>
<Input
id="extra_service_name_ru"
placeholder={t("Xizmat nomi (RU)")}
placeholder={t("Xizmat nomi") + " (ru)"}
className="h-12 !text-md flex-1 min-w-[200px]"
/>
@@ -1518,7 +1518,7 @@ const StepOne = ({
>
<span>
{item.name} {" "}
<strong>{formatPrice(item.price)} som</strong>
<strong>{formatPrice(item.price, true)}</strong>
</span>
<button
type="button"
@@ -1542,17 +1542,16 @@ const StepOne = ({
<div className="flex gap-3 items-end flex-wrap">
<Input
id="paid_service_name"
placeholder={t("Xizmat nomi (UZ)")}
placeholder={t("Xizmat nomi")}
className="h-12 !text-md flex-1 min-w-[200px]"
/>
<Input
id="paid_service_name_ru"
placeholder={t("Xizmat nomi (RU)")}
placeholder={t("Xizmat nomi") + " (ru)"}
className="h-12 !text-md flex-1 min-w-[200px]"
/>
{/* Narx maydoni */}
<Input
id="paid_service_price"
type="text"