From d4433d3af47b5eada70660b205e2f3afde1163e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Sat, 11 Apr 2015 15:05:09 +0200 Subject: [PATCH] Fix some typos --- locale/en/LC_MESSAGES/django.po | 2 +- taiga/auth/services.py | 2 +- taiga/export_import/dump_service.py | 2 +- taiga/locale/en/LC_MESSAGES/django.po | 8 ++++---- taiga/projects/custom_attributes/models.py | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.po index 5a11fd04..bf0394c9 100644 --- a/locale/en/LC_MESSAGES/django.po +++ b/locale/en/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: taiga-back\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" "Last-Translator: Taiga Dev Team \n" "Language-Team: Taiga Dev Team \n" diff --git a/taiga/auth/services.py b/taiga/auth/services.py index 0498bddd..952bf6a7 100644 --- a/taiga/auth/services.py +++ b/taiga/auth/services.py @@ -119,7 +119,7 @@ def public_register(username:str, password:str, email:str, full_name:str): try: user.save() except IntegrityError: - raise exc.WrongArguments(_("User is already register.")) + raise exc.WrongArguments(_("User is already registered.")) send_register_email(user) user_registered_signal.send(sender=user.__class__, user=user) diff --git a/taiga/export_import/dump_service.py b/taiga/export_import/dump_service.py index 13b09a4c..c3511d80 100644 --- a/taiga/export_import/dump_service.py +++ b/taiga/export_import/dump_service.py @@ -113,7 +113,7 @@ def dict_to_project(data, owner=None): serializers.IssueCustomAttributeExportSerializer) if service.get_errors(clear=False): - raise TaigaImportError(_('error importing custom attributes')) + raise TaigaImportError(_('error importing custom fields')) service.store_roles(proj, data) diff --git a/taiga/locale/en/LC_MESSAGES/django.po b/taiga/locale/en/LC_MESSAGES/django.po index bd9817c8..8be95218 100644 --- a/taiga/locale/en/LC_MESSAGES/django.po +++ b/taiga/locale/en/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: taiga-back\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" "Last-Translator: Taiga Dev Team \n" "Language-Team: Taiga Dev Team \n" @@ -50,7 +50,7 @@ msgid "Token not matches any valid invitation." msgstr "" #: taiga/auth/services.py:122 -msgid "User is already register." +msgid "User is already registered." msgstr "" #: taiga/auth/services.py:146 @@ -486,7 +486,7 @@ msgid "error importing default choices" msgstr "" #: taiga/export_import/dump_service.py:116 -msgid "error importing custom attributes" +msgid "error importing custom fields" msgstr "" #: taiga/export_import/dump_service.py:121 @@ -968,7 +968,7 @@ msgid "name" msgstr "" #: taiga/projects/custom_attributes/models.py:81 -msgid "attributes_values" +msgid "values" msgstr "" #: taiga/projects/custom_attributes/models.py:91 diff --git a/taiga/projects/custom_attributes/models.py b/taiga/projects/custom_attributes/models.py index 2fc0cf5c..6f82244d 100644 --- a/taiga/projects/custom_attributes/models.py +++ b/taiga/projects/custom_attributes/models.py @@ -78,7 +78,7 @@ class IssueCustomAttribute(AbstractCustomAttribute): ####################################################### 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: abstract = True