Thomas Citharel
456e987af8
Performance improvements
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-05 13:18:38 +02:00
Thomas Citharel
baac00f678
Improve search
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-22 12:12:09 +02:00
Thomas Citharel
ee20e03cc2
Migrate to Vue 3 and Vite
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-11 16:46:31 +02:00
Thomas Citharel
ed4a55b4b6
Add fallbackRootWithEmptyString when languages have empty strings
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-23 12:35:26 +01:00
Thomas Citharel
5de0cee025
Allow to access to a language directly though instance.tld/:lang
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-07 21:09:31 +01:00
Thomas Citharel
7c4a76cc89
More bidi improvements
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-07 21:09:30 +01:00
Thomas Citharel
0cb43515bc
Fix language and redirection issues when connecting from 3rd-party
...
Closes #626
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 19:29:15 +02:00
Thomas Citharel
383b3b6a78
Remove use of String.replaceAll for unit tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 19:26:44 +02:00
Thomas Citharel
a670a7d7a7
Fix and improve language handling
...
- Refactor plugs to detect and set language
- Translate ecto validation errors
- Use Gettext directly, not Mobilizon.Web.Gettext
- Set the language in the <html> attribute according to the one loaded
on front-end
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-27 20:11:56 +02:00
Thomas Citharel
d61f1f7689
Introduce custom plural rules
...
And enable gd locale
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-02 16:33:12 +01:00
Thomas Citharel
68d4dc3301
Remove leftovers
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-01 09:56:05 +01:00
Thomas Citharel
005fb90556
Allow to pick language unlogged and format fallback messages
...
Closes #479
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-30 18:14:50 +01:00
Thomas Citharel
2d541f2e32
Fix lint issues
...
And disable eslint when building in prod mode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-30 12:48:21 +01:00
Thomas Citharel
da42522073
Fix eslint warnings
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-30 12:48:21 +01:00
Thomas Citharel
67b906cc96
Fix language change
...
- Load the language files correctly when language is changed
- Save user language in localstorage so that we can have it even if disconnected (but still load it from user settings eventually since
user might be on a different device)
- Load all locales from Cldr with Gettext
- Fix pt-PT -> pt-BR
- Clean some obsolete config.exs comments
Later changes will allow to set the language without an account
https://framagit.org/framasoft/mobilizon/-/issues/375
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-28 19:57:57 +01:00
Thomas Citharel
f96510a0b2
Couple of i18n and homepage fixes
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 12:43:52 +02:00
Thomas Citharel
93cecbe49c
Improve build times
...
* Fix bulma/buefy being imported many (many !!!) times
* Remove javascript-time-ago because date-fns pretty much does the same
thing
* Make sure languages are loaded asynchronously
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 09:46:33 +02:00
Thomas Citharel
49a5725da3
Improve and activate groups
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-29 10:25:00 +02:00
Thomas Citharel
9c9f1385fb
Introduce group posts
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-30 16:55:35 +02:00
Thomas Citharel
4144e9ffd0
Introduce group basic federation, event new page and notifications
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 16:01:26 +02:00
Thomas Citharel
c28c7edc04
Add more languages
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-06 16:12:13 +01:00
Thomas Citharel
33e51a05ec
Handle errors better
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 13:56:24 +02:00