mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-23 05:01:58 +00:00
Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cf0a5482d | ||
|
|
ad8eb897f4 | ||
|
|
b09c491e9c | ||
|
|
858f02ba19 | ||
|
|
a4a4d13322 | ||
|
|
02d171009e | ||
|
|
a6681cbe4b | ||
|
|
4e613637f9 | ||
|
|
4af121bda3 | ||
|
|
feba2ff440 | ||
|
|
5eb9c40081 | ||
|
|
22aed7444a | ||
|
|
0a0ae05331 | ||
|
|
4ce5bc6043 | ||
|
|
5e5464969b | ||
|
|
2e5f27a590 | ||
|
|
42259b4cb5 | ||
|
|
924dde4fa7 | ||
|
|
204f7b81c3 | ||
|
|
10881c5627 |
@@ -21,5 +21,5 @@ class FrontpageRecordsSearch(RecordsSearch):
|
|||||||
class Meta:
|
class Meta:
|
||||||
"""Default index and filter for frontpage search."""
|
"""Default index and filter for frontpage search."""
|
||||||
|
|
||||||
index = "rdmrecords"
|
index = "rdmrecords-records"
|
||||||
default_filter = Q("query_string", query=("access.access_right:open"))
|
default_filter = Q("query_string", query=("access.access_right:open"))
|
||||||
|
|||||||
@@ -67,6 +67,12 @@
|
|||||||
|
|
||||||
{%- block navbar_header %}
|
{%- block navbar_header %}
|
||||||
{%- include "invenio_theme_tugraz/navbar.html" %}
|
{%- include "invenio_theme_tugraz/navbar.html" %}
|
||||||
|
<!--Flask messages for accounts-->
|
||||||
|
{%- block flashmessages %}
|
||||||
|
{%- from "invenio_theme/macros/messages.html" import flashed_messages with context -%}
|
||||||
|
{{ flashed_messages() }}
|
||||||
|
|
||||||
|
{%- endblock %}
|
||||||
{%- endblock navbar_header %}
|
{%- endblock navbar_header %}
|
||||||
|
|
||||||
{#
|
{#
|
||||||
|
|||||||
@@ -26,7 +26,8 @@
|
|||||||
|
|
||||||
<!--Log in with SSO-->
|
<!--Log in with SSO-->
|
||||||
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
|
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
|
||||||
<div class="login-page-button">
|
<div class="ui divider"></div>
|
||||||
|
<div class="login-page-button ui fluid large button">
|
||||||
<a href="{{ url_for('sso_saml.sso', idp='idp') }}" class="inverted tiny image label">
|
<a href="{{ url_for('sso_saml.sso', idp='idp') }}" class="inverted tiny image label">
|
||||||
{% trans type='TUGRAZ' %} Log in with {{ type }}{% endtrans %}
|
{% trans type='TUGRAZ' %} Log in with {{ type }}{% endtrans %}
|
||||||
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />
|
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<div class="ui container">
|
<div class="ui container">
|
||||||
|
|
||||||
<div class="ui two column stackable centered grid switch-grid">
|
<div class="ui stackable two column grid">
|
||||||
<div class="centered row">
|
<div class="centered row">
|
||||||
<h1 class="ui header">{{ _('Create an Account') }}</h1>
|
<h1 class="ui header">{{ _('Create an Account') }}</h1>
|
||||||
</div>
|
</div>
|
||||||
@@ -45,7 +45,8 @@
|
|||||||
|
|
||||||
<!--Sigup with SSO-->
|
<!--Sigup with SSO-->
|
||||||
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
|
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
|
||||||
<div class="login-page-button">
|
<div class="ui divider"></div>
|
||||||
|
<div class="login-page-button ui fluid large button">
|
||||||
<a href="{{ url_for('sso_saml.sso', idp='idp') }}" class="inverted tiny image label">
|
<a href="{{ url_for('sso_saml.sso', idp='idp') }}" class="inverted tiny image label">
|
||||||
<span style="font-size: 18px;">{{ _('Sign up with TUGRAZ ') }}</span>
|
<span style="font-size: 18px;">{{ _('Sign up with TUGRAZ ') }}</span>
|
||||||
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />
|
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />
|
||||||
|
|||||||
@@ -30,15 +30,15 @@
|
|||||||
|
|
||||||
<h2>{{_ ("Repository")}}</h2>
|
<h2>{{_ ("Repository")}}</h2>
|
||||||
<p class="bodytext">
|
<p class="bodytext">
|
||||||
<a href="{{ url_for('invenio_rdm_records.coming_soon') }}">
|
<a href="{{ url_for('invenio_app_rdm.coming_soon') }}">
|
||||||
{{_ ("Impressum")}}<i class="angle right icon"></i>
|
{{_ ("Impressum")}}<i class="angle right icon"></i>
|
||||||
</a>
|
</a>
|
||||||
<br>
|
<br>
|
||||||
<a href="{{ url_for('invenio_rdm_records.coming_soon') }}">
|
<a href="{{ url_for('invenio_app_rdm.coming_soon') }}">
|
||||||
{{_ ("Data protection")}}<i class="angle right icon"></i>
|
{{_ ("Data protection")}}<i class="angle right icon"></i>
|
||||||
</a>
|
</a>
|
||||||
<br>
|
<br>
|
||||||
<a href="{{ url_for('invenio_rdm_records.coming_soon') }}">
|
<a href="{{ url_for('invenio_app_rdm.coming_soon') }}">
|
||||||
{{_ ("Feedback")}}<i class="angle right icon"></i>
|
{{_ ("Feedback")}}<i class="angle right icon"></i>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -36,11 +36,17 @@
|
|||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{%- for item in current_menu.submenu('main').children|sort(attribute='order') if item.visible recursive %}
|
<!--TODO: uncomment this once translation is on place-->
|
||||||
|
<!-- {%- for item in current_menu.submenu('main').children|sort(attribute='order') if item.visible recursive %}
|
||||||
<div class="two wide column main-menu-entry">
|
<div class="two wide column main-menu-entry">
|
||||||
<a href="{{ item.url }}">{{ item.text|safe }}</a>
|
<a href="{{ item.url }}">{{ item.text|safe }}</a>
|
||||||
</div>
|
</div>
|
||||||
{%- endfor %}
|
{%- endfor %} -->
|
||||||
|
|
||||||
|
<!--TODO: remove this once above is uncommented-->
|
||||||
|
<div class="two wide column main-menu-entry">
|
||||||
|
<a href="{{url_for('invenio_app_rdm.deposits_user')}}">{{_ ("Uploads")}}</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="margin-divider" class="ui divider main-menu-underline-line">
|
<div id="margin-divider" class="ui divider main-menu-underline-line">
|
||||||
|
|||||||
@@ -48,18 +48,13 @@
|
|||||||
something with doi
|
something with doi
|
||||||
-->
|
-->
|
||||||
<div class="badges">
|
<div class="badges">
|
||||||
<!--Publication date badge-->
|
<!--Publication date/Version badge-->
|
||||||
<span class="ui label teal" title="{{_('Publication date')}}">
|
<span class="ui label record-version" title="{{_('Publication date')}}">
|
||||||
{{ r.metadata.publication_date }}
|
{{ r.metadata.publication_date }} {{ '(' ~ r.metadata.version ~ ')' if r.metadata.version }}
|
||||||
</span>
|
|
||||||
|
|
||||||
<!--Version badge-->
|
|
||||||
<span class="ui label record-version" title="{{_('Version')}}">
|
|
||||||
{{ (' Version ' ~ r.version ~ '') if r.version else 'Version' }}
|
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<!--Resource type badge-->
|
<!--Resource type badge-->
|
||||||
<span class="ui label grey" title="{{_('Resource type')}}">
|
<span class="ui label teal" title="{{_('Resource type')}}">
|
||||||
{{r.metadata.resource_type | cast_to_dict | vocabulary_title('resource_type') }}
|
{{r.metadata.resource_type | cast_to_dict | vocabulary_title('resource_type') }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
@@ -87,16 +82,22 @@
|
|||||||
<div class="ui grid">
|
<div class="ui grid">
|
||||||
<div class="two column row">
|
<div class="two column row">
|
||||||
<div class="left floated column">
|
<div class="left floated column">
|
||||||
<small>
|
{%- for s in r.metadata.subjects %}
|
||||||
{% trans user=userprofile, date=creation_date | dateformat('long')%}
|
<div class="ui tiny label">{{s.subject}}</div>
|
||||||
Uploaded on {{date}}
|
{%- endfor %}
|
||||||
{% endtrans %}
|
<div>
|
||||||
</small>
|
<small>
|
||||||
|
{% trans user=userprofile, date=creation_date | dateformat('long')%}
|
||||||
|
Uploaded on {{date}}
|
||||||
|
{% endtrans %}
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="right floated column">
|
<div class="right floated column">
|
||||||
<span class="access-right">
|
<span class="access-right">
|
||||||
{{ r.access.access_right | make_dict_like('access_right') | vocabulary_title('access_right') | lower }}
|
<i class="icon lock open"></i>
|
||||||
|
{{ r.access.access_right | make_dict_like('access_right') | vocabulary_title('access_right') }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -106,7 +107,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
<div class="ui two column centered grid">
|
<div class="ui centered grid">
|
||||||
<a class="ui button more" href="{{url_for('invenio_search_ui.search')}}">{{_('More')}}</a>
|
<a class="ui button more" href="{{url_for('invenio_search_ui.search')}}">{{_('More')}}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: invenio-theme-tugraz 1.0.4\n"
|
"Project-Id-Version: invenio-theme-tugraz 1.0.4\n"
|
||||||
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
|
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
|
||||||
"POT-Creation-Date: 2020-10-06 14:28+0200\n"
|
"POT-Creation-Date: 2021-01-04 14:18+0100\n"
|
||||||
"PO-Revision-Date: 2020-10-06 10:27+0200\n"
|
"PO-Revision-Date: 2020-10-06 10:27+0200\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language: de\n"
|
"Language: de\n"
|
||||||
@@ -17,19 +17,18 @@ msgstr ""
|
|||||||
"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"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Generated-By: Babel 2.8.0\n"
|
"Generated-By: Babel 2.9.0\n"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/config.py:13 invenio_theme_tugraz/config.py:52
|
#: invenio_theme_tugraz/config.py:13 invenio_theme_tugraz/config.py:50
|
||||||
msgid "TU Graz Repository"
|
msgid "TU Graz Repository"
|
||||||
msgstr ""
|
msgstr "TU Graz Repository"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/config.py:55
|
#: invenio_theme_tugraz/config.py:53
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:31
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:31
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:67
|
|
||||||
msgid "Repository"
|
msgid "Repository"
|
||||||
msgstr "Repository"
|
msgstr "Repository"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/config.py:80
|
#: invenio_theme_tugraz/config.py:76
|
||||||
msgid "German"
|
msgid "German"
|
||||||
msgstr "Deutsche"
|
msgstr "Deutsche"
|
||||||
|
|
||||||
@@ -52,63 +51,71 @@ msgstr ""
|
|||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:4
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:4
|
||||||
msgid "Trusted"
|
msgid "Trusted"
|
||||||
msgstr ""
|
msgstr "Vertrauenswürdig"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:4
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:4
|
||||||
msgid ""
|
msgid ""
|
||||||
"built and operated by CERN and OpenAIRE to ensure that everyone can join "
|
"built and operated by CERN and OpenAIRE to ensure that everyone can join "
|
||||||
"in Open Science."
|
"in Open Science."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Gebaut und betrieben von CERN und OpenAIRE; um sicherzugehen, dass jedeR "
|
||||||
|
"Zugang zu Open Science hat"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:5
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:5
|
||||||
msgid "Citeable"
|
msgid "Citeable"
|
||||||
msgstr ""
|
msgstr "Zitierfähig "
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:5
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:5
|
||||||
msgid ""
|
msgid ""
|
||||||
"every upload is assigned a Digital Object Identifier (DOI), to make them "
|
"every upload is assigned a Digital Object Identifier (DOI), to make them "
|
||||||
"citable and trackable."
|
"citable and trackable."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Jeder Upload erhält eine DOI um sicherzustellen,dass er zitierbar und "
|
||||||
|
"auffindbar ist"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:6
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:6
|
||||||
msgid "No waiting time"
|
msgid "No waiting time"
|
||||||
msgstr ""
|
msgstr "Keine Wartezeit"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:6
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:6
|
||||||
msgid ""
|
msgid ""
|
||||||
"Uploads are made available online as soon as you hit publish, and your "
|
"Uploads are made available online as soon as you hit publish, and your "
|
||||||
"DOI is registered within seconds."
|
"DOI is registered within seconds."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Uploads stehen sofort nach drücken auf “Veröffentlichen” zur Verfügung. "
|
||||||
|
"Ihre DOI wird innerhalb von Sekunden registriert."
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:7
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:7
|
||||||
msgid "Open or closed"
|
msgid "Open or closed"
|
||||||
msgstr ""
|
msgstr "Offen oder geschlossen"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:7
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:7
|
||||||
msgid ""
|
msgid ""
|
||||||
"Share e.g. anonymized clinical trial data with only medical professionals"
|
"Share e.g. anonymized clinical trial data with only medical professionals"
|
||||||
" via our restricted access mode."
|
" via our restricted access mode."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Teilen Sie z.B. anonymisierte klinische Studiendaten nur mit "
|
||||||
|
"medizinischem Fachpersonalüber unseren eingeschränkten Zugriffsmodus."
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:8
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:8
|
||||||
msgid "Versioning"
|
msgid "Versioning"
|
||||||
msgstr ""
|
msgstr "Versionierung"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:8
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:8
|
||||||
msgid "Easily update your dataset with our versioning feature."
|
msgid "Easily update your dataset with our versioning feature."
|
||||||
msgstr ""
|
msgstr "Einfaches Updaten ihrer Datensätze mit unserere Versionierung."
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:9
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:9
|
||||||
msgid "Usage statisics"
|
msgid "Usage statisics"
|
||||||
msgstr ""
|
msgstr "Nutzungsstatistiken"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:9
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:9
|
||||||
msgid "All uploads display standards compliant usage statistics"
|
msgid "All uploads display standards compliant usage statistics"
|
||||||
msgstr ""
|
msgstr "Alle Uploads entsprechen den Standards der Nutzungsstatistiken."
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:34
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:34
|
||||||
msgid "Impressum"
|
msgid "Impressum"
|
||||||
msgstr ""
|
msgstr "Imprint"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:38
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:38
|
||||||
msgid "Data protection"
|
msgid "Data protection"
|
||||||
@@ -116,43 +123,43 @@ msgstr "Datenschutzerklärung"
|
|||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:42
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:42
|
||||||
msgid "Feedback"
|
msgid "Feedback"
|
||||||
msgstr ""
|
msgstr "Feedback"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:51
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:51
|
||||||
msgid "Features"
|
msgid "Features"
|
||||||
msgstr ""
|
msgstr "Features"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:53
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:53
|
||||||
msgid "Scalability"
|
msgid "Scalability"
|
||||||
msgstr ""
|
msgstr "Skalierbarkeit"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:55
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:55
|
||||||
msgid "Institutional integration"
|
msgid "Institutional integration"
|
||||||
msgstr ""
|
msgstr "Institutionelle Einbindung"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:57
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:57
|
||||||
msgid "Next Generation Repository"
|
msgid "Next Generation Repository"
|
||||||
msgstr ""
|
msgstr "Repositorium der nächsten Generation"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:60
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:60
|
||||||
msgid "Repository Profiles"
|
msgid "Repository Profiles"
|
||||||
msgstr ""
|
msgstr "Repositorienprofile"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:62
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:62
|
||||||
msgid "Resilient"
|
msgid "Resilient"
|
||||||
msgstr ""
|
msgstr "Resilient, widerstandsfähig"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:69
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:69
|
||||||
msgid "Connected Services"
|
msgid "Connected Services"
|
||||||
msgstr ""
|
msgstr "Verbundene Services "
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:73
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:73
|
||||||
msgid "PURE"
|
msgid "PURE"
|
||||||
msgstr ""
|
msgstr "PURE"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:76
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:76
|
||||||
msgid "CampusOnline"
|
msgid "CampusOnline"
|
||||||
msgstr ""
|
msgstr "CampusOnline"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:79
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:79
|
||||||
msgid "Research Data Management"
|
msgid "Research Data Management"
|
||||||
@@ -160,7 +167,7 @@ msgstr "Forschungsdatenmanagement"
|
|||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:86
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:86
|
||||||
msgid "Accessibility"
|
msgid "Accessibility"
|
||||||
msgstr ""
|
msgstr "Barrierefreiheit"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:87
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:87
|
||||||
msgid "Tipp:"
|
msgid "Tipp:"
|
||||||
@@ -168,15 +175,19 @@ msgstr ""
|
|||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:87
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:87
|
||||||
msgid "Use Ctrl + and Crtl -"
|
msgid "Use Ctrl + and Crtl -"
|
||||||
msgstr ""
|
msgstr "Verwenden Sie Strg+ und Strg-"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:87
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:87
|
||||||
msgid "to change the font size."
|
msgid "to change the font size."
|
||||||
msgstr ""
|
msgstr "Um die Schriftgröße zu ändern."
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html:34
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html:35
|
||||||
msgid "Home"
|
msgid "Home"
|
||||||
msgstr ""
|
msgstr "Startseite"
|
||||||
|
|
||||||
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html:48
|
||||||
|
msgid "Uploads"
|
||||||
|
msgstr "Hochladen"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:24
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:24
|
||||||
msgid "Type and press enter to search"
|
msgid "Type and press enter to search"
|
||||||
@@ -184,19 +195,19 @@ msgstr "Suchbegriff eingeben und “Enter” drücken (?)"
|
|||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:40
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:40
|
||||||
msgid "Recent uploads"
|
msgid "Recent uploads"
|
||||||
msgstr ""
|
msgstr "Kürzlich hochgeladene Dateien"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:52
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:52
|
||||||
msgid "Publication date"
|
msgid "Publication date"
|
||||||
msgstr ""
|
msgstr "Datum der Veröffentlichung"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:57
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:57
|
||||||
msgid "Version"
|
msgid "Version"
|
||||||
msgstr ""
|
msgstr "Version"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:62
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:62
|
||||||
msgid "Resource type"
|
msgid "Resource type"
|
||||||
msgstr ""
|
msgstr "Art der Veröffentlichung"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:91
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:91
|
||||||
#, python-format
|
#, python-format
|
||||||
@@ -204,157 +215,161 @@ msgid ""
|
|||||||
"\n"
|
"\n"
|
||||||
" Uploaded on %(date)s\n"
|
" Uploaded on %(date)s\n"
|
||||||
" "
|
" "
|
||||||
msgstr ""
|
msgstr "Hochgeladen am %(date)s\n"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:110
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:110
|
||||||
msgid "More"
|
msgid "More"
|
||||||
msgstr ""
|
msgstr "Mehr"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:119
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:119
|
||||||
msgid "Need help?"
|
msgid "Need help?"
|
||||||
msgstr ""
|
msgstr "Brauchen Sie Hilfe?"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:123
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:123
|
||||||
msgid "Contact us"
|
msgid "Contact us"
|
||||||
msgstr ""
|
msgstr "Kontaktiere uns"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:127
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:127
|
||||||
msgid "prioritizes all Recent uploads."
|
msgid "prioritizes all Recent uploads."
|
||||||
msgstr ""
|
msgstr "Reiht die neuesten Uploads vor."
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:130
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:130
|
||||||
msgid "We can help with:"
|
msgid "We can help with:"
|
||||||
msgstr ""
|
msgstr "Wir können helfen bei:"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:135
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:135
|
||||||
msgid "Uploading your research data, software, preprints, etc."
|
msgid "Uploading your research data, software, preprints, etc."
|
||||||
msgstr ""
|
msgstr "Hochladen Ihrer Forschungsdaten, Software, Preprints usw."
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:136
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:136
|
||||||
msgid "One-on-one with"
|
msgid "One-on-one with"
|
||||||
msgstr ""
|
msgstr "Eins-zu-eins mit"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:136
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:136
|
||||||
msgid "supporters."
|
msgid "supporters."
|
||||||
msgstr ""
|
msgstr "Unterstützern"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:137
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:137
|
||||||
msgid "Quota increases beyond our default policy."
|
msgid "Quota increases beyond our default policy."
|
||||||
msgstr ""
|
msgstr "Erhöhung Ihres Kontingents über das vertraglich Zugesicherte hinaus."
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:138
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:138
|
||||||
msgid "Scripts for automated uploading of larger datasets."
|
msgid "Scripts for automated uploading of larger datasets."
|
||||||
msgstr ""
|
msgstr "Skripte zum automatisierten Hochladen größerer Datensätze."
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:143
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:143
|
||||||
msgid "Why use"
|
msgid "Why use"
|
||||||
msgstr ""
|
msgstr "Warum"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:77
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:67
|
||||||
|
#, fuzzy
|
||||||
|
msgid "REPOSITORY"
|
||||||
|
msgstr "Repository"
|
||||||
|
|
||||||
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:69
|
||||||
|
msgid "LIBRARY & ARCHIVES"
|
||||||
|
msgstr "Bibliothek und Archiv"
|
||||||
|
|
||||||
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:79
|
||||||
msgid "SCIENCE"
|
msgid "SCIENCE"
|
||||||
msgstr "Wissenschaft"
|
msgstr "Wissenschaft"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:78
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:80
|
||||||
msgid "PASSION"
|
msgid "PASSION"
|
||||||
msgstr "Leidenschaft"
|
msgstr "Leidenschaft"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:79
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:81
|
||||||
msgid "TECHNOLOGY"
|
msgid "TECHNOLOGY"
|
||||||
msgstr "Technik"
|
msgstr "Technik"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:8
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:8
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:59
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:60
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:80
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:81
|
||||||
msgid "Sign Up"
|
msgid "Sign up"
|
||||||
msgstr ""
|
msgstr "Registrierung"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:15
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:15
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Einloggen"
|
msgstr "Einloggen"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:30
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:30
|
||||||
msgid "Logout"
|
msgid "Sign out"
|
||||||
msgstr "Ausloggen"
|
msgstr "Ausloggen"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:24
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:24
|
||||||
msgid "Log in to Repository"
|
msgid "Log in to Repository"
|
||||||
msgstr ""
|
msgstr "Anmelden"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:31
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:32
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid " Login with %(type)s"
|
msgid " Log in with %(type)s"
|
||||||
msgstr ""
|
msgstr "Einloggen mit"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:35
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:36
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:54
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:55
|
||||||
msgid "Or"
|
msgid "Or"
|
||||||
msgstr "Oder"
|
msgstr "Oder"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:46
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:47
|
||||||
msgid "Log In"
|
msgid "Log In"
|
||||||
msgstr "Einloggen"
|
msgstr "Einloggen"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:58
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:59
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "New to %(sitename)s?"
|
msgid "New to %(sitename)s?"
|
||||||
msgstr ""
|
msgstr "Neu im %(sitename)s?"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:68
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:69
|
||||||
msgid "Forgot password?"
|
msgid "Forgot password?"
|
||||||
msgstr ""
|
msgstr "Passwort vergessen"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:22
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:22
|
||||||
msgid "Create an Account"
|
msgid "Create an Account"
|
||||||
msgstr ""
|
msgstr "Einen Account erstellen"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:27
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:27
|
||||||
msgid "Citeable. Discoverable."
|
msgid "Citeable. Discoverable."
|
||||||
msgstr ""
|
msgstr "Zitierfähig. Auffindbar."
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:29
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:29
|
||||||
msgid ""
|
msgid ""
|
||||||
"Uploads get a Digital Object Identifier (DOI) to make them easily and "
|
"Uploads get a Digital Object Identifier (DOI) to make them easily and "
|
||||||
"uniquely citeable."
|
"uniquely citeable."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Uploads erhalten eine DOI und werden damit leichtauffindbar und "
|
||||||
|
"zitierfähig."
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:30
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:30
|
||||||
msgid "Communities."
|
msgid "Communities."
|
||||||
msgstr ""
|
msgstr "Communities"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:32
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:32
|
||||||
msgid ""
|
msgid ""
|
||||||
"Accept or reject uploads to your own community (e.g workshops, EU "
|
"Accept or reject uploads to your own community (e.g workshops, EU "
|
||||||
"projects, institutions or entire disciplines)."
|
"projects, institutions or entire disciplines)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Annehmen oder Ablehnen von Uploads in Ihrer eigenen Community (z.B. "
|
||||||
|
"workshop, EU-Projekt, Forschungseinrichtung, Disziplin)"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:34
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:34
|
||||||
msgid "Trusted Research Data Management"
|
msgid "Trusted Research Data Management"
|
||||||
msgstr ""
|
msgstr "Vertrauenswürdiges Forschungsdatenmanagement"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:36
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:36
|
||||||
msgid ""
|
msgid ""
|
||||||
"Built on top of TU Graz expertise in managing of the research data from "
|
"Built on top of TU Graz expertise in managing of the research data from "
|
||||||
"the Graz University of Technology."
|
"the Graz University of Technology."
|
||||||
msgstr ""
|
msgstr "Gebaut basierend auf Expertise derTU Graz im Bereich Data Management"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:50
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:51
|
||||||
msgid "Sign up with TUGRAZ "
|
msgid "Sign up with TUGRAZ "
|
||||||
msgstr ""
|
msgstr "Mit Ihrem TUGonline-Account einloggen"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/details/doi.html:28
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/details/doi.html:28
|
||||||
msgid "RDM DOI Badge"
|
msgid "RDM DOI Badge"
|
||||||
msgstr ""
|
msgstr "RDM DOI Abzeichen"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/details/doi.html:32
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/details/doi.html:32
|
||||||
msgid "DOI"
|
msgid "DOI"
|
||||||
msgstr ""
|
msgstr "DOI"
|
||||||
|
|
||||||
#~ msgid ""
|
|
||||||
#~ "your research is stored safely for "
|
|
||||||
#~ "the future in CERN’s Data Centre "
|
|
||||||
#~ "for as long as CERN exists."
|
|
||||||
#~ msgstr ""
|
|
||||||
|
|
||||||
#~ msgid "One-on-one with {{config.THEME_SITENAME}} supporters."
|
|
||||||
#~ msgstr ""
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,34 +1,33 @@
|
|||||||
# Translations template for invenio-theme-tugraz.
|
# Translations template for invenio-theme-tugraz.
|
||||||
# Copyright (C) 2020 mojib wali
|
# Copyright (C) 2021 mojib wali
|
||||||
# This file is distributed under the same license as the
|
# This file is distributed under the same license as the
|
||||||
# invenio-theme-tugraz project.
|
# invenio-theme-tugraz project.
|
||||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
|
||||||
#
|
#
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: invenio-theme-tugraz 1.0.4\n"
|
"Project-Id-Version: invenio-theme-tugraz 1.3.1\n"
|
||||||
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
|
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
|
||||||
"POT-Creation-Date: 2020-10-06 14:28+0200\n"
|
"POT-Creation-Date: 2021-01-04 14:18+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"
|
||||||
"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"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Generated-By: Babel 2.8.0\n"
|
"Generated-By: Babel 2.9.0\n"
|
||||||
|
|
||||||
#: invenio_theme_tugraz/config.py:13 invenio_theme_tugraz/config.py:52
|
#: invenio_theme_tugraz/config.py:13 invenio_theme_tugraz/config.py:50
|
||||||
msgid "TU Graz Repository"
|
msgid "TU Graz Repository"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/config.py:55
|
#: invenio_theme_tugraz/config.py:53
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:31
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:31
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:67
|
|
||||||
msgid "Repository"
|
msgid "Repository"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/config.py:80
|
#: invenio_theme_tugraz/config.py:76
|
||||||
msgid "German"
|
msgid "German"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -171,10 +170,14 @@ msgstr ""
|
|||||||
msgid "to change the font size."
|
msgid "to change the font size."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html:34
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html:35
|
||||||
msgid "Home"
|
msgid "Home"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html:48
|
||||||
|
msgid "Uploads"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:24
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:24
|
||||||
msgid "Type and press enter to search"
|
msgid "Type and press enter to search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -247,22 +250,30 @@ msgstr ""
|
|||||||
msgid "Why use"
|
msgid "Why use"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:77
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:67
|
||||||
msgid "SCIENCE"
|
msgid "REPOSITORY"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:78
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:69
|
||||||
msgid "PASSION"
|
msgid "LIBRARY & ARCHIVES"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:79
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:79
|
||||||
|
msgid "SCIENCE"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:80
|
||||||
|
msgid "PASSION"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:81
|
||||||
msgid "TECHNOLOGY"
|
msgid "TECHNOLOGY"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:8
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:8
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:59
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:60
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:80
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:81
|
||||||
msgid "Sign Up"
|
msgid "Sign up"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:15
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:15
|
||||||
@@ -270,33 +281,33 @@ msgid "Log in"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:30
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:30
|
||||||
msgid "Logout"
|
msgid "Sign out"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:24
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:24
|
||||||
msgid "Log in to Repository"
|
msgid "Log in to Repository"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:31
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:32
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid " Login with %(type)s"
|
msgid " Log in with %(type)s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:35
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:36
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:54
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:55
|
||||||
msgid "Or"
|
msgid "Or"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:46
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:47
|
||||||
msgid "Log In"
|
msgid "Log In"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:58
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:59
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "New to %(sitename)s?"
|
msgid "New to %(sitename)s?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:68
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:69
|
||||||
msgid "Forgot password?"
|
msgid "Forgot password?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -334,7 +345,7 @@ msgid ""
|
|||||||
"the Graz University of Technology."
|
"the Graz University of Technology."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:50
|
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:51
|
||||||
msgid "Sign up with TUGRAZ "
|
msgid "Sign up with TUGRAZ "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@@ -12,4 +12,4 @@ This file is imported by ``invenio_theme_tugraz.__init__``,
|
|||||||
and parsed by ``setup.py``.
|
and parsed by ``setup.py``.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = "1.1.0"
|
__version__ = "1.5.0"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ def index():
|
|||||||
return render_template(
|
return render_template(
|
||||||
"invenio_theme_tugraz/index.html",
|
"invenio_theme_tugraz/index.html",
|
||||||
records=FrontpageRecordsSearch()[:5].sort("-created").execute(),
|
records=FrontpageRecordsSearch()[:5].sort("-created").execute(),
|
||||||
) # pragma: no cover
|
)
|
||||||
|
|
||||||
|
|
||||||
@blueprint.app_template_filter("make_dict_like")
|
@blueprint.app_template_filter("make_dict_like")
|
||||||
@@ -38,10 +38,10 @@ def make_dict_like(value: str, key: str) -> Dict[str, str]:
|
|||||||
|
|
||||||
in the form of a key -> value pair.
|
in the form of a key -> value pair.
|
||||||
"""
|
"""
|
||||||
return {key: value} # pragma: no cover
|
return {key: value}
|
||||||
|
|
||||||
|
|
||||||
@blueprint.app_template_filter("cast_to_dict")
|
@blueprint.app_template_filter("cast_to_dict")
|
||||||
def cast_to_dict(attr_dict):
|
def cast_to_dict(attr_dict):
|
||||||
"""Return the dict structure of AttrDict variable."""
|
"""Return the dict structure of AttrDict variable."""
|
||||||
return AttrDict.to_dict(attr_dict) # pragma: no cover
|
return AttrDict.to_dict(attr_dict)
|
||||||
|
|||||||
27
run-tests.sh
27
run-tests.sh
@@ -1,16 +1,33 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env bash
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020 mojib wali.
|
# Copyright (C) 2019-2020 CERN.
|
||||||
|
# Copyright (C) 2019-2020 Northwestern University.
|
||||||
|
# Copyright (C) 2020 Graz University of Technology.
|
||||||
#
|
#
|
||||||
# invenio-theme-tugraz is free software; you can redistribute it and/or
|
# invenio-theme-tugraz is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the MIT License; see LICENSE file for more
|
# modify it under the terms of the MIT License; see LICENSE file for more
|
||||||
# details.
|
# details.
|
||||||
|
|
||||||
|
|
||||||
|
# Quit on errors
|
||||||
|
set -o errexit
|
||||||
|
|
||||||
|
# Quit on unbound symbols
|
||||||
|
set -o nounset
|
||||||
|
|
||||||
|
# Always bring down docker services
|
||||||
|
|
||||||
|
function cleanup() {
|
||||||
|
eval "$(docker-services-cli down --env)"
|
||||||
|
}
|
||||||
|
trap cleanup EXIT
|
||||||
|
|
||||||
|
|
||||||
python -m check_manifest --ignore ".*-requirements.txt"
|
python -m check_manifest --ignore ".*-requirements.txt"
|
||||||
python -m sphinx.cmd.build -qnNW docs docs/_build/html
|
python -m sphinx.cmd.build -qnNW docs docs/_build/html
|
||||||
docker-services-cli --verbose up es postgresql redis
|
eval "$(docker-services-cli up --db ${DB:-postgresql} --search ${SEARCH:-elasticsearch} --cache ${CACHE:-redis} --env)"
|
||||||
python -m pytest
|
python -m pytest
|
||||||
tests_exit_code=$?
|
tests_exit_code=$?
|
||||||
docker-services-cli down
|
python -m sphinx.cmd.build -qnNW -b doctest docs docs/_build/doctest
|
||||||
exit "$tests_exit_code"
|
exit "$tests_exit_code"
|
||||||
|
|||||||
4
setup.py
4
setup.py
@@ -17,11 +17,13 @@ history = open("CHANGES.rst").read()
|
|||||||
|
|
||||||
tests_require = [
|
tests_require = [
|
||||||
"pytest-invenio>=1.4.0",
|
"pytest-invenio>=1.4.0",
|
||||||
|
'invenio-app>=1.3.0,<2.0.0',
|
||||||
|
"psycopg2-binary>=2.8.6",
|
||||||
]
|
]
|
||||||
|
|
||||||
extras_require = {
|
extras_require = {
|
||||||
"docs": [
|
"docs": [
|
||||||
"Sphinx>=1.5.1",
|
"Sphinx>=3",
|
||||||
],
|
],
|
||||||
"mysql": [
|
"mysql": [
|
||||||
"invenio-db[mysql]>=1.0.0",
|
"invenio-db[mysql]>=1.0.0",
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ from flask_babelex import Babel
|
|||||||
from invenio_db import InvenioDB, db
|
from invenio_db import InvenioDB, db
|
||||||
from invenio_i18n import InvenioI18N
|
from invenio_i18n import InvenioI18N
|
||||||
from invenio_search import InvenioSearch
|
from invenio_search import InvenioSearch
|
||||||
|
from sqlalchemy_utils.functions import create_database, database_exists, drop_database
|
||||||
|
|
||||||
from invenio_theme_tugraz import InvenioThemeTugraz
|
from invenio_theme_tugraz import InvenioThemeTugraz
|
||||||
|
|
||||||
|
|||||||
22
tests/ui/conftest.py
Normal file
22
tests/ui/conftest.py
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Copyright (C) 2020 mojib wali.
|
||||||
|
#
|
||||||
|
# invenio-theme-tugraz is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the MIT License; see LICENSE file for more
|
||||||
|
# details.
|
||||||
|
|
||||||
|
"""Pytest configuration.
|
||||||
|
|
||||||
|
See https://pytest-invenio.readthedocs.io/ for documentation on which test
|
||||||
|
fixtures are available.
|
||||||
|
"""
|
||||||
|
|
||||||
|
import pytest
|
||||||
|
from invenio_app.factory import create_ui
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture(scope='module')
|
||||||
|
def create_app(instance_path):
|
||||||
|
"""Application factory fixture."""
|
||||||
|
return create_ui
|
||||||
33
tests/ui/test_views.py
Normal file
33
tests/ui/test_views.py
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Copyright (C) 2020 mojib wali.
|
||||||
|
#
|
||||||
|
# invenio-theme-tugraz is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the MIT License; see LICENSE file for more
|
||||||
|
# details.
|
||||||
|
|
||||||
|
"""Test views."""
|
||||||
|
|
||||||
|
from elasticsearch_dsl.utils import AttrDict
|
||||||
|
|
||||||
|
from invenio_theme_tugraz.views import cast_to_dict, make_dict_like
|
||||||
|
|
||||||
|
|
||||||
|
def test_make_dict_like():
|
||||||
|
"""Test make_dict_like."""
|
||||||
|
access = {
|
||||||
|
"access_right" : "open"
|
||||||
|
}
|
||||||
|
dicts = make_dict_like("open", "access_right")
|
||||||
|
assert access == dicts
|
||||||
|
|
||||||
|
|
||||||
|
def test_cast_to_dict():
|
||||||
|
"""Test cast_to_dict."""
|
||||||
|
resource_type = {
|
||||||
|
"subtype" : "publication-datamanagementplan",
|
||||||
|
"type" : "publication"
|
||||||
|
}
|
||||||
|
expected = {'subtype': 'publication-datamanagementplan', 'type': 'publication'}
|
||||||
|
attr = cast_to_dict(AttrDict(resource_type))
|
||||||
|
assert expected == attr
|
||||||
Reference in New Issue
Block a user