Skip to content

Commit

Permalink
i18n: update translations file
Browse files Browse the repository at this point in the history
  • Loading branch information
mb-wali authored May 26, 2022
1 parent 625107d commit e338e40
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 11 deletions.
16 changes: 15 additions & 1 deletion .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,21 @@
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.

#
# 1) Create message catalog:
# $ python setup.py extract_messages
# $ python setup.py init_catalog -l <lang>
# $ python setup.py compile_catalog
# 2) Ensure project has been created on Transifex under the invenio-access
# organisation.
# 3) Install the transifex-client
# $ pip install transifex-client
# 4) Push source (.pot) and translations (.po) to Transifex
# $ tx push -s -t
# 5) Pull translations for a single language from Transifex
# $ tx pull -l <lang>
# 6) Pull translations for all languages from Transifex
# $ tx pull -a

[main]
host = https://www.transifex.com
Expand Down
1 change: 0 additions & 1 deletion babel.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ encoding = utf-8

[jinja2: **/templates/**.html]
encoding = utf-8
extensions = jinja2.ext.autoescape, jinja2.ext.with_

# Extraction from JavaScript files

Expand Down
40 changes: 31 additions & 9 deletions invenio_access/translations/messages.pot
Original file line number Diff line number Diff line change
@@ -1,36 +1,58 @@
# Translations template for invenio-access.
# Copyright (C) 2016 CERN
# Copyright (C) 2022 CERN
# This file is distributed under the same license as the invenio-access
# project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: invenio-access 1.0.0a10.dev20160722\n"
"Project-Id-Version: invenio-access 1.4.4\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2016-08-18 14:05+0200\n"
"POT-Creation-Date: 2022-05-26 17:53+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
"Generated-By: Babel 2.10.1\n"

#: invenio_access/admin.py:57
#: invenio_access/admin.py:39
msgid "Email"
msgstr ""

#: invenio_access/admin.py:58
#: invenio_access/admin.py:40
msgid "User ID"
msgstr ""

#: invenio_access/admin.py:92
#: invenio_access/admin.py:41 invenio_access/admin.py:78
#: invenio_access/admin.py:114
msgid "Deny"
msgstr ""

#: invenio_access/admin.py:77
msgid "Role Name"
msgstr ""

#: invenio_access/admin.py:99 invenio_access/admin.py:105
#: invenio_access/admin.py:113
msgid "System Role"
msgstr ""

#: invenio_access/admin.py:141 invenio_access/admin.py:148
#: invenio_access/admin.py:155
msgid "User Management"
msgstr ""

#: invenio_access/admin.py:142
msgid "Access: Roles"
msgstr ""

#: invenio_access/admin.py:149
msgid "Access: Users"
msgstr ""

#: invenio_access/admin.py:156
msgid "Access: System Roles"
msgstr ""

0 comments on commit e338e40

Please sign in to comment.