diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-22 10:02:14 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-22 10:02:14 +0200 | 
| commit | b03c29884697eea33d6e1cc9d5be66166aeadb34 (patch) | |
| tree | f47272f17edf9c12823e9e844d5d7a6baffbf45e | |
| parent | 45c078a6d1960f34315c7ea83f1b15d275c054be (diff) | |
| download | Ishtar-b03c29884697eea33d6e1cc9d5be66166aeadb34.tar.bz2 Ishtar-b03c29884697eea33d6e1cc9d5be66166aeadb34.zip | |
Replace all "Reference" label by "Ref." (refs #1322)
| -rw-r--r-- | archaeological_files/models.py | 2 | ||||
| -rw-r--r-- | archaeological_files/templates/ishtar/sheet_file.html | 6 | ||||
| -rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 2 | ||||
| -rw-r--r-- | archaeological_warehouse/forms.py | 6 | ||||
| -rw-r--r-- | archaeological_warehouse/models.py | 2 | ||||
| -rw-r--r-- | ishtar_common/models.py | 2 | 
6 files changed, 10 insertions, 10 deletions
| diff --git a/archaeological_files/models.py b/archaeological_files/models.py index 19fad6b04..ec7069e62 100644 --- a/archaeological_files/models.py +++ b/archaeological_files/models.py @@ -91,7 +91,7 @@ class File(BaseHistorizedItem, OwnPerms):      if settings.COUNTRY == 'fr':          saisine_type = models.ForeignKey(SaisineType, blank=True, null=True,                                           verbose_name= u"Type de saisine") -        reference_number = models.IntegerField(_(u"Reference number"), +        reference_number = models.IntegerField(_(u"Ref. number"),                                                 blank=True, null=True)      total_surface = models.IntegerField(_(u"Total surface (m²)"),                                          blank=True, null=True) diff --git a/archaeological_files/templates/ishtar/sheet_file.html b/archaeological_files/templates/ishtar/sheet_file.html index 7d708c23f..2f5644ca0 100644 --- a/archaeological_files/templates/ishtar/sheet_file.html +++ b/archaeological_files/templates/ishtar/sheet_file.html @@ -88,7 +88,7 @@    <caption>{%trans "Admninistrative acts"%}</caption>    <tr>      <th>{% trans "Year" %}</th> -    <th>{% trans "Reference" %}</th> +    <th>{% trans "Ref." %}</th>      <th>{% trans "Type" %}</th>      <th>{% trans "Date" %}</th>    </tr> @@ -108,7 +108,7 @@    <caption>{%trans "Associated operations"%}</caption>    <tr>      <th>{% trans "Year" %}</th> -    <th>{% trans "Reference" %}</th> +    <th>{% trans "Ref." %}</th>      <th>Code Patriarche</th>      <th>{% trans "Type" %}</th>      <th>{% trans "In charge" %}</th> @@ -136,7 +136,7 @@    <caption>{%trans "Admninistrative acts linked to associated operations"%}</caption>    <tr>      <th>{% trans "Year" %}</th> -    <th>{% trans "Reference" %}</th> +    <th>{% trans "Ref." %}</th>      <th>{% trans "Type" %}</th>      <th>{% trans "Date" %}</th>    </tr> diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 7d78af3c5..a85002702 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -80,7 +80,7 @@    <caption>{%trans "Administrative acts"%}</caption>    <tr>      <th>{% trans "Year" %}</th> -    <th>{% trans "Reference" %}</th> +    <th>{% trans "Ref." %}</th>      <th>{% trans "Type" %}</th>      <th>{% trans "Date" %}</th>    </tr> diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index 69bb2cae3..ff869c5fb 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -1,6 +1,6 @@  #!/usr/bin/env python  # -*- coding: utf-8 -*- -# Copyright (C) 2010-2012  Étienne Loks  <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2010-2013  Étienne Loks  <etienne.loks_AT_peacefrogsDOTnet>  # This program is free software: you can redistribute it and/or modify  # it under the terms of the GNU Affero General Public License as @@ -84,7 +84,7 @@ class WarehouseForm(forms.Form):  class ContainerForm(forms.Form):      form_label = _(u"Container") -    reference = forms.CharField(label=_(u"Reference")) +    reference = forms.CharField(label=_(u"Ref."))      container_type = forms.ChoiceField(label=_(u"Container type"), choices=[])      location = forms.IntegerField(label=_(u"Warehouse"),           widget=widgets.JQueryAutoComplete( @@ -113,7 +113,7 @@ class ContainerForm(forms.Form):  class ContainerSelect(TableSelect):      location = get_warehouse_field()      container_type = forms.ChoiceField(label=_(u"Container type"), choices=[]) -    reference = forms.CharField(label=_(u"Reference")) +    reference = forms.CharField(label=_(u"Ref."))      def __init__(self, *args, **kwargs):          super(ContainerSelect, self).__init__(*args, **kwargs) diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 14e3a248c..4e583d22c 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -57,7 +57,7 @@ class ContainerType(GeneralType):      width = models.IntegerField(_(u"Width (mm)"), blank=True, null=True)      height = models.IntegerField(_(u"Height (mm)"), blank=True, null=True)      volume = models.IntegerField(_(u"Volume (l)"), blank=True, null=True) -    reference = models.CharField(_(u"Reference"), max_length=30) +    reference = models.CharField(_(u"Ref."), max_length=30)      class Meta:          verbose_name = _(u"Container type") diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 744c37627..0155896f4 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -648,7 +648,7 @@ class Source(models.Model):                                      verbose_name=_(u"Receipt date"))      creation_date = models.DateField(blank=True, null=True,                                      verbose_name=_(u"Creation date")) -    reference = models.CharField(_(u"Reference"), max_length=25, null=True, +    reference = models.CharField(_(u"Ref."), max_length=25, null=True,                                   blank=True)      internal_reference = models.CharField(_(u"Internal reference"),                                            max_length=25, null=True, blank=True) | 
