mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2026-08-14 00:33:21 +01:00
Compare commits
25
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb999d49ef | ||
|
|
ef0fb9b06c | ||
|
|
96b7fc0b53 | ||
|
|
c017d2bc6f | ||
|
|
672f686d1a | ||
|
|
59c3ac5bc2 | ||
|
|
1e75799497 | ||
|
|
fec9dd75c7 | ||
|
|
2ae8ab6926 | ||
|
|
e24e1f2cbc | ||
|
|
e3465637f9 | ||
|
|
f7a4ab0939 | ||
|
|
a7ffce1f43 | ||
|
|
3b1526d4d8 | ||
|
|
fd4f97fd41 | ||
|
|
c91ff83bb5 | ||
|
|
c22f4f4d02 | ||
|
|
919cd3e4bd | ||
|
|
4fad1ced08 | ||
|
|
3bb38a95eb | ||
|
|
36f9b91cc1 | ||
|
|
3013095bdd | ||
|
|
6e84ea0446 | ||
|
|
529fe17d24 | ||
|
|
0fd2466b49 |
@@ -0,0 +1,29 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "uv"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
day: "monday"
|
||||
time: "04:00"
|
||||
open-pull-requests-limit: 8
|
||||
allow:
|
||||
- dependency-type: "all"
|
||||
reviewers:
|
||||
- "Cian-H"
|
||||
assignees:
|
||||
- "Cian-H"
|
||||
commit-message:
|
||||
prefix: "uv-deps"
|
||||
prefix-development: "uv-deps-dev"
|
||||
include: "scope"
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
day: "monday"
|
||||
time: "04:00"
|
||||
open-pull-requests-limit: 5
|
||||
commit-message:
|
||||
prefix: "ci"
|
||||
@@ -13,9 +13,14 @@ jobs:
|
||||
environment: release
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install uv
|
||||
run: pip install uv
|
||||
- name: Set up uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
python-version: "${{ matrix.python-version }}"
|
||||
enable-cache: true
|
||||
cache-dependency-glob: |
|
||||
pyproject.toml
|
||||
- name: Build package
|
||||
run: uv build
|
||||
- name: Publish to PyPI
|
||||
run: uv publish
|
||||
run: uv publish --token ${{ secrets.PYPI_API_TOKEN }}
|
||||
|
||||
@@ -74,13 +74,19 @@ jobs:
|
||||
run: |
|
||||
uv --version
|
||||
uv run python --version
|
||||
docker --version
|
||||
docker ps
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
uv sync --group tests
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
PYTEST_ADDOPTS: "--cov-report=lcov"
|
||||
run: |
|
||||
uv run test
|
||||
|
||||
- name: Upload coverage to Coveralls
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
path-to-lcov: coverage.lcov
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
# Read the Docs configuration file
|
||||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
||||
|
||||
# Required
|
||||
version: 2
|
||||
|
||||
# Set the OS, Python version, and other tools you might need
|
||||
build:
|
||||
os: ubuntu-24.04
|
||||
tools:
|
||||
python: "3.13"
|
||||
jobs:
|
||||
pre_create_environment:
|
||||
- asdf plugin add uv
|
||||
- asdf install uv latest
|
||||
- asdf global uv latest
|
||||
create_environment:
|
||||
- uv sync --group docs
|
||||
install:
|
||||
- uv run python -m sphinx -T -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
|
||||
+3
-3
@@ -24,11 +24,11 @@
|
||||
.. image:: https://readthedocs.org/projects/invenio-config-iform/badge/?version=latest
|
||||
:target: https://invenio-config-iform.readthedocs.io/en/latest/?badge=latest
|
||||
|
||||
.. image:: https://img.shields.io/coveralls/mb-wali/invenio-config-iform.svg
|
||||
:target: https://coveralls.io/r/mb-wali/invenio-config-iform
|
||||
.. image:: https://coveralls.io/repos/github/Cian-H/invenio-config-iform/badge.svg?branch=master
|
||||
:target: https://coveralls.io/github/Cian-H/invenio-config-iform?branch=master
|
||||
|
||||
.. image:: https://img.shields.io/badge/code%20style-Ruff-D7FF64.svg
|
||||
:target: https://github.com/astral-sh/ruff
|
||||
:target: https://github.com/astral-sh/ruff
|
||||
|
||||
invenio module that adds I-Form configs.
|
||||
|
||||
|
||||
+54
-18
@@ -3,10 +3,11 @@
|
||||
"devenv": {
|
||||
"locked": {
|
||||
"dir": "src/modules",
|
||||
"lastModified": 1746707904,
|
||||
"lastModified": 1782860656,
|
||||
"narHash": "sha256-HiSNP0/eEhKGZBWC6kLZVN8I6j6AwVnI4gjeH25+/5k=",
|
||||
"owner": "cachix",
|
||||
"repo": "devenv",
|
||||
"rev": "fada79d97f2066c444766d039b0a62affd3e3cab",
|
||||
"rev": "3f6df48c00d8aa408f0440f2707662aa91a1f033",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -19,14 +20,15 @@
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1733328505,
|
||||
"owner": "edolstra",
|
||||
"lastModified": 1767039857,
|
||||
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||
"owner": "NixOS",
|
||||
"repo": "flake-compat",
|
||||
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
|
||||
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"owner": "NixOS",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
@@ -35,15 +37,14 @@
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"gitignore": "gitignore",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1746537231,
|
||||
"lastModified": 1781733627,
|
||||
"narHash": "sha256-U3yTuGBnmXvXoQI3qkpfEDsn9RovQPAjN7ndRco+3u0=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "fa466640195d38ec97cf0493d6d6882bc4d14969",
|
||||
"rev": "3bbec39bc90eadfa031e6f3b77272f3f60803e39",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -61,6 +62,7 @@
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709087332,
|
||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||
@@ -74,10 +76,47 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1745934659,
|
||||
"lastModified": 1770073757,
|
||||
"narHash": "sha256-Vy+G+F+3E/Tl+GMNgiHl9Pah2DgShmIUBJXmbiQPHbI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "47472570b1e607482890801aeaf29bfb749884f6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1781607440,
|
||||
"narHash": "sha256-rxO+uc/KFbSJp+pgyXRuAX6QlG9hJdnt0BXpEQRXY+U=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3e41b24abd260e8f71dbe2f5737d24122f972158",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"inputs": {
|
||||
"nixpkgs-src": "nixpkgs-src"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1782132010,
|
||||
"narHash": "sha256-ZnAVHdVrotp80iIMm5CSR1fdxPlw7Uwmwxb+O/wsgZ8=",
|
||||
"owner": "cachix",
|
||||
"repo": "devenv-nixpkgs",
|
||||
"rev": "fbc071e5c11e23fba50037de37268e3d8a1858eb",
|
||||
"rev": "12866ae2dddbc0ab8b329915f8072bb9c75bde89",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -91,13 +130,10 @@
|
||||
"inputs": {
|
||||
"devenv": "devenv",
|
||||
"git-hooks": "git-hooks",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"pre-commit-hooks": [
|
||||
"git-hooks"
|
||||
]
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
}
|
||||
@@ -2,3 +2,5 @@
|
||||
inputs:
|
||||
nixpkgs:
|
||||
url: github:cachix/devenv-nixpkgs/rolling
|
||||
git-hooks:
|
||||
url: github:cachix/git-hooks.nix
|
||||
|
||||
+6
-6
@@ -47,8 +47,8 @@ master_doc = "index"
|
||||
|
||||
# General information about the project.
|
||||
project = "invenio-config-iform"
|
||||
copyright = "2022, TU Graz"
|
||||
author = "TU Graz"
|
||||
copyright = "2025, I-Form"
|
||||
author = "I-Form"
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
@@ -109,10 +109,10 @@ html_theme = "alabaster"
|
||||
|
||||
html_theme_options = {
|
||||
"description": "invenio module that adds iform configs.",
|
||||
"github_user": "TU Graz",
|
||||
"github_user": "Cian-H",
|
||||
"github_repo": "invenio-config-iform",
|
||||
"github_button": False,
|
||||
"github_banner": True,
|
||||
"github_button": True,
|
||||
"github_banner": False,
|
||||
"show_powered_by": False,
|
||||
"extra_nav_links": {
|
||||
"invenio-config-iform@Github": "https://github.com/Cian-H/invenio-config-iform",
|
||||
@@ -244,7 +244,7 @@ latex_documents = [
|
||||
master_doc,
|
||||
"invenio-config-iform.tex",
|
||||
"invenio-config-iform Documentation",
|
||||
"Mojib Wali",
|
||||
"I-Form",
|
||||
"manual",
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
-e .[docs,tests]
|
||||
@@ -8,4 +8,4 @@
|
||||
|
||||
"""Metadata for this python module."""
|
||||
|
||||
__version__ = "2025.5.20.4"
|
||||
__version__ = "2026.8.12"
|
||||
|
||||
@@ -36,7 +36,13 @@ CONFIG_IFORM_ROUTES = {
|
||||
"terms": "/terms",
|
||||
"gdpr": "/gdpr",
|
||||
}
|
||||
"""Defined routes for TUG."""
|
||||
"""Defined routes for I-Form."""
|
||||
|
||||
CONFIG_IFORM_SUPPORT_EMAIL = "repository-support@iform.ie"
|
||||
"""Support email address for I-Form."""
|
||||
|
||||
CONFIG_IFORM_INFO_EMAIL = "info@iform.ie"
|
||||
"""Info email address for I-Form."""
|
||||
|
||||
# Invenio-App
|
||||
# ===========
|
||||
@@ -49,7 +55,6 @@ APP_DEFAULT_SECURE_HEADERS = {
|
||||
"data:",
|
||||
"'unsafe-inline'",
|
||||
"blob:",
|
||||
"ub-support.tugraz.at", # zammad contact form
|
||||
],
|
||||
},
|
||||
"content_security_policy_report_only": False,
|
||||
@@ -72,9 +77,9 @@ APP_DEFAULT_SECURE_HEADERS = {
|
||||
# See https://invenio-i18n.readthedocs.io/en/latest/configuration.html
|
||||
BABEL_DEFAULT_LOCALE = "en"
|
||||
# Default time zone
|
||||
BABEL_DEFAULT_TIMEZONE = "Europe/Vienna"
|
||||
BABEL_DEFAULT_TIMEZONE = "Europe/Dublin"
|
||||
# Other supported languages (do not include BABEL_DEFAULT_LOCALE in list).
|
||||
I18N_LANGUAGES = [("de", _("German"))]
|
||||
I18N_LANGUAGES = [("ga", _("Irish"))]
|
||||
|
||||
# Invenio-Mail
|
||||
# ===========
|
||||
@@ -83,11 +88,11 @@ I18N_LANGUAGES = [("de", _("German"))]
|
||||
MAIL_SERVER = "localhost"
|
||||
"""Domain ip where mail server is running."""
|
||||
|
||||
SECURITY_EMAIL_SENDER = "info@invenio-test.tugraz.at"
|
||||
SECURITY_EMAIL_SENDER = CONFIG_IFORM_INFO_EMAIL
|
||||
"""Email address used as sender of account registration emails."""
|
||||
"""Domain name should match the domain used in web server."""
|
||||
|
||||
SECURITY_EMAIL_SUBJECT_REGISTER = _("Welcome to TU Graz Repository!")
|
||||
SECURITY_EMAIL_SUBJECT_REGISTER = _("Welcome to I-Form Repository!")
|
||||
"""Email subject for account registration emails."""
|
||||
|
||||
MAIL_SUPPRESS_SEND = True
|
||||
@@ -229,7 +234,7 @@ RECAPTCHA_PRIVATE_KEY = None
|
||||
# See:
|
||||
# https://invenio-rdm-records.readthedocs.io/en/latest/configuration.html
|
||||
#
|
||||
RDM_RECORDS_USER_FIXTURE_PASSWORDS = {"info@tugraz.at": None}
|
||||
RDM_RECORDS_USER_FIXTURE_PASSWORDS = {CONFIG_IFORM_INFO_EMAIL: None}
|
||||
"""Overrides for the user fixtures' passwords.
|
||||
The password set for a user fixture in this dictionary overrides the
|
||||
password set in the ``users.yaml`` file. This can be used to set custom
|
||||
@@ -254,7 +259,7 @@ This is only required if you want your records to be harvestable in DataCite XML
|
||||
# =========================
|
||||
# See https://github.com/inveniosoftware/invenio-app-rdm/blob/master/invenio_app_rdm/config.py
|
||||
APP_RDM_DEPOSIT_FORM_DEFAULTS = {
|
||||
"publisher": "Graz University of Technology",
|
||||
"publisher": "I-Form Research Centre",
|
||||
}
|
||||
"""Default values for new records in the deposit UI.
|
||||
|
||||
@@ -365,11 +370,11 @@ SESSION_COOKIE_SAMESITE = "Strict"
|
||||
# =======
|
||||
# See https://github.com/inveniosoftware/invenio-oaiserver/blob/master/invenio_oaiserver/config.py
|
||||
|
||||
OAISERVER_ID_PREFIX = "repository.tugraz.at"
|
||||
OAISERVER_ID_PREFIX = "repository.iform.ie"
|
||||
"""The prefix that will be applied to the generated OAI-PMH ids."""
|
||||
|
||||
OAISERVER_ADMIN_EMAILS = [
|
||||
"oai@repository.tugraz.at",
|
||||
"oai@repository.iform.ie",
|
||||
]
|
||||
"""The e-mail addresses of administrators of the repository.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{{ _('Dear user,') }}
|
||||
|
||||
{{ _('Welcome to the Repository of TU Graz!') }}
|
||||
{{ _('Welcome to the I-Form Repository!') }}
|
||||
|
||||
{{ _('To help you get started, here are some useful links:') }}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{{ _('You can confirm your email through the link below:') }}
|
||||
{{ confirmation_link }}">
|
||||
{% endif %}
|
||||
{{ _('If you require any assistance please do not hesitate to contact us at repository-support@tugraz.at.') }}
|
||||
{{ _('If you require any assistance please do not hesitate to contact us at %(support_email)s.', support_email=config.CONFIG_IFORM_SUPPORT_EMAIL) }}
|
||||
|
||||
{{ _('Best regards,') }}
|
||||
{{ _('TU Graz Repository Team') }}
|
||||
{{ _('I-Form Repository Team') }}
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
# German translations for invenio-config-iform.
|
||||
# Copyright (C) 2021 Graz University of Technology
|
||||
# This file is distributed under the same license as the
|
||||
# invenio-config-iform project.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: invenio-config-iform 0.5.5\n"
|
||||
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
|
||||
"POT-Creation-Date: 2021-04-27 15:30+0200\n"
|
||||
"PO-Revision-Date: 2021-04-22 11:57+0200\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: de\n"
|
||||
"Language-Team: de <LL@li.org>\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.9.0\n"
|
||||
|
||||
#: invenio_config_iform/config.py:87
|
||||
msgid "Welcome to TU Graz Repository!"
|
||||
msgstr "Willkommen im TU Graz Repository!"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:1
|
||||
msgid "Dear user,"
|
||||
msgstr "Lieber Nutzer,"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:3
|
||||
msgid "Welcome to the Repository of TU Graz!"
|
||||
msgstr "Willkommen im TU Graz Repository!"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:5
|
||||
msgid "To help you get started, here are some useful links:"
|
||||
msgstr ""
|
||||
"Um Ihnen den Einstieg zu erleichtern, finden Sie hier einige nützliche "
|
||||
"Links:"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:7
|
||||
msgid "Guidelines:"
|
||||
msgstr "Leitfaden:"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:7
|
||||
msgid "Repository Guide"
|
||||
msgstr "Handbuch"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:7
|
||||
msgid "how to upload files"
|
||||
msgstr "wie man Dateien hochlädt"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:8
|
||||
msgid "Search Guide"
|
||||
msgstr "Suchanleitung"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:9
|
||||
msgid "Terms And Conditions"
|
||||
msgstr "Nutzungsbedingungen"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:10
|
||||
msgid "Data Protection Rights"
|
||||
msgstr "Datenschutzerklärung"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:13
|
||||
msgid "You can confirm your email through the link below:"
|
||||
msgstr "Sie können Ihre E-Mail über den folgenden Link bestätigen:"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:16
|
||||
msgid ""
|
||||
"If you require any assistance please do not hesitate to contact us at "
|
||||
"repository-support@tugraz.at."
|
||||
msgstr ""
|
||||
"Wenn Sie Hilfe benötigen, zögern Sie bitte nicht, uns unter repository-"
|
||||
"support@tugraz.at zu kontaktieren."
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:18
|
||||
msgid "Best regards,"
|
||||
msgstr "Mit freundlichen Grüßen,"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:19
|
||||
msgid "TU Graz Repository Team"
|
||||
msgstr "TU Graz Repository Team"
|
||||
@@ -0,0 +1,91 @@
|
||||
# Irish translations for I-Form Repository.
|
||||
# Copyright (C) 2026 I-Form
|
||||
# This file is distributed under the same license as the I-Form Repository project.
|
||||
# Cian Hughes <cian.hughes@dcu.ie>, 2026.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: I-Form Repository 1.0\n"
|
||||
"Report-Msgid-Bugs-To: repository-support@iform.ie\n"
|
||||
"POT-Creation-Date: 2026-07-01 12:31+0100\n"
|
||||
"PO-Revision-Date: 2026-07-01 11:06+0100\n"
|
||||
"Last-Translator: Cian Hughes <cian.hughes@dcu.ie>\n"
|
||||
"Language: ga\n"
|
||||
"Language-Team: ga <LL@li.org>\n"
|
||||
"Plural-Forms: nplurals=5; plural=(n==1 ? 0 : n==2 ? 1 : n>=3 && n<=6 ? 2 "
|
||||
": n>=7 && n<=10 ? 3 : 4);\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.17.0\n"
|
||||
|
||||
#: invenio_config_iform/config.py:82
|
||||
msgid "Irish"
|
||||
msgstr "Gaeilge"
|
||||
|
||||
#: invenio_config_iform/config.py:95
|
||||
msgid "Welcome to I-Form Repository!"
|
||||
msgstr "Fáilte chuig Taisclann I-Form!"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:1
|
||||
msgid "Dear user,"
|
||||
msgstr "A úsáideoir, a chara,"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:3
|
||||
msgid "Welcome to the I-Form Repository!"
|
||||
msgstr "Fáilte chuig Taisclann I-Form!"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:5
|
||||
msgid "To help you get started, here are some useful links:"
|
||||
msgstr "Chun cabhrú leat tosú, seo a leanas roinnt nasc úsáideach:"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:7
|
||||
msgid "Guidelines:"
|
||||
msgstr "Treoirlínte:"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:7
|
||||
msgid "Repository Guide"
|
||||
msgstr "Treoir don Taisclann"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:7
|
||||
msgid "how to upload files"
|
||||
msgstr "conas comhaid a uaslódáil"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:8
|
||||
msgid "Search Guide"
|
||||
msgstr "Treoir Chuardaigh"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:9
|
||||
msgid "Terms And Conditions"
|
||||
msgstr "Téarmaí agus Coinníollacha"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:10
|
||||
msgid "Data Protection Rights"
|
||||
msgstr "Cearta Cosanta Sonraí"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:12
|
||||
msgid "You can confirm your email through the link below:"
|
||||
msgstr "Is féidir leat do ríomhphost a dhearbhú tríd an nasc thíos:"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:15
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If you require any assistance please do not hesitate to contact us at "
|
||||
"%(support_email)s."
|
||||
msgstr ""
|
||||
"Má theastaíonn aon chúnamh uait, ná bíodh leisce ort teagmháil a dhéanamh"
|
||||
" linn ag %(support_email)s."
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:17
|
||||
msgid "Best regards,"
|
||||
msgstr "Le gach dea-mhéin,"
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:18
|
||||
msgid "I-Form Repository Team"
|
||||
msgstr "Foireann Thaisclainne I-Form"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,25 +1,28 @@
|
||||
# Translations template for invenio-config-iform.
|
||||
# Copyright (C) 2021 Graz University of Technology
|
||||
# This file is distributed under the same license as the
|
||||
# invenio-config-iform project.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
|
||||
# Translations template for I-Form Repository.
|
||||
# Copyright (C) 2026 I-Form
|
||||
# This file is distributed under the same license as the I-Form Repository project.
|
||||
# Cian Hughes <cian.hughes@dcu.ie>, 2026.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: invenio-config-iform 0.5.5\n"
|
||||
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
|
||||
"POT-Creation-Date: 2021-04-27 15:30+0200\n"
|
||||
"Project-Id-Version: I-Form Repository 1.0\n"
|
||||
"Report-Msgid-Bugs-To: repository-support@iform.ie\n"
|
||||
"POT-Creation-Date: 2026-07-01 12:31+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Last-Translator: Cian Hughes <cian.hughes@dcu.ie>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.9.0\n"
|
||||
"Generated-By: Babel 2.17.0\n"
|
||||
|
||||
#: invenio_config_iform/config.py:87
|
||||
msgid "Welcome to TU Graz Repository!"
|
||||
#: invenio_config_iform/config.py:82
|
||||
msgid "Irish"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_config_iform/config.py:95
|
||||
msgid "Welcome to I-Form Repository!"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:1
|
||||
@@ -27,7 +30,7 @@ msgid "Dear user,"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:3
|
||||
msgid "Welcome to the Repository of TU Graz!"
|
||||
msgid "Welcome to the I-Form Repository!"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:5
|
||||
@@ -58,20 +61,22 @@ msgstr ""
|
||||
msgid "Data Protection Rights"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:13
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:12
|
||||
msgid "You can confirm your email through the link below:"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:16
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:15
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If you require any assistance please do not hesitate to contact us at "
|
||||
"repository-support@tugraz.at."
|
||||
"%(support_email)s."
|
||||
msgstr ""
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:18
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:17
|
||||
msgid "Best regards,"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:19
|
||||
msgid "TU Graz Repository Team"
|
||||
#: invenio_config_iform/templates/security/email/welcome.txt:18
|
||||
msgid "I-Form Repository Team"
|
||||
msgstr ""
|
||||
|
||||
|
||||
+6
-20
@@ -67,6 +67,11 @@ tests = [
|
||||
"ruff>=0.5.3",
|
||||
"Sphinx>=4.5.0",
|
||||
]
|
||||
docs = [
|
||||
"invenio-app>=1.5.0",
|
||||
"invenio-search[opensearch2]>=2.1.0",
|
||||
"Sphinx>=4.5.0",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling", "hatch-calver"]
|
||||
@@ -79,6 +84,7 @@ path = "invenio_config_iform/__about__.py"
|
||||
[tool.hatch.build]
|
||||
include = ["invenio_config_iform"]
|
||||
exclude = [".venv", "tests/*", "*/tests/*", "*.rst", "run-tests.sh"]
|
||||
ignore-vcs = true
|
||||
|
||||
# Testing configuration
|
||||
[tool.pytest]
|
||||
@@ -128,23 +134,3 @@ line-ending = "auto"
|
||||
|
||||
[tool.pydocstyle]
|
||||
add_ignore = ["D401"]
|
||||
|
||||
# Babel configuration
|
||||
[tool.babel.compile_catalog]
|
||||
directory = "invenio_config_iform/translations/"
|
||||
use-fuzzy = true
|
||||
|
||||
[tool.babel.extract_messages]
|
||||
copyright_holder = "I-Form Advanced Research Manufacturing Research Centre"
|
||||
msgid_bugs_address = "cian.hughes@dcu.ie"
|
||||
mapping-file = "babel.ini"
|
||||
output-file = "invenio_config_iform/translations/messages.pot"
|
||||
add-comments = "NOTE"
|
||||
|
||||
[tool.babel.init_catalog]
|
||||
input-file = "invenio_config_iform/translations/messages.pot"
|
||||
output-dir = "invenio_config_iform/translations/"
|
||||
|
||||
[tool.babel.update_catalog]
|
||||
input-file = "invenio_config_iform/translations/messages.pot"
|
||||
output-dir = "invenio_config_iform/translations/"
|
||||
|
||||
@@ -1722,6 +1722,11 @@ dev = [
|
||||
{ name = "pydocstyle" },
|
||||
{ name = "ruff" },
|
||||
]
|
||||
docs = [
|
||||
{ name = "invenio-app" },
|
||||
{ name = "invenio-search", extra = ["opensearch2"] },
|
||||
{ name = "sphinx" },
|
||||
]
|
||||
tests = [
|
||||
{ name = "invenio-app" },
|
||||
{ name = "invenio-search", extra = ["opensearch2"] },
|
||||
@@ -1745,6 +1750,11 @@ dev = [
|
||||
{ name = "pydocstyle", specifier = ">=6.3.0" },
|
||||
{ name = "ruff", specifier = ">=0.11.7" },
|
||||
]
|
||||
docs = [
|
||||
{ name = "invenio-app", specifier = ">=1.5.0" },
|
||||
{ name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },
|
||||
{ name = "sphinx", specifier = ">=4.5.0" },
|
||||
]
|
||||
tests = [
|
||||
{ name = "invenio-app", specifier = ">=1.5.0" },
|
||||
{ name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },
|
||||
|
||||
Reference in New Issue
Block a user