Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

remove country flag

goenningc46df3f7f6a4
diff --git a/locale/locales.ts b/locale/locales.ts
index 84a4354a2..63e0e651f 100644
--- a/locale/locales.ts
+++ b/locale/locales.ts
@@ -1,56 +1,43 @@
interface Locale {
text: string
- translated: number
}
const locales: { [key: string]: Locale } = {
en: {
- text: "πŸ‡ΊπŸ‡Έ English",
- translated: 100,
+ text: "English",
},
"pt-BR": {
- text: "πŸ‡§πŸ‡· Portuguese (Brazilian)",
- translated: 100,
+ text: "Portuguese (Brazilian)",
},
"es-ES": {
- text: "πŸ‡ͺπŸ‡Έ Spanish",
- translated: 100,
+ text: "Spanish",
},
de: {
- text: "πŸ‡©πŸ‡ͺ German",
- translated: 100,
+ text: "German",
},
fr: {
- text: "πŸ‡«πŸ‡· French",
- translated: 100,
+ text: "French",
},
"sv-SE": {
- text: "πŸ‡ΈπŸ‡ͺ Swedish",
- translated: 100,
+ text: "Swedish",
},
nl: {
- text: "πŸ‡³πŸ‡± Dutch",
- translated: 100,
+ text: "Dutch",
},
pl: {
- text: "πŸ‡΅πŸ‡± Polish",
- translated: 100,
+ text: "Polish",
},
ru: {
- text: "πŸ‡·πŸ‡Ί Russian",
- translated: 100,
+ text: "Russian",
},
sk: {
- text: "πŸ‡ΈπŸ‡° Slovak",
- translated: 100,
+ text: "Slovak",
},
tr: {
- text: "πŸ‡ΉπŸ‡· Turkish",
- translated: 100,
+ text: "Turkish",
},
el: {
- text: "πŸ‡¬πŸ‡· Greek",
- translated: 100,
+ text: "Greek",
},
}
diff --git a/public/pages/Administration/pages/GeneralSettings.page.tsx b/public/pages/Administration/pages/GeneralSettings.page.tsx
index 8228beb25..0885fd757 100644
--- a/public/pages/Administration/pages/GeneralSettings.page.tsx
+++ b/public/pages/Administration/pages/GeneralSettings.page.tsx
@@ -118,19 +118,18 @@ const GeneralSettingsPage = () => {
defaultValue={locale}
options={Object.entries(locales).map(([k, v]) => ({
value: k,
- label: `${v.text} (${v.translated}%)`,
+ label: v.text,
}))}
onChange={(o) => setLocale(o?.value || "en")}
>
{locale !== "en" && (
<>
<p className="text-muted">
- This language is currently <strong>{locales[locale].translated}%</strong> translated by the Open Source community. If you find a mistake or
- would like to improve its quality, visit{" "}
+ This language is translated by the Open Source community. If you find a mistake or would like to improve its quality, visit{" "}
<a className="text-link" target="_blank" rel="noopener" href="https://crowdin.com/project/fider">
Crowdin
</a>{" "}
- and contribute with your own translations. No technical knowledge required.
+ and contribute with your own translations. No technical knowledge is required.
</p>
<p className="text-muted">Only public pages are translated. Internal and/or administrative pages will remain in English.</p>
</>