From 6bcc98d99d919d895aca531e4168b5224bc94a90 Mon Sep 17 00:00:00 2001 From: Joseph Madamba Date: Tue, 24 Oct 2023 00:57:32 -0700 Subject: [PATCH] fix: fix `WakaTime` brand casing (#3411) * `Wakatime` -> `WakaTime` * Fix wrong `WakaTime` brand naming on tr translation * `wakatime stats` -> `WakaTime stats` --- docs/readme_de.md | 16 +-- docs/readme_es.md | 20 ++-- docs/readme_kr.md | 14 +-- docs/readme_nl.md | 18 +-- docs/readme_np.md | 10 +- docs/readme_pt-BR.md | 12 +- docs/readme_tr.md | 20 ++-- readme.md | 22 ++-- scripts/generate-theme-doc.js | 4 +- src/translations.js | 110 +++++++++--------- .../renderWakatimeCard.test.js.snap | 10 +- tests/fetchWakatime.test.js | 2 +- tests/renderWakatimeCard.test.js | 6 +- 13 files changed, 132 insertions(+), 132 deletions(-) diff --git a/docs/readme_de.md b/docs/readme_de.md index 98e5adca86d3c..edc5f8b24c695 100644 --- a/docs/readme_de.md +++ b/docs/readme_de.md @@ -75,7 +75,7 @@ - [Verbirg einzelne Sprachen](#verbirg-einzelne-sprachen) - [Kompaktes Sprachen-Karte Layout](#kompaktes-sprachen-karte-layout) - [Beispiel](#beispiel) -- [Wakatime Wochen-Statistik](#wakatime-wochen-statistik) +- [WakaTime Wochen-Statistik](#wakatime-wochen-statistik) - [Beispiel](#beispiel-1) - [Alle Beispiele](#alle-beispiele) - [Kleiner Tipp (Ausrichten der Repo-Karte)](#kleiner-tipp-ausrichten-der-repo-karte) @@ -189,7 +189,7 @@ Du kannst mehrere, mit Kommas separierte, Werte in der bg_color Option angeben, - `layout` - Wechselt zwischen zwei verschiedenen Layouts: `default` & `compact` - `langs_count` - Begrenzt die Anzahl der angezeigten Sprachen auf der Karte - `api_domain` - Legt eine benutzerdefinierte API Domain fest, z.B. für [Hakatime](https://github.com/mujx/hakatime) oder [Wakapi](https://github.com/muety/wakapi) -- `range` – Fragt eine andere Zeitspanne an, als jene, welche standardmäßig in Wakatime hinterlegt ist. Zum Beispiel `last_7_days`. Siehe [WakaTime API Dokumentation](https://wakatime.com/developers#stats). +- `range` – Fragt eine andere Zeitspanne an, als jene, welche standardmäßig in WakaTime hinterlegt ist. Zum Beispiel `last_7_days`. Siehe [WakaTime API Dokumentation](https://wakatime.com/developers#stats). --- @@ -260,23 +260,23 @@ Du kannst die `&layout=compact` Option nutzen, um das Kartendesign zu ändern. [![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=anuraghazra&layout=compact)](https://github.com/anuraghazra/github-readme-stats) -# Wakatime Wochen-Statistik +# WakaTime Wochen-Statistik -Ändere `?username=` in den eigenen [Wakatime](https://wakatime.com)-Benutzernamen. +Ändere `?username=` in den eigenen [WakaTime](https://wakatime.com)-Benutzernamen. ```md -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) ``` ### Beispiel -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&hide_progress=true)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&hide_progress=true)](https://github.com/anuraghazra/github-readme-stats) - Kompaktes Layout -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&layout=compact)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&layout=compact)](https://github.com/anuraghazra/github-readme-stats) --- diff --git a/docs/readme_es.md b/docs/readme_es.md index 9444cda18a420..89f647f7e08c7 100644 --- a/docs/readme_es.md +++ b/docs/readme_es.md @@ -78,7 +78,7 @@ - [Mostrar más lenguajes](#mostrar-más-lenguajes) - [Diseño Compacto de Tarjeta de Lenguaje](#diseño-compacto-de-tarjeta-de-lenguaje) - [Ejemplo](#ejemplo-1) -- [Estadísticas de la semana de Wakatime](#estadísticas-de-la-semana-de-wakatime) +- [Estadísticas de la semana de WakaTime](#estadísticas-de-la-semana-de-wakatime) - [Ejemplo](#ejemplo-2) - [Todos los ejemplos](#todos-los-ejemplos) - [Consejo rápido (para alinear las tarjetas de repositorio)](#consejo-rápido-para-alinear-las-tarjetas-de-repositorio) @@ -200,7 +200,7 @@ Puedes pasar mútliples valores separados por coma en la opción `bg_color` para > Los nombres de los lenguajes deben estar codificados para URLs, como se especifica en [Código porciento](https://es.wikipedia.org/wiki/C%C3%B3digo_porciento) > (es decir: `c++` debería convertirse en `c%2B%2B`,`jupyter notebook` debería convertirse en `jupyter%20notebook`, etc.) -#### Opciones exclusivas de la Tarjeta de Wakatime: +#### Opciones exclusivas de la Tarjeta de WakaTime: - `hide_title` - _(booleano)_ - `line_height` - Establece el alto de línea entre texto _(número)_ @@ -292,23 +292,23 @@ Puedes usar la opción `& layout = compact` para cambiar el diseño de la tarjet [![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=anuraghazra&layout=compact)](https://github.com/anuraghazra/github-readme-stats) -# Estadísticas de la semana de Wakatime +# Estadísticas de la semana de WakaTime -cambia el valor del parámetro `?username=` a tu username en [Wakatime](https://wakatime.com). +cambia el valor del parámetro `?username=` a tu username en [WakaTime](https://wakatime.com). ```md -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) ``` ### Ejemplo -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&hide_progress=true)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&hide_progress=true)](https://github.com/anuraghazra/github-readme-stats) - Diseño compacto -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&layout=compact)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&layout=compact)](https://github.com/anuraghazra/github-readme-stats) --- @@ -356,9 +356,9 @@ Escoja cualquiera de los [temas por defecto](#themes) [![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=anuraghazra)](https://github.com/anuraghazra/github-readme-stats) -- Tarjeta de Wakatime +- Tarjeta de WakaTime -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) --- diff --git a/docs/readme_kr.md b/docs/readme_kr.md index eaddc59ac35ff..178d0342506f2 100644 --- a/docs/readme_kr.md +++ b/docs/readme_kr.md @@ -77,7 +77,7 @@ - [표시할 언어 수 지정하기](#표시할-언어-수-지정하기) - [컴택트한 카드 레이아웃 설정하기](#컴택트한-카드-레이아웃-설정하기) - [미리보기](#미리보기-1) -- [Wakatime 주간 통계](#wakatime-주간-통계) +- [WakaTime 주간 통계](#wakatime-주간-통계) - [미리보기](#미리보기-2) - [전체 미리보기](#전체-미리보기) - [꿀팁 (저장소 핀 정렬하기)](#꿀팁-저장소-핀-정렬하기) @@ -216,7 +216,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr > ( 예를 들면, `c++` 는 `c%2B%2B`, `jupyter notebook` 는 `jupyter%20notebook`, 등등. ) > [urlencoder.org](https://www.urlencoder.org/) < 서비스를 이용하면 자동으로 생성할 수 있습니다. -#### Wakatime 카드의 표시 제한 옵션: +#### WakaTime 카드의 표시 제한 옵션: - `hide_title` - 타이틀 제외 _(boolean)_ - `line_height` - 텍스트 간 줄 높이 설정(자간) _(number)_ @@ -308,12 +308,12 @@ _참고: [![언어 사용량 통계](https://github-readme-stats.vercel.app/api/top-langs/?username=anuraghazra&layout=compact)](https://github.com/anuraghazra/github-readme-stats) -# Wakatime 주간 통계 +# WakaTime 주간 통계 -`?username=` 속성의 값을 [Wakatime](https://wakatime.com) 계정의 사용자 명(닉네임)으로 바꿔주세요. +`?username=` 속성의 값을 [WakaTime](https://wakatime.com) 계정의 사용자 명(닉네임)으로 바꿔주세요. ```md -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) ``` ### 미리보기 @@ -372,9 +372,9 @@ _참고: [![언어 사용량 통계](https://github-readme-stats.vercel.app/api/top-langs/?username=anuraghazra)](https://github.com/anuraghazra/github-readme-stats) -- Wakatime 카드 +- WakaTime 카드 -[![Harlok 님의 Wakatime 카드](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok 님의 WakaTime 카드](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) --- diff --git a/docs/readme_nl.md b/docs/readme_nl.md index a2edf14876ff8..7fbec69971517 100644 --- a/docs/readme_nl.md +++ b/docs/readme_nl.md @@ -77,7 +77,7 @@ - [Laat meer programmeertalen zien](#laat-meer-programmeertalen-zien) - [Compacte Talen Kaart opmaak](#compacte-talen-kaart-opmaak) - [Demo](#demo-1) -- [Wekelijkse Wakatime Statistieken](#wekelijkse-wakatime-statistieken) +- [Wekelijkse WakaTime Statistieken](#wekelijkse-wakatime-statistieken) - [Demo](#demo-2) - [Alle demos](#alle-demos) - [Kleine tip (Verstel de repo kaart z'n positie)](#kleine-tip-verstel-de-repo-kaart-zn-positie) @@ -202,7 +202,7 @@ Je kan meerdere komma verdeelde waarden in de bg_color optie geven om een kleure > (Oftewel: `c++` moet `c%2B%2B` worden, `jupyter notebook` moet `jupyter%20notebook` worden, enzovoort...) > Zie [urlencoder.org](https://www.urlencoder.org/) om dit automatisch te doen. -#### Exclusieve opties voor Wakatime Kaart: +#### Exclusieve opties voor WakaTime Kaart: - `hide_title` - _(boolean)_ - `line_height` - Verandert de lijn hoogte tussen tekst _(nummer)_ @@ -293,19 +293,19 @@ Je kan de `&layout=compact` optie gebruiken om het kaart ontwerp aan te passen. [![Top programmeertalen](https://github-readme-stats.vercel.app/api/top-langs/?username=anuraghazra&layout=compact)](https://github.com/anuraghazra/github-readme-stats) -# Wekelijkse Wakatime Statistieken +# Wekelijkse WakaTime Statistieken -Verander de `?username=` waarde naar je [Wakatime](https://wakatime.com) gebruikersnaam. +Verander de `?username=` waarde naar je [WakaTime](https://wakatime.com) gebruikersnaam. ```md -[![Harlok's Wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) ``` ### Demo -[![Harlok's Wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) -[![Harlok's Wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&hide_progress=true)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&hide_progress=true)](https://github.com/anuraghazra/github-readme-stats) --- @@ -353,9 +353,9 @@ Kies uit de [standaard thema\'s](#themes) [![Top Programmeertalen](https://github-readme-stats.vercel.app/api/top-langs/?username=anuraghazra)](https://github.com/anuraghazra/github-readme-stats) -- Wakatime kaart +- WakaTime kaart -[![Harlok's Wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) --- diff --git a/docs/readme_np.md b/docs/readme_np.md index 788c9918160a5..f5909ae718219 100644 --- a/docs/readme_np.md +++ b/docs/readme_np.md @@ -291,17 +291,17 @@ You can use the `&langs_count=` option to increase or decrease the number of lan # वाका समय वीक स्तट्स -Change the `?username=` value to your [Wakatime](https://wakatime.com) username. +Change the `?username=` value to your [WakaTime](https://wakatime.com) username. ```md -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) ``` ### डेमो -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&hide_progress=true)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&hide_progress=true)](https://github.com/anuraghazra/github-readme-stats) --- @@ -351,7 +351,7 @@ Change the `?username=` value to your [Wakatime](https://wakatime.com) username. - वक समय कार्ड -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) --- diff --git a/docs/readme_pt-BR.md b/docs/readme_pt-BR.md index 37707dd7d0df6..35c334131ee93 100644 --- a/docs/readme_pt-BR.md +++ b/docs/readme_pt-BR.md @@ -75,7 +75,7 @@ - [Ocultar linguagens individualmente](#ocultar-linguagens-individualmente) - [Layout de cartão de linguagens compacto](#layout-de-cartão-de-linguagens-compacto) - [Demonstração](#demonstração-1) -- [Estatística semanal Wakatime](#estatística-semanal-wakatime) +- [Estatística semanal WakaTime](#estatística-semanal-wakatime) - [Demonstração](#demonstração-2) - [Todas as demonstrações](#todas-as-demonstrações) - [Dica (Alinhandos os cartões de repositório)](#dica-alinhandos-os-cartões-de-repositório) @@ -250,19 +250,19 @@ Utilize a opção `&layout=compact` para mudar o layout do cartão. [![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=anuraghazra&layout=compact)](https://github.com/anuraghazra/github-readme-stats) -# Estatística semanal Wakatime +# Estatística semanal WakaTime -Altere o valor de `?username=` para o seu username do Wakatime. +Altere o valor de `?username=` para o seu username do WakaTime. ```md -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) ``` ### Demonstração -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&hide_progress=true)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&hide_progress=true)](https://github.com/anuraghazra/github-readme-stats) --- diff --git a/docs/readme_tr.md b/docs/readme_tr.md index 16b2f062d5947..f654cd95cf252 100644 --- a/docs/readme_tr.md +++ b/docs/readme_tr.md @@ -77,7 +77,7 @@ - [Daha Fazla Dil Gösterin](#daha-fazla-dil-gösterin) - [Kompakt Dil Kartı Düzeni](#kompakt-dil-kartı-düzeni) - [Demo](#demo-1) -- [Wakatime Haftalık İstatistikler](#wakatime-haftalık-i̇statistikler) +- [WakaTime Haftalık İstatistikler](#wakatime-haftalık-i̇statistikler) - [Demo](#demo-2) - [Tüm Demolar](#tüm-demolar) - [Hızlı İpucu (Repo Kartları Hizlayın)](#hızlı-i̇pucu-repo-kartları-hizlayın) @@ -202,7 +202,7 @@ bg_color içerisinde birden fazla rengi gradient olarak göstermek için virgül > (ör: `c++` yerine `c%2B%2B`, `jupyter notebook` yerine `jupyter%20notebook`, vb.) > [urlencoder.org](https://www.urlencoder.org/) adresini kullanarak otomatik olarak değerleri bu şekle çevirebilirsiniz. -#### Wakatime Kart Exclusive Özellikler: +#### WakaTime Kart Exclusive Özellikler: - `hide_title` - _(boolean)_ - `line_height` - Satır aralığı yüksekliği _(number)_ @@ -292,23 +292,23 @@ Endpoint: `api/top-langs?username=mustafacagri` [![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=mustafacagri&layout=compact)](https://github.com/anuraghazra/github-readme-stats) -# Wakatime Haftalık İstatistikler +# WakaTime Haftalık İstatistikler -`?username=` değerini [Wakatime](https://wakatime.com)'daki kullanıcı adınızla değiştirin. +`?username=` değerini [WakaTime](https://wakatime.com)'daki kullanıcı adınızla değiştirin. ```md -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) ``` ### Demo -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&hide_progress=true)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&hide_progress=true)](https://github.com/anuraghazra/github-readme-stats) - Kompakt Düzen -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&layout=compact)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs&layout=compact)](https://github.com/anuraghazra/github-readme-stats) --- @@ -356,9 +356,9 @@ Endpoint: `api/top-langs?username=mustafacagri` [![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=anuraghazra)](https://github.com/anuraghazra/github-readme-stats) -- Wakatime kart +- WakaTime kart -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) --- diff --git a/readme.md b/readme.md index 296ca495ed3f9..a010eca3b6d5f 100644 --- a/readme.md +++ b/readme.md @@ -109,7 +109,7 @@ Please visit [this link](https://give.do/fundraisers/stand-beside-the-victims-of - [Pie Chart Language Card Layout](#pie-chart-language-card-layout) - [Hide Progress Bars](#hide-progress-bars) - [Demo](#demo-2) -- [Wakatime Stats Card](#wakatime-stats-card) +- [WakaTime Stats Card](#wakatime-stats-card) - [Demo](#demo-3) - [All Demos](#all-demos) - [Quick Tip (Align The Cards)](#quick-tip-align-the-cards) @@ -410,13 +410,13 @@ If we don't support your language, please consider contributing! You can find mo > (i.e: `c++` should become `c%2B%2B`, `jupyter notebook` should become `jupyter%20notebook`, etc.) You can use > [urlencoder.org](https://www.urlencoder.org/) to help you do this automatically. -#### Wakatime Card Exclusive Options +#### WakaTime Card Exclusive Options * `hide` - Hides the languages specified from the card *(Comma-separated values)*. Default: `[] (blank array)`. * `hide_title` - *(boolean)*. Default `false`. * `line_height` - Sets the line height between text *(number)*. Default `25`. * `hide_progress` - Hides the progress bar and percentage *(boolean)*. Default `false`. -* `custom_title` - Sets a custom title for the card *(string)*. Default `Wakatime Stats`. +* `custom_title` - Sets a custom title for the card *(string)*. Default `WakaTime Stats`. * `layout` - Switches between two available layouts `default` & `compact`. Default `default`. * `langs_count` - Limits the number of languages on the card, defaults to all reported languages *(number)*. * `api_domain` - Sets a custom API domain for the card, e.g. to use services like [Hakatime](https://github.com/mujx/hakatime) or [Wakapi](https://github.com/muety/wakapi) *(string)*. Default `Waka API`. @@ -601,26 +601,26 @@ You can use the `&hide_progress=true` option to hide the percentages and the pro ![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=anuraghazra\&hide_progress=true) -# Wakatime Stats Card +# WakaTime Stats Card > [!WARNING]\ -> Please be aware that we currently only show data from Wakatime profiles that are public. You therefore have to make sure that **BOTH** `Display code time publicly` and `Display languages, editors, os, categories publicly` are enabled. +> Please be aware that we currently only show data from WakaTime profiles that are public. You therefore have to make sure that **BOTH** `Display code time publicly` and `Display languages, editors, os, categories publicly` are enabled. -Change the `?username=` value to your [Wakatime](https://wakatime.com) username. +Change the `?username=` value to your [WakaTime](https://wakatime.com) username. ```md -[![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) +[![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs)](https://github.com/anuraghazra/github-readme-stats) ``` ### Demo -![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs) +![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs) -![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs\&hide_progress=true) +![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs\&hide_progress=true) * Compact layout -![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs\&layout=compact) +![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs\&layout=compact) *** @@ -694,7 +694,7 @@ Choose from any of the [default themes](#themes) * WakaTime card -![Harlok's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs) +![Harlok's WakaTime stats](https://github-readme-stats.vercel.app/api/wakatime?username=ffflabs) *** diff --git a/scripts/generate-theme-doc.js b/scripts/generate-theme-doc.js index 524ddecbe3bee..1716ea6e95122 100644 --- a/scripts/generate-theme-doc.js +++ b/scripts/generate-theme-doc.js @@ -22,7 +22,7 @@ Use \`?theme=THEME_NAME\` parameter like so: ## Stats -> These themes works with all five our cards: Stats Card, Repo Card, Gist Card, Top languages Card and Wakatime Card. +> These themes works with all five our cards: Stats Card, Repo Card, Gist Card, Top languages Card and WakaTime Card. | | | | | :--: | :--: | :--: | @@ -30,7 +30,7 @@ ${STAT_CARD_TABLE_FLAG} ## Repo Card -> These themes works with all five our cards: Stats Card, Repo Card, Gist Card, Top languages Card and Wakatime Card. +> These themes works with all five our cards: Stats Card, Repo Card, Gist Card, Top languages Card and WakaTime Card. | | | | | :--: | :--: | :--: | diff --git a/src/translations.js b/src/translations.js index 1ced5f69263fd..865fd4ae2f809 100644 --- a/src/translations.js +++ b/src/translations.js @@ -521,34 +521,34 @@ const langCardLocales = { const wakatimeCardLocales = { "wakatimecard.title": { ar: "إحصائيات واكا تايم", - cn: "Wakatime 周统计", - "zh-tw": "Wakatime 周統計", - cs: "Statistiky Wakatime", - de: "Wakatime Status", - en: "Wakatime Stats", - bn: "Wakatime স্ট্যাটাস", - es: "Estadísticas de Wakatime", - fr: "Statistiques de Wakatime", - hu: "Wakatime statisztika", - it: "Statistiche Wakatime", - ja: "Wakatime ワカタイム統計", - kr: "Wakatime 주간 통계", - nl: "Wakatime-statistieken", - "pt-pt": "Estatísticas Wakatime", - "pt-br": "Estatísticas Wakatime", - np: "Wakatime तथ्या .्क", - el: "Στατιστικά Wakatime", - ru: "Статистика Wakatime", - "uk-ua": "Статистика Wakatime", - id: "Status Wakatime", + cn: "WakaTime 周统计", + "zh-tw": "WakaTime 周統計", + cs: "Statistiky WakaTime", + de: "WakaTime Status", + en: "WakaTime Stats", + bn: "WakaTime স্ট্যাটাস", + es: "Estadísticas de WakaTime", + fr: "Statistiques de WakaTime", + hu: "WakaTime statisztika", + it: "Statistiche WakaTime", + ja: "WakaTime ワカタイム統計", + kr: "WakaTime 주간 통계", + nl: "WakaTime-statistieken", + "pt-pt": "Estatísticas WakaTime", + "pt-br": "Estatísticas WakaTime", + np: "WakaTime तथ्या .्क", + el: "Στατιστικά WakaTime", + ru: "Статистика WakaTime", + "uk-ua": "Статистика WakaTime", + id: "Status WakaTime", ml: "വേക്ക് ടൈം സ്ഥിതിവിവരക്കണക്കുകൾ", - my: "Statistik Wakatime", - sk: "Wakatime štatistika", - tr: "Waketime İstatistikler", - pl: "Statystyki Wakatime", - uz: "Wakatime statistikasi", - vi: "Thống Kê Wakatime", - se: "Wakatime statistik", + my: "Statistik WakaTime", + sk: "WakaTime štatistika", + tr: "WakaTime İstatistikler", + pl: "Statystyki WakaTime", + uz: "WakaTime statistikasi", + vi: "Thống Kê WakaTime", + se: "WakaTime statistik", }, "wakatimecard.lastyear": { ar: "العام الماضي", @@ -614,34 +614,34 @@ const wakatimeCardLocales = { }, "wakatimecard.notpublic": { ar: "ملف المستخدم غير عام", - cn: "Wakatime 用户个人资料未公开", - "zh-tw": "Wakatime 使用者個人資料未公開", - cs: "Profil uživatele Wakatime není veřejný", - de: "Wakatime-Benutzerprofil nicht öffentlich", - en: "Wakatime user profile not public", - bn: "Wakatime ব্যবহারকারীর প্রোফাইল প্রকাশ্য নয়", - es: "Perfil de usuario de Wakatime no público", - fr: "Profil utilisateur Wakatime non public", - hu: "A Wakatime felhasználói profilja nem nyilvános", - it: "Profilo utente Wakatime non pubblico", - ja: "Wakatime ユーザープロファイルは公開されていません", - kr: "Wakatime 사용자 프로필이 공개되지 않았습니다", - nl: "Wakatime gebruikersprofiel niet openbaar", - "pt-pt": "Perfil de usuário Wakatime não público", - "pt-br": "Perfil de usuário Wakatime não público", - np: "Wakatime प्रयोगकर्ता प्रोफाइल सार्वजनिक छैन", - el: "Το προφίλ χρήστη Wakatime δεν είναι δημόσιο", - ru: "Профиль пользователя Wakatime не является общедоступным", - "uk-ua": "Профіль користувача Wakatime не є публічним", - id: "Profil pengguna Wakatime tidak publik", - ml: "Wakatime ഉപയോക്തൃ പ്രൊഫൈൽ പൊതുവായി പ്രസിദ്ധീകരിക്കപ്പെടാത്തതാണ്", - my: "Profil pengguna Wakatime tidak awam", - sk: "Profil používateľa Wakatime nie je verejný", - tr: "Wakatime kullanıcı profili herkese açık değil", - pl: "Profil użytkownika Wakatime nie jest publiczny", - uz: "Wakatime foydalanuvchi profili ochiq emas", - vi: "Hồ sơ người dùng Wakatime không công khai", - se: "Wakatime användarprofil inte offentlig", + cn: "WakaTime 用户个人资料未公开", + "zh-tw": "WakaTime 使用者個人資料未公開", + cs: "Profil uživatele WakaTime není veřejný", + de: "WakaTime-Benutzerprofil nicht öffentlich", + en: "WakaTime user profile not public", + bn: "WakaTime ব্যবহারকারীর প্রোফাইল প্রকাশ্য নয়", + es: "Perfil de usuario de WakaTime no público", + fr: "Profil utilisateur WakaTime non public", + hu: "A WakaTime felhasználói profilja nem nyilvános", + it: "Profilo utente WakaTime non pubblico", + ja: "WakaTime ユーザープロファイルは公開されていません", + kr: "WakaTime 사용자 프로필이 공개되지 않았습니다", + nl: "WakaTime gebruikersprofiel niet openbaar", + "pt-pt": "Perfil de usuário WakaTime não público", + "pt-br": "Perfil de usuário WakaTime não público", + np: "WakaTime प्रयोगकर्ता प्रोफाइल सार्वजनिक छैन", + el: "Το προφίλ χρήστη WakaTime δεν είναι δημόσιο", + ru: "Профиль пользователя WakaTime не является общедоступным", + "uk-ua": "Профіль користувача WakaTime не є публічним", + id: "Profil pengguna WakaTime tidak publik", + ml: "WakaTime ഉപയോക്തൃ പ്രൊഫൈൽ പൊതുവായി പ്രസിദ്ധീകരിക്കപ്പെടാത്തതാണ്", + my: "Profil pengguna WakaTime tidak awam", + sk: "Profil používateľa WakaTime nie je verejný", + tr: "WakaTime kullanıcı profili herkese açık değil", + pl: "Profil użytkownika WakaTime nie jest publiczny", + uz: "WakaTime foydalanuvchi profili ochiq emas", + vi: "Hồ sơ người dùng WakaTime không công khai", + se: "WakaTime användarprofil inte offentlig", }, "wakatimecard.nocodedetails": { ar: "المستخدم لا يشارك معلومات تفصيلية عن البرمجة", diff --git a/tests/__snapshots__/renderWakatimeCard.test.js.snap b/tests/__snapshots__/renderWakatimeCard.test.js.snap index 69bd8ce3c6b6a..f38ac26ef07f7 100644 --- a/tests/__snapshots__/renderWakatimeCard.test.js.snap +++ b/tests/__snapshots__/renderWakatimeCard.test.js.snap @@ -1,8 +1,8 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Test Render Wakatime Card should render correctly 1`] = `[Function]`; +exports[`Test Render WakaTime Card should render correctly 1`] = `[Function]`; -exports[`Test Render Wakatime Card should render correctly with compact layout 1`] = ` +exports[`Test Render WakaTime Card should render correctly with compact layout 1`] = ` " Wakatime Stats (last 7 days) + >WakaTime Stats (last 7 days) @@ -154,7 +154,7 @@ exports[`Test Render Wakatime Card should render correctly with compact layout 1 " `; -exports[`Test Render Wakatime Card should render correctly with compact layout when langs_count is set 1`] = ` +exports[`Test Render WakaTime Card should render correctly with compact layout when langs_count is set 1`] = ` " Wakatime Stats (last 7 days) + >WakaTime Stats (last 7 days) diff --git a/tests/fetchWakatime.test.js b/tests/fetchWakatime.test.js index 1636114ee5404..ebad3a296a917 100644 --- a/tests/fetchWakatime.test.js +++ b/tests/fetchWakatime.test.js @@ -102,7 +102,7 @@ const wakaTimeData = { }, }; -describe("Wakatime fetcher", () => { +describe("WakaTime fetcher", () => { it("should fetch correct wakatime data", async () => { const username = "anuraghazra"; mock diff --git a/tests/renderWakatimeCard.test.js b/tests/renderWakatimeCard.test.js index 5098a3ac4943a..7c3710758c5ec 100644 --- a/tests/renderWakatimeCard.test.js +++ b/tests/renderWakatimeCard.test.js @@ -5,7 +5,7 @@ import { getCardColors } from "../src/common/utils.js"; import { wakaTimeData } from "./fetchWakatime.test.js"; import { expect, it, describe } from "@jest/globals"; -describe("Test Render Wakatime Card", () => { +describe("Test Render WakaTime Card", () => { it("should render correctly", () => { // const card = renderWakatimeCard(wakaTimeData.data); expect(getCardColors).toMatchSnapshot(); @@ -39,12 +39,12 @@ describe("Test Render Wakatime Card", () => { it("should render translations", () => { document.body.innerHTML = renderWakatimeCard({}, { locale: "cn" }); expect(document.getElementsByClassName("header")[0].textContent).toBe( - "Wakatime 周统计", + "WakaTime 周统计", ); expect( document.querySelector('g[transform="translate(0, 0)"]>text.stat.bold') .textContent, - ).toBe("Wakatime 用户个人资料未公开"); + ).toBe("WakaTime 用户个人资料未公开"); }); it("should render without rounding", () => {