about summary refs log tree commit diff
path: root/src/components/hooks
diff options
context:
space:
mode:
authorSoftastur <servicios@softastur.org>2024-11-27 04:14:43 +0100
committerGitHub <noreply@github.com>2024-11-26 19:14:43 -0800
commit1edebc5dc7069447fab0d7ca4d7891e54d95d26a (patch)
tree1ac15934712178933f9809e6a1d5799eaac95d97 /src/components/hooks
parent5929c2678cee75196c6c12abc1e0f7a1cdfa6f4f (diff)
downloadvoidsky-1edebc5dc7069447fab0d7ca4d7891e54d95d26a.tar.zst
Add "ast" locale support (#6411)
* Add "ast" locale support

* Add "ast" locale support

* Add "ast" locale support

* Add "ast" locale support

* Add "ast" locale support

* Add "ast" locale support

* Add "ast" translations

This commit adds preliminary translation support for "ast" locale. Around 20% is translated.

* Update "ast" locale translations

* Update "ast" translations

Fixes minor spelling mistakes and translates many strings more

* Update messages.po

With this commit we reach the 55% of strings translated after the last code sync

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src/components/hooks')
-rw-r--r--src/components/hooks/dates.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/hooks/dates.ts b/src/components/hooks/dates.ts
index 5d41b557d..78991bbd3 100644
--- a/src/components/hooks/dates.ts
+++ b/src/components/hooks/dates.ts
@@ -10,6 +10,7 @@
 import React from 'react'
 import {formatDistance, Locale} from 'date-fns'
 import {
+  ast,
   ca,
   de,
   enGB,
@@ -44,6 +45,7 @@ import {useLanguagePrefs} from '#/state/preferences'
  */
 const locales: Record<AppLanguage, Locale | undefined> = {
   en: undefined,
+  ast,
   an: undefined,
   ca,
   de,