Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Fixed a lingui translation rogue id

Matt Roberts6b5f5aa16306
diff --git a/locale/ar/client.json b/locale/ar/client.json
index 0a702aa51..e170463e8 100644
--- a/locale/ar/client.json
+++ b/locale/ar/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "شارك بفكرتك...",
"newpost.modal.title.label": "أعط فكرتك عنوانًا",
"newpost.modal.title.placeholder": "شيء قصير وموجز، لخصه في بضع كلمات",
- "pDgeaz": "",
"page.backhome": "خذني إلى <0>{0}</0> الصفحة الرئيسية.",
"page.notinvited.text": "لم نتمكن من العثور على حساب لعنوان بريدك الإلكتروني.",
"page.notinvited.title": "لم تتم دعوتك",
diff --git a/locale/de/client.json b/locale/de/client.json
index 98d4f8461..aaf65fa79 100644
--- a/locale/de/client.json
+++ b/locale/de/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "Teile deine Idee ...",
"newpost.modal.title.label": "Gib deiner Idee einen Titel",
"newpost.modal.title.placeholder": "Eine kurze und knappe Zusammenfassung in wenigen Worten",
- "pDgeaz": "",
"page.backhome": "Zurück zur <0>{0}</0> Homepage.",
"page.notinvited.text": "Wir konnten kein Account für deine E-Mail-Adresse finden.",
"page.notinvited.title": "Nicht eingeladen",
diff --git a/locale/el/client.json b/locale/el/client.json
index 0ba0e2b31..95fc2d4a2 100644
--- a/locale/el/client.json
+++ b/locale/el/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "Μοιραστείτε την ιδέα σας...",
"newpost.modal.title.label": "Δώστε έναν τίτλο στην ιδέα σας",
"newpost.modal.title.placeholder": "Κάτι σύντομο και περιεκτικό, συνοψίστε το σε λίγες λέξεις",
- "pDgeaz": "",
"page.backhome": "Επιστρέψτε με στην αρχική σελίδα <0>{0}</0>.",
"page.notinvited.text": "Δεν μπορέσαμε να βρούμε λογαριασμό για τη διεύθυνση email σας.",
"page.notinvited.title": "Δεν έχει προσκληθεί",
diff --git a/locale/en/client.json b/locale/en/client.json
index 1c938f094..23a14cda0 100644
--- a/locale/en/client.json
+++ b/locale/en/client.json
@@ -161,7 +161,6 @@
"newpost.modal.title": "Share your idea...",
"newpost.modal.title.label": "Give your idea a title",
"newpost.modal.title.placeholder": "Something short and snappy, sum it up in a few words",
- "pDgeaz": "{title}",
"page.backhome": "Take me back to <0>{0}</0> home page.",
"page.notinvited.text": "We could not find an account for your email address.",
"page.notinvited.title": "Not invited",
diff --git a/locale/es-ES/client.json b/locale/es-ES/client.json
index f2279f5fd..3c3f9fa9a 100644
--- a/locale/es-ES/client.json
+++ b/locale/es-ES/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "Comparte tu idea...",
"newpost.modal.title.label": "Dale un título a tu idea",
"newpost.modal.title.placeholder": "Algo corto y conciso, resúmalo en pocas palabras.",
- "pDgeaz": "",
"page.backhome": "Llévame a la página de inicio de <0>{0}</0>.",
"page.notinvited.text": "No pudimos encontrar una cuenta asociada a tu correo electrónico.",
"page.notinvited.title": "Sin invitación",
diff --git a/locale/fa/client.json b/locale/fa/client.json
index 3a6ba1e36..49488b0b7 100644
--- a/locale/fa/client.json
+++ b/locale/fa/client.json
@@ -161,7 +161,6 @@
"newpost.modal.title": "",
"newpost.modal.title.label": "",
"newpost.modal.title.placeholder": "",
- "pDgeaz": "",
"page.backhome": "بازگشت به صفحهٔ اصلی <0>{0}</0>",
"page.notinvited.text": "ما حسابی برای آدرس ایمیل شما پیدا نکردیم.",
"page.notinvited.title": "دعوت نشده",
diff --git a/locale/fr/client.json b/locale/fr/client.json
index c240c7e35..b33145365 100644
--- a/locale/fr/client.json
+++ b/locale/fr/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "Partagez votre idée...",
"newpost.modal.title.label": "Donnez un titre à votre idée",
"newpost.modal.title.placeholder": "Quelque chose de court et percutant, résumez-le en quelques mots",
- "pDgeaz": "",
"page.backhome": "Ramenez-moi à la page d'accueil de <0>{0}</0>.",
"page.notinvited.text": "Nous n'avons pas trouvé de compte avec cette adresse e-mail.",
"page.notinvited.title": "Non invité",
diff --git a/locale/it/client.json b/locale/it/client.json
index 5a579c052..dbd41d6e0 100644
--- a/locale/it/client.json
+++ b/locale/it/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "Condividi la tua idea...",
"newpost.modal.title.label": "Dai un titolo alla tua idea",
"newpost.modal.title.placeholder": "Qualcosa di breve e conciso, riassumilo in poche parole",
- "pDgeaz": "",
"page.backhome": "Portami indietro alla <0>{0}</0> pagina principale.",
"page.notinvited.text": "Non siamo riusciti a trovare un account per il tuo indirizzo email.",
"page.notinvited.title": "Nessun invito",
diff --git a/locale/ja/client.json b/locale/ja/client.json
index 39b02499d..515a13c9b 100644
--- a/locale/ja/client.json
+++ b/locale/ja/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "あなたのアイデアを共有してください...",
"newpost.modal.title.label": "アイデアにタイトルをつける",
"newpost.modal.title.placeholder": "短くて簡潔なもの、一言でまとめましょう",
- "pDgeaz": "",
"page.backhome": "<0>{0}</0>のホームページに戻ります。",
"page.notinvited.text": "あなたのメールアドレスのアカウントが見つかりませんでした",
"page.notinvited.title": "未招待",
diff --git a/locale/nl/client.json b/locale/nl/client.json
index 920e41ebd..0ff500273 100644
--- a/locale/nl/client.json
+++ b/locale/nl/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "Deel uw idee...",
"newpost.modal.title.label": "Geef je idee een titel",
"newpost.modal.title.placeholder": "Iets kort en krachtigs, vat het samen in een paar woorden",
- "pDgeaz": "",
"page.backhome": "Ga terug naar <0>{0}</0> startpagina.",
"page.notinvited.text": "We konden geen account vinden voor dit e-mailadres.",
"page.notinvited.title": "Niet uitgenodigd",
diff --git a/locale/pl/client.json b/locale/pl/client.json
index 044d9f5a4..42fdf2b3e 100644
--- a/locale/pl/client.json
+++ b/locale/pl/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "Podziel się swoim pomysłem...",
"newpost.modal.title.label": "Nadaj swojemu pomysłowi tytuł",
"newpost.modal.title.placeholder": "Coś krótkiego i zwięzłego, podsumuj to w kilku słowach",
- "pDgeaz": "",
"page.backhome": "Zabierz mnie z powrotem na stronę główną <0>{0}</0>.",
"page.notinvited.text": "Nie znaleźliśmy konta powiązanego z Twoim adresem email.",
"page.notinvited.title": "Niezaproszony",
diff --git a/locale/pt-BR/client.json b/locale/pt-BR/client.json
index 62c1442d1..012ebe2ad 100644
--- a/locale/pt-BR/client.json
+++ b/locale/pt-BR/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "Compartilhe sua ideia...",
"newpost.modal.title.label": "Dê um título à sua ideia",
"newpost.modal.title.placeholder": "Algo curto e rápido, resuma em poucas palavras",
- "pDgeaz": "",
"page.backhome": "Me leve de volta para a página inicial <0>{0}</0>.",
"page.notinvited.text": "Não encontramos nenhuma conta para o seu endereço de e-mail.",
"page.notinvited.title": "Sem convite",
diff --git a/locale/ru/client.json b/locale/ru/client.json
index 1e49e7e94..8c4a3fc5b 100644
--- a/locale/ru/client.json
+++ b/locale/ru/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "Поделитесь своей идеей...",
"newpost.modal.title.label": "Дайте название своей идее",
"newpost.modal.title.placeholder": "Что-то короткое и емкое, изложите это в нескольких словах.",
- "pDgeaz": "",
"page.backhome": "Верните меня на домашнюю страницу <0>{0}</0>.",
"page.notinvited.text": "Мы не смогли найти аккаунт, соответствующий этому адресу электронной почты.",
"page.notinvited.title": "Не приглашён",
diff --git a/locale/sk/client.json b/locale/sk/client.json
index 104fc8960..21c5219ac 100644
--- a/locale/sk/client.json
+++ b/locale/sk/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "Podeľte sa o svoj nápad...",
"newpost.modal.title.label": "Dajte svojmu nápadu názov",
"newpost.modal.title.placeholder": "Niečo krátke a výstižné, zhrňte to pár slovami",
- "pDgeaz": "",
"page.backhome": "Vezmi ma späť do <0>{0}</0> domovskú stránku.",
"page.notinvited.text": "Nepodarilo sa nám nájsť účet pre vašu emailovú adresu.",
"page.notinvited.title": "Nepozvaný",
diff --git a/locale/sv-SE/client.json b/locale/sv-SE/client.json
index f89fc901f..1c0884a6d 100644
--- a/locale/sv-SE/client.json
+++ b/locale/sv-SE/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "Dela din idé...",
"newpost.modal.title.label": "Ge din idé en titel",
"newpost.modal.title.placeholder": "Något kort och rappt, sammanfatta det med några få ord",
- "pDgeaz": "",
"page.backhome": "Ta mig tillbaka till <0>{0}</0> hemsida.",
"page.notinvited.text": "Vi kunde inte hitta ett konto för din e-postadress.",
"page.notinvited.title": "Inte inbjuden",
diff --git a/locale/tr/client.json b/locale/tr/client.json
index 5c8232f19..bece7995e 100644
--- a/locale/tr/client.json
+++ b/locale/tr/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "Fikrinizi paylaşın...",
"newpost.modal.title.label": "Fikrinize bir başlık verin",
"newpost.modal.title.placeholder": "Kısa ve öz bir şey, birkaç kelimeyle özetleyin",
- "pDgeaz": "",
"page.backhome": "Beni <0>{0}</0> ana sayfaya götür.",
"page.notinvited.text": "E-posta adresinizle ilişkili bir hesap bulamadık.",
"page.notinvited.title": "Davet edilmemiş",
diff --git a/locale/zh-CN/client.json b/locale/zh-CN/client.json
index 271e04255..028e607a9 100644
--- a/locale/zh-CN/client.json
+++ b/locale/zh-CN/client.json
@@ -162,7 +162,6 @@
"newpost.modal.title": "分享你的想法...",
"newpost.modal.title.label": "给你的想法起个标题",
"newpost.modal.title.placeholder": "简短而活泼,用几句话概括",
- "pDgeaz": "",
"page.backhome": "带我回到<0>{0}</0>主页.",
"page.notinvited.text": "我们找不到您电子邮件地址的帐户.",
"page.notinvited.title": "未被邀请",
diff --git a/public/pages/Home/components/PostFilter.tsx b/public/pages/Home/components/PostFilter.tsx
index af612ae95..0e739ab98 100644
--- a/public/pages/Home/components/PostFilter.tsx
+++ b/public/pages/Home/components/PostFilter.tsx
@@ -8,7 +8,6 @@ import { i18n } from "@lingui/core"
import { FilterState } from "./PostsContainer"
import "./PostFilter.scss"
-import { Trans } from "@lingui/react/macro"
type FilterType = "tag" | "status" | "myVotes" | "noTags" | "myPosts"
@@ -120,14 +119,14 @@ export const PostFilter = (props: PostFilterProps) => {
const filterCount = filterItems.length
const filteredOptions = options.filter((option) => option.label.toLowerCase().includes(query.toLowerCase()))
- const FilterGroupSection = ({ title, type, titleId }: { title: string; type: string[]; titleId?: string }) => {
+ const FilterGroupSection = ({ title, type }: { title: string; type: string[] }) => {
const options = filteredOptions.filter((o) => type.includes(o.type))
if (options.length === 0) return null
return (
<>
- <div className="p-2 text-medium uppercase">{titleId ? <Trans id={titleId}>{title}</Trans> : title}</div>
+ <div className="p-2 text-medium uppercase">{title}</div>
{options.map((o) => {
const isChecked = filterItems.some((f) => f.type === o.type && f.value === o.value)
@@ -167,11 +166,11 @@ export const PostFilter = (props: PostFilterProps) => {
placeholder={i18n._({ id: "home.filter.search.label", message: "Search in filters..." })}
/>
- <FilterGroupSection title="My activity" type={["myVotes", "myPosts"]} titleId="home.postfilter.label.myactivity" />
+ <FilterGroupSection title={i18n._({ id: "home.postfilter.label.myactivity", message: "My activity" })} type={["myVotes", "myPosts"]} />
- <FilterGroupSection title="Status" type={["status"]} titleId="home.postfilter.label.status" />
+ <FilterGroupSection title={i18n._({ id: "home.postfilter.label.status", message: "Status" })} type={["status"]} />
- <FilterGroupSection title="Tags" type={["noTags", "tag"]} titleId="label.tags" />
+ <FilterGroupSection title={i18n._({ id: "label.tags", message: "Tags" })} type={["noTags", "tag"]} />
</Dropdown>
</HStack>
)