feat: add Catalan translations (#4134)

* Update translations.js

Catalan translation added

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alejandro Cabrera Carrasco
2025-09-29 23:46:10 +03:00
committed by GitHub
co-authored by Copilot Alexandr
parent 1b579cda01
commit 4c30073ed9
2 changed files with 25 additions and 2 deletions
+3 -2
View File
@@ -306,6 +306,7 @@ Here is a list of all available locales:
| `az` | Azerbaijani |
| `bn` | Bengali |
| `my` | Burmese |
| `ca` | Catalan |
| `cn` | Chinese |
| `zh-tw` | Chinese (Taiwan) |
| `cs` | Czech |
@@ -314,12 +315,12 @@ Here is a list of all available locales:
| `fi` | Finnish |
| `fr` | French |
| `de` | German |
| `el` | Greek |
</td><td>
| Code | Locale |
| --- | --- |
| `el` | Greek |
| `hi` | Hindi |
| `hu` | Hungarian |
| `id` | Indonesian |
@@ -332,12 +333,12 @@ Here is a list of all available locales:
| `fa` | Persian (Farsi) |
| `pl` | Polish |
| `pt-br` | Portuguese (Brazil) |
| `pt-pt` | Portuguese (Portugal) |
</td><td>
| Code | Locale |
| --- | --- |
| `pt-pt` | Portuguese (Portugal) |
| `ro` | Romanian |
| `ru` | Russian |
| `sr` | Serbian (Cyrillic) |
+22
View File
@@ -19,6 +19,7 @@ const statCardLocales = ({ name, apostrophe }) => {
en: `${encodedName}'${apostrophe} GitHub Stats`,
ar: `${encodedName} إحصائيات جيت هاب`,
az: `${encodedName}'${apostrophe} Hesabının GitHub Statistikası`,
ca: `Estadístiques de GitHub de ${encodedName}`,
cn: `${encodedName} 的 GitHub 统计数据`,
"zh-tw": `${encodedName} 的 GitHub 統計資料`,
cs: `GitHub statistiky uživatele ${encodedName}`,
@@ -59,6 +60,7 @@ const statCardLocales = ({ name, apostrophe }) => {
en: `${encodedName}'${apostrophe} GitHub Rank`,
ar: `${encodedName} إحصائيات جيت هاب`,
az: `${encodedName}'${apostrophe} Hesabının GitHub Statistikası`,
ca: `Estadístiques de GitHub de ${encodedName}`,
cn: `${encodedName} 的 GitHub 统计数据`,
"zh-tw": `${encodedName} 的 GitHub 統計資料`,
cs: `GitHub statistiky uživatele ${encodedName}`,
@@ -99,6 +101,7 @@ const statCardLocales = ({ name, apostrophe }) => {
en: "Total Stars Earned",
ar: "مجموع النجوم",
az: "Ümumi Ulduz",
ca: "Total d'estrelles",
cn: "获标星数",
"zh-tw": "得標星星數量(Star",
cs: "Celkem hvězd",
@@ -139,6 +142,7 @@ const statCardLocales = ({ name, apostrophe }) => {
en: "Total Commits",
ar: "مجموع المساهمات",
az: "Ümumi Commit",
ca: "Commits totals",
cn: "累计提交总数",
"zh-tw": "累計提交數量(Commit",
cs: "Celkem commitů",
@@ -179,6 +183,7 @@ const statCardLocales = ({ name, apostrophe }) => {
en: "Total PRs",
ar: "مجموع طلبات السحب",
az: "Ümumi PR",
ca: "PRs totals",
cn: "发起的 PR 总数",
"zh-tw": "拉取請求數量(PR",
cs: "Celkem PRs",
@@ -219,6 +224,7 @@ const statCardLocales = ({ name, apostrophe }) => {
en: "Total Issues",
ar: "مجموع التحسينات",
az: "Ümumi Problem",
ca: "Issues totals",
cn: "提出的 issue 总数",
"zh-tw": "提出問題數量(Issue",
cs: "Celkem problémů",
@@ -259,6 +265,7 @@ const statCardLocales = ({ name, apostrophe }) => {
en: "Contributed to (last year)",
ar: "ساهم في (العام الماضي)",
az: "Töhfə verdi (ötən il)",
ca: "Contribucions (l'any passat)",
cn: "贡献的项目数(去年)",
"zh-tw": "參與項目數量(去年)",
cs: "Přispěl k (minulý rok)",
@@ -299,6 +306,7 @@ const statCardLocales = ({ name, apostrophe }) => {
en: "Total PRs Reviewed",
ar: "طلبات السحب التي تم مراجعتها",
az: "Nəzərdən Keçirilən Ümumi PR",
ca: "Total de PRs revisats",
cn: "审查的 PR 总数",
"zh-tw": "審核的 PR 總計",
cs: "Celkový počet PR",
@@ -339,6 +347,7 @@ const statCardLocales = ({ name, apostrophe }) => {
en: "Total Discussions Started",
ar: "مجموع المناقشات التي بدأها",
az: "Başladılan Ümumi Müzakirə",
ca: "Discussions totals iniciades",
cn: "发起的讨论总数",
"zh-tw": "發起的討論總數",
cs: "Celkem zahájených diskusí",
@@ -379,6 +388,7 @@ const statCardLocales = ({ name, apostrophe }) => {
en: "Total Discussions Answered",
ar: "مجموع المناقشات المُجابة",
az: "Cavablandırılan Ümumi Müzakirə",
ca: "Discussions totals respostes",
cn: "回复的讨论总数",
"zh-tw": "回覆討論總計",
cs: "Celkem zodpovězených diskusí",
@@ -419,6 +429,7 @@ const statCardLocales = ({ name, apostrophe }) => {
en: "Total PRs Merged",
ar: "مجموع طلبات السحب المُدمجة",
az: "Birləşdirilmiş Ümumi PR",
ca: "PRs totals fusionats",
cn: "合并的 PR 总数",
"zh-tw": "合併的 PR 總計",
cs: "Celkem sloučených PR",
@@ -458,6 +469,7 @@ const statCardLocales = ({ name, apostrophe }) => {
en: "Merged PRs Percentage",
ar: "نسبة طلبات السحب المُدمجة",
az: "Birləşdirilmiş PR-ların Faizi",
ca: "Percentatge de PRs fusionats",
cn: "被合并的 PR 占比",
"zh-tw": "合併的 PR 百分比",
cs: "Sloučené PRs v procentech",
@@ -502,6 +514,7 @@ const repoCardLocales = {
ar: "قالب",
az: "Şablon",
bn: "টেমপ্লেট",
ca: "Plantilla",
cn: "模板",
"zh-tw": "模板",
cs: "Šablona",
@@ -542,6 +555,7 @@ const repoCardLocales = {
ar: "مُؤرشف",
az: "Arxiv",
bn: "আর্কাইভড",
ca: "Arxivats",
cn: "已归档",
"zh-tw": "已封存",
cs: "Archivováno",
@@ -584,6 +598,7 @@ const langCardLocales = {
en: "Most Used Languages",
ar: "أكثر اللغات استخدامًا",
az: "Ən Çox İstifadə Olunan Dillər",
ca: "Llenguatges més utilitzats",
cn: "最常用的语言",
"zh-tw": "最常用的語言",
cs: "Nejpoužívanější jazyky",
@@ -624,6 +639,7 @@ const langCardLocales = {
en: "No languages data.",
ar: "لا توجد بيانات للغات.",
az: "Dil məlumatı yoxdur.",
ca: "Sense dades d'idiomes",
cn: "没有语言数据。",
"zh-tw": "沒有語言資料。",
cs: "Žádné jazykové údaje.",
@@ -667,6 +683,7 @@ const wakatimeCardLocales = {
en: "WakaTime Stats",
ar: "إحصائيات واكا تايم",
az: "WakaTime Statistikası",
ca: "Estadístiques de WakaTime",
cn: "WakaTime 周统计",
"zh-tw": "WakaTime 周統計",
cs: "Statistiky WakaTime",
@@ -707,6 +724,7 @@ const wakatimeCardLocales = {
en: "last year",
ar: "العام الماضي",
az: "Ötən il",
ca: "L'any passat",
cn: "去年",
"zh-tw": "去年",
cs: "Minulý rok",
@@ -747,6 +765,7 @@ const wakatimeCardLocales = {
en: "last 7 days",
ar: "آخر 7 أيام",
az: "Son 7 gün",
ca: "Ultims 7 dies",
cn: "最近 7 天",
"zh-tw": "最近 7 天",
cs: "Posledních 7 dní",
@@ -787,6 +806,7 @@ const wakatimeCardLocales = {
en: "WakaTime user profile not public",
ar: "ملف مستخدم واكا تايم شخصي",
az: "WakaTime istifadəçi profili ictimai deyil",
ca: "Perfil d'usuari de WakaTime no públic",
cn: "WakaTime 用户个人资料未公开",
"zh-tw": "WakaTime 使用者個人資料未公開",
cs: "Profil uživatele WakaTime není veřejný",
@@ -827,6 +847,7 @@ const wakatimeCardLocales = {
en: "User doesn't publicly share detailed code statistics",
ar: "المستخدم لا يشارك المعلومات التفصيلية",
az: "İstifadəçi kod statistikalarını ictimai şəkildə paylaşmır",
ca: "L'usuari no comparteix dades públiques del seu codi",
cn: "用户不公开分享详细的代码统计信息",
"zh-tw": "使用者不公開分享詳細的程式碼統計資訊",
cs: "Uživatel nesdílí podrobné statistiky kódu",
@@ -869,6 +890,7 @@ const wakatimeCardLocales = {
en: "No coding activity this week",
ar: "لا يوجد نشاط برمجي لهذا الأسبوع",
az: "Bu həftə heç bir kodlaşdırma fəaliyyəti olmayıb",
ca: "No hi ha activitat de codificació aquesta setmana",
cn: "本周没有编程活动",
"zh-tw": "本周沒有編程活動",
cs: "Tento týden žádná aktivita v kódování",