about summary refs log tree commit diff
path: root/src/locale/helpers.ts
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/locale/helpers.ts
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/locale/helpers.ts')
-rw-r--r--src/locale/helpers.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts
index 5bad732f1..7a393d6ae 100644
--- a/src/locale/helpers.ts
+++ b/src/locale/helpers.ts
@@ -121,6 +121,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
         return AppLanguage.en
       case 'an':
         return AppLanguage.an
+      case 'ast':
+        return AppLanguage.ast
       case 'ca':
         return AppLanguage.ca
       case 'de':