fix: replace Arabe with Persan in translation language list
This commit is contained in:
@@ -734,7 +734,7 @@ export function ContextualAIChat({
|
|||||||
{showLangPicker && (
|
{showLangPicker && (
|
||||||
<div className="flex flex-col gap-2 px-3 py-3 rounded-xl border border-border/40 bg-muted/30">
|
<div className="flex flex-col gap-2 px-3 py-3 rounded-xl border border-border/40 bg-muted/30">
|
||||||
<div className="flex flex-wrap gap-1.5">
|
<div className="flex flex-wrap gap-1.5">
|
||||||
{['Francais','English','Espanol','Deutsch','Arabe','Portugais','Italiano','Chinois','Japonais'].map(l => (
|
{['Francais','English','Espanol','Deutsch','Persan','Portugais','Italiano','Chinois','Japonais'].map(l => (
|
||||||
<button
|
<button
|
||||||
key={l}
|
key={l}
|
||||||
className={`text-xs px-2.5 py-1 rounded-lg border transition-colors ${translateTarget === l ? 'bg-primary text-primary-foreground border-primary' : 'bg-card border-border hover:bg-accent'}`}
|
className={`text-xs px-2.5 py-1 rounded-lg border transition-colors ${translateTarget === l ? 'bg-primary text-primary-foreground border-primary' : 'bg-card border-border hover:bg-accent'}`}
|
||||||
|
|||||||
@@ -276,7 +276,7 @@ function ImageModal({ onConfirm, onCancel }: { onConfirm: (url: string) => void;
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const AI_LANGS = ['Francais','English','Espanol','Deutsch','Arabe','Portugais','Italiano','Chinois','Japonais']
|
const AI_LANGS = ['Francais','English','Espanol','Deutsch','Persan','Portugais','Italiano','Chinois','Japonais']
|
||||||
|
|
||||||
function BubbleToolbar({ editor }: { editor: Editor | null }) {
|
function BubbleToolbar({ editor }: { editor: Editor | null }) {
|
||||||
const { t, language } = useLanguage()
|
const { t, language } = useLanguage()
|
||||||
|
|||||||
Reference in New Issue
Block a user