summaryrefslogtreecommitdiff
path: root/archaeological_warehouse
diff options
context:
space:
mode:
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
commit58c6e92abc858ad3e1780c77c0a353165e08bb34 (patch)
treef47272f17edf9c12823e9e844d5d7a6baffbf45e /archaeological_warehouse
parent3554529456334662f035f41b9b7479c345439238 (diff)
downloadIshtar-58c6e92abc858ad3e1780c77c0a353165e08bb34.tar.bz2
Ishtar-58c6e92abc858ad3e1780c77c0a353165e08bb34.zip
Replace all "Reference" label by "Ref." (refs #1322)
Diffstat (limited to 'archaeological_warehouse')
-rw-r--r--archaeological_warehouse/forms.py6
-rw-r--r--archaeological_warehouse/models.py2
2 files changed, 4 insertions, 4 deletions
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")