Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop'

Translate backend-rendered pages

See merge request pleroma/pleroma!3634
This commit is contained in:
Haelwenn 2022-03-20 18:14:37 +00:00
commit d7c53da77a
58 changed files with 3319 additions and 446 deletions

View file

@ -156,6 +156,7 @@ defmodule Pleroma.User do
field(:last_status_at, :naive_datetime)
field(:birthday, :date)
field(:show_birthday, :boolean, default: false)
field(:language, :string)
embeds_one(
:notification_settings,
@ -746,7 +747,8 @@ defmodule Pleroma.User do
:emoji,
:accepts_chat_messages,
:registration_reason,
:birthday
:birthday,
:language
])
|> validate_required([:name, :nickname, :password, :password_confirmation])
|> validate_confirmation(:password)