[ckan-changes] commit/ckanextiati: amercader: Rename type to source in groups form (action #14 #15)

Bitbucket commits-noreply at bitbucket.org
Fri Jun 24 11:56:19 UTC 2011


1 new changeset in ckanextiati:

http://bitbucket.org/okfn/ckanextiati/changeset/bbc30d55f45b/
changeset:   bbc30d55f45b
user:        amercader
date:        2011-06-24 13:55:12
summary:     Rename type to source in groups form (action #14 #15)
affected #:  1 file (3 bytes)

--- a/ckanext/iati/forms/group.py	Thu Jun 23 17:32:55 2011 +0100
+++ b/ckanext/iati/forms/group.py	Fri Jun 24 12:55:12 2011 +0100
@@ -19,9 +19,9 @@
 
 
 def build_group_form(is_admin=False, with_packages=False):
-    PUBLISHER_TYPES = [_("Donor"),
-                       _("Recipient"),
-                       _("Community")]
+    PUBLISHER_TYPES = [_("Primary source"),
+                       _("Secondary source")
+                       ]
     publisher_record_fields = fields
     builder = FormBuilder(model.Group)
     builder.set_field_text('name', 'Unique Name (required)',
@@ -31,7 +31,7 @@
     builder.add_field(SelectExtraField('type',
                                        options=PUBLISHER_TYPES,
                                        allow_empty=False))
-    builder.set_field_text('type', 'Type')
+    builder.set_field_text('type', 'Source')
     
     builder.add_field(SelectExtraField('license_id',
                                        options=[('', None)] + model.Package.get_license_options()))

Repository URL: https://bitbucket.org/okfn/ckanextiati/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list