Commit Graph
25 Commits
Author SHA1 Message Date
Sasha Sorokin 82f0bdfc18 Add handling for locale files parsing errors (#1408) 2023-11-12 11:49:05 -05:00
Sasha Sorokin 5c7dd10769 Preserve whitespace in extracted translatable strings (#1390) 2023-10-01 15:45:21 -04:00
Sasha Sorokin f259072136 Post translation Sessions settings page fixes (#1382) 2023-09-30 14:47:26 -04:00
Sasha Sorokin 3fd74292ef Remove unnecessary space in description on Sessions settings page (#1381) 2023-09-28 23:53:44 -04:00
Sasha Sorokin bd4da4f365 Improve i18n-related SEO (#1366) 2023-09-16 21:07:52 -04:00
Sasha Sorokin 799d8003eb Skip regenerate workflow on forks (#1344) 2023-09-02 09:38:27 -04:00
Sasha Sorokin 5d34af6ac5 Make language label not translatable (#1343) 2023-09-02 09:38:10 -04:00
Sasha Sorokin 51b07fc0c3 Add names of all languages on Crowdin (#1337) 2023-08-23 16:07:37 -04:00
Sasha Sorokin d8f33641a5 Enable all locales on staging instances (#1336) 2023-08-23 15:18:58 -04:00
Sasha Sorokin 40cb8db1fc Move language nav menu item and hide it on prod (#1329) 2023-08-23 10:26:02 -04:00
Sasha Sorokin 467b0fa988 Add the language setting page (#1210)
* Add initial language picker prototype

* Heap o' improvements and Pirate tongue

* Move .visually-hidden to shared utils and add copyright notice

* Add a little space before categories names

* Simplify search to input focus logic

* Remove larger font size and padding from the search field

* Some refactors

* Braw's descent into madness

Thanks web development!

In seriousness though, tried to make the list more accessible. Making it
fully accessible feels like unbearable task, so at least that.

* Litol refactoring

* Extract new strings and remove old ones

* Update @vintl/nuxt to 1.3.0

This fixes the bug where default locale won't be saved.

* A buncha refactorings and cleanup

* Scuttle the Pirate lingo

'Twas employed 'ere for testin' purposes, but fear not, for it shall be
returnin' in the days to come. Should ye require it fer testin', simply
roll back this here commit.

* Clean languages source file

* Change "US" to "United States"

I think it would make distinguishing two languages simpler as now
there's more than one letter of difference (US/UK vs United States/
United Kingdom).
2023-08-21 13:26:39 -04:00
Sasha Sorokin 7c2ea3dcfd Don't run Deploy workflow on forks (#1252) 2023-08-01 19:38:47 -04:00
Sasha Sorokin c8c75b38c3 Update @vintl/nuxt to 1.2.3 (#1201)
This should fix TypeScript error related to nuxt.config.ts file and
unknown `vintl` property in it.
2023-06-15 12:24:12 -07:00
Sasha Sorokin de991041c4 Add internationalization support (#738) 2023-06-11 14:08:16 -04:00
Sasha Sorokin d9f8746438 Consistent extension usage in imports (#1171) 2023-06-11 13:37:40 -04:00
Sasha Sorokin 20d1c4d242 Switch to bundler TypeScript moduleResolution (#1170) 2023-06-11 13:33:38 -04:00
Sasha Sorokin 3b0dc2195d Switch to pnpm (#1168) 2023-05-28 14:21:14 -04:00
Sasha Sorokin d68bbbf9a1 GitHub Actions: Use Node 16 to build Knossos (#913) 2023-01-18 19:39:53 -05:00
Sasha Sorokin de170ebdd2 Fix notifications fetching (#776) 2022-11-26 17:40:15 -05:00
Sasha Sorokin 95ac136720 Bump Vue to 2.7 (#727)
List of changes in Vue 2.7:
https://blog.vuejs.org/posts/vue-2-7-naruto.html
2022-11-15 12:43:01 -07:00
Sasha Sorokin e86aa6b541 Fix project layout on right not working correctly (#730)
Fixes #726
2022-11-15 12:41:28 -07:00
Sasha Sorokin 1b49844012 Bump @nuxtjs/color-mode to v2.1.1 (#678) 2022-09-26 19:38:33 -04:00
Sasha Sorokin 5d53344b75 More reliably detect ad load faults (#661)
Detecting that ad has failed to load with timeout is not accurate and
won't work on slow connections. This commit fixes that by changing
detection to use 'onerror' event on <script> tag instead, which will be
triggered if ad script fails to load due to blocking.
2022-09-12 08:14:32 -07:00
Sasha Sorokin 3e221f3b6a Minor fixes for "See all" link design (#627)
- Now styled as a proper link.
- Change :focus to :focus-visible to avoid link getting stuck in that
  'hovered' state because focus does not actually change (it deffo
  should though, something to fix in the future - should be one
  fragment change).
- Removed all padding and transition.
2022-09-03 22:34:19 -07:00
Sasha Sorokin 8769b5d1b5 Improve design of "See all" link in feat. section (#625) 2022-08-24 13:30:57 -04:00