mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-19 15:28:25 +00:00
fix: fix WakaTime brand casing (#3411)
* `Wakatime` -> `WakaTime` * Fix wrong `WakaTime` brand naming on tr translation * `wakatime stats` -> `WakaTime stats`
This commit is contained in:
parent
7fe7c63475
commit
6bcc98d99d
13 changed files with 132 additions and 132 deletions
|
|
@ -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.
|
|||
|
||||
[](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
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
```
|
||||
|
||||
### Beispiel
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
- Kompaktes Layout
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
|||
|
||||
[](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
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
```
|
||||
|
||||
### Ejemplo
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
- Diseño compacto
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -356,9 +356,9 @@ Escoja cualquiera de los [temas por defecto](#themes)
|
|||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
- Tarjeta de Wakatime
|
||||
- Tarjeta de WakaTime
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -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.com/anuraghazra/github-readme-stats)
|
||||
|
||||
# Wakatime 주간 통계
|
||||
# WakaTime 주간 통계
|
||||
|
||||
`?username=` 속성의 값을 [Wakatime](https://wakatime.com) 계정의 사용자 명(닉네임)으로 바꿔주세요.
|
||||
`?username=` 속성의 값을 [WakaTime](https://wakatime.com) 계정의 사용자 명(닉네임)으로 바꿔주세요.
|
||||
|
||||
```md
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
```
|
||||
|
||||
### 미리보기
|
||||
|
|
@ -372,9 +372,9 @@ _참고:
|
|||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
- Wakatime 카드
|
||||
- WakaTime 카드
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
|||
|
||||
[](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
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
```
|
||||
|
||||
### Demo
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -353,9 +353,9 @@ Kies uit de [standaard thema\'s](#themes)
|
|||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
- Wakatime kaart
|
||||
- WakaTime kaart
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
```
|
||||
|
||||
### डेमो
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -351,7 +351,7 @@ Change the `?username=` value to your [Wakatime](https://wakatime.com) username.
|
|||
|
||||
- वक समय कार्ड
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
|||
|
||||
[](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
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
```
|
||||
|
||||
### Demonstração
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -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`
|
|||
|
||||
[](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
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
```
|
||||
|
||||
### Demo
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
- Kompakt Düzen
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -356,9 +356,9 @@ Endpoint: `api/top-langs?username=mustafacagri`
|
|||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
- Wakatime kart
|
||||
- WakaTime kart
|
||||
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
22
readme.md
22
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
|
|||
|
||||

|
||||
|
||||
# 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
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
[](https://github.com/anuraghazra/github-readme-stats)
|
||||
```
|
||||
|
||||
### Demo
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
* Compact layout
|
||||
|
||||

|
||||

|
||||
|
||||
***
|
||||
|
||||
|
|
@ -694,7 +694,7 @@ Choose from any of the [default themes](#themes)
|
|||
|
||||
* WakaTime card
|
||||
|
||||

|
||||

|
||||
|
||||
***
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
| | | |
|
||||
| :--: | :--: | :--: |
|
||||
|
|
|
|||
|
|
@ -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: "المستخدم لا يشارك معلومات تفصيلية عن البرمجة",
|
||||
|
|
|
|||
|
|
@ -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`] = `
|
||||
"
|
||||
<svg
|
||||
width="495"
|
||||
|
|
@ -95,7 +95,7 @@ exports[`Test Render Wakatime Card should render correctly with compact layout 1
|
|||
y="0"
|
||||
class="header"
|
||||
data-testid="header"
|
||||
>Wakatime Stats (last 7 days)</text>
|
||||
>WakaTime Stats (last 7 days)</text>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
|
@ -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`] = `
|
||||
"
|
||||
<svg
|
||||
width="495"
|
||||
|
|
@ -247,7 +247,7 @@ exports[`Test Render Wakatime Card should render correctly with compact layout w
|
|||
y="0"
|
||||
class="header"
|
||||
data-testid="header"
|
||||
>Wakatime Stats (last 7 days)</text>
|
||||
>WakaTime Stats (last 7 days)</text>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ const wakaTimeData = {
|
|||
},
|
||||
};
|
||||
|
||||
describe("Wakatime fetcher", () => {
|
||||
describe("WakaTime fetcher", () => {
|
||||
it("should fetch correct wakatime data", async () => {
|
||||
const username = "anuraghazra";
|
||||
mock
|
||||
|
|
|
|||
|
|
@ -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", () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue