Skip to content

Commit

Permalink
zh-Hans
Browse files Browse the repository at this point in the history
  • Loading branch information
paris-ci committed Jan 8, 2024
1 parent 0a0ed4a commit 9a433b3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions src/botdata/migrations/0047_alter_discordguild_language.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.8 on 2024-01-08 17:37

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("botdata", "0046_player_ducks_killed_today_and_more"),
]

operations = [
migrations.AlterField(
model_name="discordguild",
name="language",
field=models.CharField(default="en", max_length=8),
),
]
2 changes: 1 addition & 1 deletion src/botdata/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class DiscordGuild(models.Model):
vip = models.BooleanField(default=False)
channel_disabled_message = models.BooleanField(default=True)

language = models.CharField(max_length=6, default="en")
language = models.CharField(max_length=8, default="en")

def __str__(self):
return f"{self.name} ({self.discord_id})"
Expand Down

0 comments on commit 9a433b3

Please sign in to comment.