๐ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
๐Adds en-GB locale for english english (#1305)
Alicia Sykes40229f293279
diff --git a/README.md b/README.mdindex 68bba892..f1813cad 100644--- a/README.md+++ b/README.md@@ -413,7 +413,8 @@ Dashy supports multiple languages and locales. When available, your language sho#### Supported Languages- ๐ฌ๐ง **English**: `en` - _Default_-- ๐ฆ๐ช **Arabic**: `ar` - _Auto-generated_+- ๐ฌ๐ง **English (British)**: `en-GB`+- ๐ฆ๐ช **Arabic**: `ar` - _Auto-generated_ (needs human review!)- ๐ง๐ฉ **Bengali**: `bn` - Contributed by **[@soaibsafi](https://github.com/soaibsafi)**- ๐ง๐ฌ **Bulgarian**: `bg` - Contributed by **[@asenov](https://github.com/asenov)**- ๐จ๐ณ **Chinese**: `cn` - Contributed by **[@FormatToday](https://github.com/FormatToday)**@@ -423,10 +424,10 @@ Dashy supports multiple languages and locales. When available, your language sho- ๐ซ๐ท **French**: `fr` - Contributed by **[@EVOTk](https://github.com/EVOTk)**- ๐ฉ๐ช **German**: `de` - Contributed by **[@Niklashere](https://github.com/Niklashere)**- ๐ฌ๐ท **Greek**: `el` - Contributed by **[@aviolaris](https://github.com/aviolaris)**-- ๐ฎ๐ณ **Hindi**: `hi` - _Auto-generated_+- ๐ฎ๐ณ **Hindi**: `hi` - _Auto-generated_ (needs human review!)- ๐ญ๐บ **Hungarian**: `hu` - Contributed by **[@apgyorfi](https://github.com/apgyorfi)**- ๐ฎ๐น **Italian**: `it` - Contributed by **[@alexdelprete](https://github.com/alexdelprete)**-- ๐ฏ๐ต **Japanese**: `ja` - _Auto-generated_+- ๐ฏ๐ต **Japanese**: `ja` - _Auto-generated_ (needs human review!)- ๐ฐ๐ท **Korean**: `ko` - Contributed by **[@boggy-cs](https://github.com/boggy-cs)**- ๐ฐ๐ฌ **Kyrgyz**: `ky` - Contributed by **[@noblepower1337](https://github.com/noblepower1337)**- ๐ณ๐ด **Norwegian Bokmรฅl**: `nb` - Contributed by **[@rubjo](https://github.com/rubjo)**@@ -706,4 +707,3 @@ For more info, see TLDR Legal's [Explanation of MIT](https://tldrlegal.com/licen| / | / ~-. ~- _|_____| |_____| ~ - . _ _~_-_-->-diff --git a/docs/multi-language-support.md b/docs/multi-language-support.mdindex 2adbf7f1..fcb08593 100644--- a/docs/multi-language-support.md+++ b/docs/multi-language-support.md@@ -27,7 +27,7 @@ appConfig:### Available Languages-At the time of writing the following languages are supported: `en`, `ar`, `bg`, `bn`, `cs`, `da`, `de`, `el`, `es`, `fr`, `gl`, `hi`, `hu`, `it`, `ja`, `ko`, `nb`, `nl`, `pl`, `pt`, `ro`, `ru`, `sk`, `sl`, `sv`, `tr`, `uk`, `zh-CN`, `zh-TW`, but an up-to-date list of all implemented translations can be found in [`./src/utils/languages.js`](https://github.com/Lissy93/dashy/blob/master/src/utils/languages.js). Languages are specified by their 2-digit [ISO-639 code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes), or sometimes a 4-digit code if it's a regional dialect.+At the time of writing the following languages are supported: `en`, `en-GB`, `ar`, `bg`, `bn`, `cs`, `da`, `de`, `el`, `es`, `fr`, `gl`, `hi`, `hu`, `it`, `ja`, `ko`, `nb`, `nl`, `pl`, `pt`, `ro`, `ru`, `sk`, `sl`, `sv`, `tr`, `uk`, `zh-CN`, `zh-TW`, but an up-to-date list of all implemented translations can be found in [`./src/utils/languages.js`](https://github.com/Lissy93/dashy/blob/master/src/utils/languages.js). Languages are specified by their 2-digit [ISO-639 code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes), or sometimes a 4-digit code if it's a regional dialect.---diff --git a/src/assets/locales/en-GB.json b/src/assets/locales/en-GB.jsonnew file mode 100644index 00000000..eace799e--- /dev/null+++ b/src/assets/locales/en-GB.json@@ -0,0 +1,17 @@+{+ "app-info": {+ "license": "Licence",+ "licence-third-party": "For licences for third-party modules, please see"+ },+ "theme-maker": {+ "reset-toast": "Custom Colours for {theme} Removed"+ },+ "widgets": {+ "gluetun-status": {+ "organization": "Organisation"+ },+ "nextcloud": {+ "memory-utilisation": "memory utilisation"+ }+ }+}diff --git a/src/utils/languages.js b/src/utils/languages.jsindex 69bf9405..10211495 100644--- a/src/utils/languages.js+++ b/src/utils/languages.js@@ -1,5 +1,6 @@// Locales - Import translation files here! (sort alphabetically)import en from '@/assets/locales/en.json';+import enGB from '@/assets/locales/en-GB.json';import ar from '@/assets/locales/ar.json';import bg from '@/assets/locales/bg.json';import bn from '@/assets/locales/bn.json';@@ -40,6 +41,12 @@ export const languages = [locale: en,flag: '๐ฌ๐ง',},+ { // Real English (just the overides from en.json)+ name: 'English (British)',+ code: 'en-GB',+ locale: enGB,+ flag: '๐ฌ๐ง',+ },{ // Arabicname: 'ุงูุนุฑุจูุฉ',code: 'ar',