setup.cfg for pybabel integration with setuptools

This commit is contained in:
kdmukai
2024-10-03 07:49:19 -05:00
parent 0dd3eb8603
commit b785cc9608
4 changed files with 23 additions and 6 deletions
-1
View File
@@ -1 +0,0 @@
[python: src/**/**.py]
+4 -4
View File
@@ -1,12 +1,12 @@
# Translations template for PROJECT.
# Translations template for seedsigner.
# Copyright (C) 2024 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# This file is distributed under the same license as the seedsigner project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Project-Id-Version: seedsigner 0.7.0\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-09-27 19:42-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
@@ -15,7 +15,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.1\n"
"Generated-By: Babel 2.16.0\n"
#. The abbreviated label for the special key <del> on a standard keyboard.
#: src/seedsigner/gui/keyboard.py
+1 -1
View File
@@ -1,4 +1,4 @@
Babel==2.10.1
Babel==2.16.0
embit==0.7.0
numpy==1.25.2
Pillow==9.4.0
+18
View File
@@ -0,0 +1,18 @@
[extract_messages]
add_comments = TRANSLATOR_NOTE:
strip_comments = yes
# mapping_file = babel/babel.cfg
add_location = file
input_dirs = src
output_file = babel/messages.pot
[update_catalog]
ignore_pot_creation_date = yes
no_fuzzy_matching = yes
no_wrap = yes
input_file = babel/messages.pot
output_dir = src/seedsigner/resources/babel
[compile_catalog]
use_fuzzy = yes
directory = src/seedsigner/resources/babel