Skip to content

Commit

Permalink
polish (#6051)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs authored Jul 17, 2024
1 parent 9fba60f commit bd95f67
Show file tree
Hide file tree
Showing 15 changed files with 1,505 additions and 12 deletions.
1 change: 1 addition & 0 deletions frontend/app/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ const languages = [
{ lang: "ru", code: "ru" },
{ lang: "uk", code: "uk" },
{ lang: "vi", code: "vi" },
{ lang: "pl", code: "pl" },
];

languages.forEach(async ({ lang, code }) => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/i18n/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,9 @@
"joined_community": "加入你的第一个社区",
"joined_gated_group_or_community": "加入你的第一个封闭群组/频道",
"joined_group": "加入了你的第一个群组",
"owned_group_with_1_diamond_member": "拥有第一个群组/社区,其中有 1 名经过验证的成员",
"owned_group_with_10_diamond_members": "拥有第一个群组/社区,其中有 10 名经过验证的成员",
"owned_group_with_100_diamond_members": "拥有第一个拥有 100 名经过验证的成员的群组/社区",
"owned_group_with_1_diamond_member": "拥有第一个群组/社区,其中有 1 名经过验证的成员",
"owned_group_with_1000_diamond_members": "拥有第一个拥有 1000 名经过验证的成员的群组/社区",
"percentageComplete": "{perc}% 完成",
"pinned_message": "已置顶您的第一条消息",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,9 @@
"joined_community": "Ihrer ersten Community beigetreten",
"joined_gated_group_or_community": "Ihrer ersten geschlossenen Gruppe/Ihrem ersten geschlossenen Kanal beigetreten",
"joined_group": "Ihrer ersten Gruppe beigetreten",
"owned_group_with_1_diamond_member": "Besitzen Sie Ihre erste Gruppe/Community mit 1 verifiziertem Mitglied.",
"owned_group_with_10_diamond_members": "Besitzen Sie Ihre erste Gruppe/Community mit 10 verifizierten Mitgliedern.",
"owned_group_with_100_diamond_members": "Besitzen Sie Ihre erste Gruppe/Community mit 100 verifizierten Mitgliedern.",
"owned_group_with_1_diamond_member": "Besitzen Sie Ihre erste Gruppe/Community mit 1 verifiziertem Mitglied.",
"owned_group_with_1000_diamond_members": "Besitzen Sie Ihre erste Gruppe/Community mit 1000 verifizierten Mitgliedern.",
"percentageComplete": "{perc} % abgeschlossen",
"pinned_message": "Deine erste Nachricht angepinnt",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,9 @@
"joined_community": "Joined your first community",
"joined_gated_group_or_community": "Joined your first gated group/channel",
"joined_group": "Joined your first group",
"owned_group_with_1_diamond_member": "Owned your first group/community with 1 verified member",
"owned_group_with_10_diamond_members": "Owned your first group/community with 10 verified members",
"owned_group_with_100_diamond_members": "Owned your first group/community with 100 verified members",
"owned_group_with_1_diamond_member": "Owned your first group/community with 1 verified member",
"owned_group_with_1000_diamond_members": "Owned your first group/community with 1000 verified members",
"percentageComplete": "{perc}% Complete",
"pinned_message": "Pinned your first message",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,9 @@
"joined_community": "Se unió a su primera comunidad",
"joined_gated_group_or_community": "Se unió a su primer grupo/canal privado",
"joined_group": "Se unió a su primer grupo",
"owned_group_with_1_diamond_member": "Era propietario de su primer grupo/comunidad con 1 miembro verificado",
"owned_group_with_10_diamond_members": "Fue propietario de su primer grupo/comunidad con 10 miembros verificados",
"owned_group_with_100_diamond_members": "Sea propietario de su primer grupo/comunidad con 100 miembros verificados",
"owned_group_with_1_diamond_member": "Era propietario de su primer grupo/comunidad con 1 miembro verificado",
"owned_group_with_1000_diamond_members": "Fue propietario de su primer grupo/comunidad con 1000 miembros verificados",
"percentageComplete": "{perc}% completado",
"pinned_message": "Fijó su primer mensaje",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,9 @@
"joined_community": "Vous avez rejoint votre première communauté",
"joined_gated_group_or_community": "Vous avez rejoint votre premier groupe/canal fermé",
"joined_group": "Vous avez rejoint votre premier groupe",
"owned_group_with_1_diamond_member": "Posséder votre premier groupe/communauté avec 1 membre vérifié",
"owned_group_with_10_diamond_members": "Posséder votre premier groupe/communauté avec 10 membres vérifiés",
"owned_group_with_100_diamond_members": "Posséder votre premier groupe/communauté avec 100 membres vérifiés",
"owned_group_with_1_diamond_member": "Posséder votre premier groupe/communauté avec 1 membre vérifié",
"owned_group_with_1000_diamond_members": "Posséder votre premier groupe/communauté avec 1 000 membres vérifiés",
"percentageComplete": "{perc} % terminé",
"pinned_message": "J'ai épinglé ton premier message",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/i18n/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,9 @@
"joined_community": "अपने पहले समुदाय में शामिल हुए",
"joined_gated_group_or_community": "अपने पहले गेटेड ग्रुप/चैनल में शामिल हुए",
"joined_group": "अपने पहले समूह में शामिल हो गए",
"owned_group_with_1_diamond_member": "1 सत्यापित सदस्य के साथ अपना पहला समूह/समुदाय बनाएं",
"owned_group_with_10_diamond_members": "10 सत्यापित सदस्यों के साथ अपना पहला समूह/समुदाय बनाएं",
"owned_group_with_100_diamond_members": "100 सत्यापित सदस्यों के साथ अपना पहला समूह/समुदाय बनाएं",
"owned_group_with_1_diamond_member": "1 सत्यापित सदस्य के साथ अपना पहला समूह/समुदाय बनाएं",
"owned_group_with_1000_diamond_members": "1000 सत्यापित सदस्यों के साथ अपना पहला समूह/समुदाय बनाएं",
"percentageComplete": "{perc}% पूर्ण",
"pinned_message": "अपना पहला संदेश पिन किया",
Expand Down
6 changes: 6 additions & 0 deletions frontend/app/src/i18n/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const translationCodes: Record<string, string> = {
ru: "ru",
uk: "uk",
vi: "vi",
pl: "pl",
};

export const supportedLanguages = [
Expand Down Expand Up @@ -72,6 +73,10 @@ export const supportedLanguages = [
name: "Yкраїнська",
code: "uk",
},
{
name: "Polski",
code: "pl",
},
];

export const supportedLanguagesByCode = supportedLanguages.reduce(
Expand All @@ -95,6 +100,7 @@ register("jp", () => import("./jp.json"));
register("ru", () => import("./ru.json"));
register("uk", () => import("./uk.json"));
register("vi", () => import("./vi.json"));
register("pl", () => import("./pl.json"));

export function getStoredLocale(): string {
const fromStorage = localStorage.getItem(configKeys.locale);
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,9 @@
"joined_community": "Ti sei unito alla tua prima community",
"joined_gated_group_or_community": "Ti sei unito al tuo primo gruppo/canale delimitato",
"joined_group": "Ti sei unito al tuo primo gruppo",
"owned_group_with_1_diamond_member": "Hai posseduto il tuo primo gruppo/community con 1 membro verificato",
"owned_group_with_10_diamond_members": "Hai posseduto il tuo primo gruppo/community con 10 membri verificati",
"owned_group_with_100_diamond_members": "Hai posseduto il tuo primo gruppo/community con 100 membri verificati",
"owned_group_with_1_diamond_member": "Hai posseduto il tuo primo gruppo/community con 1 membro verificato",
"owned_group_with_1000_diamond_members": "Hai posseduto il tuo primo gruppo/community con 1000 membri verificati",
"percentageComplete": "{perc}% completato",
"pinned_message": "Appuntato il tuo primo messaggio",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/i18n/iw.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,9 @@
"joined_community": "הצטרף לקהילה הראשונה שלך",
"joined_gated_group_or_community": "הצטרף לקבוצה/ערוץ הסגור הראשון שלך",
"joined_group": "הצטרף לקבוצה הראשונה שלך",
"owned_group_with_1_diamond_member": "הבעלים של הקבוצה/הקהילה הראשונה שלך עם חבר מאומת אחד",
"owned_group_with_10_diamond_members": "הבעלים של הקבוצה/הקהילה הראשונה שלך עם 10 חברים מאומתים",
"owned_group_with_100_diamond_members": "הבעלים של הקבוצה/הקהילה הראשונה שלך עם 100 חברים מאומתים",
"owned_group_with_1_diamond_member": "הבעלים של הקבוצה/הקהילה הראשונה שלך עם חבר מאומת אחד",
"owned_group_with_1000_diamond_members": "הבעלים של הקבוצה/הקהילה הראשונה שלך עם 1000 חברים מאומתים",
"percentageComplete": "{perc}% הושלם",
"pinned_message": "הצמד את ההודעה הראשונה שלך",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/i18n/jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,9 @@
"joined_community": "最初のコミュニティに参加しました",
"joined_gated_group_or_community": "最初のゲートグループ/チャンネルに参加しました",
"joined_group": "最初のグループに参加しました",
"owned_group_with_1_diamond_member": "認証済みメンバー 1 名を含む最初のグループ/コミュニティを所有しました",
"owned_group_with_10_diamond_members": "10 人の認証済みメンバーを持つ最初のグループ/コミュニティを所有しました",
"owned_group_with_100_diamond_members": "100人の認証済みメンバーを持つ最初のグループ/コミュニティを所有しました",
"owned_group_with_1_diamond_member": "認証済みメンバー 1 名を含む最初のグループ/コミュニティを所有しました",
"owned_group_with_1000_diamond_members": "1000人の認証済みメンバーを持つ最初のグループ/コミュニティを所有しました",
"percentageComplete": "{perc}% 完了",
"pinned_message": "最初のメッセージをピン留めしました",
Expand Down
Loading

0 comments on commit bd95f67

Please sign in to comment.