diff --git a/invenio_oaiserver/admin.py b/invenio_oaiserver/admin.py index 25b7378..a34cc1d 100644 --- a/invenio_oaiserver/admin.py +++ b/invenio_oaiserver/admin.py @@ -2,6 +2,7 @@ # # This file is part of Invenio. # Copyright (C) 2015-2018 CERN. +# Copyright (C) 2024 KTH Royal Institute of Technology. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. @@ -9,15 +10,11 @@ """Admin model views for OAI sets.""" from flask_admin.contrib.sqla import ModelView +from invenio_i18n import gettext as _ from .models import OAISet -def _(x): - """Identity.""" - return x - - class OAISetModelView(ModelView): """OAISets model view."""