add some translation strings
This commit is contained in:
parent
5fbfa2a4c1
commit
92b93c53fc
|
@ -18,15 +18,15 @@
|
||||||
{% block primary %}
|
{% block primary %}
|
||||||
<article class="module">
|
<article class="module">
|
||||||
<div class="module-content">
|
<div class="module-content">
|
||||||
<h1>Harvesting Sources</h1>
|
<h1>{% trans %}Harvesting Sources{% endtrans %}</h1>
|
||||||
{% if c.status %}
|
{% if c.status %}
|
||||||
<div class="status">
|
<div class="status">
|
||||||
<h3>Status:</h3>
|
<h3>{{ _('Status') }}:</h3>
|
||||||
{{ h.literal(c.status) }}
|
{{ h.literal(c.status) }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div id="new-harvest-source"><a href="harvest/new">Add a harvesting source</a></div>
|
<div id="new-harvest-source"><a href="harvest/new">{% trans %}Add a harvesting source{% endtrans %}</a></div>
|
||||||
|
|
||||||
{% if c.sources %}
|
{% if c.sources %}
|
||||||
<div id="show-inactive-sources-content">
|
<div id="show-inactive-sources-content">
|
||||||
|
@ -36,15 +36,19 @@
|
||||||
|
|
||||||
<table id="harvest-sources" class="table table-bordered table-condensed ${'publishers' if c.publisher_auth else ''}" >
|
<table id="harvest-sources" class="table table-bordered table-condensed ${'publishers' if c.publisher_auth else ''}" >
|
||||||
<tr>
|
<tr>
|
||||||
<th class="action">View</th>
|
<th class="action">{{ _('View') }}</th>
|
||||||
<th class="action">Edit</th>
|
<th class="action">{{ _('Edit') }}</th>
|
||||||
<th class="action">Refresh</th>
|
<th class="action">{{ _('Refresh'}}</th>
|
||||||
<th class="url">URL</th>
|
<th class="url">URL</th>
|
||||||
<th>Type</th>
|
{# TRANSLATORS: Appears in harvest source table for the type of harvester #}
|
||||||
<th>Active</th>
|
<th>{{ _('Type')}}</th>
|
||||||
<th>Statistics</th>
|
{# TRANSLATORS: Appears in harvest source table 'is Active' #}
|
||||||
<th>Next Harvest</th>
|
<th>{{ _('Active')}}</th>
|
||||||
<th>Created</th>
|
<th>{{ _('Statistics') }}</th>
|
||||||
|
{# TRANSLATORS: Appears in harvest source table 'date of next harvest #}
|
||||||
|
<th>{{ _('Next Harvest') }}</th>
|
||||||
|
{# TRANSLATORS: Appears in harvest source table date created #}
|
||||||
|
<th>{{ _('Created') }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% set old_publisher = None %}
|
{% set old_publisher = None %}
|
||||||
{% for source in c.sources %}
|
{% for source in c.sources %}
|
||||||
|
@ -78,7 +82,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div id="no-harvest-sources">No harvest sources defined yet.</div>
|
<div id="no-harvest-sources">{% trans %}No harvest sources defined yet.{% endtrans %}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<p class="empty">There are no datasets associated to this harvest source.</p>
|
<p class="empty">{% trans %}There are no datasets associated to this harvest source.{% endtrans %}</p>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{% block primary_content_inner %}
|
{% block primary_content_inner %}
|
||||||
<section class="module-content">
|
<section class="module-content">
|
||||||
<h1>Last Harvest Job</h1>
|
<h1>{{ _('Last Harvest Job') }}</h1>
|
||||||
{% if source.status and source.status.last_job %}
|
{% if source.status and source.status.last_job %}
|
||||||
{% snippet "snippets/job_details.html", job=source.status.last_job %}
|
{% snippet "snippets/job_details.html", job=source.status.last_job %}
|
||||||
<div class="form-actions">
|
<div class="form-actions">
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
<form id="source-new" class="form-horizontal" method="post">
|
<form id="source-new" class="form-horizontal" method="post">
|
||||||
{{ autoform.generate(form_items, data, errors, error_summary) }}
|
{{ autoform.generate(form_items, data, errors, error_summary) }}
|
||||||
<input id="save" name="save" value="Save" type="submit" class="btn"/> or <a href="/harvest">Return to the harvest sources list</a>
|
<input id="save" name="save" value="Save" type="submit" class="btn"/> or <a href="/harvest">{% trans %}Return to the harvest sources list{% endtrans %}</a>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{% block primary_content_inner %}
|
{% block primary_content_inner %}
|
||||||
<section class="module-content">
|
<section class="module-content">
|
||||||
<h1 class="hide-heading">Datasets</h1>
|
<h1 class="hide-heading">{{ _('Datasets') }}</h1>
|
||||||
{{ h.package_list_for_source(source.id) }}
|
{{ h.package_list_for_source(source.id) }}
|
||||||
</section>
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -45,8 +45,8 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% if request.params and c.page.item_count == 0 %}
|
{% if request.params and c.page.item_count == 0 %}
|
||||||
<p class="extra">Try another search term,
|
<p class="extra">{% trans %}Try another search term,
|
||||||
browse the sources below or <a href="{{ h.url_for('{0}_new'.format(c.dataset_type)) }}">{{ _('add a new one') }}</a>.
|
browse the sources below or {% endtrans %}<a href="{{ h.url_for('{0}_new'.format(c.dataset_type)) }}">{{ _('add a new one') }}</a>.
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,7 +9,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: ckanext-harvest 0.2\n"
|
"Project-Id-Version: ckanext-harvest 0.2\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
"POT-Creation-Date: 2015-06-10 09:47+0100\n"
|
"POT-Creation-Date: 2015-06-10 12:12+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -152,10 +152,6 @@ msgstr ""
|
||||||
msgid "Only sysadmins can reindex all harvest sources"
|
msgid "Only sysadmins can reindex all harvest sources"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/index.html:3
|
|
||||||
msgid "Harvesting Sources"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/snippets/add_source_button.html:6
|
#: ckanext/harvest/templates_new/snippets/add_source_button.html:6
|
||||||
#: ckanext/harvest/templates_new/source/org_source_list.html:11
|
#: ckanext/harvest/templates_new/source/org_source_list.html:11
|
||||||
msgid "Add Harvest Source"
|
msgid "Add Harvest Source"
|
||||||
|
@ -198,6 +194,10 @@ msgstr ""
|
||||||
msgid "Message"
|
msgid "Message"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ckanext/harvest/templates_new/snippets/package_list_empty.html:1
|
||||||
|
msgid "There are no datasets associated to this harvest source."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/snippets/search_result_text.html:4
|
#: ckanext/harvest/templates_new/snippets/search_result_text.html:4
|
||||||
msgid "{number} harvest source found for \"{query}\""
|
msgid "{number} harvest source found for \"{query}\""
|
||||||
msgid_plural "{number} harvest sources found for \"{query}\""
|
msgid_plural "{number} harvest sources found for \"{query}\""
|
||||||
|
@ -237,6 +237,7 @@ msgid "There is no description for this harvest source"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/snippets/source_item.html:42
|
#: ckanext/harvest/templates_new/snippets/source_item.html:42
|
||||||
|
#: ckanext/harvest/templates_new/source/read.html:5
|
||||||
#: ckanext/harvest/templates_new/source/read_base.html:30
|
#: ckanext/harvest/templates_new/source/read_base.html:30
|
||||||
#: ckanext/harvest/templates_new/source/read_base.html:53
|
#: ckanext/harvest/templates_new/source/read_base.html:53
|
||||||
msgid "Datasets"
|
msgid "Datasets"
|
||||||
|
@ -247,6 +248,10 @@ msgstr ""
|
||||||
msgid "Organization"
|
msgid "Organization"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ckanext/harvest/templates_new/source/admin.html:5
|
||||||
|
msgid "Last Harvest Job"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/source/admin.html:11
|
#: ckanext/harvest/templates_new/source/admin.html:11
|
||||||
msgid "View full job report"
|
msgid "View full job report"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -414,6 +419,10 @@ msgstr ""
|
||||||
msgid "Delete and clear source"
|
msgid "Delete and clear source"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ckanext/harvest/templates_new/source/old_new_source_form.html:5
|
||||||
|
msgid "Return to the harvest sources list"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/source/org_source_list.html:15
|
#: ckanext/harvest/templates_new/source/org_source_list.html:15
|
||||||
#: ckanext/harvest/templates_new/source/search_2.0.html:25
|
#: ckanext/harvest/templates_new/source/search_2.0.html:25
|
||||||
msgid " found for \"{query}\""
|
msgid " found for \"{query}\""
|
||||||
|
@ -472,6 +481,10 @@ msgstr ""
|
||||||
msgid "Remove"
|
msgid "Remove"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ckanext/harvest/templates_new/source/search_2.0.html:48
|
||||||
|
msgid "Try another search term, browse the sources below or "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/source/search_2.0.html:49
|
#: ckanext/harvest/templates_new/source/search_2.0.html:49
|
||||||
msgid "add a new one"
|
msgid "add a new one"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -2,16 +2,17 @@
|
||||||
# Copyright (C) 2015 ORGANIZATION
|
# Copyright (C) 2015 ORGANIZATION
|
||||||
# This file is distributed under the same license as the ckanext-harvest
|
# This file is distributed under the same license as the ckanext-harvest
|
||||||
# project.
|
# project.
|
||||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
|
|
||||||
#
|
#
|
||||||
|
# Translators:
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: ckanext-harvest 0.2\n"
|
"Project-Id-Version: ckanext-harvest\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
"POT-Creation-Date: 2015-06-10 09:47+0100\n"
|
"POT-Creation-Date: 2015-06-10 12:12+0100\n"
|
||||||
"PO-Revision-Date: 2015-06-10 09:47+0100\n"
|
"PO-Revision-Date: 2015-06-10 09:00+0000\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: sv <LL@li.org>\n"
|
"Language-Team: Swedish (http://www.transifex.com/projects/p/ckanext-"
|
||||||
|
"harvest/language/sv/)\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
|
@ -156,10 +157,6 @@ msgstr ""
|
||||||
msgid "Only sysadmins can reindex all harvest sources"
|
msgid "Only sysadmins can reindex all harvest sources"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/index.html:3
|
|
||||||
msgid "Harvesting Sources"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/snippets/add_source_button.html:6
|
#: ckanext/harvest/templates_new/snippets/add_source_button.html:6
|
||||||
#: ckanext/harvest/templates_new/source/org_source_list.html:11
|
#: ckanext/harvest/templates_new/source/org_source_list.html:11
|
||||||
msgid "Add Harvest Source"
|
msgid "Add Harvest Source"
|
||||||
|
@ -202,6 +199,10 @@ msgstr ""
|
||||||
msgid "Message"
|
msgid "Message"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ckanext/harvest/templates_new/snippets/package_list_empty.html:1
|
||||||
|
msgid "There are no datasets associated to this harvest source."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/snippets/search_result_text.html:4
|
#: ckanext/harvest/templates_new/snippets/search_result_text.html:4
|
||||||
msgid "{number} harvest source found for \"{query}\""
|
msgid "{number} harvest source found for \"{query}\""
|
||||||
msgid_plural "{number} harvest sources found for \"{query}\""
|
msgid_plural "{number} harvest sources found for \"{query}\""
|
||||||
|
@ -241,6 +242,7 @@ msgid "There is no description for this harvest source"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/snippets/source_item.html:42
|
#: ckanext/harvest/templates_new/snippets/source_item.html:42
|
||||||
|
#: ckanext/harvest/templates_new/source/read.html:5
|
||||||
#: ckanext/harvest/templates_new/source/read_base.html:30
|
#: ckanext/harvest/templates_new/source/read_base.html:30
|
||||||
#: ckanext/harvest/templates_new/source/read_base.html:53
|
#: ckanext/harvest/templates_new/source/read_base.html:53
|
||||||
msgid "Datasets"
|
msgid "Datasets"
|
||||||
|
@ -251,6 +253,10 @@ msgstr ""
|
||||||
msgid "Organization"
|
msgid "Organization"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ckanext/harvest/templates_new/source/admin.html:5
|
||||||
|
msgid "Last Harvest Job"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/source/admin.html:11
|
#: ckanext/harvest/templates_new/source/admin.html:11
|
||||||
msgid "View full job report"
|
msgid "View full job report"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -418,6 +424,10 @@ msgstr ""
|
||||||
msgid "Delete and clear source"
|
msgid "Delete and clear source"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ckanext/harvest/templates_new/source/old_new_source_form.html:5
|
||||||
|
msgid "Return to the harvest sources list"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/source/org_source_list.html:15
|
#: ckanext/harvest/templates_new/source/org_source_list.html:15
|
||||||
#: ckanext/harvest/templates_new/source/search_2.0.html:25
|
#: ckanext/harvest/templates_new/source/search_2.0.html:25
|
||||||
msgid " found for \"{query}\""
|
msgid " found for \"{query}\""
|
||||||
|
@ -476,6 +486,10 @@ msgstr ""
|
||||||
msgid "Remove"
|
msgid "Remove"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ckanext/harvest/templates_new/source/search_2.0.html:48
|
||||||
|
msgid "Try another search term, browse the sources below or "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ckanext/harvest/templates_new/source/search_2.0.html:49
|
#: ckanext/harvest/templates_new/source/search_2.0.html:49
|
||||||
msgid "add a new one"
|
msgid "add a new one"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -556,3 +570,6 @@ msgstr ""
|
||||||
msgid "Local content"
|
msgid "Local content"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Harvesting Sources"
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue