diff --git a/babel/babel.cfg b/babel/babel.cfg deleted file mode 100644 index 50b31f30..00000000 --- a/babel/babel.cfg +++ /dev/null @@ -1 +0,0 @@ -[python: src/**/**.py] \ No newline at end of file diff --git a/babel/messages.pot b/babel/messages.pot index 07ad51ca..457ce7cf 100644 --- a/babel/messages.pot +++ b/babel/messages.pot @@ -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 , 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 on a standard keyboard. #: src/seedsigner/gui/keyboard.py diff --git a/requirements.txt b/requirements.txt index 337ea35b..c3304dac 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Babel==2.10.1 +Babel==2.16.0 embit==0.7.0 numpy==1.25.2 Pillow==9.4.0 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..0b9c7bab --- /dev/null +++ b/setup.cfg @@ -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