Compare commits
2 commits
adc4d10921
...
d0b0d5691c
| Author | SHA1 | Date | |
|---|---|---|---|
| d0b0d5691c | |||
| 553c905e89 |
3 changed files with 7 additions and 5 deletions
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2024-10-31 10:00+0100\n"
|
||||
"POT-Creation-Date: 2024-10-31 19:17+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
@ -15,15 +15,15 @@ msgstr ""
|
|||
"Generated-By: pygettext.py 1.5\n"
|
||||
|
||||
|
||||
#: src/rougail/cli/__main__.py:43
|
||||
#: src/rougail/cli/__main__.py:63
|
||||
msgid "cannot find \"user_data\" module \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/cli/__main__.py:56
|
||||
#: src/rougail/cli/__main__.py:76
|
||||
msgid "cannot find cli file for \"output_name\" module \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/cli/__main__.py:69
|
||||
#: src/rougail/cli/__main__.py:89
|
||||
msgid "ERROR: {0}"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@ from rougail.config import get_rougail_config
|
|||
from rougail.update import RougailUpgrade
|
||||
from rougail.utils import load_modules
|
||||
|
||||
from .i18n import _
|
||||
|
||||
|
||||
def _main():
|
||||
rougailconfig = get_rougail_config(backward_compatibility=False, add_extra_options=False)
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ along with Mtools. If not, see <http://www.gnu.org/licenses/>.
|
|||
from gettext import translation
|
||||
from pathlib import Path
|
||||
|
||||
t = translation('rougail.cli', str(Path(__file__).parent / 'locale'))
|
||||
t = translation('rougail_cli', str(Path(__file__).parent / 'locale'))
|
||||
|
||||
_ = t.gettext
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue