diff --git a/modules/cookiecutter-weko-module/{{ cookiecutter.project_shortname }}/babel.ini b/modules/cookiecutter-weko-module/{{ cookiecutter.project_shortname }}/babel.ini index 875de3f297..28c68dca87 100644 --- a/modules/cookiecutter-weko-module/{{ cookiecutter.project_shortname }}/babel.ini +++ b/modules/cookiecutter-weko-module/{{ cookiecutter.project_shortname }}/babel.ini @@ -8,7 +8,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/invenio-accounts/babel.ini b/modules/invenio-accounts/babel.ini index e021ca1959..c640696412 100644 --- a/modules/invenio-accounts/babel.ini +++ b/modules/invenio-accounts/babel.ini @@ -15,7 +15,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/invenio-communities/babel.ini b/modules/invenio-communities/babel.ini index 5d8d15c19e..f87d6cdc53 100644 --- a/modules/invenio-communities/babel.ini +++ b/modules/invenio-communities/babel.ini @@ -31,7 +31,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/invenio-deposit/babel.ini b/modules/invenio-deposit/babel.ini index 5d8d15c19e..f87d6cdc53 100644 --- a/modules/invenio-deposit/babel.ini +++ b/modules/invenio-deposit/babel.ini @@ -31,7 +31,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/invenio-files-rest/babel.ini b/modules/invenio-files-rest/babel.ini index 398561c7d1..e12c2c34de 100644 --- a/modules/invenio-files-rest/babel.ini +++ b/modules/invenio-files-rest/babel.ini @@ -15,7 +15,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/invenio-mail/babel.ini b/modules/invenio-mail/babel.ini index 2892bd8c18..afb054df5d 100644 --- a/modules/invenio-mail/babel.ini +++ b/modules/invenio-mail/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/invenio-oaiharvester/babel.ini b/modules/invenio-oaiharvester/babel.ini index 797e554ffd..624b0d8f2b 100644 --- a/modules/invenio-oaiharvester/babel.ini +++ b/modules/invenio-oaiharvester/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/invenio-oaiserver/babel.ini b/modules/invenio-oaiserver/babel.ini index e021ca1959..c640696412 100644 --- a/modules/invenio-oaiserver/babel.ini +++ b/modules/invenio-oaiserver/babel.ini @@ -15,7 +15,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/invenio-oauth2server/babel.ini b/modules/invenio-oauth2server/babel.ini index e021ca1959..c640696412 100644 --- a/modules/invenio-oauth2server/babel.ini +++ b/modules/invenio-oauth2server/babel.ini @@ -15,7 +15,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/invenio-previewer/babel.ini b/modules/invenio-previewer/babel.ini index 44201ad33b..d04f123db3 100644 --- a/modules/invenio-previewer/babel.ini +++ b/modules/invenio-previewer/babel.ini @@ -31,7 +31,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/invenio-records/babel.ini b/modules/invenio-records/babel.ini index e021ca1959..c640696412 100644 --- a/modules/invenio-records/babel.ini +++ b/modules/invenio-records/babel.ini @@ -15,7 +15,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/invenio-resourcesyncclient/babel.ini b/modules/invenio-resourcesyncclient/babel.ini index 4d8812eb25..da8190c099 100644 --- a/modules/invenio-resourcesyncclient/babel.ini +++ b/modules/invenio-resourcesyncclient/babel.ini @@ -15,7 +15,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/invenio-resourcesyncserver/babel.ini b/modules/invenio-resourcesyncserver/babel.ini index 745be7dab5..d0ea7761b0 100644 --- a/modules/invenio-resourcesyncserver/babel.ini +++ b/modules/invenio-resourcesyncserver/babel.ini @@ -15,7 +15,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-accounts/babel.ini b/modules/weko-accounts/babel.ini index 2892bd8c18..afb054df5d 100644 --- a/modules/weko-accounts/babel.ini +++ b/modules/weko-accounts/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-accounts/tests/test_views.py b/modules/weko-accounts/tests/test_views.py index 2c408ae0a4..10b673c485 100644 --- a/modules/weko-accounts/tests/test_views.py +++ b/modules/weko-accounts/tests/test_views.py @@ -55,11 +55,11 @@ def test_redirect_method(app,mocker): ) mock_render = mocker.patch("weko_accounts.views.redirect",return_value=make_response()) _redirect_method(False) - mock_render.assert_called_with("http://TEST_SERVER.localdomain/secure/login.php") + mock_render.assert_called_with("http://TEST_SERVER.localdomain/secure/login.py") mock_render = mocker.patch("weko_accounts.views.redirect",return_value=make_response()) _redirect_method(True) - mock_render.assert_called_with("http://TEST_SERVER.localdomain/secure/login.php?next="+url) + mock_render.assert_called_with("http://TEST_SERVER.localdomain/secure/login.py?next="+url) #def index(): # .tox/c1/bin/pytest --cov=weko_accounts tests/test_views.py::test_index -vv -s --cov-branch --cov-report=term --basetemp=/code/modules/weko-workflow/.tox/c1/tmp @@ -398,15 +398,15 @@ def test_shib_stub_login(client,mocker): # next is / mock_redirect = mocker.patch("weko_accounts.views.redirect",return_value=make_response()) res = client.get(url+"?next=/") - mock_redirect.assert_called_with("http://test_server.localdomain/secure/login.php?next=/") + mock_redirect.assert_called_with("http://test_server.localdomain/secure/login.py?next=/") # next is /next_page res = client.get(url+"?next=/next_page") - mock_redirect.assert_called_with("http://test_server.localdomain/secure/login.php?next=/next_page") + mock_redirect.assert_called_with("http://test_server.localdomain/secure/login.py?next=/next_page") # next is None res = client.get(url) - mock_redirect.assert_called_with("http://test_server.localdomain/secure/login.php?next=/") + mock_redirect.assert_called_with("http://test_server.localdomain/secure/login.py?next=/") current_app.config.update( WEKO_ACCOUNTS_SHIB_IDP_LOGIN_ENABLED=False diff --git a/modules/weko-accounts/weko_accounts/config.py b/modules/weko-accounts/weko_accounts/config.py index 1e234a0f62..b34dc24adb 100644 --- a/modules/weko-accounts/weko_accounts/config.py +++ b/modules/weko-accounts/weko_accounts/config.py @@ -58,7 +58,7 @@ WEKO_ACCOUNTS_SHIB_LOGIN_CACHE_TTL = 180 """Cache default timeout 3 minute""" -WEKO_ACCOUNTS_SHIB_IDP_LOGIN_URL = '{}secure/login.php' +WEKO_ACCOUNTS_SHIB_IDP_LOGIN_URL = '{}secure/login.py' """Login proxy URL.""" WEKO_ACCOUNTS_SSO_ATTRIBUTE_MAP = { diff --git a/modules/weko-admin/babel.ini b/modules/weko-admin/babel.ini index 37e5dc7158..afb054df5d 100644 --- a/modules/weko-admin/babel.ini +++ b/modules/weko-admin/babel.ini @@ -27,8 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -slient = false -extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-authors/babel.ini b/modules/weko-authors/babel.ini index 88aab57967..afb054df5d 100644 --- a/modules/weko-authors/babel.ini +++ b/modules/weko-authors/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-bulkupdate/babel.ini b/modules/weko-bulkupdate/babel.ini index ed2da6dcfb..cb8794f1e2 100644 --- a/modules/weko-bulkupdate/babel.ini +++ b/modules/weko-bulkupdate/babel.ini @@ -14,7 +14,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-deposit/babel.ini b/modules/weko-deposit/babel.ini index 88aab57967..afb054df5d 100644 --- a/modules/weko-deposit/babel.ini +++ b/modules/weko-deposit/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-gridlayout/babel.ini b/modules/weko-gridlayout/babel.ini index 65959ccff8..5d9cc5f762 100644 --- a/modules/weko-gridlayout/babel.ini +++ b/modules/weko-gridlayout/babel.ini @@ -14,7 +14,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-groups/babel.ini b/modules/weko-groups/babel.ini index 37e5dc7158..afb054df5d 100644 --- a/modules/weko-groups/babel.ini +++ b/modules/weko-groups/babel.ini @@ -27,8 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -slient = false -extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-handle/babel.ini b/modules/weko-handle/babel.ini index 57eaf8dfd5..4420f0b290 100644 --- a/modules/weko-handle/babel.ini +++ b/modules/weko-handle/babel.ini @@ -14,7 +14,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-index-tree/babel.ini b/modules/weko-index-tree/babel.ini index 88aab57967..afb054df5d 100644 --- a/modules/weko-index-tree/babel.ini +++ b/modules/weko-index-tree/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-indextree-journal/babel.ini b/modules/weko-indextree-journal/babel.ini index 12f2b76643..044b46fbd1 100644 --- a/modules/weko-indextree-journal/babel.ini +++ b/modules/weko-indextree-journal/babel.ini @@ -15,7 +15,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-items-autofill/babel.ini b/modules/weko-items-autofill/babel.ini index 6c896788c5..104b84873c 100644 --- a/modules/weko-items-autofill/babel.ini +++ b/modules/weko-items-autofill/babel.ini @@ -14,7 +14,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-items-ui/babel.ini b/modules/weko-items-ui/babel.ini index 37e5dc7158..afb054df5d 100644 --- a/modules/weko-items-ui/babel.ini +++ b/modules/weko-items-ui/babel.ini @@ -27,8 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -slient = false -extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-items-ui/tests/test_views.py b/modules/weko-items-ui/tests/test_views.py index 620483e8cd..6d175e7796 100644 --- a/modules/weko-items-ui/tests/test_views.py +++ b/modules/weko-items-ui/tests/test_views.py @@ -20469,25 +20469,44 @@ def test_index_upload_acl(client, db_sessionlifetime, users, id, status_code): # def get_search_data(data_type=''): # .tox/c1/bin/pytest --cov=weko_items_ui tests/test_views.py::test_get_search_data_acl -vv -s --cov-branch --cov-report=term --basetemp=/code/modules/weko-items-ui/.tox/c1/tmp -def test_get_search_data_acl(client_api, db_sessionlifetime): +def test_get_search_data_acl_nologin(client_api, db_sessionlifetime): url = url_for( "weko_items_ui_api.get_search_data", data_type="username", _external=True ) res = client_api.get(url) - assert res.status_code == 200 - url = url_for( - "weko_items_ui_api.get_search_data", data_type="email", _external=True - ) - res = client_api.get(url) - assert res.status_code == 200 + assert res.status_code == 302 - url = url_for("weko_items_ui_api.get_search_data", data_type="hoge", _external=True) - res = client_api.get(url) - assert res.status_code == 200 + +@pytest.mark.parametrize( + "id, status_code", + [ + (0, 200), + (1, 200), + (2, 200), + (3, 200), + (4, 403), + (5, 403), + (6, 200), + (7, 403), + ], +) +def test_get_search_data_acl(client_api, db_sessionlifetime, users, id, status_code): + login_user_via_session(client=client_api, email=users[id]["email"]) + + for data_type in ("username", "email", "hoge"): + url = url_for( + "weko_items_ui_api.get_search_data", + data_type=data_type, + _external=True, + ) + res = client_api.get(url) + assert res.status_code == status_code # .tox/c1/bin/pytest --cov=weko_items_ui tests/test_views.py::test_get_search_data -vv -s --cov-branch --cov-report=term --basetemp=/code/modules/weko-items-ui/.tox/c1/tmp def test_get_search_data(client_api, users, db_userprofile, db_sessionlifetime): + login_user_via_session(client=client_api, email=users[0]["email"]) + url = url_for( "weko_items_ui_api.get_search_data", data_type="username", _external=True ) @@ -20497,7 +20516,6 @@ def test_get_search_data(client_api, users, db_userprofile, db_sessionlifetime): "error": "", "results": [ "user", - "contributor", "comadmin", "repoadmin", "sysadmin", @@ -20515,7 +20533,6 @@ def test_get_search_data(client_api, users, db_userprofile, db_sessionlifetime): "error": "", "results": [ "user@test.org", - "contributor@test.org", "comadmin@test.org", "repoadmin@test.org", "sysadmin@test.org", diff --git a/modules/weko-items-ui/weko_items_ui/views.py b/modules/weko-items-ui/weko_items_ui/views.py index b220611885..a79027b23a 100644 --- a/modules/weko-items-ui/weko_items_ui/views.py +++ b/modules/weko-items-ui/weko_items_ui/views.py @@ -671,6 +671,7 @@ def index_upload(): @blueprint_api.route('/get_search_data/', methods=['GET']) @login_required +@item_permission.require(http_exception=403) def get_search_data(data_type=''): """get_search_data. diff --git a/modules/weko-itemtypes-ui/babel.ini b/modules/weko-itemtypes-ui/babel.ini index 2892bd8c18..afb054df5d 100644 --- a/modules/weko-itemtypes-ui/babel.ini +++ b/modules/weko-itemtypes-ui/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-logging/babel.ini b/modules/weko-logging/babel.ini index 2892bd8c18..afb054df5d 100644 --- a/modules/weko-logging/babel.ini +++ b/modules/weko-logging/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-plugins/babel.ini b/modules/weko-plugins/babel.ini index 88aab57967..afb054df5d 100644 --- a/modules/weko-plugins/babel.ini +++ b/modules/weko-plugins/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-records-ui/babel.ini b/modules/weko-records-ui/babel.ini index 37e5dc7158..afb054df5d 100644 --- a/modules/weko-records-ui/babel.ini +++ b/modules/weko-records-ui/babel.ini @@ -27,8 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -slient = false -extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-records-ui/weko_records_ui/permissions.py b/modules/weko-records-ui/weko_records_ui/permissions.py index 299bd63d38..c7990d25b1 100644 --- a/modules/weko-records-ui/weko_records_ui/permissions.py +++ b/modules/weko-records-ui/weko_records_ui/permissions.py @@ -32,10 +32,12 @@ from invenio_access import Permission, action_factory from invenio_accounts.models import User, Role from invenio_db import db +from invenio_pidstore.errors import PIDDoesNotExistError from invenio_pidstore.models import PersistentIdentifier from invenio_records.models import RecordMetadata from weko_accounts.models import ShibbolethUser from weko_admin.models import AdminSettings +from weko_deposit.api import WekoRecord from weko_groups.api import Group, Membership, MembershipState from weko_index_tree.utils import check_index_permissions, get_user_roles from weko_index_tree.api import Indexes @@ -493,13 +495,13 @@ def check_created_id(record): Returns: bool: True is the current user has the edit permission. - """ + """ is_himself = False # Super users supers = current_app.config['WEKO_PERMISSION_SUPER_ROLE_USER'] user_id = current_user.get_id() \ if current_user and current_user.is_authenticated else None - if user_id is not None: + if user_id is not None: created_id = record.get('_deposit', {}).get('created_by') shared_id = record.get('weko_shared_id') if user_id and created_id and user_id == str(created_id): @@ -593,6 +595,61 @@ def check_billing_file_permission(item_id, file_name, download_status={}): return False +def get_file_charge_info(item_id, file_name): + """課金可否と課金額をサーバー側で判定する。 + + 画面の Charge ボタン表示条件(utils.get_file_info_list の add_billing_info)と + 同じ判定を行う。 + + Args: + item_id : アイテムID + file_name : ファイル名 + + Returns: + tuple: (status, price, unit) + status: + ok : 課金可能 + already : 購入済み + not_required : 課金せずにダウンロード可能 + invalid : 課金対象ではない + price (int) : 課金額(税込)。status が ok 以外の場合は None + unit (str) : 通貨単位。status が ok 以外の場合は None + """ + try: + record = WekoRecord.get_record_by_pid(item_id) + except PIDDoesNotExistError: + return 'invalid', None, None + + fjson = None + for key in record: + meta_data = record.get(key) + if not isinstance(meta_data, dict) or \ + meta_data.get('attribute_type') != 'file': + continue + attribute_value_mlt = meta_data.get("attribute_value_mlt", []) + for file_metadata in attribute_value_mlt: + if isinstance(file_metadata, dict) \ + and file_metadata.get('filename') == file_name: + fjson = file_metadata + break + if fjson is not None: + break + + if fjson is None or not fjson.get('billing'): + return 'invalid', None, None + download_status = {} + if check_file_download_permission(record, fjson, check_billing_file=True, + download_status=download_status): + if download_status.get('charge_status') == 'already': + return 'already', None, None + return 'not_required', None, None + + price, unit = get_file_price(record['_deposit']['id']) + if price is None or price <= 0: + return 'invalid', None, None + return 'ok', price, unit + + def get_file_price(item_id): """ファイルの支払い金額を取得する @@ -815,11 +872,11 @@ def create_charge(user_id, item_id, price, title, file_url, ret_url): def secure_charge(user_id, access_id): """3DS2.0認証後決済を行う - + Args: user_id : User ID access_id : Access ID - + Returns: str: connection_error : 通信エラー @@ -872,15 +929,15 @@ def secure_charge(user_id, access_id): # GMO通信エラー current_app.logger.error(f'connection_error in secure_charge: url: {url}, params: {params}, proxies: {proxies if proxy_mode else ""}') return 'connection_error' - + if isinstance(res_json, dict): if str(res_json.get('charge_status')) == '4': # 3DS2.0認証後決済成功 return str(res_json.get('trade_id')) - + current_app.logger.error(f'invalid response by charge API in secure_charge: url: {url}, params: {params}, proxies: {proxies if proxy_mode else ""}, res_json: {res_json}') return 'api_error' - + def close_charge(user_id, trade_id): """課金確定を行う @@ -963,7 +1020,7 @@ def _get_content_id_for_charge(item_id): # Check item has Y_handle try: """ - examle: + examle: Y_handle: "http://id.nii.ac.jp/1000/00000001" --> content_id: "1000_00000001" """ @@ -979,4 +1036,4 @@ def _get_content_id_for_charge(item_id): # Not has Y_handle content_id = f'{os.environ.get("INVENIO_WEB_HOST_NAME")}_{item_id}' - return content_id \ No newline at end of file + return content_id diff --git a/modules/weko-records-ui/weko_records_ui/static/js/weko_records_ui/app.js b/modules/weko-records-ui/weko_records_ui/static/js/weko_records_ui/app.js index 093343a46c..1faec3f29d 100644 --- a/modules/weko-records-ui/weko_records_ui/static/js/weko_records_ui/app.js +++ b/modules/weko-records-ui/weko_records_ui/static/js/weko_records_ui/app.js @@ -367,35 +367,90 @@ function handleConfirmButton() { }); } +function removeChargeItem(itemid) { + const email = document.getElementById('current_user_email').value; + const charge_key = 'charge_' + email; + let charge_item = JSON.parse(window.sessionStorage.getItem(charge_key)); + if (charge_item) { + const index = charge_item.indexOf(itemid); + if (index !== -1) { + charge_item.splice(index, 1); + } + if (charge_item.length === 0) { + window.sessionStorage.removeItem(charge_key); + } else { + window.sessionStorage.setItem(charge_key, JSON.stringify(charge_item)); + } + } +} + +function showChargeConfirmation(price, unit, priceChanged, previousPrice, previousUnit) { + const getDisplayUnit = function (value) { + const textarea = document.createElement('textarea'); + textarea.innerHTML = String(value); + return textarea.value; + }; + const priceWithUnit = getDisplayUnit(unit) + price; + const confirmationMessage = $('#charge_confirmation_message').empty(); + if (priceChanged) { + confirmationMessage.append( + $('').text(getDisplayUnit(previousUnit) + previousPrice), + document.createTextNode(' '), + $('').text(priceWithUnit) + ); + } else { + confirmationMessage.text(priceWithUnit); + } + confirmationMessage.append( + document.createTextNode(' ' + $('#charge_confirmation').val()) + ); + if (priceChanged) { + $('#charge_price_changed_message') + .text($('#charge_price_changed').val().replace('XXXXX', priceWithUnit)) + .show(); + } else { + $('#charge_price_changed_message').hide(); + } + $('#action_charge_confirmation').modal('show'); +} + function handleChargeBillingFile() { // 課金ボタン押下時の処理 $('button#charge-button').on('click', function () { const data = $(this).data(); - const message = data.unit + data.price + ' ' + $('#charge_confirmation').val(); - $('#charge_confirmation_message').html(message); - $('#action_charge_confirmation').modal('show'); + const price = data.price; + const unit = data.unit; + showChargeConfirmation(price, unit, false); }); // 課金ボタン押下時の処理(課金確認メッセージOK時の処理) $('button#modal_charge').on('click', function () { - $('#action_charge_confirmation').modal('hide'); + const confirmationModal = $('#action_charge_confirmation'); + const confirmationHidden = $.Deferred(); + confirmationModal.one('hidden.bs.modal', function () { + confirmationHidden.resolve(); + }); + confirmationModal.modal('hide'); const email = document.getElementById('current_user_email').value; const data = $('button#charge-button').data(); const charge_key = 'charge_' + email; + const itemid = data.itemid; let charge_item = JSON.parse(window.sessionStorage.getItem(charge_key)); if (charge_item) { - charge_item.push(data.itemid); + charge_item.push(itemid); } else { - charge_item = [data.itemid]; + charge_item = [itemid]; } window.sessionStorage.setItem(charge_key, JSON.stringify(charge_item)); + const previousPrice = data.price; + const previousUnit = data.unit; let params = { - 'item_id': data.itemid, + 'item_id': itemid, 'file_name': data.filename, 'title': data.title, 'price': data.price, } - params = Object.keys(params).map(key => key + '=' + params[key]).join('&'); + params = $.param(params); $.ajax({ url: '/charge' + '?' + params, type: 'GET', @@ -405,25 +460,34 @@ function handleChargeBillingFile() { window.location.href = data.redirect_url; return; } - if (data.status == 'success') { + if (data.status === 'success') { $('#success_flag').val('true') // 課金成功メッセージ表示 const message = $('#charge_success').val(); $('#charge_success_message').html(message); $('#action_charge_success').modal('show'); } - else if (data.status == 'already') { + else if (data.status === 'already') { // 課金済みメッセージ表示 const message = $('#charge_already').val(); $('#charge_success_message').html(message); $('#action_charge_success').modal('show'); } - else if (data.status == 'credit_error') { + else if (data.status === 'credit_error') { // 課金失敗メッセージ表示 const message = $('#charge_credit_error').val(); $('#charge_success_message').html(message); $('#action_charge_success').modal('show'); } + else if (data.status === 'price_changed') { + // 価格が変わったので、新しい金額で確認ダイアログを出し直す + $('button#charge-button').data('price', data.price); + $('button#charge-button').data('unit', data.unit); + removeChargeItem(itemid); + confirmationHidden.done(function () { + showChargeConfirmation(data.price, data.unit, true, previousPrice, previousUnit); + }); + } else { // 課金失敗メッセージ表示 const message = $('#charge_error').val(); @@ -442,57 +506,29 @@ function handleChargeBillingFile() { $('button#charge_modal_ok').on('click', function () { $('#action_charge_success').modal('hide'); - if ($('#success_flag').val() == 'true') { + if ($('#success_flag').val() === 'true') { // 画面を更新 location.reload(); } else { - const email = document.getElementById('current_user_email').value; - const charge_key = 'charge_' + email; const url = window.location.href; const split_url = url.split('/'); const itemid = Number(split_url[split_url.length - 1].split('?')[0]); - let charge_item = JSON.parse(window.sessionStorage.getItem(charge_key)); - if (charge_item) { - const index = charge_item.indexOf(itemid); - if (index != -1) { - charge_item.splice(index, 1); - } - if (charge_item.length == 0) { - window.sessionStorage.removeItem(charge_key); - } - else { - window.sessionStorage.setItem(charge_key, JSON.stringify(charge_item)); - } - } + removeChargeItem(itemid); } }); $('button#charge_modal_close_icon').on('click', function () { $('#action_charge_success').modal('hide'); - if ($('#success_flag').val() == 'true') { + if ($('#success_flag').val() === 'true') { // 画面を更新 location.reload(); } else { - const email = document.getElementById('current_user_email').value; - const charge_key = 'charge_' + email; const url = window.location.href; const split_url = url.split('/'); const itemid = Number(split_url[split_url.length - 1].split('?')[0]); - let charge_item = JSON.parse(window.sessionStorage.getItem(charge_key)); - if (charge_item) { - const index = charge_item.indexOf(itemid); - if (index != -1) { - charge_item.splice(index, 1); - } - if (charge_item.length == 0) { - window.sessionStorage.removeItem(charge_key); - } - else { - window.sessionStorage.setItem(charge_key, JSON.stringify(charge_item)); - } - } + removeChargeItem(itemid); } }); } @@ -521,7 +557,7 @@ function handleConfirmBillingFile() { let params = { 'item_id': itemid, } - params = Object.keys(params).map(key => key + '=' + params[key]).join('&'); + params = $.param(params); $.ajax({ url: '/charge/show' + '?' + params, type: 'GET', @@ -597,4 +633,4 @@ function confirm_login(action){ } else { return true; } -} \ No newline at end of file +} diff --git a/modules/weko-records-ui/weko_records_ui/templates/weko_records_ui/modal_charge_confirmation.html b/modules/weko-records-ui/weko_records_ui/templates/weko_records_ui/modal_charge_confirmation.html index d60f436b4a..7a11728aae 100644 --- a/modules/weko-records-ui/weko_records_ui/templates/weko_records_ui/modal_charge_confirmation.html +++ b/modules/weko-records-ui/weko_records_ui/templates/weko_records_ui/modal_charge_confirmation.html @@ -31,6 +31,8 @@ + diff --git a/modules/weko-records-ui/weko_records_ui/translations/en/LC_MESSAGES/messages.mo b/modules/weko-records-ui/weko_records_ui/translations/en/LC_MESSAGES/messages.mo index 359b1aecce..0d5c91cafb 100644 Binary files a/modules/weko-records-ui/weko_records_ui/translations/en/LC_MESSAGES/messages.mo and b/modules/weko-records-ui/weko_records_ui/translations/en/LC_MESSAGES/messages.mo differ diff --git a/modules/weko-records-ui/weko_records_ui/translations/en/LC_MESSAGES/messages.po b/modules/weko-records-ui/weko_records_ui/translations/en/LC_MESSAGES/messages.po index a7bf2ba2d9..033e9979f9 100644 --- a/modules/weko-records-ui/weko_records_ui/translations/en/LC_MESSAGES/messages.po +++ b/modules/weko-records-ui/weko_records_ui/translations/en/LC_MESSAGES/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: weko-records-ui 0.1.0.dev20170000\n" "Report-Msgid-Bugs-To: wekosoftware@nii.ac.jp\n" -"POT-Creation-Date: 2019-04-25 18:57+0900\n" +"POT-Creation-Date: 2026-10-20 10:49+0900\n" "PO-Revision-Date: 2018-04-12 18:06+0900\n" "Last-Translator: FULL NAME \n" "Language: en\n" @@ -19,552 +19,841 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.5.1\n" -#: weko_records_ui/admin.py:73 +#: weko_records_ui/admin.py:89 msgid "Author flag was updated." msgstr "Updated Author flag" -#: weko_records_ui/admin.py:137 weko_records_ui/admin.py:146 -#: weko_records_ui/admin.py:155 weko_records_ui/admin.py:353 +#: weko_records_ui/admin.py:153 +msgid "Institution Name was updated." +msgstr "" + +#: weko_records_ui/admin.py:216 weko_records_ui/admin.py:225 +#: weko_records_ui/admin.py:234 msgid "Setting" msgstr "" -#: weko_records_ui/admin.py:138 +#: weko_records_ui/admin.py:217 msgid "Others" msgstr "" -#: weko_records_ui/admin.py:147 +#: weko_records_ui/admin.py:226 weko_records_ui/admin.py:243 msgid "Items" msgstr "" -#: weko_records_ui/admin.py:156 +#: weko_records_ui/admin.py:235 #: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:98 msgid "PDF Cover Page" msgstr "" -#: weko_records_ui/admin.py:196 -msgid "Prefix" +#: weko_records_ui/admin.py:244 +msgid "Bulk Update" msgstr "" -#: weko_records_ui/admin.py:202 -msgid "Suffix" +#: weko_records_ui/config.py:327 +msgid "write your own license" msgstr "" -#: weko_records_ui/admin.py:204 -msgid "Enable/Disable" +#: weko_records_ui/config.py:332 +msgid "Creative Commons CC0 1.0 Universal Public Domain Designation" msgstr "" -#: weko_records_ui/admin.py:214 -msgid "Repository" +#: weko_records_ui/config.py:347 +msgid "Creative Commons Attribution 3.0 Unported (CC BY 3.0)" msgstr "" -#: weko_records_ui/admin.py:214 -msgid "JaLC DOI" +#: weko_records_ui/config.py:359 +msgid "Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)" msgstr "" -#: weko_records_ui/admin.py:215 -msgid "JaLC CrossRef DOI" +#: weko_records_ui/config.py:373 +msgid "Creative Commons Attribution-NoDerivs 3.0 Unported (CC BY-ND 3.0)" msgstr "" -#: weko_records_ui/admin.py:216 -msgid "JaLC DataCite DOI" +#: weko_records_ui/config.py:387 +msgid "Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)" msgstr "" -#: weko_records_ui/admin.py:829 -msgid "NDL JaLC DOI" +#: weko_records_ui/config.py:401 +msgid "" +"Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC " +"BY-NC-SA 3.0)" msgstr "" -#: weko_records_ui/admin.py:217 -msgid "CNRI" +#: weko_records_ui/config.py:415 +msgid "" +"Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-" +"NC-ND 3.0)" msgstr "" -#: weko_records_ui/admin.py:218 -msgid "Semi-automatic Suffix" -msgstr "Formatted Suffix" +#: weko_records_ui/config.py:430 +msgid "Creative Commons Attribution 4.0 International (CC BY 4.0)" +msgstr "" -#: weko_records_ui/admin.py:235 -msgid "Only allow halfwith 1-bytes character in input" +#: weko_records_ui/config.py:442 +msgid "Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)" msgstr "" -#: weko_records_ui/admin.py:354 -msgid "Identifier" +#: weko_records_ui/config.py:456 +msgid "" +"Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND " +"4.0)" msgstr "" -#: weko_records_ui/config.py:46 -msgid "write your own license" +#: weko_records_ui/config.py:470 +msgid "" +"Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC " +"4.0)" +msgstr "" + +#: weko_records_ui/config.py:484 +msgid "" +"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International " +"(CC BY-NC-SA 4.0)" +msgstr "" + +#: weko_records_ui/config.py:498 +msgid "" +"Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 " +"International (CC BY-NC-ND 4.0)" +msgstr "" + +#: weko_records_ui/fd.py:469 weko_records_ui/fd.py:473 +#: weko_records_ui/fd.py:480 weko_records_ui/utils.py:1090 +msgid "Unexpected error occurred." msgstr "" -#: weko_records_ui/config.py:47 weko_records_ui/views.py:178 -msgid "Creative Commons : Attribution" +#: weko_records_ui/pdf.py:662 +msgid "The storage path is incorrect." msgstr "" -#: weko_records_ui/config.py:48 weko_records_ui/views.py:179 -msgid "Creative Commons : Attribution - ShareAlike" +#: weko_records_ui/pdf.py:664 weko_records_ui/pdf.py:677 +#: weko_records_ui/pdf.py:690 +msgid "Please contact the administrator." msgstr "" -#: weko_records_ui/config.py:49 weko_records_ui/views.py:180 -msgid "Creative Commons : Attribution - NoDerivatives" +#: weko_records_ui/pdf.py:675 +msgid "The storage location cannot be accessed." msgstr "" -#: weko_records_ui/config.py:50 weko_records_ui/views.py:181 -msgid "Creative Commons : Attribution - NonCommercial" +#: weko_records_ui/pdf.py:689 +msgid "There is not enough storage space." msgstr "" -#: weko_records_ui/config.py:51 weko_records_ui/views.py:182 -msgid "Creative Commons : Attribution - NonCommercial - ShareAlike" +#: weko_records_ui/utils.py:307 +msgid "Item cannot be deleted because the import is in progress." msgstr "" -#: weko_records_ui/config.py:52 weko_records_ui/views.py:183 -msgid "Creative Commons : Attribution - NonCommercial - NoDerivatives" +#: weko_records_ui/templates/weko_records_ui/body_contents.html:216 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:147 +#: weko_records_ui/utils.py:761 +msgid "Restricted Access" msgstr "" -#: weko_records_ui/utils.py:782 +#: weko_records_ui/utils.py:859 msgid "Purchased" msgstr "" -#: weko_records_ui/views.py:479 +#: weko_records_ui/utils.py:1092 +msgid "Failed to send mail." +msgstr "" + +#: weko_records_ui/utils.py:1131 weko_records_ui/utils.py:1167 +msgid "Token is invalid." +msgstr "" + +#: weko_records_ui/utils.py:1184 +msgid "The expiration date for download has been exceeded." +msgstr "" + +#: weko_records_ui/utils.py:1191 +msgid "The download limit has been exceeded." +msgstr "" + +#: weko_records_ui/utils.py:1312 +msgid "Guest" +msgstr "" + +#: weko_records_ui/utils.py:1323 +msgid "Free Input" +msgstr "" + +#: weko_records_ui/views.py:819 msgid "PDF cover page settings have been updated." msgstr "Updated PDF cover settings" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:34 -msgid "Index" +#: weko_records_ui/templates/weko_records_ui/_macros.html:23 +msgid "This data is not available for this user." msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:60 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:29 -msgid "Item" +#: weko_records_ui/templates/weko_records_ui/_macros.html:45 +#: weko_records_ui/templates/weko_records_ui/_macros.html:58 +#: weko_records_ui/templates/weko_records_ui/_macros.html:70 +#: weko_records_ui/templates/weko_records_ui/_macros.html:83 +#: weko_records_ui/templates/weko_records_ui/_macros.html:101 +#: weko_records_ui/templates/weko_records_ui/_macros.html:130 +#: weko_records_ui/templates/weko_records_ui/_macros.html:144 +#: weko_records_ui/templates/weko_records_ui/_macros.html:159 +#: weko_records_ui/templates/weko_records_ui/_macros.html:175 +#: weko_records_ui/templates/weko_records_ui/_macros.html:193 +msgid "Apply JGSS" +msgstr "Apply" + +#: weko_records_ui/templates/weko_records_ui/_macros.html:210 +msgid "Terms and Conditions" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:63 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:32 -msgid "No title" +#: weko_records_ui/templates/weko_records_ui/_macros.html:232 +msgid "I have read and agreed to the Terms and Conditions" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/_macros.html:242 +#: weko_records_ui/templates/weko_records_ui/box/analysis.html:79 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:55 +msgid "Next" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:25 +msgid "Send" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:85 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:25 +msgid "Please input email address." +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:37 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:33 +msgid "Item" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:68 #: weko_records_ui/templates/weko_records_ui/box/preview.html:48 msgid "Name" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:85 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:53 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:68 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:64 msgid "File" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:86 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:54 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:69 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:65 msgid "License" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:98 -msgid "Detail" +#: weko_records_ui/templates/weko_records_ui/body_contents.html:70 +msgid "Actions" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:127 -msgid "Restricted Access" +#: weko_records_ui/templates/weko_records_ui/body_contents.html:121 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:97 +msgid "" +"The file cannot be downloaded because you do not have permission to view " +"this file." msgstr "" +"The file cannot be downloaded because you do not have permission to view " +"it." -#: weko_records_ui/templates/weko_records_ui/body_contents.html:136 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:77 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:170 +msgid "There is no download authority." +msgstr "There is no download authority." + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:171 +msgid "" +"\n" +" If you would like to download immediately, you need to login. \n" +" You want to login?" +msgstr "" +"\n" +" If you would like to download immediately, you need to login. \n" +" You want to login?" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:172 +msgid "" +"\n" +" If you would like to preview immediately, you need to login. \n" +" You want to login?" +msgstr "" +"\n" +" If you would like to preview immediately, you need to login. \n" +" You want to login?" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:232 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:117 msgid "Original" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:147 -msgid "Plagiarism Check" +#: weko_records_ui/templates/weko_records_ui/body_contents.html:269 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:61 +msgid "Download" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:284 +msgid "Charge" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:303 +msgid "Information" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:161 -#: weko_records_ui/templates/weko_records_ui/body_contents.html:188 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:318 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:327 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:335 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:345 #: weko_records_ui/templates/weko_records_ui/box/preview.html:34 #: weko_records_ui/templates/weko_records_ui/box/preview.html:61 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:114 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:139 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:34 msgid "Preview" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:226 -msgid "item type" +#: weko_records_ui/templates/weko_records_ui/body_contents.html:360 +msgid "site_license_member" +msgstr "Site License Member" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:364 +msgid "open_access" +msgstr "Open Access" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:401 +msgid "Jupyter" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:422 +msgid "Back" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:427 +msgid "Edit" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:432 +msgid "Delete" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:435 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:445 +msgid "The workflow is being edited." +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:437 +msgid "The item cannot be deleted because it has a DOI." +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:439 +msgid "You cannot keep an item private because it has a DOI." +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:453 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:500 +#: weko_records_ui/templates/weko_records_ui/file_details.html:116 +msgid "Confirm" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:456 +msgid "Are you sure you want to delete this item?" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:459 +msgid "OK" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:460 +msgid "Cancel" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:504 +#: weko_records_ui/templates/weko_records_ui/file_details.html:119 +msgid "This file is a Billing file. (Price: XXXXX). Do you want to download it?" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:508 +#: weko_records_ui/templates/weko_records_ui/file_details.html:123 +msgid "Yes" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:509 +#: weko_records_ui/templates/weko_records_ui/file_details.html:124 +msgid "No" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/creator_detail_template.html:110 +#: weko_records_ui/templates/weko_records_ui/creator_detail_template.html:115 +msgid "Search repository" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/box/export.html:26 +#: weko_records_ui/templates/weko_records_ui/export_well.html:24 +msgid "OAI-PMH" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/box/export.html:23 +#: weko_records_ui/templates/weko_records_ui/export_well.html:38 +msgid "Export" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/box/head.html:82 +#: weko_records_ui/templates/weko_records_ui/box/head.html:85 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:36 +msgid "No title" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:143 +msgid "Plagarism Check" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:169 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:192 +msgid "Version" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/box/stats.html:5 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:170 +msgid "Stats" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:178 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:198 +msgid "Show" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:179 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:198 +msgid "Hide" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:193 +msgid "Date Modified" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:194 +msgid "Object File Name" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:195 +msgid "File Size" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:196 +msgid "File Hash Value" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:197 +msgid "Contributor Name" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:219 +msgid "Downloads" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:227 +msgid "Plays" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/box/stats.html:29 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:237 +msgid "See details" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/item_detail.html:39 +msgid "Item type" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/item_detail.html:109 +msgid "Thumbnail" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:289 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:141 msgid "Link" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:299 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:153 msgid "Publish Status" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:312 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:167 msgid "Public" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:314 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:172 msgid "Change to Private" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:317 -#: weko_records_ui/templates/weko_records_ui/body_contents.html:323 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:175 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:185 msgid "Private" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:319 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:180 msgid "Change to Public" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:323 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:184 msgid "Publish" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:343 -msgid "Back" -msgstr "" +#: weko_records_ui/templates/weko_records_ui/modal_charge_confirmation.html:59 +msgid "charge_confirmation" +msgstr "will be charged. Do you really want to purchase?" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:347 -msgid "Edit" -msgstr "" +#: weko_records_ui/templates/weko_records_ui/modal_charge_confirmation.html:60 +msgid "charge_price_changed" +msgstr "The price has changed. Do you want to purchase at this price (XXXXX)?" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:352 -msgid "Delete" -msgstr "" +#: weko_records_ui/templates/weko_records_ui/modal_charge_success.html:40 +msgid "charge_success" +msgstr "Charge successful." -#: weko_records_ui/templates/weko_records_ui/body_contents.html:359 -msgid "Confirm" -msgstr "" +#: weko_records_ui/templates/weko_records_ui/modal_charge_success.html:41 +msgid "charge_already" +msgstr "Already charged." -#: weko_records_ui/templates/weko_records_ui/body_contents.html:349 -msgid "The workflow is being edited." -msgstr "" +#: weko_records_ui/templates/weko_records_ui/modal_charge_success.html:42 +msgid "charge_credit_error" +msgstr "Charge failed. Please check your credit card information." -#: weko_records_ui/templates/weko_records_ui/body_contents.html:362 -msgid "Are you sure you want to delete this item?" -msgstr "" +#: weko_records_ui/templates/weko_records_ui/modal_charge_success.html:43 +msgid "charge_error" +msgstr "Charge failed." -#: weko_records_ui/templates/weko_records_ui/body_contents.html:365 -msgid "OK" +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:135 +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:176 +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:231 +msgid "Language:" msgstr "" -#: weko_records_ui/templates/weko_records_ui/body_contents.html:366 -msgid "Cancel" +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:326 +msgid "PriceInfo" +msgstr "Price" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:329 +msgid "FileName" +msgstr "File Name" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:345 +msgid "tax" +msgstr "Tax" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:345 +msgid "without_tax" +msgstr "Without tax" + +#: weko_records_ui/templates/weko_records_ui/tombstone.html:13 +msgid "This item has been deleted." msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:34 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:25 msgid "Fields For Update" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:65 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:58 msgid "Open Access" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:68 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:61 msgid "Open Access Date" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:72 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:65 msgid "Login User Only" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:83 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:76 msgid "Add Field" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:91 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:84 msgid "Search" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:119 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:110 msgid "Item list" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:132 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:123 msgid "Export Checked Items" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:133 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:124 msgid "Export All Displayed Items" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:134 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:125 msgid "Export All Items Of This Index" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:135 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:126 msgid "Print Checked Items" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:136 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:127 msgid "Print All Displayed Items" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:137 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:128 msgid "Print All Items Of This Index" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:139 -msgid "Execution" -msgstr "" - -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:142 -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:169 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:132 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:159 msgid "Display order" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:144 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:134 msgid "Title(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:145 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:135 msgid "Title(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:146 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:136 msgid "Registrant(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:147 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:137 msgid "Registrant(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:148 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:138 msgid "Item Types(Asending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:149 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:139 msgid "Item Types(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:150 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:140 msgid "ID(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:151 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:141 msgid "ID(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:152 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:142 msgid "Modified Date and Time(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:153 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:143 msgid "Modified Date and Time(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:154 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:144 msgid "Created Date and Time(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:155 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:145 msgid "Created Date and Time(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:156 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:146 msgid "Review Date and Time(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:157 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:147 msgid "Review Date and Time(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:158 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:148 msgid "Published Year(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:159 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:149 msgid "Published Year(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:160 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:150 msgid "Custom(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:161 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:151 msgid "Custom(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:188 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:178 msgid "The number of display" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:204 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:194 msgid "Select All" msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:208 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:198 msgid "Search failed." msgstr "" -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:214 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:204 msgid "Loading..." msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:57 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:89 -#: weko_records_ui/templates/weko_records_ui/bulk_update_display.html:243 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:233 msgid "Update" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/export.html:25 -#: weko_records_ui/templates/weko_records_ui/export_well.html:24 -msgid "OAI-PMH" +#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:43 +msgid "Institution Name" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/export.html:39 -#: weko_records_ui/templates/weko_records_ui/export_well.html:38 -msgid "Export" +#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:56 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:90 +#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:241 +msgid "Save" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:101 -msgid "Plagarism Check" +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:35 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:41 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:50 +msgid "Display Email" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:177 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:194 -msgid "Version" +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:45 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:54 +msgid "Hide Email" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/stats.html:4 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:178 -msgid "Stats" +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:61 +msgid "Open Date" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:186 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:200 -msgid "Show" +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:67 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:76 +msgid "Display" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:187 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:200 -msgid "Hide" +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:71 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:80 +msgid "Hide Open Date" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:195 -msgid "Date Modified" +#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:137 +msgid "Header Settings" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:196 -msgid "Object File Name" +#: weko_records_ui/templates/weko_records_ui/box/analysis.html:27 +#: weko_records_ui/templates/weko_records_ui/box/analysis.html:31 +msgid "Online Analysis" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:197 -msgid "File Size" +#: weko_records_ui/templates/weko_records_ui/box/analysis.html:42 +msgid "Terms of Use" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:198 -msgid "File Hash Value" +#: weko_records_ui/templates/weko_records_ui/box/analysis.html:70 +msgid "I have read and agreed to the Terms of Use" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:199 -msgid "Contributor Name" +#: weko_records_ui/templates/weko_records_ui/box/export.html:40 +msgid "Other Formats" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:220 -msgid "Downloads" +#: weko_records_ui/templates/weko_records_ui/box/head.html:26 +msgid "There is a" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:228 -msgid "Plays" +#: weko_records_ui/templates/weko_records_ui/box/head.html:27 +msgid "newer version" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/stats.html:22 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:238 -msgid "See details" +#: weko_records_ui/templates/weko_records_ui/box/head.html:27 +msgid "of this record available." msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:29 -msgid "Life Time" +#: weko_records_ui/templates/weko_records_ui/box/meta.html:42 +msgid "Publication date" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:46 -msgid "Institution Name" +#: weko_records_ui/templates/weko_records_ui/box/meta.html:48 +msgid "Schema" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:34 -msgid "Search Author" +#: weko_records_ui/templates/weko_records_ui/box/preview.html:49 +msgid "Size" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:40 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:49 -msgid "Search by Author Name" +#: weko_records_ui/templates/weko_records_ui/box/preview.html:58 +msgid "" +"This is the file fingerprint (MD5 checksum), which can be used to verify " +"the file integrity." msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:44 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:53 -msgid "Search by Author ID" +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:47 +msgid "First" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:60 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:66 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:75 -msgid "Display Email" +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:51 +msgid "Previous" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:70 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:79 -msgid "Hide Email" +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:59 +msgid "Last" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:137 -msgid "Header Settings" +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:119 +msgid "Cannot preview because the file size is too large." msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:241 -msgid " Update" +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:138 +msgid "No preview available." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/analysis.html:27 -#: weko_records_ui/templates/weko_records_ui/box/analysis.html:31 -msgid "Online Analysis" +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:155 +msgid "Unable to load preview." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/analysis.html:42 -msgid "Terms of Use" +#: weko_records_ui/templates/weko_records_ui/box/share.html:23 +msgid "Share" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/analysis.html:70 -msgid "I have read and agreed to the Terms of Use" -msgstr "" +#: weko_records_ui/templates/weko_records_ui/box/share.html:55 +msgid "Your record could not be processed by the citation formatter" +msgstr "Could not show by the citation formatter" -#: weko_records_ui/templates/weko_records_ui/box/analysis.html:79 -msgid "Next" +#: weko_records_ui/templates/weko_records_ui/box/stats.html:21 +msgid "Choose stats period" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/meta.html:42 -msgid "Publication date" +#: weko_records_ui/templates/weko_records_ui/box/stats.html:36 +msgid "Views" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/meta.html:48 -msgid "Schema" +#: weko_records_ui/templates/weko_records_ui/box/tools.html:23 +msgid "Tools" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview.html:49 -msgid "Size" +#: weko_records_ui/templates/weko_records_ui/box/versions.html:2 +msgid "Versions" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview.html:58 -msgid "" -"This is the file fingerprint (MD5 checksum), which can be used to verify " -"the file integrity." +#: weko_records_ui/templates/weko_records_ui/box/versions.html:5 +msgid "Ver." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview.html:61 -msgid "Download" +#: weko_records_ui/templates/weko_records_ui/box/versions.html:37 +msgid "Show All versions" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/share.html:23 -msgid "Share" -msgstr "" +# NOTE: Babel cannot extract msgids passed via a variable. +# Keep the following entries when regenerating this POT. +msgid "Download is available from {}/{}/{}." +msgstr "Download is available from {}/{}/{}." -#: weko_records_ui/templates/weko_records_ui/box/share.html:41 -msgid "Your record could not be processed by the citation formatter" -msgstr "Could not show by the citation formatter" +msgid "Download / Preview is available from {}/{}/{}." +msgstr "Download / Preview is available from {}/{}/{}." -#: weko_records_ui/templates/weko_records_ui/box/stats.html:29 -msgid "Views" -msgstr "" +msgid "billingrole" +msgstr "Role" -#: weko_records_ui/templates/weko_records_ui/box/versions.html:2 -msgid "Versions" +msgid "include_tax" +msgstr "Include tax" + +msgid "price" +msgstr "Price" + +# NOTE: Defined by email_modal in weko-theme/macros/modal_page.html and +# rendered via weko-records-ui/templates/weko_records_ui/body_contents.html. +msgid "Email address" msgstr "" -#: weko_workflow/templates/weko_workflow/modal_withdraw_confirmation.html:44 -msgid "Are you sure you want to withdraw DOI?" +msgid "Email address(reconfirmation)" msgstr "" #~ msgid "Privating" @@ -588,834 +877,741 @@ msgstr "" #~ msgid "Period" #~ msgstr "" -#: weko-records-ui/weko_records_ui/templates/weko_records_ui/body_contents.html:146 -#: weko-records-ui/weko_records_ui/templates/weko_records_ui/file_details_contents.html:86 -msgid "The file cannot be downloaded because you do not have permission to view this file." -msgstr "The file cannot be downloaded because you do not have permission to view it." +#~ msgid "Prefix" +#~ msgstr "" -#: weko-records-ui/weko_records_ui/templates/weko_records_ui/body_contents.html:436 -#: weko-records-ui/weko_records_ui/templates/weko_records_ui/file_details.html:112 -msgid "This file is a Billing file. (Price: XXXXX). Do you want to download it?" -msgstr "" +#~ msgid "Suffix" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "There is a" -msgstr "" +#~ msgid "Enable/Disable" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "newer version" -msgstr "" +#~ msgid "Repository" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "of this record available." -msgstr "" +#~ msgid "JaLC DOI" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "User Name" -msgstr "" +#~ msgid "JaLC CrossRef DOI" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Corresponding Usage Application ID" -msgstr "" +#~ msgid "JaLC DataCite DOI" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Annual Report" -msgstr "" +#~ msgid "NDL JaLC DOI" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Corresponding Output ID" -msgstr "" +#~ msgid "CNRI" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Data Type" -msgstr "" +#~ msgid "Semi-automatic Suffix" +#~ msgstr "Formatted Suffix" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Content File" -msgstr "" +#~ msgid "Only allow halfwith 1-bytes character in input" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Affiliated Institution" -msgstr "" +#~ msgid "Identifier" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "User Information" -msgstr "" +#~ msgid "Creative Commons : Attribution" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "FullName" -msgstr "" +#~ msgid "Creative Commons : Attribution - ShareAlike" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Usage location" -msgstr "" +#~ msgid "Creative Commons : Attribution - NoDerivatives" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Advisor Name" -msgstr "" +#~ msgid "Creative Commons : Attribution - NonCommercial" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Advisor Affiliation" -msgstr "" +#~ msgid "Creative Commons : Attribution - NonCommercial - ShareAlike" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Advisor Mail Address" -msgstr "" +#~ msgid "Creative Commons : Attribution - NonCommercial - NoDerivatives" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Advisor Phone Number" -msgstr "" +#~ msgid "Index" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Research Title" -msgstr "" +#~ msgid "Detail" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Research Plan" -msgstr "" +#~ msgid "Plagiarism Check" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Guarantor Name" -msgstr "" +#~ msgid "item type" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Guarantor Affiliation" -msgstr "" +#~ msgid "Execution" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Guarantor Mail Address" -msgstr "" +#~ msgid "Life Time" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Item Title" -msgstr "" +#~ msgid "Search Author" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Position(Other)" -msgstr "" +#~ msgid "Search by Author Name" +#~ msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:6 -msgid "Affiliation" -msgstr "" +#~ msgid "Search by Author ID" +#~ msgstr "" -msgid "PubDate" -msgstr "" +#~ msgid " Update" +#~ msgstr "" -msgid "life" -msgstr "" +#~ msgid "Are you sure you want to withdraw DOI?" +#~ msgstr "" -msgid "accumulation" -msgstr "" +#~ msgid "User Name" +#~ msgstr "" -msgid "combinational_analysis" -msgstr "" +#~ msgid "Corresponding Usage Application ID" +#~ msgstr "" -msgid "perfectures" -msgstr "" +#~ msgid "Annual Report" +#~ msgstr "" -msgid "location_information" -msgstr "" +#~ msgid "Corresponding Output ID" +#~ msgstr "" -msgid "Output Type" -msgstr "" +#~ msgid "Data Type" +#~ msgstr "" -msgid "Published Media Name" -msgstr "" +#~ msgid "Content File" +#~ msgstr "" -msgid "Published URL (DOI)" -msgstr "" +#~ msgid "Affiliated Institution" +#~ msgstr "" -msgid "Published Date" -msgstr "" +#~ msgid "User Information" +#~ msgstr "" -msgid "Field" -msgstr "" +#~ msgid "FullName" +#~ msgstr "" -msgid "Member" -msgstr "" +#~ msgid "Usage location" +#~ msgstr "" -msgid "Dataset Usage" -msgstr "" +#~ msgid "Advisor Name" +#~ msgstr "" -msgid "Stop" -msgstr "" +#~ msgid "Advisor Affiliation" +#~ msgstr "" -msgid "Position(Others)" -msgstr "" +#~ msgid "Advisor Mail Address" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution 3.0 Unported (CC BY 3.0)" -msgstr "" +#~ msgid "Advisor Phone Number" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)" -msgstr "" +#~ msgid "Research Title" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NoDerivs 3.0 Unported (CC BY-ND 3.0)" -msgstr "" +#~ msgid "Research Plan" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)" -msgstr "" +#~ msgid "Guarantor Name" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)" -msgstr "" +#~ msgid "Guarantor Affiliation" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0)" -msgstr "" +#~ msgid "Guarantor Mail Address" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution 4.0 International (CC BY 4.0)" -msgstr "" +#~ msgid "Item Title" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)" -msgstr "" +#~ msgid "Position(Other)" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)" -msgstr "" +#~ msgid "Affiliation" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)" -msgstr "" +#~ msgid "PubDate" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)" -msgstr "" +#~ msgid "life" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)" -msgstr "" +#~ msgid "accumulation" +#~ msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons CC0 1.0 Universal Public Domain Designation" -msgstr "" +#~ msgid "combinational_analysis" +#~ msgstr "" -# WEKO_RECORDS_UI_ITEM_DETAIL -msgid "Date (ISO-8601)" -msgstr "" +#~ msgid "perfectures" +#~ msgstr "" -msgid "Subject" -msgstr "" +#~ msgid "location_information" +#~ msgstr "" -msgid "Subject Scheme" -msgstr "" +#~ msgid "Output Type" +#~ msgstr "" -msgid "Subject URI" -msgstr "" +#~ msgid "Published Media Name" +#~ msgstr "" -msgid "Alternative Title" -msgstr "" +#~ msgid "Published URL (DOI)" +#~ msgstr "" -msgid "Creator" -msgstr "" +#~ msgid "Published Date" +#~ msgstr "" -msgid "Creator Name Identifier" -msgstr "" +#~ msgid "Field" +#~ msgstr "" -msgid "Creator Name Identifier Scheme" -msgstr "" +#~ msgid "Member" +#~ msgstr "" -msgid "Creator Name Identifier URI" -msgstr "" +#~ msgid "Dataset Usage" +#~ msgstr "" -msgid "Creator Name" -msgstr "" +#~ msgid "Stop" +#~ msgstr "" -msgid "Name_" -msgstr "Name" +#~ msgid "Position(Others)" +#~ msgstr "" -msgid "Creator Family Name" -msgstr "" +# WEKO_RECORDS_UI_ITEM_DETAIL +#~ msgid "Date (ISO-8601)" +#~ msgstr "" -msgid "Family Name" -msgstr "" +#~ msgid "Subject" +#~ msgstr "" -msgid "Creator Given Name" -msgstr "" +#~ msgid "Subject Scheme" +#~ msgstr "" -msgid "Given Name" -msgstr "" +#~ msgid "Subject URI" +#~ msgstr "" -msgid "Creator Alternative Name" -msgstr "" +#~ msgid "Alternative Title" +#~ msgstr "" -msgid "Alternative Name" -msgstr "" +#~ msgid "Creator" +#~ msgstr "" -msgid "Affiliation Name Identifier" -msgstr "" +#~ msgid "Creator Name Identifier" +#~ msgstr "" -msgid "Affiliation Name Identifier Scheme" -msgstr "" +#~ msgid "Creator Name Identifier Scheme" +#~ msgstr "" -msgid "Affiliation Name Identifier URI" -msgstr "" +#~ msgid "Creator Name Identifier URI" +#~ msgstr "" -msgid "Affiliation Name" -msgstr "" +#~ msgid "Creator Name" +#~ msgstr "" -msgid "Creator Email Address" -msgstr "" +#~ msgid "Name_" +#~ msgstr "Name" -msgid "Description Type" -msgstr "" +#~ msgid "Creator Family Name" +#~ msgstr "" -msgid "Bibliographic Information" -msgstr "" +#~ msgid "Family Name" +#~ msgstr "" -msgid "Journal Title" -msgstr "" +#~ msgid "Creator Given Name" +#~ msgstr "" -msgid "Volume Number" -msgstr "" +#~ msgid "Given Name" +#~ msgstr "" -msgid "Issue Number" -msgstr "" +#~ msgid "Creator Alternative Name" +#~ msgstr "" -msgid "Page Start" -msgstr "" +#~ msgid "Alternative Name" +#~ msgstr "" -msgid "Page End" -msgstr "" +#~ msgid "Affiliation Name Identifier" +#~ msgstr "" -msgid "Publication year" -msgstr "" +#~ msgid "Affiliation Name Identifier Scheme" +#~ msgstr "" -msgid "Date Type" -msgstr "" - -msgid "Publisher" -msgstr "" - -msgid "Source Identifier" -msgstr "" - -msgid "Source Identifier Type" -msgstr "" - -msgid "Relation" -msgstr "" - -msgid "RelationType" -msgstr "" - -msgid "Related Identifier" -msgstr "" - -msgid "Related Identifier Type" -msgstr "" - -msgid "Identifier Type" -msgstr "" - -msgid "Related Title" -msgstr "" - -msgid "Rights" -msgstr "" - -msgid "Resource" -msgstr "" - -msgid "Fileinfo" -msgstr "" - -msgid "Text" -msgstr "" - -msgid "Version Type" -msgstr "" - -msgid "URI" -msgstr "" - -msgid "Label" -msgstr "" - -msgid "Mime Type" -msgstr "" - -msgid "Heading" -msgstr "" +#~ msgid "Affiliation Name Identifier URI" +#~ msgstr "" -msgid "Headline" -msgstr "" +#~ msgid "Affiliation Name" +#~ msgstr "" -msgid "Subheading" -msgstr "" +#~ msgid "Creator Email Address" +#~ msgstr "" -msgid "Access Right" -msgstr "" +#~ msgid "Description Type" +#~ msgstr "" -msgid "Access Rights URI" -msgstr "" +#~ msgid "Bibliographic Information" +#~ msgstr "" -msgid "Contributor" -msgstr "" +#~ msgid "Journal Title" +#~ msgstr "" -msgid "Contributor Type" -msgstr "" +#~ msgid "Volume Number" +#~ msgstr "" -msgid "Contributor Name Identifier" -msgstr "" +#~ msgid "Issue Number" +#~ msgstr "" -msgid "Contributor Name Identifier Scheme" -msgstr "" +#~ msgid "Page Start" +#~ msgstr "" -msgid "Contributor Name Identifier URI" -msgstr "" +#~ msgid "Page End" +#~ msgstr "" -msgid "Contributor_Name" -msgstr "Contributor Name" +#~ msgid "Publication year" +#~ msgstr "" -msgid "Contributor Family Name" -msgstr "" +#~ msgid "Date Type" +#~ msgstr "" -msgid "Contributor Given Name" -msgstr "" +#~ msgid "Publisher" +#~ msgstr "" -msgid "Contributor Alternative Name" -msgstr "" +#~ msgid "Source Identifier" +#~ msgstr "" -msgid "Contributor Alternative" -msgstr "" +#~ msgid "Source Identifier Type" +#~ msgstr "" -msgid "Contributor Email Address" -msgstr "" +#~ msgid "Relation" +#~ msgstr "" -msgid "Degree Name" -msgstr "" +#~ msgid "RelationType" +#~ msgstr "" -msgid "Degree Grantor" -msgstr "" +#~ msgid "Related Identifier" +#~ msgstr "" -msgid "Degree Grantor Name Identifier" -msgstr "" +#~ msgid "Related Identifier Type" +#~ msgstr "" -msgid "Degree Grantor Name" -msgstr "" +#~ msgid "Identifier Type" +#~ msgstr "" -msgid "Date Granted" -msgstr "" +#~ msgid "Related Title" +#~ msgstr "" -msgid "Dissertation Number" -msgstr "" +#~ msgid "Rights" +#~ msgstr "" -msgid "Contributor ID" -msgstr "" +#~ msgid "Resource" +#~ msgstr "" -msgid "Funding Reference" -msgstr "" +#~ msgid "Fileinfo" +#~ msgstr "" -msgid "Funder Name" -msgstr "" +#~ msgid "Text" +#~ msgstr "" -msgid "Award Number" -msgstr "" +#~ msgid "Version Type" +#~ msgstr "" -msgid "Book Name" -msgstr "" +#~ msgid "URI" +#~ msgstr "" -msgid "Date Reported" -msgstr "" +#~ msgid "Label" +#~ msgstr "" -msgid "Name Identifier" -msgstr "" +#~ msgid "Mime Type" +#~ msgstr "" -msgid "Name Identifier Scheme" -msgstr "" +#~ msgid "Heading" +#~ msgstr "" -msgid "Description_" -msgstr "Description" +#~ msgid "Headline" +#~ msgstr "" -msgid "Rights Resource" -msgstr "" +#~ msgid "Subheading" +#~ msgstr "" -msgid "Rights Holder" -msgstr "" +#~ msgid "Access Right" +#~ msgstr "" -msgid "Rights Holder Name Identifier" -msgstr "" +#~ msgid "Access Rights URI" +#~ msgstr "" -msgid "Rights Holder Name Identifier Scheme" -msgstr "" +#~ msgid "Contributor" +#~ msgstr "" -msgid "Rights Holder Name Identifier URI" -msgstr "" +#~ msgid "Contributor Type" +#~ msgstr "" -msgid "Rights Holder Name" -msgstr "" +#~ msgid "Contributor Name Identifier" +#~ msgstr "" -msgid "Resource Type" -msgstr "" +#~ msgid "Contributor Name Identifier Scheme" +#~ msgstr "" -msgid "Temporal" -msgstr "" +#~ msgid "Contributor Name Identifier URI" +#~ msgstr "" -msgid "Geo Location" -msgstr "" +#~ msgid "Contributor_Name" +#~ msgstr "Contributor Name" -msgid "Geo Location Point" -msgstr "" +#~ msgid "Contributor Family Name" +#~ msgstr "" -msgid "Point Longitude" -msgstr "" +#~ msgid "Contributor Given Name" +#~ msgstr "" -msgid "Point Latitude" -msgstr "" +#~ msgid "Contributor Alternative Name" +#~ msgstr "" -msgid "Geo Location Box" -msgstr "" +#~ msgid "Contributor Alternative" +#~ msgstr "" -msgid "West Bound Longitude" -msgstr "" +#~ msgid "Contributor Email Address" +#~ msgstr "" -msgid "East Bound Longitude" -msgstr "" +#~ msgid "Degree Name" +#~ msgstr "" -msgid "South Bound Latitude" -msgstr "" +#~ msgid "Degree Grantor" +#~ msgstr "" -msgid "North Bound Latitude" -msgstr "" +#~ msgid "Degree Grantor Name Identifier" +#~ msgstr "" -msgid "Geo Location Place" -msgstr "" +#~ msgid "Degree Grantor Name" +#~ msgstr "" -msgid "funder Identifier" -msgstr "" +#~ msgid "Date Granted" +#~ msgstr "" -msgid "Funder Identifier Type" -msgstr "" +#~ msgid "Dissertation Number" +#~ msgstr "" -msgid "Award Number URI" -msgstr "" +#~ msgid "Contributor ID" +#~ msgstr "" -msgid "AwardTitle" -msgstr "" +#~ msgid "Funding Reference" +#~ msgstr "" -msgid "Source Title" -msgstr "" +#~ msgid "Funder Name" +#~ msgstr "" -msgid "Number of Pages" -msgstr "" +#~ msgid "Award Number" +#~ msgstr "" -msgid "Degree Grantor Name Identifier Scheme" -msgstr "" +#~ msgid "Book Name" +#~ msgstr "" -msgid "Conference" -msgstr "" +#~ msgid "Date Reported" +#~ msgstr "" -msgid "Conference Name" -msgstr "" +#~ msgid "Name Identifier" +#~ msgstr "" -msgid "Conference Sequence" -msgstr "" +#~ msgid "Name Identifier Scheme" +#~ msgstr "" -msgid "Conference Place" -msgstr "" +#~ msgid "Description_" +#~ msgstr "Description" -msgid "Conference Country" -msgstr "" +#~ msgid "Rights Resource" +#~ msgstr "" -msgid "URI Object Type" -msgstr "" +#~ msgid "Rights Holder" +#~ msgstr "" -msgid "URI Label" -msgstr "" +#~ msgid "Rights Holder Name Identifier" +#~ msgstr "" -msgid "Format" -msgstr "" +#~ msgid "Rights Holder Name Identifier Scheme" +#~ msgstr "" -msgid "Extent" -msgstr "" +#~ msgid "Rights Holder Name Identifier URI" +#~ msgstr "" -msgid "Issued Date" -msgstr "" +#~ msgid "Rights Holder Name" +#~ msgstr "" -msgid "Issue" -msgstr "" +#~ msgid "Resource Type" +#~ msgstr "" -msgid "Volume" -msgstr "" +#~ msgid "Temporal" +#~ msgstr "" -msgid "Search repository" -msgstr "" +#~ msgid "Geo Location" +#~ msgstr "" -msgid "Billing File" -msgstr "" +#~ msgid "Geo Location Point" +#~ msgstr "" -msgid "ID Agency" -msgstr "" +#~ msgid "Point Longitude" +#~ msgstr "" -msgid "Series" -msgstr "" +#~ msgid "Point Latitude" +#~ msgstr "" -msgid "Version Date" -msgstr "" +#~ msgid "Geo Location Box" +#~ msgstr "" -msgid "DateType" -msgstr "" +#~ msgid "West Bound Longitude" +#~ msgstr "" -msgid "Bibliographic Citation" -msgstr "" +#~ msgid "East Bound Longitude" +#~ msgstr "" -msgid "Topic" -msgstr "" +#~ msgid "South Bound Latitude" +#~ msgstr "" -msgid "topic vocabURI" -msgstr "" +#~ msgid "North Bound Latitude" +#~ msgstr "" -msgid "subjectScheme" -msgstr "" +#~ msgid "Geo Location Place" +#~ msgstr "" -msgid "Topic J" -msgstr "" +#~ msgid "funder Identifier" +#~ msgstr "" -msgid "Topic E" -msgstr "" +#~ msgid "Funder Identifier Type" +#~ msgstr "" -msgid "Time Period" -msgstr "" +#~ msgid "Award Number URI" +#~ msgstr "" -msgid "Time Period Event" -msgstr "" +#~ msgid "AwardTitle" +#~ msgstr "" -msgid "Date Of Collection Event" -msgstr "" +#~ msgid "Source Title" +#~ msgstr "" -msgid "Geographic Coverage" -msgstr "" +#~ msgid "Number of Pages" +#~ msgstr "" -msgid "Unit of Analysis" -msgstr "" +#~ msgid "Degree Grantor Name Identifier Scheme" +#~ msgstr "" -msgid "Unit of Analysis J" -msgstr "" +#~ msgid "Conference" +#~ msgstr "" -msgid "Unit of Analysis E" -msgstr "" +#~ msgid "Conference Name" +#~ msgstr "" -msgid "Sampling Procedure E" -msgstr "" +#~ msgid "Conference Sequence" +#~ msgstr "" -msgid "Sampling Procedure J" -msgstr "" +#~ msgid "Conference Place" +#~ msgstr "" -msgid "Collection Method" -msgstr "" +#~ msgid "Conference Country" +#~ msgstr "" -msgid "Collection Method J" -msgstr "" +#~ msgid "URI Object Type" +#~ msgstr "" -msgid "Collection Method E" -msgstr "" +#~ msgid "URI Label" +#~ msgstr "" -msgid "Sampling Rate" -msgstr "" +#~ msgid "Format" +#~ msgstr "" -msgid "Access" -msgstr "" +#~ msgid "Extent" +#~ msgstr "" -msgid "Rdf:Resource" -msgstr "" +#~ msgid "Issued Date" +#~ msgstr "" -msgid "Access E" -msgstr "" +#~ msgid "Issue" +#~ msgstr "" -msgid "Access J" -msgstr "" +#~ msgid "Volume" +#~ msgstr "" -msgid "Study ID" -msgstr "" +#~ msgid "Billing File" +#~ msgstr "" -msgid "Copyright" -msgstr "" +#~ msgid "ID Agency" +#~ msgstr "" -msgid "Topic Vocab" -msgstr "" +#~ msgid "Series" +#~ msgstr "" -msgid "Topic Vocab URI" -msgstr "" +#~ msgid "Version Date" +#~ msgstr "" -msgid "Date Of Collection" -msgstr "" +#~ msgid "DateType" +#~ msgstr "" -msgid "Event" -msgstr "" +#~ msgid "Bibliographic Citation" +#~ msgstr "" -msgid "Universe" -msgstr "" +#~ msgid "Topic" +#~ msgstr "" -msgid "Data Type J" -msgstr "" +#~ msgid "topic vocabURI" +#~ msgstr "" -msgid "Data Type E" -msgstr "" +#~ msgid "subjectScheme" +#~ msgstr "" -msgid "Sampling Procedure" -msgstr "" +#~ msgid "Topic J" +#~ msgstr "" -msgid "Identifier Registration Type" -msgstr "" +#~ msgid "Topic E" +#~ msgstr "" -msgid "Identifier Registration" -msgstr "" +#~ msgid "Time Period" +#~ msgstr "" -msgid "Related Study" -msgstr "" +#~ msgid "Time Period Event" +#~ msgstr "" -msgid "Related Study DOI" -msgstr "" +#~ msgid "Date Of Collection Event" +#~ msgstr "" -msgid "Related Publications" -msgstr "" +#~ msgid "Geographic Coverage" +#~ msgstr "" -msgid "Related Publications DOI" -msgstr "" +#~ msgid "Unit of Analysis" +#~ msgstr "" -msgid "Fund Agency" -msgstr "" +#~ msgid "Unit of Analysis J" +#~ msgstr "" -msgid "Fund Agency ID" -msgstr "" +#~ msgid "Unit of Analysis E" +#~ msgstr "" -msgid "GrantNo" -msgstr "" +#~ msgid "Sampling Procedure E" +#~ msgstr "" -msgid "Distributor Abbreviation" -msgstr "" +#~ msgid "Sampling Procedure J" +#~ msgstr "" -msgid "Distributor Affiliation" -msgstr "" +#~ msgid "Collection Method" +#~ msgstr "" -msgid "Distributor URI" -msgstr "" +#~ msgid "Collection Method J" +#~ msgstr "" -msgid "Contributor IdentifierType" -msgstr "" +#~ msgid "Collection Method E" +#~ msgstr "" -msgid "Distributor Name" -msgstr "" +#~ msgid "Sampling Rate" +#~ msgstr "" -msgid "Award Title" -msgstr "" +#~ msgid "Access" +#~ msgstr "" -msgid "Related Study Title" -msgstr "" +#~ msgid "Rdf:Resource" +#~ msgstr "" -msgid "Related Study Identifier" -msgstr "" +#~ msgid "Access E" +#~ msgstr "" -msgid "Related Publications Title" -msgstr "" +#~ msgid "Access J" +#~ msgstr "" -msgid "Related Publications Identifier" -msgstr "" +#~ msgid "Study ID" +#~ msgstr "" -msgid "Related Publications Identifier Type" -msgstr "" +#~ msgid "Copyright" +#~ msgstr "" -msgid "GrantURI" -msgstr "" +#~ msgid "Topic Vocab" +#~ msgstr "" -msgid "Related Study Identifier Type" -msgstr "" +#~ msgid "Topic Vocab URI" +#~ msgstr "" -msgid "Grant No" -msgstr "" +#~ msgid "Date Of Collection" +#~ msgstr "" -msgid "Summary DDI" -msgstr "Summary" +#~ msgid "Event" +#~ msgstr "" -msgid "This item has been deleted." -msgstr "" +#~ msgid "Universe" +#~ msgstr "" -msgid "Download is available from {}/{}/{}." -msgstr "Download is available from {}/{}/{}." +#~ msgid "Data Type J" +#~ msgstr "" -msgid "Download / Preview is available from {}/{}/{}." -msgstr "Download / Preview is available from {}/{}/{}." +#~ msgid "Data Type E" +#~ msgstr "" -msgid "\n If you would like to download immediately, you need to login. \n You want to login?" -msgstr "\n If you would like to download immediately, you need to login. \n You want to login?" +#~ msgid "Sampling Procedure" +#~ msgstr "" -msgid "\n If you would like to preview immediately, you need to login. \n You want to login?" -msgstr "\n If you would like to preview immediately, you need to login. \n You want to login?" +#~ msgid "Identifier Registration Type" +#~ msgstr "" -msgid "There is no download authority." -msgstr "There is no download authority." +#~ msgid "Identifier Registration" +#~ msgstr "" -msgid "Apply JGSS" -msgstr "Apply" +#~ msgid "Related Study" +#~ msgstr "" -msgid "This data is not available for undergraduate students or those who do not register their positions." -msgstr "" +#~ msgid "Related Study DOI" +#~ msgstr "" -msgid "Please input email address." -msgstr "" +#~ msgid "Related Publications" +#~ msgstr "" -msgid "Email address" -msgstr "" +#~ msgid "Related Publications DOI" +#~ msgstr "" -msgid "Email address(reconfirmation)" -msgstr "" +#~ msgid "Fund Agency" +#~ msgstr "" -msgid "Token is invalid." -msgstr "" +#~ msgid "Fund Agency ID" +#~ msgstr "" -msgid "The expiration date for download has been exceeded." -msgstr "" +#~ msgid "GrantNo" +#~ msgstr "" -msgid "The download limit has been exceeded." -msgstr "" +#~ msgid "Distributor Abbreviation" +#~ msgstr "" -msgid "This data is not available for this user." -msgstr "" +#~ msgid "Distributor Affiliation" +#~ msgstr "" -msgid "PriceInfo" -msgstr "Price" +#~ msgid "Distributor URI" +#~ msgstr "" -msgid "FileName" -msgstr "File Name" +#~ msgid "Contributor IdentifierType" +#~ msgstr "" -msgid "billingrole" -msgstr "Role" +#~ msgid "Distributor Name" +#~ msgstr "" -msgid "tax" -msgstr "Tax" +#~ msgid "Award Title" +#~ msgstr "" -msgid "include_tax" -msgstr "Include tax" +#~ msgid "Related Study Title" +#~ msgstr "" -msgid "without_tax" -msgstr "Without tax" +#~ msgid "Related Study Identifier" +#~ msgstr "" -msgid "price" -msgstr "Price" +#~ msgid "Related Publications Title" +#~ msgstr "" -msgid "site_license_member" -msgstr "Site License Member" +#~ msgid "Related Publications Identifier" +#~ msgstr "" -msgid "open_access" -msgstr "Open Access" +#~ msgid "Related Publications Identifier Type" +#~ msgstr "" -msgid "charge_confirmation" -msgstr "will be charged. Do you really want to purchase?" +#~ msgid "GrantURI" +#~ msgstr "" -msgid "charge_success" -msgstr "Charge successful." +#~ msgid "Related Study Identifier Type" +#~ msgstr "" -msgid "charge_already" -msgstr "Already charged." +#~ msgid "Grant No" +#~ msgstr "" -msgid "charge_credit_error" -msgstr "Charge failed. Please check your credit card information." +#~ msgid "Summary DDI" +#~ msgstr "Summary" -msgid "charge_error" -msgstr "Charge failed." +#~ msgid "" +#~ "This data is not available for " +#~ "undergraduate students or those who do" +#~ " not register their positions." +#~ msgstr "" diff --git a/modules/weko-records-ui/weko_records_ui/translations/ja/LC_MESSAGES/messages.mo b/modules/weko-records-ui/weko_records_ui/translations/ja/LC_MESSAGES/messages.mo index 9e33ca4c9f..2e98ed5f8d 100644 Binary files a/modules/weko-records-ui/weko_records_ui/translations/ja/LC_MESSAGES/messages.mo and b/modules/weko-records-ui/weko_records_ui/translations/ja/LC_MESSAGES/messages.mo differ diff --git a/modules/weko-records-ui/weko_records_ui/translations/ja/LC_MESSAGES/messages.po b/modules/weko-records-ui/weko_records_ui/translations/ja/LC_MESSAGES/messages.po index 12f1c5d5c3..8f2d87c8c1 100644 --- a/modules/weko-records-ui/weko_records_ui/translations/ja/LC_MESSAGES/messages.po +++ b/modules/weko-records-ui/weko_records_ui/translations/ja/LC_MESSAGES/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: weko-records-ui 0.1.0.dev20170000\n" "Report-Msgid-Bugs-To: wekosoftware@nii.ac.jp\n" -"POT-Creation-Date: 2021-03-25 14:23+0900\n" +"POT-Creation-Date: 2026-10-20 10:49+0900\n" "PO-Revision-Date: 2021-02-02 03:25+0000\n" "Last-Translator: FULL NAME \n" "Language: ja\n" @@ -17,490 +17,712 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.8.0\n" +"Generated-By: Babel 2.5.1\n" -#: weko_records_ui/admin.py:87 +#: weko_records_ui/admin.py:89 msgid "Author flag was updated." msgstr "" -#: weko_records_ui/admin.py:148 +#: weko_records_ui/admin.py:153 msgid "Institution Name was updated." msgstr "" -#: weko_records_ui/admin.py:212 weko_records_ui/admin.py:221 -#: weko_records_ui/admin.py:230 +#: weko_records_ui/admin.py:216 weko_records_ui/admin.py:225 +#: weko_records_ui/admin.py:234 msgid "Setting" msgstr "" -#: weko_records_ui/admin.py:213 +#: weko_records_ui/admin.py:217 msgid "Others" msgstr "" -#: weko_records_ui/admin.py:222 weko_records_ui/admin.py:239 +#: weko_records_ui/admin.py:226 weko_records_ui/admin.py:243 msgid "Items" msgstr "" -#: weko_records_ui/admin.py:231 -#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:91 +#: weko_records_ui/admin.py:235 +#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:98 msgid "PDF Cover Page" msgstr "" -#: weko_records_ui/admin.py:240 +#: weko_records_ui/admin.py:244 msgid "Bulk Update" msgstr "" -#: weko_records_ui/config.py:296 +#: weko_records_ui/config.py:327 msgid "write your own license" msgstr "" -#: weko_records_ui/config.py:301 +#: weko_records_ui/config.py:332 msgid "Creative Commons CC0 1.0 Universal Public Domain Designation" msgstr "" -#: weko_records_ui/config.py:316 +#: weko_records_ui/config.py:347 msgid "Creative Commons Attribution 3.0 Unported (CC BY 3.0)" msgstr "" -#: weko_records_ui/config.py:328 +#: weko_records_ui/config.py:359 msgid "Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)" msgstr "" -#: weko_records_ui/config.py:342 +#: weko_records_ui/config.py:373 msgid "Creative Commons Attribution-NoDerivs 3.0 Unported (CC BY-ND 3.0)" msgstr "" -#: weko_records_ui/config.py:356 +#: weko_records_ui/config.py:387 msgid "Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)" msgstr "" -#: weko_records_ui/config.py:370 +#: weko_records_ui/config.py:401 msgid "" "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC " "BY-NC-SA 3.0)" msgstr "" -#: weko_records_ui/config.py:384 +#: weko_records_ui/config.py:415 msgid "" "Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-" "NC-ND 3.0)" msgstr "" -#: weko_records_ui/config.py:399 +#: weko_records_ui/config.py:430 msgid "Creative Commons Attribution 4.0 International (CC BY 4.0)" msgstr "" -#: weko_records_ui/config.py:411 +#: weko_records_ui/config.py:442 msgid "Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)" msgstr "" -#: weko_records_ui/config.py:425 +#: weko_records_ui/config.py:456 msgid "" "Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND " "4.0)" msgstr "" -#: weko_records_ui/config.py:439 +#: weko_records_ui/config.py:470 msgid "" "Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC " "4.0)" msgstr "" -#: weko_records_ui/config.py:453 +#: weko_records_ui/config.py:484 msgid "" "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International " "(CC BY-NC-SA 4.0)" msgstr "" -#: weko_records_ui/config.py:467 +#: weko_records_ui/config.py:498 msgid "" "Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 " "International (CC BY-NC-ND 4.0)" msgstr "" -#: weko_records_ui/pdf.py:556 +#: weko_records_ui/fd.py:469 weko_records_ui/fd.py:473 +#: weko_records_ui/fd.py:480 weko_records_ui/utils.py:1090 +msgid "Unexpected error occurred." +msgstr "" + +#: weko_records_ui/pdf.py:662 msgid "The storage path is incorrect." msgstr "" -#: weko_records_ui/pdf.py:558 weko_records_ui/pdf.py:571 -#: weko_records_ui/pdf.py:584 +#: weko_records_ui/pdf.py:664 weko_records_ui/pdf.py:677 +#: weko_records_ui/pdf.py:690 msgid "Please contact the administrator." msgstr "" -#: weko_records_ui/pdf.py:569 +#: weko_records_ui/pdf.py:675 msgid "The storage location cannot be accessed." msgstr "" -#: weko_records_ui/pdf.py:583 +#: weko_records_ui/pdf.py:689 msgid "There is not enough storage space." msgstr "" -#: weko_records_ui/utils.py:185 +#: weko_records_ui/utils.py:307 msgid "Item cannot be deleted because the import is in progress." msgstr "" -#: weko_records_ui/utils.py:782 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:216 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:147 +#: weko_records_ui/utils.py:761 +msgid "Restricted Access" +msgstr "" + +#: weko_records_ui/utils.py:859 msgid "Purchased" msgstr "購入済" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:113 -#: weko_records_ui/utils.py:570 -msgid "Restricted Access" +#: weko_records_ui/utils.py:1092 +msgid "Failed to send mail." msgstr "" -#: weko_records_ui/views.py:681 -msgid "PDF cover page settings have been updated." -msgstr "" +#: weko_records_ui/utils.py:1131 weko_records_ui/utils.py:1167 +msgid "Token is invalid." +msgstr "トークンが無効です。" -#: weko_records_ui/templates/weko_records_ui/_macros.html:31 -#: weko_records_ui/templates/weko_records_ui/_macros.html:46 -#: weko_records_ui/templates/weko_records_ui/_macros.html:78 -#: weko_records_ui/templates/weko_records_ui/_macros.html:94 -#: weko_records_ui/templates/weko_records_ui/_macros.html:113 -#: weko_records_ui/templates/weko_records_ui/box/preview.html:55 -msgid "Download" -msgstr "" +#: weko_records_ui/utils.py:1184 +msgid "The expiration date for download has been exceeded." +msgstr "ダウンロード有効期限を超過しています。" -#: weko_records_ui/templates/weko_records_ui/creator_detail_template.html:77 -msgid "Search repository" -msgstr "" +#: weko_records_ui/utils.py:1191 +msgid "The download limit has been exceeded." +msgstr "ダウンロード制限回数を超過しています。" -#: weko_records_ui/templates/weko_records_ui/box/export.html:24 -#: weko_records_ui/templates/weko_records_ui/export_well.html:21 -msgid "OAI-PMH" +#: weko_records_ui/utils.py:1312 +msgid "Guest" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/export.html:23 -#: weko_records_ui/templates/weko_records_ui/export_well.html:31 -msgid "Export" +#: weko_records_ui/utils.py:1323 +msgid "Free Input" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details.html:80 -msgid "Confirm" +#: weko_records_ui/views.py:819 +msgid "PDF cover page settings have been updated." msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details.html:83 -msgid "This file is a Billing file. (Price: XXXXX). Do you want to download it?" +#: weko_records_ui/templates/weko_records_ui/_macros.html:23 +msgid "This data is not available for this user." +msgstr "このデータは利用できません(権限がないため)。" + +#: weko_records_ui/templates/weko_records_ui/_macros.html:45 +#: weko_records_ui/templates/weko_records_ui/_macros.html:58 +#: weko_records_ui/templates/weko_records_ui/_macros.html:70 +#: weko_records_ui/templates/weko_records_ui/_macros.html:83 +#: weko_records_ui/templates/weko_records_ui/_macros.html:101 +#: weko_records_ui/templates/weko_records_ui/_macros.html:130 +#: weko_records_ui/templates/weko_records_ui/_macros.html:144 +#: weko_records_ui/templates/weko_records_ui/_macros.html:159 +#: weko_records_ui/templates/weko_records_ui/_macros.html:175 +#: weko_records_ui/templates/weko_records_ui/_macros.html:193 +msgid "Apply JGSS" +msgstr "申請" + +#: weko_records_ui/templates/weko_records_ui/_macros.html:210 +msgid "Terms and Conditions" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details.html:87 -msgid "Yes" +#: weko_records_ui/templates/weko_records_ui/_macros.html:232 +msgid "I have read and agreed to the Terms and Conditions" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details.html:88 -msgid "No" +#: weko_records_ui/templates/weko_records_ui/_macros.html:242 +#: weko_records_ui/templates/weko_records_ui/box/analysis.html:79 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:55 +msgid "Next" +msgstr "次へ" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:25 +msgid "Send" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:30 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:25 +msgid "Please input email address." +msgstr "メールアドレスを入力してください。" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:37 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:33 msgid "Item" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:54 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:33 -msgid "No title" +#: weko_records_ui/templates/weko_records_ui/body_contents.html:68 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:48 +msgid "Name" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:58 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:68 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:64 msgid "File" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:59 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:69 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:65 msgid "License" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:86 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:70 +msgid "Actions" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:121 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:97 msgid "" "The file cannot be downloaded because you do not have permission to view " "this file." msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:101 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:170 +msgid "There is no download authority." +msgstr "ダウンロード権限がありません" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:171 +msgid "" +"\n" +" If you would like to download immediately, you need to login. \n" +" You want to login?" +msgstr "" +"\n" +"今すぐダウンロードするにはログインが必要です。\n" +"ログインしますか?" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:172 +msgid "" +"\n" +" If you would like to preview immediately, you need to login. \n" +" You want to login?" +msgstr "" +"\n" +"今すぐプレビューするにはログインが必要です。\n" +"ログインしますか?" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:232 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:117 msgid "Original" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:119 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:269 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:61 +msgid "Download" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:284 +msgid "Charge" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:303 +msgid "Information" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:318 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:327 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:335 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:345 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:34 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:61 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:34 +msgid "Preview" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:360 +msgid "site_license_member" +msgstr "サイトライセンス会員" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:364 +msgid "open_access" +msgstr "オープンアクセス" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:401 +msgid "Jupyter" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:422 +msgid "Back" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:427 +msgid "Edit" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:432 +msgid "Delete" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:435 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:445 +msgid "The workflow is being edited." +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:437 +msgid "The item cannot be deleted because it has a DOI." +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:439 +msgid "You cannot keep an item private because it has a DOI." +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:453 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:500 +#: weko_records_ui/templates/weko_records_ui/file_details.html:116 +msgid "Confirm" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:456 +msgid "Are you sure you want to delete this item?" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:459 +msgid "OK" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:460 +msgid "Cancel" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:504 +#: weko_records_ui/templates/weko_records_ui/file_details.html:119 +msgid "This file is a Billing file. (Price: XXXXX). Do you want to download it?" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:508 +#: weko_records_ui/templates/weko_records_ui/file_details.html:123 +msgid "Yes" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:509 +#: weko_records_ui/templates/weko_records_ui/file_details.html:124 +msgid "No" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/creator_detail_template.html:110 +#: weko_records_ui/templates/weko_records_ui/creator_detail_template.html:115 +msgid "Search repository" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/box/export.html:26 +#: weko_records_ui/templates/weko_records_ui/export_well.html:24 +msgid "OAI-PMH" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/box/export.html:23 +#: weko_records_ui/templates/weko_records_ui/export_well.html:38 +msgid "Export" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/box/head.html:82 +#: weko_records_ui/templates/weko_records_ui/box/head.html:85 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:36 +msgid "No title" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:143 msgid "Plagarism Check" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:142 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:163 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:169 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:192 msgid "Version" msgstr "" #: weko_records_ui/templates/weko_records_ui/box/stats.html:5 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:143 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:170 msgid "Stats" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:151 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:169 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:178 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:198 msgid "Show" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:152 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:169 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:179 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:198 msgid "Hide" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:164 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:193 msgid "Date Modified" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:165 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:194 msgid "Object File Name" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:166 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:195 msgid "File Size" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:167 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:196 msgid "File Hash Value" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:168 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:197 msgid "Contributor Name" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:190 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:219 msgid "Downloads" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:198 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:227 msgid "Plays" msgstr "" #: weko_records_ui/templates/weko_records_ui/box/stats.html:29 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:208 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:237 msgid "See details" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:29 -msgid "item type" +#: weko_records_ui/templates/weko_records_ui/item_detail.html:39 +msgid "Item type" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:79 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:109 msgid "Thumbnail" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:97 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:141 msgid "Link" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:108 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:153 msgid "Publish Status" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:119 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:167 msgid "Public" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:124 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:172 msgid "Change to Private" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:127 -#: weko_records_ui/templates/weko_records_ui/item_detail.html:137 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:175 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:185 msgid "Private" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:132 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:180 msgid "Change to Public" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:136 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:184 msgid "Publish" msgstr "" +#: weko_records_ui/templates/weko_records_ui/modal_charge_confirmation.html:59 +msgid "charge_confirmation" +msgstr "かかります。 購入しますか?" + +#: weko_records_ui/templates/weko_records_ui/modal_charge_confirmation.html:60 +msgid "charge_price_changed" +msgstr "価格が変更されました。この金額(XXXXX)で課金しますか?" + +#: weko_records_ui/templates/weko_records_ui/modal_charge_success.html:40 +msgid "charge_success" +msgstr "課金しました。" + +#: weko_records_ui/templates/weko_records_ui/modal_charge_success.html:41 +msgid "charge_already" +msgstr "課金済みです。" + +#: weko_records_ui/templates/weko_records_ui/modal_charge_success.html:42 +msgid "charge_credit_error" +msgstr "課金に失敗しました。クレジットカード情報を確認してください。" + +#: weko_records_ui/templates/weko_records_ui/modal_charge_success.html:43 +msgid "charge_error" +msgstr "課金に失敗しました。" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:135 +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:176 +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:231 +msgid "Language:" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:326 +msgid "PriceInfo" +msgstr "価格情報" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:329 +msgid "FileName" +msgstr "ファイル名" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:345 +msgid "tax" +msgstr "税" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:345 +msgid "without_tax" +msgstr "税抜" + +#: weko_records_ui/templates/weko_records_ui/tombstone.html:13 +msgid "This item has been deleted." +msgstr "このアイテムは削除されています。" #: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:25 msgid "Fields For Update" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:54 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:58 msgid "Open Access" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:57 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:61 msgid "Open Access Date" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:61 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:65 msgid "Login User Only" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:72 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:76 msgid "Add Field" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:80 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:84 msgid "Search" msgstr "検索" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:101 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:110 msgid "Item list" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:112 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:123 msgid "Export Checked Items" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:113 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:124 msgid "Export All Displayed Items" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:114 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:125 msgid "Export All Items Of This Index" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:115 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:126 msgid "Print Checked Items" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:116 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:127 msgid "Print All Displayed Items" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:117 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:128 msgid "Print All Items Of This Index" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:121 -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:144 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:132 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:159 msgid "Display order" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:123 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:134 msgid "Title(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:124 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:135 msgid "Title(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:125 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:136 msgid "Registrant(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:126 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:137 msgid "Registrant(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:127 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:138 msgid "Item Types(Asending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:128 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:139 msgid "Item Types(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:129 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:140 msgid "ID(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:130 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:141 msgid "ID(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:131 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:142 msgid "Modified Date and Time(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:132 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:143 msgid "Modified Date and Time(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:133 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:144 msgid "Created Date and Time(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:134 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:145 msgid "Created Date and Time(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:135 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:146 msgid "Review Date and Time(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:136 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:147 msgid "Review Date and Time(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:137 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:148 msgid "Published Year(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:138 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:149 msgid "Published Year(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:139 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:150 msgid "Custom(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:140 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:151 msgid "Custom(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:158 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:178 msgid "The number of display" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:173 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:194 msgid "Select All" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:176 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:198 msgid "Search failed." msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:180 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:204 msgid "Loading..." msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:203 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:233 msgid "Update" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:27 -msgid "Life Time" -msgstr "" - -#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:40 +#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:43 msgid "Institution Name" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:51 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:78 -#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:234 +#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:56 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:90 +#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:241 msgid "Save" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:29 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:34 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:42 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:35 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:41 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:50 msgid "Display Email" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:38 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:46 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:45 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:54 msgid "Hide Email" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:52 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:61 msgid "Open Date" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:57 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:65 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:67 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:76 msgid "Display" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:61 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:69 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:71 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:80 msgid "Hide Open Date" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:130 +#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:137 msgid "Header Settings" msgstr "" @@ -517,76 +739,61 @@ msgstr "利用について" msgid "I have read and agreed to the Terms of Use" msgstr "上記の条件に同意する" -#: weko_records_ui/templates/weko_records_ui/box/analysis.html:79 -msgid "Next" -msgstr "次へ" - -#: weko_records_ui/templates/weko_records_ui/box/export.html:34 +#: weko_records_ui/templates/weko_records_ui/box/export.html:40 msgid "Other Formats" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:23 +#: weko_records_ui/templates/weko_records_ui/box/head.html:26 msgid "There is a" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:24 +#: weko_records_ui/templates/weko_records_ui/box/head.html:27 msgid "newer version" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:24 +#: weko_records_ui/templates/weko_records_ui/box/head.html:27 msgid "of this record available." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/meta.html:36 +#: weko_records_ui/templates/weko_records_ui/box/meta.html:42 msgid "Publication date" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/meta.html:39 +#: weko_records_ui/templates/weko_records_ui/box/meta.html:48 msgid "Schema" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview.html:32 -#: weko_records_ui/templates/weko_records_ui/box/preview.html:55 -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:27 -msgid "Preview" -msgstr "" - -#: weko_records_ui/templates/weko_records_ui/box/preview.html:43 -msgid "Name" -msgstr "" - -#: weko_records_ui/templates/weko_records_ui/box/preview.html:44 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:49 msgid "Size" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview.html:52 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:58 msgid "" "This is the file fingerprint (MD5 checksum), which can be used to verify " "the file integrity." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:39 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:47 msgid "First" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:43 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:51 msgid "Previous" msgstr "" - -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:51 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:59 msgid "Last" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:89 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:119 msgid "Cannot preview because the file size is too large." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:105 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:138 msgid "No preview available." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:120 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:155 msgid "Unable to load preview." msgstr "" @@ -594,7 +801,7 @@ msgstr "" msgid "Share" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/share.html:39 +#: weko_records_ui/templates/weko_records_ui/box/share.html:55 msgid "Your record could not be processed by the citation formatter" msgstr "" @@ -606,101 +813,55 @@ msgstr "表示する統計期間を選択" msgid "Views" msgstr "" +#: weko_records_ui/templates/weko_records_ui/box/tools.html:23 +msgid "Tools" +msgstr "" + #: weko_records_ui/templates/weko_records_ui/box/versions.html:2 msgid "Versions" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/versions.html:2 +#: weko_records_ui/templates/weko_records_ui/box/versions.html:5 msgid "Ver." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/versions.html:21 +#: weko_records_ui/templates/weko_records_ui/box/versions.html:37 msgid "Show All versions" msgstr "" -msgid "This item has been deleted." -msgstr "このアイテムは削除されています。" - +# NOTE: Babel cannot extract msgids passed via a variable. +# Keep the following entries when regenerating this POT. msgid "Download is available from {}/{}/{}." msgstr "{}年{}月{}日からダウンロード可能です。" msgid "Download / Preview is available from {}/{}/{}." msgstr "{}年{}月{}日からダウンロードとプレビューが可能です。" -msgid "\n If you would like to download immediately, you need to login. \n You want to login?" -msgstr "\n今すぐダウンロードするにはログインが必要です。\nログインしますか?" - -msgid "\n If you would like to preview immediately, you need to login. \n You want to login?" -msgstr "\n今すぐプレビューするにはログインが必要です。\nログインしますか?" - -msgid "There is no download authority." -msgstr "ダウンロード権限がありません" - -msgid "Apply JGSS" -msgstr "申請" - -msgid "This data is not available for undergraduate students or those who do not register their positions." -msgstr "このデータは利用できません(学部生または役職が登録されていないため)" - -msgid "Please input email address." -msgstr "メールアドレスを入力してください。" - -msgid "Email address" -msgstr "メールアドレス" - -msgid "Email address(reconfirmation)" -msgstr "メールアドレス(確認用)" - -msgid "Token is invalid." -msgstr "トークンが無効です。" - -msgid "The expiration date for download has been exceeded." -msgstr "ダウンロード有効期限を超過しています。" - -msgid "The download limit has been exceeded." -msgstr "ダウンロード制限回数を超過しています。" - -msgid "This data is not available for this user." -msgstr "このデータは利用できません(権限がないため)。" - -msgid "PriceInfo" -msgstr "価格情報" - -msgid "FileName" -msgstr "ファイル名" - msgid "billingrole" msgstr "ロール" -msgid "tax" -msgstr "税" - msgid "include_tax" msgstr "税込" -msgid "without_tax" -msgstr "税抜" - msgid "price" msgstr "価格" -msgid "site_license_member" -msgstr "サイトライセンス会員" - -msgid "open_access" -msgstr "オープンアクセス" - -msgid "charge_confirmation" -msgstr "かかります。 購入しますか?" +# NOTE: Defined by email_modal in weko-theme/macros/modal_page.html and +# rendered via weko-records-ui/templates/weko_records_ui/body_contents.html. +msgid "Email address" +msgstr "メールアドレス" -msgid "charge_success" -msgstr "課金しました。" +msgid "Email address(reconfirmation)" +msgstr "メールアドレス(確認用)" -msgid "charge_already" -msgstr "課金済みです。" +#~ msgid "item type" +#~ msgstr "" -msgid "charge_credit_error" -msgstr "課金に失敗しました。クレジットカード情報を確認してください。" +#~ msgid "Life Time" +#~ msgstr "" -msgid "charge_error" -msgstr "課金に失敗しました。" +#~ msgid "" +#~ "This data is not available for " +#~ "undergraduate students or those who do" +#~ " not register their positions." +#~ msgstr "このデータは利用できません(学部生または役職が登録されていないため)" diff --git a/modules/weko-records-ui/weko_records_ui/translations/messages.pot b/modules/weko-records-ui/weko_records_ui/translations/messages.pot index f9528e83b1..24fc24020c 100644 --- a/modules/weko-records-ui/weko_records_ui/translations/messages.pot +++ b/modules/weko-records-ui/weko_records_ui/translations/messages.pot @@ -1,311 +1,532 @@ # Translations template for weko-records-ui. -# Copyright (C) 2021 National Institute of Informatics +# Copyright (C) 2026 National Institute of Informatics # This file is distributed under the same license as the weko-records-ui # project. -# FIRST AUTHOR , 2021. +# FIRST AUTHOR , 2026. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: weko-records-ui 0.1.0.dev20170000\n" "Report-Msgid-Bugs-To: wekosoftware@nii.ac.jp\n" -"POT-Creation-Date: 2021-03-25 14:23+0900\n" +"POT-Creation-Date: 2026-10-20 10:49+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.8.0\n" +"Generated-By: Babel 2.5.1\n" -#: weko_records_ui/admin.py:87 +#: weko_records_ui/admin.py:89 msgid "Author flag was updated." msgstr "" -#: weko_records_ui/admin.py:148 +#: weko_records_ui/admin.py:153 msgid "Institution Name was updated." msgstr "" -#: weko_records_ui/admin.py:212 weko_records_ui/admin.py:221 -#: weko_records_ui/admin.py:230 +#: weko_records_ui/admin.py:216 weko_records_ui/admin.py:225 +#: weko_records_ui/admin.py:234 msgid "Setting" msgstr "" -#: weko_records_ui/admin.py:213 +#: weko_records_ui/admin.py:217 msgid "Others" msgstr "" -#: weko_records_ui/admin.py:222 weko_records_ui/admin.py:239 +#: weko_records_ui/admin.py:226 weko_records_ui/admin.py:243 msgid "Items" msgstr "" -#: weko_records_ui/admin.py:231 -#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:91 +#: weko_records_ui/admin.py:235 +#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:98 msgid "PDF Cover Page" msgstr "" -#: weko_records_ui/admin.py:240 +#: weko_records_ui/admin.py:244 msgid "Bulk Update" msgstr "" -#: weko_records_ui/config.py:296 +#: weko_records_ui/config.py:327 msgid "write your own license" msgstr "" -#: weko_records_ui/config.py:301 +#: weko_records_ui/config.py:332 msgid "Creative Commons CC0 1.0 Universal Public Domain Designation" msgstr "" -#: weko_records_ui/config.py:316 +#: weko_records_ui/config.py:347 msgid "Creative Commons Attribution 3.0 Unported (CC BY 3.0)" msgstr "" -#: weko_records_ui/config.py:328 +#: weko_records_ui/config.py:359 msgid "Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)" msgstr "" -#: weko_records_ui/config.py:342 +#: weko_records_ui/config.py:373 msgid "Creative Commons Attribution-NoDerivs 3.0 Unported (CC BY-ND 3.0)" msgstr "" -#: weko_records_ui/config.py:356 +#: weko_records_ui/config.py:387 msgid "Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)" msgstr "" -#: weko_records_ui/config.py:370 +#: weko_records_ui/config.py:401 msgid "" "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC " "BY-NC-SA 3.0)" msgstr "" -#: weko_records_ui/config.py:384 +#: weko_records_ui/config.py:415 msgid "" "Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-" "NC-ND 3.0)" msgstr "" -#: weko_records_ui/config.py:399 +#: weko_records_ui/config.py:430 msgid "Creative Commons Attribution 4.0 International (CC BY 4.0)" msgstr "" -#: weko_records_ui/config.py:411 +#: weko_records_ui/config.py:442 msgid "Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)" msgstr "" -#: weko_records_ui/config.py:425 +#: weko_records_ui/config.py:456 msgid "" "Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND " "4.0)" msgstr "" -#: weko_records_ui/config.py:439 +#: weko_records_ui/config.py:470 msgid "" "Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC " "4.0)" msgstr "" -#: weko_records_ui/config.py:453 +#: weko_records_ui/config.py:484 msgid "" "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International " "(CC BY-NC-SA 4.0)" msgstr "" -#: weko_records_ui/config.py:467 +#: weko_records_ui/config.py:498 msgid "" "Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 " "International (CC BY-NC-ND 4.0)" msgstr "" -#: weko_records_ui/pdf.py:556 +#: weko_records_ui/fd.py:469 weko_records_ui/fd.py:473 +#: weko_records_ui/fd.py:480 weko_records_ui/utils.py:1090 +msgid "Unexpected error occurred." +msgstr "" + +#: weko_records_ui/pdf.py:662 msgid "The storage path is incorrect." msgstr "" -#: weko_records_ui/pdf.py:558 weko_records_ui/pdf.py:571 -#: weko_records_ui/pdf.py:584 +#: weko_records_ui/pdf.py:664 weko_records_ui/pdf.py:677 +#: weko_records_ui/pdf.py:690 msgid "Please contact the administrator." msgstr "" -#: weko_records_ui/pdf.py:569 +#: weko_records_ui/pdf.py:675 msgid "The storage location cannot be accessed." msgstr "" -#: weko_records_ui/pdf.py:583 +#: weko_records_ui/pdf.py:689 msgid "There is not enough storage space." msgstr "" -#: weko_records_ui/utils.py:185 +#: weko_records_ui/utils.py:307 msgid "Item cannot be deleted because the import is in progress." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:113 -#: weko_records_ui/utils.py:570 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:216 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:147 +#: weko_records_ui/utils.py:761 msgid "Restricted Access" msgstr "" -#: weko_records_ui/views.py:681 -msgid "PDF cover page settings have been updated." +#: weko_records_ui/utils.py:859 +msgid "Purchased" msgstr "" -#: weko_records_ui/templates/weko_records_ui/_macros.html:31 -#: weko_records_ui/templates/weko_records_ui/_macros.html:46 -#: weko_records_ui/templates/weko_records_ui/_macros.html:78 -#: weko_records_ui/templates/weko_records_ui/_macros.html:94 -#: weko_records_ui/templates/weko_records_ui/_macros.html:113 -#: weko_records_ui/templates/weko_records_ui/box/preview.html:55 -msgid "Download" +#: weko_records_ui/utils.py:1092 +msgid "Failed to send mail." msgstr "" -#: weko_records_ui/templates/weko_records_ui/creator_detail_template.html:77 -msgid "Search repository" +#: weko_records_ui/utils.py:1131 weko_records_ui/utils.py:1167 +msgid "Token is invalid." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/export.html:24 -#: weko_records_ui/templates/weko_records_ui/export_well.html:21 -msgid "OAI-PMH" +#: weko_records_ui/utils.py:1184 +msgid "The expiration date for download has been exceeded." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/export.html:23 -#: weko_records_ui/templates/weko_records_ui/export_well.html:31 -msgid "Export" +#: weko_records_ui/utils.py:1191 +msgid "The download limit has been exceeded." msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details.html:80 -msgid "Confirm" +#: weko_records_ui/utils.py:1312 +msgid "Guest" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details.html:83 -msgid "This file is a Billing file. (Price: XXXXX). Do you want to download it?" +#: weko_records_ui/utils.py:1323 +msgid "Free Input" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details.html:87 -msgid "Yes" +#: weko_records_ui/views.py:819 +msgid "PDF cover page settings have been updated." msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details.html:88 -msgid "No" +#: weko_records_ui/templates/weko_records_ui/_macros.html:23 +msgid "This data is not available for this user." msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:30 -msgid "Item" +#: weko_records_ui/templates/weko_records_ui/_macros.html:45 +#: weko_records_ui/templates/weko_records_ui/_macros.html:58 +#: weko_records_ui/templates/weko_records_ui/_macros.html:70 +#: weko_records_ui/templates/weko_records_ui/_macros.html:83 +#: weko_records_ui/templates/weko_records_ui/_macros.html:101 +#: weko_records_ui/templates/weko_records_ui/_macros.html:130 +#: weko_records_ui/templates/weko_records_ui/_macros.html:144 +#: weko_records_ui/templates/weko_records_ui/_macros.html:159 +#: weko_records_ui/templates/weko_records_ui/_macros.html:175 +#: weko_records_ui/templates/weko_records_ui/_macros.html:193 +msgid "Apply JGSS" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/_macros.html:210 +msgid "Terms and Conditions" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/_macros.html:232 +msgid "I have read and agreed to the Terms and Conditions" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/_macros.html:242 +#: weko_records_ui/templates/weko_records_ui/box/analysis.html:79 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:55 +msgid "Next" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:25 +msgid "Send" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:25 +msgid "Please input email address." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:54 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:37 #: weko_records_ui/templates/weko_records_ui/file_details_contents.html:33 -msgid "No title" +msgid "Item" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:68 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:48 +msgid "Name" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:58 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:68 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:64 msgid "File" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:59 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:69 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:65 msgid "License" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:86 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:70 +msgid "Actions" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:121 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:97 msgid "" "The file cannot be downloaded because you do not have permission to view " "this file." msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:101 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:170 +msgid "There is no download authority." +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:171 +msgid "" +"\n" +" If you would like to download immediately, you need to login. \n" +" You want to login?" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:172 +msgid "" +"\n" +" If you would like to preview immediately, you need to login. \n" +" You want to login?" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:232 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:117 msgid "Original" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:119 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:269 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:61 +msgid "Download" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:284 +msgid "Charge" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:303 +msgid "Information" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:318 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:327 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:335 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:345 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:34 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:61 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:34 +msgid "Preview" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:360 +msgid "site_license_member" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:364 +msgid "open_access" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:401 +msgid "Jupyter" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:422 +msgid "Back" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:427 +msgid "Edit" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:432 +msgid "Delete" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:435 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:445 +msgid "The workflow is being edited." +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:437 +msgid "The item cannot be deleted because it has a DOI." +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:439 +msgid "You cannot keep an item private because it has a DOI." +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:453 +#: weko_records_ui/templates/weko_records_ui/body_contents.html:500 +#: weko_records_ui/templates/weko_records_ui/file_details.html:116 +msgid "Confirm" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:456 +msgid "Are you sure you want to delete this item?" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:459 +msgid "OK" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:460 +msgid "Cancel" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:504 +#: weko_records_ui/templates/weko_records_ui/file_details.html:119 +msgid "This file is a Billing file. (Price: XXXXX). Do you want to download it?" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:508 +#: weko_records_ui/templates/weko_records_ui/file_details.html:123 +msgid "Yes" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/body_contents.html:509 +#: weko_records_ui/templates/weko_records_ui/file_details.html:124 +msgid "No" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/creator_detail_template.html:110 +#: weko_records_ui/templates/weko_records_ui/creator_detail_template.html:115 +msgid "Search repository" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/box/export.html:26 +#: weko_records_ui/templates/weko_records_ui/export_well.html:24 +msgid "OAI-PMH" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/box/export.html:23 +#: weko_records_ui/templates/weko_records_ui/export_well.html:38 +msgid "Export" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/box/head.html:82 +#: weko_records_ui/templates/weko_records_ui/box/head.html:85 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:36 +msgid "No title" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:143 msgid "Plagarism Check" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:142 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:163 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:169 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:192 msgid "Version" msgstr "" #: weko_records_ui/templates/weko_records_ui/box/stats.html:5 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:143 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:170 msgid "Stats" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:151 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:169 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:178 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:198 msgid "Show" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:152 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:169 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:179 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:198 msgid "Hide" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:164 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:193 msgid "Date Modified" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:165 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:194 msgid "Object File Name" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:166 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:195 msgid "File Size" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:167 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:196 msgid "File Hash Value" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:168 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:197 msgid "Contributor Name" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:190 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:219 msgid "Downloads" msgstr "" -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:198 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:227 msgid "Plays" msgstr "" #: weko_records_ui/templates/weko_records_ui/box/stats.html:29 -#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:208 +#: weko_records_ui/templates/weko_records_ui/file_details_contents.html:237 msgid "See details" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:29 -msgid "item type" +#: weko_records_ui/templates/weko_records_ui/item_detail.html:39 +msgid "Item type" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:79 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:109 msgid "Thumbnail" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:97 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:141 msgid "Link" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:108 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:153 msgid "Publish Status" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:119 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:167 msgid "Public" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:124 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:172 msgid "Change to Private" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:127 -#: weko_records_ui/templates/weko_records_ui/item_detail.html:137 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:175 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:185 msgid "Private" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:132 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:180 msgid "Change to Public" msgstr "" -#: weko_records_ui/templates/weko_records_ui/item_detail.html:136 +#: weko_records_ui/templates/weko_records_ui/item_detail.html:184 msgid "Publish" msgstr "" +#: weko_records_ui/templates/weko_records_ui/modal_charge_confirmation.html:59 +msgid "charge_confirmation" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/modal_charge_confirmation.html:60 +msgid "charge_price_changed" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/modal_charge_success.html:40 +msgid "charge_success" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/modal_charge_success.html:41 +msgid "charge_already" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/modal_charge_success.html:42 +msgid "charge_credit_error" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/modal_charge_success.html:43 +msgid "charge_error" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:135 +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:176 +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:231 +msgid "Language:" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:326 +msgid "PriceInfo" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:329 +msgid "FileName" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:345 +msgid "tax" +msgstr "" + +#: weko_records_ui/templates/weko_records_ui/output_detail_data.html:345 +msgid "without_tax" +msgstr "" + #: weko_records_ui/templates/weko_records_ui/tombstone.html:13 msgid "This item has been deleted." msgstr "" @@ -314,191 +535,187 @@ msgstr "" msgid "Fields For Update" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:54 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:58 msgid "Open Access" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:57 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:61 msgid "Open Access Date" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:61 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:65 msgid "Login User Only" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:72 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:76 msgid "Add Field" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:80 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:84 msgid "Search" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:101 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:110 msgid "Item list" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:112 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:123 msgid "Export Checked Items" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:113 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:124 msgid "Export All Displayed Items" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:114 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:125 msgid "Export All Items Of This Index" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:115 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:126 msgid "Print Checked Items" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:116 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:127 msgid "Print All Displayed Items" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:117 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:128 msgid "Print All Items Of This Index" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:121 -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:144 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:132 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:159 msgid "Display order" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:123 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:134 msgid "Title(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:124 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:135 msgid "Title(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:125 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:136 msgid "Registrant(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:126 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:137 msgid "Registrant(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:127 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:138 msgid "Item Types(Asending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:128 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:139 msgid "Item Types(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:129 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:140 msgid "ID(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:130 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:141 msgid "ID(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:131 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:142 msgid "Modified Date and Time(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:132 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:143 msgid "Modified Date and Time(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:133 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:144 msgid "Created Date and Time(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:134 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:145 msgid "Created Date and Time(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:135 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:146 msgid "Review Date and Time(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:136 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:147 msgid "Review Date and Time(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:137 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:148 msgid "Published Year(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:138 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:149 msgid "Published Year(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:139 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:150 msgid "Custom(Ascending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:140 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:151 msgid "Custom(Descending)" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:158 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:178 msgid "The number of display" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:173 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:194 msgid "Select All" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:176 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:198 msgid "Search failed." msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:180 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:204 msgid "Loading..." msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:203 +#: weko_records_ui/templates/weko_records_ui/admin/bulk_update_display.html:233 msgid "Update" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:27 -msgid "Life Time" -msgstr "" - -#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:40 +#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:43 msgid "Institution Name" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:51 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:78 -#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:234 +#: weko_records_ui/templates/weko_records_ui/admin/institution_name_setting.html:56 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:90 +#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:241 msgid "Save" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:29 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:34 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:42 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:35 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:41 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:50 msgid "Display Email" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:38 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:46 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:45 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:54 msgid "Hide Email" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:52 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:61 msgid "Open Date" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:57 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:65 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:67 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:76 msgid "Display" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:61 -#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:69 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:71 +#: weko_records_ui/templates/weko_records_ui/admin/item_setting.html:80 msgid "Hide Open Date" msgstr "" -#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:130 +#: weko_records_ui/templates/weko_records_ui/admin/pdfcoverpage.html:137 msgid "Header Settings" msgstr "" @@ -515,79 +732,61 @@ msgstr "" msgid "I have read and agreed to the Terms of Use" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/analysis.html:79 -msgid "Next" -msgstr "" - -#: weko_records_ui/templates/weko_records_ui/box/export.html:34 +#: weko_records_ui/templates/weko_records_ui/box/export.html:40 msgid "Other Formats" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:23 +#: weko_records_ui/templates/weko_records_ui/box/head.html:26 msgid "There is a" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:24 +#: weko_records_ui/templates/weko_records_ui/box/head.html:27 msgid "newer version" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/head.html:24 +#: weko_records_ui/templates/weko_records_ui/box/head.html:27 msgid "of this record available." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/meta.html:36 +#: weko_records_ui/templates/weko_records_ui/box/meta.html:42 msgid "Publication date" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/meta.html:39 +#: weko_records_ui/templates/weko_records_ui/box/meta.html:48 msgid "Schema" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview.html:32 -#: weko_records_ui/templates/weko_records_ui/box/preview.html:55 -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:27 -msgid "Preview" -msgstr "" - -#: weko_records_ui/templates/weko_records_ui/box/preview.html:43 -msgid "Name" -msgstr "" - -#: weko_records_ui/templates/weko_records_ui/box/preview.html:44 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:49 msgid "Size" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview.html:52 +#: weko_records_ui/templates/weko_records_ui/box/preview.html:58 msgid "" "This is the file fingerprint (MD5 checksum), which can be used to verify " "the file integrity." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:39 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:47 msgid "First" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:43 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:51 msgid "Previous" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:47 -msgid "Next" -msgstr "" - -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:51 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:59 msgid "Last" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:89 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:119 msgid "Cannot preview because the file size is too large." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:105 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:138 msgid "No preview available." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:120 +#: weko_records_ui/templates/weko_records_ui/box/preview_carousel.html:155 msgid "Unable to load preview." msgstr "" @@ -595,7 +794,7 @@ msgstr "" msgid "Share" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/share.html:39 +#: weko_records_ui/templates/weko_records_ui/box/share.html:55 msgid "Your record could not be processed by the citation formatter" msgstr "" @@ -607,687 +806,43 @@ msgstr "" msgid "Views" msgstr "" +#: weko_records_ui/templates/weko_records_ui/box/tools.html:23 +msgid "Tools" +msgstr "" + #: weko_records_ui/templates/weko_records_ui/box/versions.html:2 msgid "Versions" msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/versions.html:2 +#: weko_records_ui/templates/weko_records_ui/box/versions.html:5 msgid "Ver." msgstr "" -#: weko_records_ui/templates/weko_records_ui/box/versions.html:21 +#: weko_records_ui/templates/weko_records_ui/box/versions.html:37 msgid "Show All versions" msgstr "" -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "write your own license" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution 3.0 Unported (CC BY 3.0)" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NoDerivs 3.0 Unported (CC BY-ND 3.0)" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0)" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution 4.0 International (CC BY 4.0)" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)" -msgstr "" - -# WEKO_RECORDS_UI_LICENSE_DICT -msgid "Creative Commons CC0 1.0 Universal Public Domain Designation" -msgstr "" - -# WEKO_RECORDS_UI_ITEM_DETAIL -msgid "Date (ISO-8601)" -msgstr "" - -msgid "Subject" -msgstr "" - -msgid "Subject Scheme" -msgstr "" - -msgid "Subject URI" -msgstr "" - -msgid "Alternative Title" -msgstr "" - -msgid "Creator" -msgstr "" - -msgid "Creator Name Identifier" +# NOTE: Babel cannot extract msgids passed via a variable. +# Keep the following entries when regenerating this POT. +msgid "Download is available from {}/{}/{}." msgstr "" -msgid "Creator Name Identifier Scheme" +msgid "Download / Preview is available from {}/{}/{}." msgstr "" -msgid "Creator Name Identifier URI" +msgid "billingrole" msgstr "" -msgid "Creator Name" +msgid "include_tax" msgstr "" -msgid "Name_" +msgid "price" msgstr "" -msgid "Creator Family Name" -msgstr "" - -msgid "Family Name" -msgstr "" - -msgid "Creator Given Name" -msgstr "" - -msgid "Given Name" -msgstr "" - -msgid "Creator Alternative Name" -msgstr "" - -msgid "Alternative Name" -msgstr "" - -msgid "Affiliation Name Identifier" -msgstr "" - -msgid "Affiliation Name Identifier Scheme" -msgstr "" - -msgid "Affiliation Name Identifier URI" -msgstr "" - -msgid "Affiliation Name" -msgstr "" - -msgid "Creator Email Address" -msgstr "" - -msgid "Description Type" -msgstr "" - -msgid "Bibliographic Information" -msgstr "" - -msgid "Journal Title" -msgstr "" - -msgid "Volume Number" -msgstr "" - -msgid "Issue Number" -msgstr "" - -msgid "Page Start" -msgstr "" - -msgid "Page End" -msgstr "" - -msgid "Publication year" -msgstr "" - -msgid "Date Type" -msgstr "" - -msgid "Publisher" -msgstr "" - -msgid "Source Identifier" -msgstr "" - -msgid "Source Identifier Type" -msgstr "" - -msgid "Source Identifier" -msgstr "" - -msgid "Relation" -msgstr "" - -msgid "RelationType" -msgstr "" - -msgid "Related Identifier" -msgstr "" - -msgid "Related Identifier Type" -msgstr "" - -msgid "Identifier Type" -msgstr "" - -msgid "Related Title" -msgstr "" - -msgid "Rights" -msgstr "" - -msgid "Resource" -msgstr "" - -msgid "Fileinfo" -msgstr "" - -msgid "Text" -msgstr "" - -msgid "Version Type" -msgstr "" - -msgid "URI" -msgstr "" - -msgid "Label" -msgstr "" - -msgid "Mime Type" -msgstr "" - -msgid "Heading" -msgstr "" - -msgid "Headline" -msgstr "" - -msgid "Subheading" -msgstr "" - -msgid "Access Right" -msgstr "" - -msgid "Access Rights URI" -msgstr "" - -msgid "Contributor" -msgstr "" - -msgid "Contributor Type" -msgstr "" - -msgid "Contributor Name Identifier" -msgstr "" - -msgid "Contributor Name Identifier Scheme" -msgstr "" - -msgid "Contributor Name Identifier URI" -msgstr "" - -msgid "Contributor_Name" -msgstr "" - -msgid "Contributor Family Name" -msgstr "" - -msgid "Contributor Given Name" -msgstr "" - -msgid "Contributor Alternative Name" -msgstr "" - -msgid "Contributor Alternative" -msgstr "" - -msgid "Contributor Email Address" -msgstr "" - -msgid "Degree Name" -msgstr "" - -msgid "Degree Grantor" -msgstr "" - -msgid "Degree Grantor Name Identifier" -msgstr "" - -msgid "Degree Grantor Name" -msgstr "" - -msgid "Date Granted" -msgstr "" - -msgid "Dissertation Number" -msgstr "" - -msgid "Contributor ID" -msgstr "" - -msgid "Funding Reference" -msgstr "" - -msgid "Funder Name" -msgstr "" - -msgid "Award Number" -msgstr "" - -msgid "Book Name" -msgstr "" - -msgid "Date Reported" -msgstr "" - -msgid "Name Identifier" -msgstr "" - -msgid "Name Identifier Scheme" -msgstr "" - -msgid "Description_" -msgstr "" - -msgid "Rights Resource" -msgstr "" - -msgid "Rights Holder" -msgstr "" - -msgid "Rights Holder Name Identifier" -msgstr "" - -msgid "Rights Holder Name Identifier Scheme" -msgstr "" - -msgid "Rights Holder Name Identifier URI" -msgstr "" - -msgid "Rights Holder Name" -msgstr "" - -msgid "Resource Type" -msgstr "" - -msgid "Temporal" -msgstr "" - -msgid "Geo Location" -msgstr "" - -msgid "Geo Location Point" -msgstr "" - -msgid "Point Longitude" -msgstr "" - -msgid "Point Latitude" -msgstr "" - -msgid "Geo Location Box" -msgstr "" - -msgid "West Bound Longitude" -msgstr "" - -msgid "East Bound Longitude" -msgstr "" - -msgid "South Bound Latitude" -msgstr "" - -msgid "North Bound Latitude" -msgstr "" - -msgid "Geo Location Place" -msgstr "" - -msgid "funder Identifier" -msgstr "" - -msgid "Funder Identifier Type" -msgstr "" - -msgid "Award Number URI" -msgstr "" - -msgid "Source Title" -msgstr "" - -msgid "Number of Pages" -msgstr "" - -msgid "Degree Grantor Name Identifier Scheme" -msgstr "" - -msgid "Conference" -msgstr "" - -msgid "Conference Name" -msgstr "" - -msgid "Conference Sequence" -msgstr "" - -msgid "Conference Place" -msgstr "" - -msgid "Conference Country" -msgstr "" - -msgid "URI Object Type" -msgstr "" - -msgid "URI Label" -msgstr "" - -msgid "Format" -msgstr "" - -msgid "Extent" -msgstr "" - -msgid "Issued Date" -msgstr "" - -msgid "Issue" -msgstr "" - -msgid "Volume" -msgstr "" - -msgid "Search repository" -msgstr "" - -msgid "Content File" -msgstr "" - -msgid "Billing File" -msgstr "" - -msgid "ID Agency" -msgstr "" - -msgid "Series" -msgstr "" - -msgid "Version Date" -msgstr "" - -msgid "DateType" -msgstr "" - -msgid "Bibliographic Citation" -msgstr "" - -msgid "Topic" -msgstr "" - -msgid "topic vocabURI" -msgstr "" - -msgid "subjectScheme" -msgstr "" - -msgid "Topic J" -msgstr "" - -msgid "Topic E" -msgstr "" - -msgid "Time Period" -msgstr "" - -msgid "Time Period Event" -msgstr "" - -msgid "Date Of Collection Event" -msgstr "" - -msgid "Geographic Coverage" -msgstr "" - -msgid "Unit of Analysis" -msgstr "" - -msgid "Unit of Analysis J" -msgstr "" - -msgid "Unit of Analysis E" -msgstr "" - -msgid "Sampling Procedure E" -msgstr "" - -msgid "Sampling Procedure J" -msgstr "" - -msgid "Collection Method" -msgstr "" - -msgid "Collection Method J" -msgstr "" - -msgid "Collection Method E" -msgstr "" - -msgid "Sampling Rate" -msgstr "" - -msgid "Access" -msgstr "" - -msgid "Rdf:Resource" -msgstr "" - -msgid "Access E" -msgstr "" - -msgid "Access J" -msgstr "" - -msgid "Study ID" -msgstr "" - -msgid "Copyright" -msgstr "" - -msgid "Topic Vocab" -msgstr "" - -msgid "Topic Vocab URI" -msgstr "" - -msgid "Date Of Collection" -msgstr "" - -msgid "Event" -msgstr "" - -msgid "Universe" -msgstr "" - -msgid "Data Type J" -msgstr "" - -msgid "Data Type E" -msgstr "" - -msgid "Sampling Procedure" -msgstr "" - -msgid "Identifier Registration Type" -msgstr "" - -msgid "Identifier Registration" -msgstr "" - -msgid "Related Study" -msgstr "" - -msgid "Related Study DOI" -msgstr "" - -msgid "Related Publications" -msgstr "" - -msgid "Related Publications DOI" -msgstr "" - -msgid "Fund Agency" -msgstr "" - -msgid "Fund Agency ID" -msgstr "" - -msgid "Funder Identifier Type" -msgstr "" - -msgid "GrantNo" -msgstr "" - -msgid "Award Title" -msgstr "" - -msgid "Distributor Abbreviation" -msgstr "" - -msgid "Distributor Affiliation" -msgstr "" - -msgid "Distributor URI" -msgstr "" - -msgid "Contributor IdentifierType" -msgstr "" - -msgid "Distributor Name" -msgstr "" - -msgid "AwardTitle" -msgstr "" - -msgid "Related Study Title" -msgstr "" - -msgid "Related Study Identifier" -msgstr "" - -msgid "Related Publications Title" -msgstr "" - -msgid "Related Publications Identifier" -msgstr "" - -msgid "Related Publications Identifier Type" -msgstr "" - -msgid "GrantURI" -msgstr "" - -msgid "Related Study Identifier Type" -msgstr "" - -msgid "Grant No" -msgstr "" - -msgid "Summary DDI" -msgstr "" - - -msgid "Apply JGSS" -msgstr "Apply" - -msgid "This data is not available for undergraduate students or those who do not register their positions." -msgstr "" - -msgid "Please input email address." -msgstr "" - -msgid "Email address" +# NOTE: Defined by email_modal in weko-theme/macros/modal_page.html and +# rendered via weko-records-ui/templates/weko_records_ui/body_contents.html. +msgid "Email address" msgstr "" msgid "Email address(reconfirmation)" msgstr "" - -msgid "Token is invalid." -msgstr "" - -msgid "The expiration date for download has been exceeded." -msgstr "" - -msgid "The download limit has been exceeded." -msgstr "" - -msgid "This data is not available for this user." -msgstr "" - -msgid "PriceInfo" -msgstr "" - -msgid "FileName" -msgstr "" - -msgid "billingrole" -msgstr "" - -msgid "tax" -msgstr "" - -msgid "include_tax" -msgstr "" - -msgid "without_tax" -msgstr "" - -msgid "price" -msgstr "" - -msgid "site_license_member" -msgstr "" - -msgid "open_access" -msgstr "" - -msgid "charge_confirmation" -msgstr "" - -msgid "charge_success" -msgstr "" - -msgid "charge_already" -msgstr "" - -msgid "charge_credit_error" -msgstr "" - -msgid "charge_error" -msgstr "" diff --git a/modules/weko-records-ui/weko_records_ui/views.py b/modules/weko-records-ui/weko_records_ui/views.py index a5a7043db7..cbef93a892 100644 --- a/modules/weko-records-ui/weko_records_ui/views.py +++ b/modules/weko-records-ui/weko_records_ui/views.py @@ -71,7 +71,7 @@ from .permissions import check_content_clickable, check_created_id, \ check_file_download_permission, check_original_pdf_download_permission, \ check_permission_period, file_permission_factory, get_permission, \ - check_charge, create_charge, close_charge, secure_charge + check_charge, create_charge, close_charge, secure_charge, get_file_charge_info from .utils import get_billing_file_download_permission, \ get_google_detaset_meta, get_google_scholar_meta, get_groups_price, \ get_min_price_billing_file_download, get_record_permalink, hide_by_email, \ @@ -1050,6 +1050,8 @@ def charge(): already : 課金済み error : 課金失敗 credit_error : 課金失敗(クレジットカード情報の不備) + price_changed: リクエスト時から価格が変更された + (変更後のprice, unit を含む) redirect: カード会社の3DS2.0画面へのリダイレクトURL ''' @@ -1060,15 +1062,54 @@ def charge(): file_name = request.values.get('file_name') title = request.values.get('title') price = request.values.get('price') - file_url = current_app.config['THEME_SITEURL'] + f'/record/{item_id}/files/{file_name}' + if not item_id or not str(item_id).isdigit(): + return jsonify({'status': 'error'}) + if not price or not str(price).isdigit() or not file_name: + return jsonify({'status': 'error'}) + + # 課金額はリクエストの値ではなくサーバーで算出した値を使う + try: + charge_status, server_price, unit = get_file_charge_info( + int(item_id), file_name + ) + except Exception as e: + current_app.logger.error( + f'Error in get_file_charge_info: user: {current_user.id}, ' + f'item_id: {item_id}, file_name: {file_name}') + current_app.logger.error(e) + return jsonify({'status': 'error'}) + if charge_status == 'already': + return jsonify({'status': 'already'}) + if charge_status != 'ok': + # not_required / invalid は通常の画面操作では起きないため、専用の応答は設けない + current_app.logger.warning( + f'Charge rejected ({charge_status}): user: {current_user.id}, ' + f'item_id: {item_id}, file_name: {file_name}') + return jsonify({'status': 'error'}) + if int(price) != server_price: + # 画面表示後に価格が変わった、または改ざんされた。課金せずに再確認させる + current_app.logger.warning( + f'Price mismatch in charge: user: {current_user.id}, ' + f'item_id: {item_id}, request_price: {price}, ' + f'server_price: {server_price}') + return jsonify( + {'status': 'price_changed', 'price': server_price, 'unit': unit} + ) + file_url = (current_app.config['THEME_SITEURL'] + + f'/record/{item_id}/files/{file_name}') ret_url = urljoin( current_app.config['THEME_SITEURL'], - url_for('weko_records_ui.charge_secure', session_id=session_id.split('.')[0]), + url_for( + 'weko_records_ui.charge_secure', + session_id=session_id.split('.')[0] + ), ) # 課金中のアイテムIDをキャッシュから取得 redis_connection = RedisConnection() - datastore = redis_connection.connection(db=current_app.config['CACHE_REDIS_DB'], kv=True) + datastore = redis_connection.connection( + db=current_app.config['CACHE_REDIS_DB'], kv=True + ) cache_key = f'charge_{current_user.id}' if datastore.redis.exists(cache_key): # 課金中だったら課金しない @@ -1081,13 +1122,22 @@ def charge(): # 課金済みだったら課金しない return jsonify({'status': 'already'}) except Exception as e: - current_app.logger.error(f'Error in check_charge: user: {current_user.id}, item_id: {item_id}') + current_app.logger.error( + f'Error in check_charge: user: {current_user.id}, ' + f'item_id: {item_id}') current_app.logger.error(e) return abort(500) # 課金予約 try: - redirect_url = create_charge(current_user.id, int(item_id), price, title, file_url, ret_url) + redirect_url = create_charge( + current_user.id, + int(item_id), + server_price, + title, + file_url, + ret_url + ) if redirect_url in ['connection_error', 'api_error']: # 課金失敗 return jsonify({'status': 'error'}) @@ -1098,7 +1148,10 @@ def charge(): # 課金済みだったら課金しない return jsonify({'status': 'already'}) except Exception as e: - current_app.logger.error(f'Error in create_charge: user: {current_user.id}, item_id: {item_id}, price: {price}, title: {title}, file_url: {file_url}') + current_app.logger.error( + f'Error in create_charge: user: {current_user.id}, ' + f'item_id: {item_id}, price: {price}, title: {title}, ' + f'file_url: {file_url}') current_app.logger.error(e) return abort(500) diff --git a/modules/weko-records/babel.ini b/modules/weko-records/babel.ini index 2892bd8c18..afb054df5d 100644 --- a/modules/weko-records/babel.ini +++ b/modules/weko-records/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-schema-ui/babel.ini b/modules/weko-schema-ui/babel.ini index 88aab57967..afb054df5d 100644 --- a/modules/weko-schema-ui/babel.ini +++ b/modules/weko-schema-ui/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-search-ui/babel.ini b/modules/weko-search-ui/babel.ini index 37e5dc7158..afb054df5d 100644 --- a/modules/weko-search-ui/babel.ini +++ b/modules/weko-search-ui/babel.ini @@ -27,8 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -slient = false -extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-sitemap/babel.ini b/modules/weko-sitemap/babel.ini index 47a38b571a..0f1fe6c950 100644 --- a/modules/weko-sitemap/babel.ini +++ b/modules/weko-sitemap/babel.ini @@ -14,7 +14,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-swordserver/babel.ini b/modules/weko-swordserver/babel.ini index 8860705385..68609cdb60 100644 --- a/modules/weko-swordserver/babel.ini +++ b/modules/weko-swordserver/babel.ini @@ -14,7 +14,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-theme/babel.ini b/modules/weko-theme/babel.ini index 88aab57967..afb054df5d 100644 --- a/modules/weko-theme/babel.ini +++ b/modules/weko-theme/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-user-profiles/babel.ini b/modules/weko-user-profiles/babel.ini index 88aab57967..afb054df5d 100644 --- a/modules/weko-user-profiles/babel.ini +++ b/modules/weko-user-profiles/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/modules/weko-workflow/babel.ini b/modules/weko-workflow/babel.ini index 88aab57967..afb054df5d 100644 --- a/modules/weko-workflow/babel.ini +++ b/modules/weko-workflow/babel.ini @@ -27,7 +27,8 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 -extensions = jinja2.ext.autoescape, jinja2.ext.with_ +silent = false +extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.AssetsExtension, jinja2.ext.loopcontrols, jinja2.ext.i18n, jinja2.ext.do # Extraction from JavaScript files diff --git a/nginx/Dockerfile b/nginx/Dockerfile index fc3ff8faa3..907f129830 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -37,7 +37,7 @@ RUN cd nginx-1.20.1 && dpkg-buildpackage -b FROM ubuntu:focal AS nginx-stage_1 ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update && apt-get install -y openssl wget curl unzip supervisor shibboleth-sp-common shibboleth-sp-utils php-fpm php-curl +RUN apt-get update && apt-get install -y openssl wget curl unzip supervisor shibboleth-sp-common shibboleth-sp-utils fcgiwrap python3-requests WORKDIR /tmp #COPY --from=nginx-with-shib /tmp/nginx_1.18.0-2~focal_amd64.deb . @@ -52,8 +52,6 @@ ADD supervisord.conf /etc/supervisor/supervisord.conf ADD shibboleth2.xml /etc/shibboleth/shibboleth2.xml ADD attribute-map.xml /etc/shibboleth/attribute-map.xml ADD attribute-policy.xml /etc/shibboleth/attribute-policy.xml -RUN sed -i 's/\/run\/php/\/tmp/g' /etc/php/7.4/fpm/php-fpm.conf -RUN sed -i 's/\/run\/php/\/tmp/g' /etc/php/7.4/fpm/pool.d/www.conf ADD ./keys/server.crt /etc/shibboleth/server.crt ADD ./keys/server.key /etc/shibboleth/server.key @@ -73,9 +71,8 @@ ADD redirect_list.map /etc/nginx/redirect_list.map RUN chmod 400 /etc/nginx/server.key RUN mkdir /usr/share/nginx/html/secure -#ADD ./phpinfo.php /usr/share/nginx/html/secure/phpinfo.php -#ADD ./index.php /usr/share/nginx/html/secure/index.php -ADD ./login.php /usr/share/nginx/html/secure/login.php +ADD ./login.py /usr/share/nginx/html/secure/login.py +RUN chmod 755 /usr/share/nginx/html/secure/login.py ADD ./shib_clear_headers /etc/nginx/shib_clear_headers ADD ./shib_fastcgi_params /etc/nginx/shib_fastcgi_params diff --git a/nginx/Dockerfile.arm64 b/nginx/Dockerfile.arm64 index f8962f3b5e..94afad4a87 100644 --- a/nginx/Dockerfile.arm64 +++ b/nginx/Dockerfile.arm64 @@ -47,7 +47,8 @@ RUN apt-get update && \ supervisor \ shibboleth-sp-common \ shibboleth-sp-utils \ - php-fpm php-curl + fcgiwrap \ + python3-requests WORKDIR /tmp COPY --from=nginx-with-shib /tmp/nginx_1.20.1-1~focal_arm64.deb . @@ -59,8 +60,6 @@ ADD supervisord.conf /etc/supervisor/supervisord.conf ADD shibboleth2.xml /etc/shibboleth/shibboleth2.xml ADD attribute-map.xml /etc/shibboleth/attribute-map.xml ADD attribute-policy.xml /etc/shibboleth/attribute-policy.xml -RUN sed -i 's/\/run\/php/\/tmp/g' /etc/php/7.4/fpm/php-fpm.conf && \ - sed -i 's/\/run\/php/\/tmp/g' /etc/php/7.4/fpm/pool.d/www.conf ADD ./keys/server.crt /etc/shibboleth/server.crt ADD ./keys/server.key /etc/shibboleth/server.key @@ -79,9 +78,8 @@ ADD redirect_list.map /etc/nginx/redirect_list.map RUN chmod 400 /etc/nginx/server.key RUN mkdir /usr/share/nginx/html/secure -#ADD ./phpinfo.php /usr/share/nginx/html/secure/phpinfo.php -#ADD ./index.php /usr/share/nginx/html/secure/index.php -ADD ./login.php /usr/share/nginx/html/secure/login.php +ADD ./login.py /usr/share/nginx/html/secure/login.py +RUN chmod 755 /usr/share/nginx/html/secure/login.py ADD ./shib_clear_headers /etc/nginx/shib_clear_headers ADD ./shib_fastcgi_params /etc/nginx/shib_fastcgi_params diff --git a/nginx/index.php b/nginx/index.php deleted file mode 100644 index 1d4a3a952b..0000000000 --- a/nginx/index.php +++ /dev/null @@ -1,388 +0,0 @@ - - - - - - 属性受信の確認ページ - - - - - -
- -
- 属性受信の確認ページ
-あなたのIdPは、<" . htmlspecialchars($_SERVER['Shib-Identity-Provider']) . ">です。"; -?> -
-
- - - - - - - - - - - - - - - // of shib.conf. - // - // 3. shibd and httpd restart - // - $checkScopedAttribute = false; - //$checkScopedAttribute = true; - - function get_exportAssertion(){ - $eadata = ""; - $xml = simplexml_load_string(file_get_contents($_SERVER['Shib-Assertion-01'])); - foreach ( $xml->children("urn:oasis:names:tc:SAML:2.0:assertion")->AttributeStatement->Attribute as $attr) { - // eduPersonPrincipalName (ePPN) - if ((string)$attr->attributes()->Name == 'urn:oid:1.3.6.1.4.1.5923.1.1.1.6') { - $eadata["eppn"] = $attr->AttributeValue; - } - - // eduPersonScopedAffiliation (ePSA) - if ((string)$attr->attributes()->Name == 'urn:oid:1.3.6.1.4.1.5923.1.1.1.9') { - $affiliation_array = array(); - foreach ($attr->AttributeValue as $val) { - // Add a backslash to match the behavior of SP. - // example: "member;staff" --> "member\;staff" - $val = str_replace(';', '\\;', $val); - array_push($affiliation_array, $val); - } - $eadata["affiliation"] = (string)join(";", $affiliation_array); - } - - // eduPersonAffiliation (ePA) - if ((string)$attr->attributes()->Name == 'urn:oid:1.3.6.1.4.1.5923.1.1.1.1') { - $affiliation_array = array(); - foreach ($attr->AttributeValue as $val) { - // Add a backslash to match the behavior of SP. - // example: "member;staff@example.ac.jp" --> "member\;staff@example.ac.jp" - $val = str_replace(';', '\\;', $val); - array_push($affiliation_array, $val); - } - $eadata["unscoped-affiliation"] = (string)join(";", $affiliation_array); - } - - // gakuninScopedPersonalUniqueCode - if ((string)$attr->attributes()->Name == 'urn:oid:1.3.6.1.4.1.32264.1.1.6') { - $affiliation_array = array(); - foreach ($attr->AttributeValue as $val) { - // Add a backslash to match the behavior of SP. - // example: "faculty;staff:12345@example.ac.jp" --> "faculty\;staff:12345@example.ac.jp" - $val = str_replace(';', '\\;', $val); - array_push($affiliation_array, $val); - } - $eadata["gakuninScopedPersonalUniqueCode"] = (string)join(";", $affiliation_array); - } - - // eduPersonUniqueId - if ((string)$attr->attributes()->Name == 'urn:oid:1.3.6.1.4.1.5923.1.1.1.13') { - $eadata["eduPersonUniqueId"] = $attr->AttributeValue; - } - } - return $eadata; - } - - function normal_value($attr_value = ''){ - } - - function notice_value($attr_value = ''){ - if (strpos($attr_value, '\;') !== FALSE) - print '

注意:属性値にセミコロンが含まれているためSPによっては正しく動作しない可能性があります

'; - } - - function warning_value($attr_value = ''){ - if (strpos($attr_value, '\;') !== FALSE) - print '

警告:属性値にセミコロンが含まれているため正しくありません

'; - } - - function check_exportAssertion($attr, $attr_value = '', $ea_attr_value = ''){ - // scoped attributes (e.g. ePPN, ePSA) - $scoped_attrs = array( - "eppn", - "affiliation", - "gakuninScopedPersonalUniqueCode", - "eduPersonUniqueId", - "eduPersonScopedAffiliation", - ); - - // affiliation attributes (i.e. ePA, ePSA) - $affiliation_attrs = array( - "unscoped-affiliation", - "affiliation", - "eduPersonAffiliation", - "eduPersonScopedAffiliation", - ); - - // eduPersonAffiliation permissible values - // (eduPerson Object Class Specification (200806)) - $epaary = array( - "faculty", "student", "staff", "alum", "member", - "affiliate", "employee", "library-walk-in", - ); - - // Check of scope for scoped attributes (e.g. ePPN, ePSA) - if (in_array($attr, $scoped_attrs, true)) { - if (strcmp($attr_value, $ea_attr_value)) { - print '

警告:メタデータで定義されているスコープと送出された属性のスコープが一致していないか、利用できる属性値ではありません。
'; - print '(送出された属性値は' . $ea_attr_value . 'でした。)

'; - } - } - - // Check of vocabulary for affiliation attributes - if (in_array($attr, $affiliation_attrs, true)) { - $ea_attr_value_ary = preg_split("/(?警告:' . $val . "は利用できる属性値ではありません。

"; - } - } - - } - } - - $envary = array( - "eppn" => array("ePPN(eduPersonPrincipalName)" , "normal_value"), - "persistent-id" => array("eduPersonTargetedID" , "notice_value"), - "o" => array("o(organizationName)" , "normal_value"), - "jao" => array("jao(jaOrganizationName)[日本語]" , "normal_value"), - "ou" => array("ou(organizationalUnitName)" , "normal_value"), - "jaou" => array("jaou(jaOrganizationalUnitName)[日本語]" , "normal_value"), - "unscoped-affiliation" => array("職位(eduPersonAffiliation)" , "warning_value"), - "affiliation" => array("スコープ付き職位(eduPersonScopedAffiliation)" , "warning_value"), - "entitlement" => array("権限(eduPersonEntitlement)" , "notice_value"), - "mail" => array("メールアドレス(mail)" , "normal_value"), - "givenName" => array("名(givenName)" , "normal_value"), - "jaGivenName" => array("名(jaGivenName)[日本語]" , "normal_value"), - "sn" => array("姓(sn)" , "normal_value"), - "jasn" => array("姓(jasn)[日本語]" , "normal_value"), - "displayName" => array("表示名(displayName)" , "normal_value"), - "jaDisplayName" => array("表示名(jaDisplayName)[日本語]" , "normal_value"), - "gakuninScopedPersonalUniqueCode" - => array("gakuninScopedPersonalUniqueCode" , "notice_value"), - "isMemberOf" => array("isMemberOf" , "notice_value"), - "assurance" => array("eduPersonAssurance" , "notice_value"), - "eduPersonUniqueId" => array("eduPersonUniqueId" , "normal_value"), - "eduPersonOrcid" => array("eduPersonOrcid" , "notice_value"), - ); - - $chart_classes = array( - array("key" => "chart-key_even", "val" => "chart-value_even"), - array("key" => "chart-key_odd", "val" => "chart-value_odd" ), - ); - - $chart_class_notreceived = array( - "key" => "chart-key_notreceived", - "val" => "chart-value_notreceived"); - - if ($checkScopedAttribute === TRUE){ - $eadata=get_exportAssertion(); - } - - $i = 0; - foreach ($envary as $attr => $key) { - list($attr_description, $print_message) = $key; - - if ($i != 0) { - print "\n"; - } - - $chart_class = $chart_classes[$i % 2]; - - if (isset($_SERVER[$attr]) === FALSE) { - $chart_class = $chart_class_notreceived; - $val = "NOT RECEIVED"; - } else { - $val = htmlspecialchars($_SERVER[$attr], ENT_QUOTES, "UTF-8"); - } - - print ' '; - print ''; - print ''; - - $i = $i + 1; - } -?> - -
属性属性値
' . $attr_description . '' . $val; - print $print_message($_SERVER[$attr]); - - if ($checkScopedAttribute === TRUE && empty($eadata[$attr]) === FALSE){ - check_exportAssertion($attr, $_SERVER[$attr], $eadata[$attr]); - } - print '
-

現在のセッション情報の詳細はこちらへ。⇒セッション情報

-

このSPに対してログアウトする場合はこちらへ。⇒ログアウト
- (IdPに対してはログインした状態のままになりますのでご注意ください。
- IdPからもログアウトするためにはブラウザを閉じてください)

- - 0) { - print " \n"; - while (list($key, $value) = each($_SERVER)) { - print " \n"; - } - print "
$key" . htmlspecialchars($value, ENT_QUOTES, "UTF-8") . "
\n"; - } -?> - - - diff --git a/nginx/login.php b/nginx/login.php deleted file mode 100644 index a8944af68c..0000000000 --- a/nginx/login.php +++ /dev/null @@ -1,61 +0,0 @@ - - window.alert('Permission is invalid'); - window.location.href='".$base."';"; - //header("HTTP/1.1 403 Forbidden"); - //header("Location: ".$base); -}else{ - if(isset($_REQUEST['next'])){ - $next=$_REQUEST['next']; - }else{ - $next='%2F'; - } - $url = $base."/weko/shib/login?next=".$next; - $curl = curl_init(); - $post_args=[]; - $post_args['SHIB_ATTR_USER_NAME']=$_SERVER['HTTP_WEKOID']; - $post_args["SHIB_ATTR_EPPN"]=$_SERVER['Remote-User']; - $post_args["SHIB_ATTR_MAIL"]=$_SERVER['mail']; - $post_args["SHIB_ATTR_SESSION_ID"]=$_SERVER['Shib-Session-ID']; - $post_args["SHIB_ATTR_ROLE_AUTHORITY_NAME"]=$_SERVER['HTTP_WEKOSOCIETYAFFILIATION']; - $post_args["SHIB_ATTR_PAGE_NAME"]=$_SERVER['HTTP_WEKOSOCIETYSUBGROUP']; - $post_args["SHIB_ATTR_ACTIVE_FLAG"]=$_SERVER['HTTP_WEKOACTIVEUSER']; - $post_args["SHIB_ATTR_SITE_USER_WITHIN_IP_RANGE_FLAG"]=$_SERVER['HTTP_WEKOSITEUSERWITHINIPRANGE']; - $post_args["SHIB_ATTR_ORGANIZATION"] = $_SERVER['HTTP_UIDPDOMAINNAME']; - $post_args["SHIB_ATTR_HANDLE"] = $_SERVER['HTTP_DISPLAYNAME']; - - $options = array( - //Method - CURLOPT_POST => true,//POST - //body - CURLOPT_POSTFIELDS => http_build_query($post_args), - ); - $cookie=tempnam(sys_get_temp_dir(),'cookie_'); - //set options - curl_setopt($curl,CURLOPT_URL,$url); - curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); - curl_setopt($curl,CURLOPT_SSL_VERIFYPEER, false); - curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0); - curl_setopt($curl, CURLOPT_COOKIESESSION, true); - curl_setopt_array($curl, $options); - curl_setopt($curl,CURLOPT_COOKIEJAR,$cookie); - curl_setopt($curl,CURLOPT_COOKIEFILE,$cookie); - // request - $result = curl_exec($curl); - $info = curl_getinfo($curl); - $errno = curl_errno($curl); - $error = curl_error($curl); - curl_close($curl); - if (CURLE_OK !== $errno) { - throw new RuntimeException($error, $errno); - } - header("HTTP/1.1 302 Found"); - header("Location: ".$base.$result); - //var_dump($app_cookies[0]['value']); -} -?> diff --git a/nginx/login.py b/nginx/login.py new file mode 100644 index 0000000000..4eb5a0ca95 --- /dev/null +++ b/nginx/login.py @@ -0,0 +1,65 @@ +#!/usr/bin/python3 +from http import cookiejar +import os +import requests +import tempfile +from urllib import parse +import urllib3 +from urllib3.exceptions import InsecureRequestWarning +urllib3.disable_warnings(InsecureRequestWarning) + +# Set the base URL +base_url = os.environ.get('REQUEST_SCHEME') + '://' + os.environ.get('HTTP_HOST') +if not os.environ.get('HTTP_WEKOSOCIETYAFFILIATION') \ + and os.environ.get('NO_CHECK_WEKOSOCIETYAFFILIATION') != 'TRUE': + # Alert and redirect to the base URL if the permission is invalid + print('Content-Type: text/html; charset=utf-8\n\n') + print(''.format(base_url)) +else: + # Get the next URL + qs = parse.parse_qs(os.environ.get('QUERY_STRING')) + if 'next' in qs: + next = qs['next'][0] + else: + next = '%2F' + url = base_url + '/weko/shib/login?next=' + next + + # Create the data for setting to form data + data = {} + data['SHIB_ATTR_USER_NAME'] = os.environ.get('HTTP_WEKOID') + data['SHIB_ATTR_EPPN'] = os.environ.get('Remote-User') + data['SHIB_ATTR_MAIL'] = os.environ.get('mail') + data['SHIB_ATTR_SESSION_ID'] = os.environ.get('Shib-Session-ID') + data['SHIB_ATTR_ROLE_AUTHORITY_NAME'] = \ + os.environ.get('HTTP_WEKOSOCIETYAFFILIATION') + data['SHIB_ATTR_PAGE_NAME'] = os.environ.get('HTTP_WEKOSOCIETYSUBGROUP') + data['SHIB_ATTR_ACTIVE_FLAG'] = os.environ.get('HTTP_WEKOACTIVEUSER') + data['SHIB_ATTR_SITE_USER_WITHIN_IP_RANGE_FLAG'] = \ + os.environ.get('HTTP_WEKOSITEUSERWITHINIPRANGE') + data['SHIB_ATTR_ORGANIZATION'] = os.environ.get('HTTP_UIDPDOMAINNAME') + data['SHIB_ATTR_HANDLE'] = os.environ.get('HTTP_DISPLAYNAME') + + # Create the cookie jar + with tempfile.NamedTemporaryFile(prefix='cookie_', delete=False) as f: + temp_path = f.name + cookie_jar = cookiejar.LWPCookieJar(temp_path) + + # Request to the Shibboleth login + response = requests.post(url, data=data, verify=False, cookies=cookie_jar) + response.raise_for_status() + redirect = response.text + + if redirect.startswith('/'): + # Redirect to the Shibboleth login + print('HTTP/1.1 302 Found') + print('Content-Type: text/html') + print('Location: ' + base_url + redirect) + print('') + else: + # Display the login page or the page before login processing with flash message + print('HTTP/1.1 200 OK') + print('Content-Type: text/html') + print('') + print(redirect) diff --git a/nginx/phpinfo.php b/nginx/phpinfo.php deleted file mode 100644 index c9f5eeb129..0000000000 --- a/nginx/phpinfo.php +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/nginx/supervisord.conf b/nginx/supervisord.conf index 2773a36c85..73c06b3243 100644 --- a/nginx/supervisord.conf +++ b/nginx/supervisord.conf @@ -30,8 +30,9 @@ socket_mode=0777 redirect_stderr=true priority=2 -[program:php-fpm] -command =/usr/sbin/php-fpm7.4 -F +[fcgi-program:fcgiwrap] +command=/usr/sbin/fcgiwrap -f +socket=unix:///usr/lib/systemd/system/fcgiwrap.socket autostart=true autorestart=true stdout_logfile=/dev/stdout diff --git a/nginx/weko.conf b/nginx/weko.conf index 86f5a2dd08..08f4494850 100644 --- a/nginx/weko.conf +++ b/nginx/weko.conf @@ -110,8 +110,8 @@ server { more_clear_input_headers 'EPPN' 'DisplayName' 'Email' 'Persistent-Id'; - fastcgi_pass unix:/tmp/php7.4-fpm.sock; - fastcgi_index index.php; + fastcgi_pass unix:/usr/lib/systemd/system/fcgiwrap.socket; + fastcgi_index index.py; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; root /usr/share/nginx/html; diff --git a/scripts/instance.cfg b/scripts/instance.cfg index 882123ea62..9c9b770b4c 100644 --- a/scripts/instance.cfg +++ b/scripts/instance.cfg @@ -437,7 +437,7 @@ WEKO_RECORDS_UI_LICENSE_DICT = [ WEKO_ACCOUNTS_SHIB_LOGIN_ENABLED = True # Login proxy URL -WEKO_ACCOUNTS_SHIB_IDP_LOGIN_URL = '{}secure/login.php' +WEKO_ACCOUNTS_SHIB_IDP_LOGIN_URL = '{}secure/login.py' # Shibboleth sign up URL. (If Shibboleth login is enabled, this URL is used for Shibboleth sign up.) WEKO_ACCOUNTS_SHIB_SIGNUP_URL = 'https://test-ums.ixsq.nii.ac.jp/register/new/weko01/'