mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
chore: 🌐 Internationalize new avatar editor
This commit is contained in:
parent
8b43f7b2c7
commit
14031c2fa0
|
|
@ -11,29 +11,29 @@
|
||||||
</DialogTrigger>
|
</DialogTrigger>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<DialogTitle>
|
<DialogTitle>
|
||||||
Change image
|
{{ m.due_hour_husky_prosper() }}
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<DialogDescription class="sr-only">
|
<DialogDescription class="sr-only">
|
||||||
Upload an image, add a Gravatar email or use a URL.
|
{{ m.suave_broad_albatross_drop() }}
|
||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
<form class="p-4 grid gap-6" @submit="submit">
|
<form class="p-4 grid gap-6" @submit="submit">
|
||||||
<Tabs default-value="upload" class="mt-2 data-[component=tabpanel]:*:mt-6">
|
<Tabs default-value="upload" class="mt-2 data-[component=tabpanel]:*:mt-6">
|
||||||
<TabsList class="w-full *:w-full">
|
<TabsList class="w-full *:w-full">
|
||||||
<TabsTrigger value="upload">
|
<TabsTrigger value="upload">
|
||||||
Upload
|
{{ m.flat_safe_haddock_gaze() }}
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
<TabsTrigger value="gravatar">
|
<TabsTrigger value="gravatar">
|
||||||
Gravatar
|
{{ m.inclusive_long_lizard_boost() }}
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
<TabsTrigger value="url">
|
<TabsTrigger value="url">
|
||||||
URL
|
{{ m.proud_next_elk_beam() }}
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
</TabsList>
|
</TabsList>
|
||||||
<TabsContent value="upload">
|
<TabsContent value="upload">
|
||||||
<FormField v-slot="{ handleChange, handleBlur }" name="image">
|
<FormField v-slot="{ handleChange, handleBlur }" name="image">
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel class="sr-only">
|
<FormLabel class="sr-only">
|
||||||
Upload
|
{{ m.flat_safe_haddock_gaze() }}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input type="file" accept="image/*" @change="handleChange" @blur="handleBlur"
|
<Input type="file" accept="image/*" @change="handleChange" @blur="handleBlur"
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
}">
|
}">
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
Gravatar email
|
{{ m.lower_formal_kudu_lift() }}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input v-bind="componentField" :disabled="isSubmitting"
|
<Input v-bind="componentField" :disabled="isSubmitting"
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
<div v-if="value" class="grid gap-4 !mt-4">
|
<div v-if="value" class="grid gap-4 !mt-4">
|
||||||
<Label>Preview</Label>
|
<Label>{{ m.witty_honest_wallaby_support() }}</Label>
|
||||||
<Avatar size="lg" :src="gravatarUrl" />
|
<Avatar size="lg" :src="gravatarUrl" />
|
||||||
</div>
|
</div>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
@ -70,15 +70,15 @@
|
||||||
<FormField v-slot="{ componentField, errors, value }" name="url">
|
<FormField v-slot="{ componentField, errors, value }" name="url">
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
URL
|
{{ m.proud_next_elk_beam() }}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input v-bind="componentField" :disabled="isSubmitting"
|
<Input v-bind="componentField" :disabled="isSubmitting"
|
||||||
placeholder="https://mysite.com/avar.webp" />
|
placeholder="https://mysite.com/avatar.webp" />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
<div v-if="value" class="grid gap-4 !mt-4">
|
<div v-if="value" class="grid gap-4 !mt-4">
|
||||||
<Label>Preview</Label>
|
<Label>{{ m.witty_honest_wallaby_support() }}</Label>
|
||||||
<Avatar size="lg" :src="value" />
|
<Avatar size="lg" :src="value" />
|
||||||
</div>
|
</div>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
|
||||||
|
|
@ -337,5 +337,10 @@
|
||||||
"cool_trite_gull_quiz": "Emoji uploaded!",
|
"cool_trite_gull_quiz": "Emoji uploaded!",
|
||||||
"kind_deft_myna_hint": "Failed to upload emoji.",
|
"kind_deft_myna_hint": "Failed to upload emoji.",
|
||||||
"frail_great_marten_pet": "Upload a new emoji to the server.",
|
"frail_great_marten_pet": "Upload a new emoji to the server.",
|
||||||
"whole_icy_puffin_smile": "Upload Emoji"
|
"whole_icy_puffin_smile": "Upload Emoji",
|
||||||
|
"due_hour_husky_prosper": "Change image",
|
||||||
|
"inclusive_long_lizard_boost": "Gravatar",
|
||||||
|
"proud_next_elk_beam": "URL",
|
||||||
|
"lower_formal_kudu_lift": "Gravatar email",
|
||||||
|
"witty_honest_wallaby_support": "Preview"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -338,5 +338,10 @@
|
||||||
"cool_trite_gull_quiz": "Emoji uploaded!",
|
"cool_trite_gull_quiz": "Emoji uploaded!",
|
||||||
"kind_deft_myna_hint": "Failed to upload emoji.",
|
"kind_deft_myna_hint": "Failed to upload emoji.",
|
||||||
"frail_great_marten_pet": "Upload a new emoji to the server.",
|
"frail_great_marten_pet": "Upload a new emoji to the server.",
|
||||||
"whole_icy_puffin_smile": "Upload Emoji"
|
"whole_icy_puffin_smile": "Upload Emoji",
|
||||||
|
"due_hour_husky_prosper": "Change image",
|
||||||
|
"inclusive_long_lizard_boost": "Gravatar",
|
||||||
|
"proud_next_elk_beam": "URL",
|
||||||
|
"lower_formal_kudu_lift": "Gravatar email",
|
||||||
|
"witty_honest_wallaby_support": "Preview"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -339,5 +339,11 @@
|
||||||
"cool_trite_gull_quiz": "Emoji uploaded!",
|
"cool_trite_gull_quiz": "Emoji uploaded!",
|
||||||
"kind_deft_myna_hint": "Failed to upload emoji.",
|
"kind_deft_myna_hint": "Failed to upload emoji.",
|
||||||
"frail_great_marten_pet": "Upload a new emoji to the server.",
|
"frail_great_marten_pet": "Upload a new emoji to the server.",
|
||||||
"whole_icy_puffin_smile": "Upload Emoji"
|
"whole_icy_puffin_smile": "Upload Emoji",
|
||||||
|
"due_hour_husky_prosper": "Change image",
|
||||||
|
"suave_broad_albatross_drop": "Upload an image, add a Gravatar email or use a URL.",
|
||||||
|
"inclusive_long_lizard_boost": "Gravatar",
|
||||||
|
"proud_next_elk_beam": "URL",
|
||||||
|
"lower_formal_kudu_lift": "Gravatar email",
|
||||||
|
"witty_honest_wallaby_support": "Preview"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -316,10 +316,16 @@
|
||||||
"happy_mild_fox_gleam": "Nom",
|
"happy_mild_fox_gleam": "Nom",
|
||||||
"active_direct_bear_compose": "Image",
|
"active_direct_bear_compose": "Image",
|
||||||
"lime_late_millipede_urge": "Taille recommandée : 128x128px. Tous les types d'images sont autorisés.",
|
"lime_late_millipede_urge": "Taille recommandée : 128x128px. Tous les types d'images sont autorisés.",
|
||||||
"dirty_inclusive_meerkat_nudge": "Annuler",
|
|
||||||
"factual_gray_mouse_believe": "Ajout de l'emoji...",
|
"factual_gray_mouse_believe": "Ajout de l'emoji...",
|
||||||
"cool_trite_gull_quiz": "Emoji ajouté!",
|
"cool_trite_gull_quiz": "Emoji ajouté!",
|
||||||
"kind_deft_myna_hint": "Échec de l'ajout de l'emoji.",
|
"kind_deft_myna_hint": "Échec de l'ajout de l'emoji.",
|
||||||
"frail_great_marten_pet": "Ajoutez un nouvel emoji sur le serveur.",
|
"frail_great_marten_pet": "Ajoutez un nouvel emoji sur le serveur.",
|
||||||
"whole_icy_puffin_smile": "Ajouter un Emoji"
|
"whole_icy_puffin_smile": "Ajouter un Emoji",
|
||||||
|
"dirty_inclusive_meerkat_nudge": "Annuler",
|
||||||
|
"due_hour_husky_prosper": "Changer l'image",
|
||||||
|
"suave_broad_albatross_drop": "Ajoutez une image, un e-mail Gravatar ou utilisez une URL.",
|
||||||
|
"inclusive_long_lizard_boost": "Gravatar",
|
||||||
|
"proud_next_elk_beam": "URL",
|
||||||
|
"lower_formal_kudu_lift": "E-mail Gravatar",
|
||||||
|
"witty_honest_wallaby_support": "Aperçu"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue