Skip to content

Commit

Permalink
Merge pull request #10 from ViderumGlobal/fix-bugs
Browse files Browse the repository at this point in the history
Fix bugs
  • Loading branch information
ZoranPandovski authored Nov 21, 2017
2 parents 284346f + c629979 commit 93ea4a6
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 11 deletions.
24 changes: 17 additions & 7 deletions ckanext/gosh/i18n/en/LC_MESSAGES/ckanext-gosh.po
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# English translations for ckanext-gosh.
# English translations for PROJECT.
# Copyright (C) 2017 ORGANIZATION
# This file is distributed under the same license as the ckanext-gosh
# project.
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: ckanext-gosh 0.0.1\n"
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2017-11-20 22:48+0100\n"
"PO-Revision-Date: 2017-11-20 22:49+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
"Language-Team: en <LL@li.org>\n"
Expand All @@ -19,5 +19,15 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.5.1\n"

msgid "Organizations"
msgstr "Organisations"
#: ckanext/gosh/templates/package/snippets/package_basic_fields.html:106
#, fuzzy
#| msgid "Organizations"
msgid "Organization"
msgstr "Organisations"

#: ckanext/gosh/templates/package/snippets/package_basic_fields.html:110
#, fuzzy
#| msgid "Organizations"
msgid "No organization"
msgstr "No organisations"

15 changes: 15 additions & 0 deletions ckanext/gosh/templates/organization/snippets/helper.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<div class="module module-narrow module-shallow">
<h2 class="module-heading">
<i class="icon-info-sign"></i>
{{ _('What are Organisations?') }}
</h2>
<div class="module-content">
<p>
{% trans %}
CKAN Organisations are used to create, manage and publish collections
of datasets. Users can have different roles within an Organisation,
depending on their level of authorisation to create, edit and publish.
{% endtrans %}
</p>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<p>{{_('A short and clear description of the dataset. This will help in making the dataset findable.')}}</p>
</div>
</div>
{{ form.markdown('notes', id='field-notes', label=_('Description'), placeholder=_(''), value=data.notes, error=errors.notes,
{{ form.markdown('notes', id='field-notes', label=_('Description'), value=data.notes, error=errors.notes,
is_required=true) }}

</div>
Expand Down Expand Up @@ -121,8 +121,8 @@
<div class="control-group-info">
<a class="control-group-info-toggle"></a>
<div class="control-group-info-content control-group-info-content-hidden">
<p>{{_('Public datasets are visible to all visitors (members and non-members) of the GOSH Dataset Catalogue. Select
GOSH-restricted if the public dataset visibility should be limited to GOSH users only. Private datasets can
<p>{{_('Public datasets are visible to all visitors (members and non-members) of the GOSH Data Catalogue. Select
`GOSH-restricted` if the public dataset visibility should be limited to GOSH users only. Private datasets can
only be seen by Organisation members.')}}</p>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<p>{{_('If you want, you can add the source URL of the dataset or a URL providing more information about the dataset, such as a departmental website.')}}</p>
</div>
</div>
{{ form.input('url', id='field-url', label=_('URL'), placeholder=_(''), value=data.url, error=errors.url ,classes=['control-medium'])}}
{{ form.input('url', id='field-url', label=_('URL'), value=data.url, error=errors.url ,classes=['control-medium'])}}
<p class="help-block help-right">{{_('The source URL of the dataset or a URL providing more information about the dataset, such as a departmental website.')}}</p>
</div>

Expand Down

0 comments on commit 93ea4a6

Please sign in to comment.