Browse Source

perf: 修改添加翻译

perf: 优化翻译

perf: 修改i18n

perf: 编译
pull/6422/head
ibuler 3 years ago committed by 老广
parent
commit
4e3b3442d2
  1. 6
      apps/assets/migrations/0075_auto_20210705_1759.py
  2. 2
      apps/assets/models/base.py
  3. BIN
      apps/locale/zh/LC_MESSAGES/django.mo
  4. 533
      apps/locale/zh/LC_MESSAGES/django.po
  5. BIN
      apps/locale/zh/LC_MESSAGES/djangojs.mo

6
apps/assets/migrations/0075_auto_20210705_1759.py

@ -18,7 +18,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='asset',
name='date_verified',
field=models.DateTimeField(null=True),
field=models.DateTimeField(null=True, verbose_name='Date verified'),
),
migrations.AddField(
model_name='authbook',
@ -28,7 +28,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='authbook',
name='date_verified',
field=models.DateTimeField(null=True),
field=models.DateTimeField(null=True, verbose_name='Date verified'),
),
migrations.AddField(
model_name='historicalauthbook',
@ -38,7 +38,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='historicalauthbook',
name='date_verified',
field=models.DateTimeField(null=True),
field=models.DateTimeField(null=True, verbose_name='Date verified'),
),
migrations.AlterField(
model_name='asset',

2
apps/assets/models/base.py

@ -37,7 +37,7 @@ class AbsConnectivity(models.Model):
choices=Connectivity.choices, default=Connectivity.unknown,
max_length=16, verbose_name=_('Connectivity')
)
date_verified = models.DateTimeField(null=True)
date_verified = models.DateTimeField(null=True, verbose_name=_("Date verified"))
def set_connectivity(self, val):
self.connectivity = val

BIN
apps/locale/zh/LC_MESSAGES/django.mo

Binary file not shown.

533
apps/locale/zh/LC_MESSAGES/django.po

File diff suppressed because it is too large Load Diff

BIN
apps/locale/zh/LC_MESSAGES/djangojs.mo

Binary file not shown.
Loading…
Cancel
Save