summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 77a9bf868..2a12edc02 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -188,7 +188,7 @@ def valid_ids(cls):
cls.objects.get(pk=v)
except ObjectDoesNotExist:
raise ValidationError(
- _(u"An item selected is not a valid item."))
+ _(u"A selected item is not a valid item."))
return func
@@ -199,7 +199,7 @@ def is_unique(cls, field):
try:
assert cls.objects.filter(**query).count() == 0
except AssertionError:
- raise ValidationError(_(u"This item already exist."))
+ raise ValidationError(_(u"This item already exists."))
return func
@@ -482,7 +482,7 @@ class ItemKey(models.Model):
content_object = generic.GenericForeignKey('content_type', 'object_id')
importer = models.ForeignKey(
'Import', null=True, blank=True,
- help_text=_(u"Key specific to an import"))
+ help_text=_(u"Specific key to an import"))
def __unicode__(self):
return self.key
@@ -1495,7 +1495,7 @@ class ImporterDuplicateField(models.Model):
column = models.ForeignKey(ImporterColumn, related_name='duplicate_fields')
field_name = models.CharField(_(u"Field name"), blank=True, null=True,
max_length=200)
- force_new = models.BooleanField(_(u"Force creation of new item"),
+ force_new = models.BooleanField(_(u"Force creation of new items"),
default=False)
concat = models.BooleanField(_(u"Concatenate with existing"),
default=False)
@@ -1529,7 +1529,7 @@ class ImportTarget(models.Model):
target = models.CharField(u"Target", max_length=500)
regexp_filter = models.ForeignKey("Regexp", blank=True, null=True)
formater_type = models.ForeignKey("FormaterType")
- force_new = models.BooleanField(_(u"Force creation of new item"),
+ force_new = models.BooleanField(_(u"Force creation of new items"),
default=False)
concat = models.BooleanField(_(u"Concatenate with existing"),
default=False)
@@ -1795,7 +1795,7 @@ class Import(models.Model):
null=True)
end_date = models.DateTimeField(_(u"End date"), blank=True,
null=True, editable=False)
- seconds_remaining = models.IntegerField(_(u"Seconds remaining"),
+ seconds_remaining = models.IntegerField(_(u"Remaining seconds"),
blank=True, null=True,
editable=False)
@@ -1961,7 +1961,7 @@ class Organization(Address, Merge, OwnPerms, ValueGetter):
verbose_name = _(u"Organization")
verbose_name_plural = _(u"Organizations")
permissions = (
- ("view_organization", ugettext(u"Can view all Organization")),
+ ("view_organization", ugettext(u"Can view all Organizations")),
("view_own_organization", ugettext(u"Can view own Organization")),
("add_own_organization", ugettext(u"Can add own Organization")),
("change_own_organization",
@@ -2016,7 +2016,7 @@ class Person(Address, Merge, OwnPerms, ValueGetter):
TYPE = (
('Mr', _(u'Mr')),
('Ms', _(u'Miss')),
- ('Mr and Miss', _(u'Mr and Miss')),
+ ('Mr and Miss', _(u'Mr and Mrs')),
('Md', _(u'Mrs')),
('Dr', _(u'Doctor')),
)
@@ -2039,7 +2039,7 @@ class Person(Address, Merge, OwnPerms, ValueGetter):
verbose_name = _(u"Person")
verbose_name_plural = _(u"Persons")
permissions = (
- ("view_person", ugettext(u"Can view all Person")),
+ ("view_person", ugettext(u"Can view all Persons")),
("view_own_person", ugettext(u"Can view own Person")),
("add_own_person", ugettext(u"Can add own Person")),
("change_own_person", ugettext(u"Can change own Person")),