perf: 修改添加翻译

perf: 优化翻译

perf: 修改i18n

perf: 编译
pull/6422/head
ibuler 3 years ago committed by 老广
parent 1840609d53
commit 4e3b3442d2

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

@ -37,7 +37,7 @@ class AbsConnectivity(models.Model):
choices=Connectivity.choices, default=Connectivity.unknown, choices=Connectivity.choices, default=Connectivity.unknown,
max_length=16, verbose_name=_('Connectivity') 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): def set_connectivity(self, val):
self.connectivity = val self.connectivity = val

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save