Commit Graph

9 Commits

Author SHA1 Message Date
cornerot 2de1c08bc8 Added "ru" lang to langs.json 2021-04-06 16:36:55 +00: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 e22e9f5575
Enable new languages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-22 11:52:53 +01:00
Thomas Citharel 90ee9d7d72
Activate missing languages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-14 13:49:13 +01:00
Thomas Citharel 7c11807c14
Allow to join an open group
Also:

* Refactor interacting with a remote event so that you can interact with
  a remote group as well
* Add a setting for group admins to pick between an open and invite-only
  group
* Fix new groups without posts/todos/resources/events/conversations URL
  set
* Repair local groups that haven't got their
  posts/todos/resources/events/conversations URL set
* Add a scheduled job to refresh remote groups every hour
* Add a user setting to pick when to receive notifications when there's
  new members to approve (will be used when this feature is available)
* Fix pagination for members

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-06 15:19:36 +01:00
Thomas Citharel 158cbbe5f5
Activate more languages in front-end
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-02 10:07:01 +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 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 5cb3f478ae
Allow to change language
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-16 18:00:27 +02:00