mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
i18n: Add missing strings for custom profile fields and fix capitalization.
The "Short/Long Text" option for custom profile fields wasn't properly capitalized (i.e. "Text" should have been all lowercase), and also wasn't properly tagged for translation. For the sake of consistency, the change to proper capitalization has also been applied to the models and any tests involving this feature. Due to a bug in Django, it complained about the models having changed and thus not being consistent with the migrations. That isn't actually true (since the database stores the numeric values for each key), but the migrations have been modified to avoid this error. This does not affect the migrations' behaviour in any way.
This commit is contained in:
committed by
Tim Abbott
parent
6e149a7594
commit
6837fc5d56
@@ -15,6 +15,6 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name='customprofilefield',
|
||||
name='field_type',
|
||||
field=models.PositiveSmallIntegerField(choices=[(1, 'Short Text'), (2, 'Long Text')], default=1),
|
||||
field=models.PositiveSmallIntegerField(choices=[(1, 'Short text'), (2, 'Long text')], default=1),
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user