mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-21 04:01:41 +10:00
feat(i18n): translate error messages
This commit is contained in:
@ -153,15 +153,18 @@ const Question4 = () => {
|
||||
>
|
||||
<div className="relative bg-secondary-accent font-medium">
|
||||
<span className="px-2 py-1">{language.name}</span>
|
||||
<span
|
||||
className={cn(
|
||||
"inset-0 bg-warning px-1.5 py-1 text-xs text-white",
|
||||
language.progress < 40 && "bg-error",
|
||||
language.progress > 80 && "bg-success",
|
||||
)}
|
||||
>
|
||||
{language.progress}%
|
||||
</span>
|
||||
|
||||
{language.progress && (
|
||||
<span
|
||||
className={cn(
|
||||
"inset-0 bg-warning px-1.5 py-1 text-xs text-white",
|
||||
language.progress < 40 && "bg-error",
|
||||
language.progress > 80 && "bg-success",
|
||||
)}
|
||||
>
|
||||
{language.progress}%
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</a>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user