mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 04:51:11 +00:00
Adds Galician locale
This commit is contained in:
parent
058184a81b
commit
9961a08c93
6 changed files with 3882 additions and 1 deletions
33
bookwyrm/migrations/0118_alter_user_preferred_language.py
Normal file
33
bookwyrm/migrations/0118_alter_user_preferred_language.py
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Generated by Django 3.2.5 on 2021-11-17 18:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("bookwyrm", "0117_alter_user_preferred_language"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="user",
|
||||
name="preferred_language",
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
choices=[
|
||||
("en-us", "English"),
|
||||
("de-de", "Deutsch (German)"),
|
||||
("es-es", "Español (Spanish)"),
|
||||
("gl-es", "Galego (Galician)"),
|
||||
("fr-fr", "Français (French)"),
|
||||
("lt-lt", "Lietuvių (Lithuanian)"),
|
||||
("pt-br", "Português - Brasil (Brazilian Portuguese)"),
|
||||
("zh-hans", "简体中文 (Simplified Chinese)"),
|
||||
("zh-hant", "繁體中文 (Traditional Chinese)"),
|
||||
],
|
||||
max_length=255,
|
||||
null=True,
|
||||
),
|
||||
),
|
||||
]
|
|
@ -165,8 +165,9 @@ LANGUAGES = [
|
|||
("en-us", _("English")),
|
||||
("de-de", _("Deutsch (German)")),
|
||||
("es-es", _("Español (Spanish)")),
|
||||
("gl-es", _("Galego (Galician)")),
|
||||
("fr-fr", _("Français (French)")),
|
||||
("lt-lt", _("lietuvių (Lithuanian)")),
|
||||
("lt-lt", _("Lietuvių (Lithuanian)")),
|
||||
("pt-br", _("Português - Brasil (Brazilian Portuguese)")),
|
||||
("zh-hans", _("简体中文 (Simplified Chinese)")),
|
||||
("zh-hant", _("繁體中文 (Traditional Chinese)")),
|
||||
|
|
1
bw-dev
1
bw-dev
|
@ -113,6 +113,7 @@ case "$CMD" in
|
|||
git checkout l10n_main locale/de_DE
|
||||
git checkout l10n_main locale/es_ES
|
||||
git checkout l10n_main locale/fr_FR
|
||||
git checkout l10n_main locale/gl_ES
|
||||
git checkout l10n_main locale/lt_LT
|
||||
git checkout l10n_main locale/pt_BR
|
||||
git checkout l10n_main locale/zh_Hans
|
||||
|
|
Binary file not shown.
BIN
locale/gl_ES/LC_MESSAGES/django.mo
Normal file
BIN
locale/gl_ES/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
3846
locale/gl_ES/LC_MESSAGES/django.po
Normal file
3846
locale/gl_ES/LC_MESSAGES/django.po
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue