From 2e053064d3285b94fb14300bfbe594c153c1ddca Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Tue, 21 Feb 2023 18:27:18 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20Adds=20Turkish=20(thanks=20@imsa?= =?UTF-8?q?kg=20=20=F0=9F=99=8C=20#1188)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + src/utils/languages.js | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 43fe197b..6d9ff317 100644 --- a/README.md +++ b/README.md @@ -426,6 +426,7 @@ Dashy supports multiple languages and locales. When available, your language sho - ๐Ÿ‡ช๐Ÿ‡ธ **Spanish**: `es` - Contributed by **[@lu4t](https://github.com/lu4t)** - ๐Ÿ‡ธ๐Ÿ‡ช **Swedish**: `sv` - Contributed by **[@BOZG](https://github.com/BOZG)** - ๐Ÿ‡น๐Ÿ‡ผ **Traditional Chinese**: `zh-TW` - Contributed by **[@stanly0726](https://github.com/stanly0726)** +- ๐Ÿ‡น๐Ÿ‡ท **Turkish**: `tr` - _Auto-generated_ - ๐Ÿดโ€โ˜ ๏ธ **Pirate**: `pirate` - Contributed by **[@Lissy93](https://github.com/lissy93)** #### Add your Language diff --git a/src/utils/languages.js b/src/utils/languages.js index 643466ac..7468c621 100644 --- a/src/utils/languages.js +++ b/src/utils/languages.js @@ -20,6 +20,7 @@ import ru from '@/assets/locales/ru.json'; import sk from '@/assets/locales/sk.json'; import sl from '@/assets/locales/sl.json'; import sv from '@/assets/locales/sv.json'; +import tr from '@/assets/locales/tr.json'; import zhCN from '@/assets/locales/zh-CN.json'; import zhTW from '@/assets/locales/zh-TW.json'; import pirate from '@/assets/locales/zz-pirate.json'; @@ -153,6 +154,12 @@ export const languages = [ locale: sv, flag: '๐Ÿ‡ธ๐Ÿ‡ช', }, + { // Turkish + name: 'Tรผrkรงe', + code: 'tr', + locale: tr, + flag: '๐Ÿ‡น๐Ÿ‡ท', + }, { // Chinese name: '็ฎ€ไฝ“ไธญๆ–‡', code: 'cn',