mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-01-06 12:57:51 -05:00
Translate vote sorting
This commit is contained in:
@@ -127,6 +127,7 @@ export function VoteButtons(props: {
|
||||
'absolute z-10 mt-2 w-40 rounded-md border border-ink-200 bg-canvas-50 shadow-lg',
|
||||
'dark:bg-ink-900'
|
||||
)}>
|
||||
<div className="px-3 py-2 text-sm font-semibold bg-canvas-25">{t("vote.priority", "Priority")}</div>
|
||||
{priorities.map((p) => (
|
||||
<button
|
||||
key={p.value}
|
||||
|
||||
@@ -50,7 +50,7 @@ export function VoteComponent() {
|
||||
>
|
||||
{ORDER_BY.map((key) => (
|
||||
<option key={key} value={key}>
|
||||
{ORDER_BY_CHOICES[key]}
|
||||
{t(`vote.sort.${key}`, ORDER_BY_CHOICES[key])}
|
||||
</option>
|
||||
))}
|
||||
</select>
|
||||
|
||||
@@ -157,10 +157,13 @@
|
||||
"vote.abstain": "Abstention",
|
||||
"vote.against": "Contre",
|
||||
"vote.priority": "Priorité",
|
||||
"vote.urgent": "Urgent",
|
||||
"vote.urgent": "Urgente",
|
||||
"vote.high": "Haute",
|
||||
"vote.medium": "Moyenne",
|
||||
"vote.low": "Faible",
|
||||
"vote.sort.recent": "Plus récents",
|
||||
"vote.sort.mostVoted": "Plus votés",
|
||||
"vote.sort.priority": "Plus prioritaires",
|
||||
"signin.seo.title": "Se connecter",
|
||||
"signin.seo.description": "Connectez-vous à votre compte",
|
||||
"signin.title": "Se connecter",
|
||||
|
||||
Reference in New Issue
Block a user