[ckan-changes] commit/ckanext-datano: r... at Rustam-PC.computas.int: Added descriptions to the add data package form. Requires updated *.po and *.mo files.

Bitbucket commits-noreply at bitbucket.org
Sun Jun 19 13:01:50 UTC 2011


1 new changeset in ckanext-datano:

http://bitbucket.org/okfn/ckanext-datano/changeset/6ad16166635c/
changeset:   6ad16166635c
user:        r... at Rustam-PC.computas.int
date:        2011-06-19 15:00:59
summary:     Added descriptions to the add data package form. Requires updated *.po and *.mo files.
affected #:  1 file (1.2 KB)

--- a/ckanext/datano/package_datano.py	Sat Jun 18 12:34:43 2011 +0200
+++ b/ckanext/datano/package_datano.py	Sun Jun 19 15:00:59 2011 +0200
@@ -108,6 +108,15 @@
     # Labels and instructions
     builder.set_field_text('national_statistic', _('National Statistic'))
     builder.set_field_text('external_rss', _('External RSS'))
+    builder.set_field_text('title_en', _('Title EN'), instructions=_('Title in English. Translate what you wrote in the previous field to English.'))
+    builder.set_field_text('notes_en', _('Notes EN'), instructions=_('Description in English. Translate what you wrote in the previous field to English.'))
+    builder.set_field_text('date_released', _('Date released'), instructions=_('Date when data source was made available.'), hints=_('Format: DD/MM/YYYY'))
+    builder.set_field_text('update_frequency', _('Update frequency'), instructions=_('How often will the data be updated.'), hints=_('e.g. annually, monthly'))
+    builder.set_field_text('geographic_coverage', _('Geographic coverage'), instructions=_('Select geographic coverage for your data set.'))
+    builder.set_field_text('temporal_coverage', _('Temporal coverage'), instructions=_('Temporal coverage for the data set.'), hints=_('Format: DD/MM/YYYY'))
+    builder.set_field_text('author_email', _('Author email'), instructions=_('Email of the main contact for this data source.'))
+    builder.set_field_text('maintainer_email', _('Maintainer email'), instructions=_('Email of a person that can be contacted for questions regarding this data source.'))
+
 
     # Options/settings
     builder.set_field_option('tags', 'with_renderer', SuggestTagRenderer)

Repository URL: https://bitbucket.org/okfn/ckanext-datano/

--

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