Skip to content

Commit 679e69d

Browse files
committed
non-breaking hyphens in locales
1 parent 4fba549 commit 679e69d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ Total lines translated ![14256 (91.1%)](https://img.shields.io/badge/12988-91%25
7474
| Code | Language | Translated files | Lines translated | Thanks to |
7575
| --- | --- | --- | --- | --- |
7676
| `en` | English | [`php`](resources/lang/en) [`json`](resources/lang/en.json) | ![396 (100%)](https://img.shields.io/badge/396-100%25-brightgreen?style=flat-square) | [taylorotwell](https://github.com/taylorotwell), [bonzai](https://github.com/bonzai), [davidhemphill](https://github.com/davidhemphill), [themsaid](https://github.com/themsaid), [mziraki](https://github.com/mziraki), [kitbs](https://github.com/kitbs) |
77-
| `pt-BR` | Brazilian Portuguese | [`php`](resources/lang/pt-BR) [`json`](resources/lang/pt-BR.json) | ![396 (100%)](https://img.shields.io/badge/396-100%25-brightgreen?style=flat-square) | [henryavila](https://github.com/henryavila), [pedrofurtado](https://github.com/pedrofurtado), [eduardokum](https://github.com/eduardokum), [saulo-silva](https://github.com/saulo-silva), [chbbc](https://github.com/chbbc), [IgorDePaula](https://github.com/IgorDePaula) |
77+
| `ptBR` | Brazilian Portuguese | [`php`](resources/lang/pt-BR) [`json`](resources/lang/pt-BR.json) | ![396 (100%)](https://img.shields.io/badge/396-100%25-brightgreen?style=flat-square) | [henryavila](https://github.com/henryavila), [pedrofurtado](https://github.com/pedrofurtado), [eduardokum](https://github.com/eduardokum), [saulo-silva](https://github.com/saulo-silva), [chbbc](https://github.com/chbbc), [IgorDePaula](https://github.com/IgorDePaula) |
7878
| `de` | German | [`php`](resources/lang/de) [`json`](resources/lang/de.json) | ![395 (99.7%)](https://img.shields.io/badge/395-99%25-green?style=flat-square) | [pille1842](https://github.com/pille1842), [shieraki](https://github.com/shieraki), [kitbs](https://github.com/kitbs), [dakira](https://github.com/dakira) |
7979
| `ru` | Russian | [`php`](resources/lang/ru) [`json`](resources/lang/ru.json) | ![395 (99.7%)](https://img.shields.io/badge/395-99%25-green?style=flat-square) | [hivokas](https://github.com/hivokas), [S-anasol](https://github.com/S-anasol), [sanasol](https://github.com/sanasol), [den1n](https://github.com/den1n), [deadem](https://github.com/deadem), [estim](https://github.com/estim) |
8080
| `es` | Spanish | [`php`](resources/lang/es) [`json`](resources/lang/es.json) | ![395 (99.7%)](https://img.shields.io/badge/395-99%25-green?style=flat-square) | [joebordes](https://github.com/joebordes), [ajmariduena](https://github.com/ajmariduena), [iksaku](https://github.com/iksaku), [Arryan](https://github.com/Arryan), [kitbs](https://github.com/kitbs), [xcodinas](https://github.com/xcodinas), [dgtal](https://github.com/dgtal), [rodrigore](https://github.com/rodrigore) |
8181
| `ar` | Arabic | [`php`](resources/lang/ar) [`json`](resources/lang/ar.json) | ![394 (99.5%)](https://img.shields.io/badge/394-99%25-green?style=flat-square) | [saleem-hadad](https://github.com/saleem-hadad), [danyelkeddah](https://github.com/danyelkeddah), [Arryan](https://github.com/Arryan) |
8282
| `fr` | French | [`php`](resources/lang/fr) [`json`](resources/lang/fr.json) | ![390 (98.5%)](https://img.shields.io/badge/390-98%25-green?style=flat-square) | [MarceauKa](https://github.com/MarceauKa), [InfinityWebMe](https://github.com/InfinityWebMe), [Yannik-Slym](https://github.com/Yannik-Slym), [kitbs](https://github.com/kitbs), [Arryan](https://github.com/Arryan), [KillianH](https://github.com/KillianH) |
83-
| `zh-CN` | Chinese (Simplified) | [`php`](resources/lang/zh-CN) [`json`](resources/lang/zh-CN.json) | ![389 (98.2%)](https://img.shields.io/badge/389-98%25-green?style=flat-square) | [jcc](https://github.com/jcc), [zacksleo](https://github.com/zacksleo), [masterwto](https://github.com/masterwto) |
84-
| `zh-TW` | Chinese (Traditional) | [`php`](resources/lang/zh-TW) [`json`](resources/lang/zh-TW.json) | ![389 (98.2%)](https://img.shields.io/badge/389-98%25-green?style=flat-square) | [CasperLaiTW](https://github.com/CasperLaiTW), [zacksleo](https://github.com/zacksleo) |
83+
| `zhCN` | Chinese (Simplified) | [`php`](resources/lang/zh-CN) [`json`](resources/lang/zh-CN.json) | ![389 (98.2%)](https://img.shields.io/badge/389-98%25-green?style=flat-square) | [jcc](https://github.com/jcc), [zacksleo](https://github.com/zacksleo), [masterwto](https://github.com/masterwto) |
84+
| `zhTW` | Chinese (Traditional) | [`php`](resources/lang/zh-TW) [`json`](resources/lang/zh-TW.json) | ![389 (98.2%)](https://img.shields.io/badge/389-98%25-green?style=flat-square) | [CasperLaiTW](https://github.com/CasperLaiTW), [zacksleo](https://github.com/zacksleo) |
8585
| `fa` | Farsi | [`php`](resources/lang/fa) [`json`](resources/lang/fa.json) | ![376 (94.9%)](https://img.shields.io/badge/376-94%25-yellow?style=flat-square) | [alirezamirsepassi](https://github.com/alirezamirsepassi), [mziraki](https://github.com/mziraki) |
8686
| `pt` | Portuguese | [`php`](resources/lang/pt) [`json`](resources/lang/pt.json) | ![372 (93.9%)](https://img.shields.io/badge/372-93%25-yellow?style=flat-square) | [Pedrocssg](https://github.com/Pedrocssg) |
8787
| `it` | Italian | [`php`](resources/lang/it) [`json`](resources/lang/it.json) | ![352 (88.9%)](https://img.shields.io/badge/352-88%25-orange?style=flat-square) | (unknown), [manuelcoppotelli](https://github.com/manuelcoppotelli), [dejdav](https://github.com/dejdav) |
@@ -99,7 +99,7 @@ Total lines translated ![14256 (91.1%)](https://img.shields.io/badge/12988-91%25
9999
| `hu` | Hungarian | [`php`](resources/lang/hu) [`json`](resources/lang/hu.json) | ![348 (87.9%)](https://img.shields.io/badge/348-87%25-orange?style=flat-square) | [milli05](https://github.com/milli05) |
100100
| `id` | Indonesian | [`php`](resources/lang/id) [`json`](resources/lang/id.json) | ![348 (87.9%)](https://img.shields.io/badge/348-87%25-orange?style=flat-square) | [dvlwj](https://github.com/dvlwj) |
101101
| `sr` | Serbian (Cyrillic) | [`php`](resources/lang/sr) [`json`](resources/lang/sr.json) | ![348 (87.9%)](https://img.shields.io/badge/348-87%25-orange?style=flat-square) | [marjanovicsteva](https://github.com/marjanovicsteva) |
102-
| `sr-Latn` | Serbian (Latin) | [`php`](resources/lang/sr-Latn) [`json`](resources/lang/sr-Latn.json) | ![348 (87.9%)](https://img.shields.io/badge/348-87%25-orange?style=flat-square) | [marjanovicsteva](https://github.com/marjanovicsteva) |
102+
| `srLatn` | Serbian (Latin) | [`php`](resources/lang/sr-Latn) [`json`](resources/lang/sr-Latn.json) | ![348 (87.9%)](https://img.shields.io/badge/348-87%25-orange?style=flat-square) | [marjanovicsteva](https://github.com/marjanovicsteva) |
103103
| `sk` | Slovak | [`php`](resources/lang/sk) [`json`](resources/lang/sk.json) | ![348 (87.9%)](https://img.shields.io/badge/348-87%25-orange?style=flat-square) | [hejty](https://github.com/hejty) |
104104
| `sl` | Slovenian | [`php`](resources/lang/sl) [`json`](resources/lang/sl.json) | ![348 (87.9%)](https://img.shields.io/badge/348-87%25-orange?style=flat-square) | [morpheus7CS](https://github.com/morpheus7CS) |
105105
| `tr` | Turkish | [`php`](resources/lang/tr) [`json`](resources/lang/tr.json) | ![348 (87.9%)](https://img.shields.io/badge/348-87%25-orange?style=flat-square) | [bureken](https://github.com/bureken), [sineld](https://github.com/sineld), [dilekuzulmez](https://github.com/dilekuzulmez) |

src/Commands/NovaLangStats.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function handle()
159159
$hasPhp = $localeStat['php'] ? sprintf('[`json`](resources/lang/%s.json)', $locale) : '~~`php`~~';
160160
$hasJson = $localeStat['json'] ? sprintf('[`php`](resources/lang/%s)', $locale) : '~~`json`~~';
161161

162-
return sprintf('| `%s` | %s | %s %s | ![%d (%s%%)](%s) | %s |', $locale, $localeStat['name'], $hasJson, $hasPhp, $localeStat['complete'], $percent, $icon, $contributors);
162+
return sprintf('| `%s` | %s | %s %s | ![%d (%s%%)](%s) | %s |', str_replace('-', '', $locale), $localeStat['name'], $hasJson, $hasPhp, $localeStat['complete'], $percent, $icon, $contributors);
163163
});
164164

165165
$outputFile = $outputDirectory.'/README.excerpt.md';

0 commit comments

Comments
 (0)