summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/forms.py
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
commitb03c29884697eea33d6e1cc9d5be66166aeadb34 (patch)
treef47272f17edf9c12823e9e844d5d7a6baffbf45e /archaeological_warehouse/forms.py
parent45c078a6d1960f34315c7ea83f1b15d275c054be (diff)
downloadIshtar-b03c29884697eea33d6e1cc9d5be66166aeadb34.tar.bz2
Ishtar-b03c29884697eea33d6e1cc9d5be66166aeadb34.zip
Replace all "Reference" label by "Ref." (refs #1322)
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r--archaeological_warehouse/forms.py6
1 files changed, 3 insertions, 3 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)