@rmdes/indiekit-endpoint-github 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,4 +1,6 @@
1
1
  import express from "express";
2
+ import { fileURLToPath } from "node:url";
3
+ import path from "node:path";
2
4
 
3
5
  import { activityController } from "./lib/controllers/activity.js";
4
6
  import { changelogController } from "./lib/controllers/changelog.js";
@@ -40,6 +42,10 @@ export default class GitHubEndpoint {
40
42
  return ["GITHUB_TOKEN"];
41
43
  }
42
44
 
45
+ get localesDirectory() {
46
+ return path.join(path.dirname(fileURLToPath(import.meta.url)), "locales");
47
+ }
48
+
43
49
  get navigationItems() {
44
50
  return {
45
51
  href: this.options.mountPath,
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "GitHub-Aktivität",
5
+ "viewAll": "Alle anzeigen",
6
+ "error": {
7
+ "noUsername": "Kein GitHub-Benutzername konfiguriert. Fügen Sie einen Benutzernamen in Ihrer Indiekit-Konfiguration hinzu."
8
+ },
9
+ "featured": {
10
+ "title": "Ausgewählte Projekte",
11
+ "none": "Keine ausgewählten Repositories konfiguriert"
12
+ },
13
+ "commits": {
14
+ "title": "Aktuelle Commits",
15
+ "none": "Keine aktuellen Commits"
16
+ },
17
+ "stars": {
18
+ "title": "Kürzlich mit Stern versehen",
19
+ "none": "Keine mit Stern versehenen Repositories"
20
+ },
21
+ "contributions": {
22
+ "title": "PRs & Issues",
23
+ "none": "Keine aktuellen Beiträge"
24
+ },
25
+ "repos": {
26
+ "title": "Meine Repositories",
27
+ "none": "Keine Repositories gefunden"
28
+ },
29
+ "activity": {
30
+ "title": "Aktivität in meinen Repos",
31
+ "none": "Keine aktuellen Aktivitäten von anderen"
32
+ },
33
+ "widget": {
34
+ "description": "Zeigen Sie Ihre GitHub-Aktivität, Commits, Sterne und Beiträge an.",
35
+ "view": "Aktivität anzeigen"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "Actividad en GitHub",
5
+ "viewAll": "Ver todo",
6
+ "error": {
7
+ "noUsername": "No hay un nombre de usuario de GitHub configurado. Agrega un nombre de usuario en tu configuración de Indiekit."
8
+ },
9
+ "featured": {
10
+ "title": "Proyectos destacados",
11
+ "none": "No hay repositorios destacados configurados"
12
+ },
13
+ "commits": {
14
+ "title": "Commits recientes",
15
+ "none": "No hay commits recientes"
16
+ },
17
+ "stars": {
18
+ "title": "Destacados recientemente",
19
+ "none": "No hay repositorios destacados"
20
+ },
21
+ "contributions": {
22
+ "title": "PRs e Issues",
23
+ "none": "No hay contribuciones recientes"
24
+ },
25
+ "repos": {
26
+ "title": "Mis repositorios",
27
+ "none": "No se encontraron repositorios"
28
+ },
29
+ "activity": {
30
+ "title": "Actividad en mis repos",
31
+ "none": "No hay actividad reciente de otros"
32
+ },
33
+ "widget": {
34
+ "description": "Visualiza tu actividad en GitHub, commits, estrellas y contribuciones.",
35
+ "view": "Ver actividad"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "Actividad en GitHub",
5
+ "viewAll": "Ver todo",
6
+ "error": {
7
+ "noUsername": "No hay un nombre de usuario de GitHub configurado. Añade un nombre de usuario en tu configuración de Indiekit."
8
+ },
9
+ "featured": {
10
+ "title": "Proyectos destacados",
11
+ "none": "No hay repositorios destacados configurados"
12
+ },
13
+ "commits": {
14
+ "title": "Commits recientes",
15
+ "none": "No hay commits recientes"
16
+ },
17
+ "stars": {
18
+ "title": "Destacados recientemente",
19
+ "none": "No hay repositorios destacados"
20
+ },
21
+ "contributions": {
22
+ "title": "PRs e Issues",
23
+ "none": "No hay contribuciones recientes"
24
+ },
25
+ "repos": {
26
+ "title": "Mis repositorios",
27
+ "none": "No se han encontrado repositorios"
28
+ },
29
+ "activity": {
30
+ "title": "Actividad en mis repos",
31
+ "none": "No hay actividad reciente de otros"
32
+ },
33
+ "widget": {
34
+ "description": "Consulta tu actividad en GitHub, commits, estrellas y contribuciones.",
35
+ "view": "Ver actividad"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "Activité GitHub",
5
+ "viewAll": "Tout voir",
6
+ "error": {
7
+ "noUsername": "Aucun nom d'utilisateur GitHub configuré. Ajoutez un nom d'utilisateur dans votre configuration Indiekit."
8
+ },
9
+ "featured": {
10
+ "title": "Projets en vedette",
11
+ "none": "Aucun dépôt en vedette configuré"
12
+ },
13
+ "commits": {
14
+ "title": "Commits récents",
15
+ "none": "Aucun commit récent"
16
+ },
17
+ "stars": {
18
+ "title": "Récemment ajoutés aux favoris",
19
+ "none": "Aucun dépôt en favori"
20
+ },
21
+ "contributions": {
22
+ "title": "PRs et Issues",
23
+ "none": "Aucune contribution récente"
24
+ },
25
+ "repos": {
26
+ "title": "Mes dépôts",
27
+ "none": "Aucun dépôt trouvé"
28
+ },
29
+ "activity": {
30
+ "title": "Activité sur mes dépôts",
31
+ "none": "Aucune activité récente des autres"
32
+ },
33
+ "widget": {
34
+ "description": "Consultez votre activité GitHub, vos commits, favoris et contributions.",
35
+ "view": "Voir l'activité"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "GitHub गतिविधि",
5
+ "viewAll": "सभी देखें",
6
+ "error": {
7
+ "noUsername": "कोई GitHub उपयोगकर्ता नाम कॉन्फ़िगर नहीं किया गया। अपनी Indiekit कॉन्फ़िगरेशन में एक उपयोगकर्ता नाम जोड़ें।"
8
+ },
9
+ "featured": {
10
+ "title": "फ़ीचर्ड प्रोजेक्ट",
11
+ "none": "कोई फ़ीचर्ड रिपॉज़िटरी कॉन्फ़िगर नहीं की गई"
12
+ },
13
+ "commits": {
14
+ "title": "हाल के कमिट",
15
+ "none": "कोई हाल के कमिट नहीं"
16
+ },
17
+ "stars": {
18
+ "title": "हाल ही में स्टार किए गए",
19
+ "none": "कोई स्टार की गई रिपॉज़िटरी नहीं"
20
+ },
21
+ "contributions": {
22
+ "title": "PRs और Issues",
23
+ "none": "कोई हाल के योगदान नहीं"
24
+ },
25
+ "repos": {
26
+ "title": "मेरी रिपॉज़िटरी",
27
+ "none": "कोई रिपॉज़िटरी नहीं मिली"
28
+ },
29
+ "activity": {
30
+ "title": "मेरी repos पर गतिविधि",
31
+ "none": "दूसरों से कोई हाल की गतिविधि नहीं"
32
+ },
33
+ "widget": {
34
+ "description": "अपनी GitHub गतिविधि, कमिट, स्टार और योगदान देखें।",
35
+ "view": "गतिविधि देखें"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "Aktivitas GitHub",
5
+ "viewAll": "Lihat semua",
6
+ "error": {
7
+ "noUsername": "Tidak ada nama pengguna GitHub yang dikonfigurasi. Tambahkan nama pengguna di konfigurasi Indiekit Anda."
8
+ },
9
+ "featured": {
10
+ "title": "Proyek Unggulan",
11
+ "none": "Tidak ada repositori unggulan yang dikonfigurasi"
12
+ },
13
+ "commits": {
14
+ "title": "Commit terkini",
15
+ "none": "Tidak ada commit terkini"
16
+ },
17
+ "stars": {
18
+ "title": "Baru diberi bintang",
19
+ "none": "Tidak ada repositori berbintang"
20
+ },
21
+ "contributions": {
22
+ "title": "PR & Issue",
23
+ "none": "Tidak ada kontribusi terkini"
24
+ },
25
+ "repos": {
26
+ "title": "Repositori saya",
27
+ "none": "Tidak ada repositori ditemukan"
28
+ },
29
+ "activity": {
30
+ "title": "Aktivitas di repo saya",
31
+ "none": "Tidak ada aktivitas terkini dari orang lain"
32
+ },
33
+ "widget": {
34
+ "description": "Lihat aktivitas GitHub, commit, bintang, dan kontribusi Anda.",
35
+ "view": "Lihat aktivitas"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "Attività GitHub",
5
+ "viewAll": "Vedi tutto",
6
+ "error": {
7
+ "noUsername": "Nessun nome utente GitHub configurato. Aggiungi un nome utente nella tua configurazione Indiekit."
8
+ },
9
+ "featured": {
10
+ "title": "Progetti in evidenza",
11
+ "none": "Nessun repository in evidenza configurato"
12
+ },
13
+ "commits": {
14
+ "title": "Commit recenti",
15
+ "none": "Nessun commit recente"
16
+ },
17
+ "stars": {
18
+ "title": "Aggiunti di recente alle stelle",
19
+ "none": "Nessun repository con stelle"
20
+ },
21
+ "contributions": {
22
+ "title": "PR e Issue",
23
+ "none": "Nessun contributo recente"
24
+ },
25
+ "repos": {
26
+ "title": "I miei repository",
27
+ "none": "Nessun repository trovato"
28
+ },
29
+ "activity": {
30
+ "title": "Attività sui miei repos",
31
+ "none": "Nessuna attività recente da altri"
32
+ },
33
+ "widget": {
34
+ "description": "Visualizza la tua attività GitHub, commit, stelle e contributi.",
35
+ "view": "Vedi attività"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "GitHub-activiteit",
5
+ "viewAll": "Alles bekijken",
6
+ "error": {
7
+ "noUsername": "Geen GitHub-gebruikersnaam geconfigureerd. Voeg een gebruikersnaam toe in je Indiekit-configuratie."
8
+ },
9
+ "featured": {
10
+ "title": "Uitgelichte projecten",
11
+ "none": "Geen uitgelichte repositories geconfigureerd"
12
+ },
13
+ "commits": {
14
+ "title": "Recente commits",
15
+ "none": "Geen recente commits"
16
+ },
17
+ "stars": {
18
+ "title": "Recent met ster gemarkeerd",
19
+ "none": "Geen repositories met ster"
20
+ },
21
+ "contributions": {
22
+ "title": "PR's & Issues",
23
+ "none": "Geen recente bijdragen"
24
+ },
25
+ "repos": {
26
+ "title": "Mijn repositories",
27
+ "none": "Geen repositories gevonden"
28
+ },
29
+ "activity": {
30
+ "title": "Activiteit op mijn repos",
31
+ "none": "Geen recente activiteit van anderen"
32
+ },
33
+ "widget": {
34
+ "description": "Bekijk je GitHub-activiteit, commits, sterren en bijdragen.",
35
+ "view": "Activiteit bekijken"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "Aktywność na GitHub",
5
+ "viewAll": "Zobacz wszystkie",
6
+ "error": {
7
+ "noUsername": "Nie skonfigurowano nazwy użytkownika GitHub. Dodaj nazwę użytkownika w konfiguracji Indiekit."
8
+ },
9
+ "featured": {
10
+ "title": "Wyróżnione projekty",
11
+ "none": "Nie skonfigurowano wyróżnionych repozytoriów"
12
+ },
13
+ "commits": {
14
+ "title": "Ostatnie commity",
15
+ "none": "Brak ostatnich commitów"
16
+ },
17
+ "stars": {
18
+ "title": "Ostatnio oznaczone gwiazdką",
19
+ "none": "Brak repozytoriów oznaczonych gwiazdką"
20
+ },
21
+ "contributions": {
22
+ "title": "PR-y i Issues",
23
+ "none": "Brak ostatnich wkładów"
24
+ },
25
+ "repos": {
26
+ "title": "Moje repozytoria",
27
+ "none": "Nie znaleziono repozytoriów"
28
+ },
29
+ "activity": {
30
+ "title": "Aktywność w moich repach",
31
+ "none": "Brak ostatniej aktywności innych"
32
+ },
33
+ "widget": {
34
+ "description": "Zobacz swoją aktywność na GitHub, commity, gwiazdki i wkłady.",
35
+ "view": "Zobacz aktywność"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "Atividade no GitHub",
5
+ "viewAll": "Ver tudo",
6
+ "error": {
7
+ "noUsername": "Nenhum nome de usuário do GitHub configurado. Adicione um nome de usuário na sua configuração do Indiekit."
8
+ },
9
+ "featured": {
10
+ "title": "Projetos em destaque",
11
+ "none": "Nenhum repositório em destaque configurado"
12
+ },
13
+ "commits": {
14
+ "title": "Commits recentes",
15
+ "none": "Nenhum commit recente"
16
+ },
17
+ "stars": {
18
+ "title": "Recentemente destacados",
19
+ "none": "Nenhum repositório com estrela"
20
+ },
21
+ "contributions": {
22
+ "title": "PRs e Issues",
23
+ "none": "Nenhuma contribuição recente"
24
+ },
25
+ "repos": {
26
+ "title": "Meus repositórios",
27
+ "none": "Nenhum repositório encontrado"
28
+ },
29
+ "activity": {
30
+ "title": "Atividade nos meus repos",
31
+ "none": "Nenhuma atividade recente de outros"
32
+ },
33
+ "widget": {
34
+ "description": "Veja sua atividade no GitHub, commits, estrelas e contribuições.",
35
+ "view": "Ver atividade"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "Atividade no GitHub",
5
+ "viewAll": "Ver tudo",
6
+ "error": {
7
+ "noUsername": "Nenhum nome de utilizador do GitHub configurado. Adicione um nome de utilizador na sua configuração do Indiekit."
8
+ },
9
+ "featured": {
10
+ "title": "Projetos em destaque",
11
+ "none": "Nenhum repositório em destaque configurado"
12
+ },
13
+ "commits": {
14
+ "title": "Commits recentes",
15
+ "none": "Nenhum commit recente"
16
+ },
17
+ "stars": {
18
+ "title": "Recentemente destacados",
19
+ "none": "Nenhum repositório com estrela"
20
+ },
21
+ "contributions": {
22
+ "title": "PRs e Issues",
23
+ "none": "Nenhuma contribuição recente"
24
+ },
25
+ "repos": {
26
+ "title": "Os meus repositórios",
27
+ "none": "Nenhum repositório encontrado"
28
+ },
29
+ "activity": {
30
+ "title": "Atividade nos meus repos",
31
+ "none": "Nenhuma atividade recente de outros"
32
+ },
33
+ "widget": {
34
+ "description": "Consulte a sua atividade no GitHub, commits, estrelas e contribuições.",
35
+ "view": "Ver atividade"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "GitHub активност",
5
+ "viewAll": "Прикажи све",
6
+ "error": {
7
+ "noUsername": "Није конфигурисано корисничко име за GitHub. Додајте корисничко име у вашој Indiekit конфигурацији."
8
+ },
9
+ "featured": {
10
+ "title": "Истакнути пројекти",
11
+ "none": "Нису конфигурисани истакнути репозиторијуми"
12
+ },
13
+ "commits": {
14
+ "title": "Недавни commits",
15
+ "none": "Нема недавних commits"
16
+ },
17
+ "stars": {
18
+ "title": "Недавно означено звездицом",
19
+ "none": "Нема репозиторијума са звездицом"
20
+ },
21
+ "contributions": {
22
+ "title": "PR-ови и Issues",
23
+ "none": "Нема недавних доприноса"
24
+ },
25
+ "repos": {
26
+ "title": "Моји репозиторијуми",
27
+ "none": "Није пронађен ниједан репозиторијум"
28
+ },
29
+ "activity": {
30
+ "title": "Активност на мојим репоима",
31
+ "none": "Нема недавне активности од других"
32
+ },
33
+ "widget": {
34
+ "description": "Погледајте вашу GitHub активност, commits, звездице и доприносе.",
35
+ "view": "Прикажи активност"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "GitHub-aktivitet",
5
+ "viewAll": "Visa alla",
6
+ "error": {
7
+ "noUsername": "Inget GitHub-användarnamn konfigurerat. Lägg till ett användarnamn i din Indiekit-konfiguration."
8
+ },
9
+ "featured": {
10
+ "title": "Utvalda projekt",
11
+ "none": "Inga utvalda arkiv konfigurerade"
12
+ },
13
+ "commits": {
14
+ "title": "Senaste commits",
15
+ "none": "Inga senaste commits"
16
+ },
17
+ "stars": {
18
+ "title": "Nyligen stjärnmärkta",
19
+ "none": "Inga stjärnmärkta arkiv"
20
+ },
21
+ "contributions": {
22
+ "title": "PR:ar & Issues",
23
+ "none": "Inga senaste bidrag"
24
+ },
25
+ "repos": {
26
+ "title": "Mina arkiv",
27
+ "none": "Inga arkiv hittades"
28
+ },
29
+ "activity": {
30
+ "title": "Aktivitet i mina repos",
31
+ "none": "Ingen senaste aktivitet från andra"
32
+ },
33
+ "widget": {
34
+ "description": "Visa din GitHub-aktivitet, commits, stjärnor och bidrag.",
35
+ "view": "Visa aktivitet"
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "github": {
3
+ "title": "GitHub",
4
+ "activity": "GitHub 活动",
5
+ "viewAll": "查看全部",
6
+ "error": {
7
+ "noUsername": "未配置 GitHub 用户名。请在您的 Indiekit 配置中添加用户名。"
8
+ },
9
+ "featured": {
10
+ "title": "精选项目",
11
+ "none": "未配置精选仓库"
12
+ },
13
+ "commits": {
14
+ "title": "最近提交",
15
+ "none": "暂无最近提交"
16
+ },
17
+ "stars": {
18
+ "title": "最近加星",
19
+ "none": "暂无加星仓库"
20
+ },
21
+ "contributions": {
22
+ "title": "PR 和 Issue",
23
+ "none": "暂无最近贡献"
24
+ },
25
+ "repos": {
26
+ "title": "我的仓库",
27
+ "none": "未找到仓库"
28
+ },
29
+ "activity": {
30
+ "title": "我的仓库活动",
31
+ "none": "暂无其他人的最近活动"
32
+ },
33
+ "widget": {
34
+ "description": "查看您的 GitHub 活动、提交、星标和贡献。",
35
+ "view": "查看活动"
36
+ }
37
+ }
38
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rmdes/indiekit-endpoint-github",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "GitHub activity endpoint for Indiekit. Display commits, stars, contributions, and featured repositories.",
5
5
  "keywords": [
6
6
  "indiekit",