perf: 修改添加翻译

perf: 优化翻译

perf: 修改i18n

perf: 编译
pull/6422/head
ibuler 2021-07-12 20:38:01 +08:00 committed by 老广
parent 1840609d53
commit 4e3b3442d2
5 changed files with 289 additions and 270 deletions

View File

@ -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',

View File

@ -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

Binary file not shown.

File diff suppressed because it is too large Load Diff