Fix some typos

remotes/origin/enhancement/email-actions
David Barragán Merino 2015-04-11 15:05:09 +02:00
parent 910d71eefc
commit d4433d3af4
5 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: taiga-back\n" "Project-Id-Version: taiga-back\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-04-09 20:07+0200\n" "POT-Creation-Date: 2015-04-13 11:23+0200\n"
"PO-Revision-Date: 2015-03-25 20:09+0100\n" "PO-Revision-Date: 2015-03-25 20:09+0100\n"
"Last-Translator: Taiga Dev Team <support@taiga.io>\n" "Last-Translator: Taiga Dev Team <support@taiga.io>\n"
"Language-Team: Taiga Dev Team <support@taiga.io>\n" "Language-Team: Taiga Dev Team <support@taiga.io>\n"

View File

@ -119,7 +119,7 @@ def public_register(username:str, password:str, email:str, full_name:str):
try: try:
user.save() user.save()
except IntegrityError: except IntegrityError:
raise exc.WrongArguments(_("User is already register.")) raise exc.WrongArguments(_("User is already registered."))
send_register_email(user) send_register_email(user)
user_registered_signal.send(sender=user.__class__, user=user) user_registered_signal.send(sender=user.__class__, user=user)

View File

@ -113,7 +113,7 @@ def dict_to_project(data, owner=None):
serializers.IssueCustomAttributeExportSerializer) serializers.IssueCustomAttributeExportSerializer)
if service.get_errors(clear=False): if service.get_errors(clear=False):
raise TaigaImportError(_('error importing custom attributes')) raise TaigaImportError(_('error importing custom fields'))
service.store_roles(proj, data) service.store_roles(proj, data)

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: taiga-back\n" "Project-Id-Version: taiga-back\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-04-09 20:07+0200\n" "POT-Creation-Date: 2015-04-13 11:23+0200\n"
"PO-Revision-Date: 2015-03-25 20:09+0100\n" "PO-Revision-Date: 2015-03-25 20:09+0100\n"
"Last-Translator: Taiga Dev Team <support@taiga.io>\n" "Last-Translator: Taiga Dev Team <support@taiga.io>\n"
"Language-Team: Taiga Dev Team <support@taiga.io>\n" "Language-Team: Taiga Dev Team <support@taiga.io>\n"
@ -50,7 +50,7 @@ msgid "Token not matches any valid invitation."
msgstr "" msgstr ""
#: taiga/auth/services.py:122 #: taiga/auth/services.py:122
msgid "User is already register." msgid "User is already registered."
msgstr "" msgstr ""
#: taiga/auth/services.py:146 #: taiga/auth/services.py:146
@ -486,7 +486,7 @@ msgid "error importing default choices"
msgstr "" msgstr ""
#: taiga/export_import/dump_service.py:116 #: taiga/export_import/dump_service.py:116
msgid "error importing custom attributes" msgid "error importing custom fields"
msgstr "" msgstr ""
#: taiga/export_import/dump_service.py:121 #: taiga/export_import/dump_service.py:121
@ -968,7 +968,7 @@ msgid "name"
msgstr "" msgstr ""
#: taiga/projects/custom_attributes/models.py:81 #: taiga/projects/custom_attributes/models.py:81
msgid "attributes_values" msgid "values"
msgstr "" msgstr ""
#: taiga/projects/custom_attributes/models.py:91 #: taiga/projects/custom_attributes/models.py:91

View File

@ -78,7 +78,7 @@ class IssueCustomAttribute(AbstractCustomAttribute):
####################################################### #######################################################
class AbstractCustomAttributesValues(OCCModelMixin, models.Model): class AbstractCustomAttributesValues(OCCModelMixin, models.Model):
attributes_values = JsonField(null=False, blank=False, default={}, verbose_name=_("attributes_values")) attributes_values = JsonField(null=False, blank=False, default={}, verbose_name=_("values"))
class Meta: class Meta:
abstract = True abstract = True