Skip to content

Commit ccbb54d

Browse files
authored
Merge pull request #216 from olivertzeng/upstream-locale
2 parents 7d1a323 + 22d3c7d commit ccbb54d

File tree

14 files changed

+15214
-13690
lines changed

14 files changed

+15214
-13690
lines changed

build_locale.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
fd -e py >po/POTFILES
2-
xgettext -o po/newelle.pot $(fd -e py)
1+
fd -t f -e py src | xargs rg -l "_\(|N\(_" >po/POTFILES
2+
fd -t f '.*\.xml$|.*\.in$' data >>po/POTFILES
3+
xgettext -o po/newelle.pot $(cat po/POTFILES)
34
cd po
45
for file in $(fd -e po); do
56
msgmerge -U "$file" newelle.pot

po/POTFILES

Lines changed: 69 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,101 +1,77 @@
1-
src/__init__.py
2-
src/constants.py
3-
src/controller.py
1+
src/window.py
42
src/extensions.py
5-
src/handlers/__init__.py
6-
src/handlers/embeddings/__init__.py
7-
src/handlers/embeddings/embedding.py
8-
src/handlers/embeddings/gemini_handler.py
9-
src/handlers/embeddings/ollama_handler.py
10-
src/handlers/embeddings/openai_handler.py
11-
src/handlers/embeddings/wordllama_handler.py
12-
src/handlers/extra_settings.py
13-
src/handlers/handler.py
14-
src/handlers/llm/__init__.py
15-
src/handlers/llm/claude_handler.py
16-
src/handlers/llm/custom_handler.py
17-
src/handlers/llm/deepseek_handler.py
18-
src/handlers/llm/g4f_handler.py
19-
src/handlers/llm/gemini_handler.py
20-
src/handlers/llm/gpt3any_handler.py
21-
src/handlers/llm/gpt4all_handler.py
22-
src/handlers/llm/groq_handler.py
23-
src/handlers/llm/llm.py
24-
src/handlers/llm/mistral_handler.py
25-
src/handlers/llm/newelle_handler.py
26-
src/handlers/llm/ollama_handler.py
27-
src/handlers/llm/openai_handler.py
28-
src/handlers/llm/openrouter_handler.py
29-
src/handlers/memory/__init__.py
30-
src/handlers/memory/memoripy_handler.py
31-
src/handlers/memory/memory_handler.py
32-
src/handlers/memory/summary_memoripy_handler.py
33-
src/handlers/memory/user_summary_handler.py
34-
src/handlers/rag/__init__.py
35-
src/handlers/rag/llamaindex_handler.py
36-
src/handlers/rag/rag_handler.py
37-
src/handlers/stt/__init__.py
38-
src/handlers/stt/custom_handler.py
39-
src/handlers/stt/googlesr_handler.py
40-
src/handlers/stt/groqsr_handler.py
41-
src/handlers/stt/openaisr_handler.py
42-
src/handlers/stt/sphinx_handler.py
43-
src/handlers/stt/stt.py
44-
src/handlers/stt/vosk_handler.py
45-
src/handlers/stt/whisper_handler.py
46-
src/handlers/stt/whispercpp_handler.py
47-
src/handlers/stt/witai_handler.py
48-
src/handlers/tts/__init__.py
49-
src/handlers/tts/custom_handler.py
50-
src/handlers/tts/custom_openai_tts.py
51-
src/handlers/tts/elevenlabs_handler.py
52-
src/handlers/tts/espeak_handler.py
53-
src/handlers/tts/groq_tts_handler.py
54-
src/handlers/tts/gtts_handler.py
55-
src/handlers/tts/kokoro_handler.py
56-
src/handlers/tts/openai_tts_handler.py
57-
src/handlers/tts/tts.py
58-
src/handlers/websearch/__init__.py
59-
src/handlers/websearch/duckduckgo_handler.py
60-
src/handlers/websearch/searxng.py
61-
src/handlers/websearch/tavily.py
62-
src/handlers/websearch/websearch.py
63-
src/integrations/__init__.py
64-
src/integrations/websearch.py
65-
src/integrations/website_reader.py
663
src/main.py
67-
src/ui/__init__.py
68-
src/ui/extension.py
69-
src/ui/mini_window.py
4+
src/controller.py
5+
src/ui/settings.py
6+
src/constants.py
7+
src/ui/thread_editing.py
708
src/ui/presentation.py
71-
src/ui/profile.py
729
src/ui/screenrecorder.py
73-
src/ui/settings.py
10+
src/ui/mini_window.py
7411
src/ui/shortcuts.py
75-
src/ui/thread_editing.py
76-
src/ui/widgets/__init__.py
77-
src/ui/widgets/barchart.py
78-
src/ui/widgets/comborow.py
79-
src/ui/widgets/copybox.py
80-
src/ui/widgets/documents_reader.py
81-
src/ui/widgets/file.py
82-
src/ui/widgets/latex.py
83-
src/ui/widgets/markuptextview.py
84-
src/ui/widgets/multiline.py
85-
src/ui/widgets/profilerow.py
86-
src/ui/widgets/terminal_dialog.py
87-
src/ui/widgets/thinking.py
88-
src/ui/widgets/tipscarousel.py
89-
src/ui/widgets/websearch.py
90-
src/ui/widgets/website.py
91-
src/utility/__init__.py
92-
src/utility/audio_recorder.py
93-
src/utility/media.py
12+
src/ui/profile.py
13+
src/integrations/website_reader.py
9414
src/utility/message_chunk.py
95-
src/utility/pip.py
96-
src/utility/profile_settings.py
97-
src/utility/replacehelper.py
9815
src/utility/strings.py
99-
src/utility/system.py
16+
src/integrations/websearch.py
17+
src/utility/audio_recorder.py
18+
src/ui/extension.py
10019
src/utility/util.py
101-
src/window.py
20+
src/ui/widgets/tipscarousel.py
21+
src/ui/widgets/file.py
22+
src/ui/widgets/website.py
23+
src/handlers/handler.py
24+
src/ui/widgets/websearch.py
25+
src/ui/widgets/thinking.py
26+
src/ui/widgets/terminal_dialog.py
27+
src/ui/widgets/profilerow.py
28+
src/handlers/websearch/tavily.py
29+
src/ui/widgets/multiline.py
30+
src/ui/widgets/markuptextview.py
31+
src/ui/widgets/latex.py
32+
src/ui/widgets/documents_reader.py
33+
src/ui/widgets/copybox.py
34+
src/ui/widgets/comborow.py
35+
src/ui/widgets/barchart.py
36+
src/handlers/websearch/duckduckgo_handler.py
37+
src/handlers/tts/tts.py
38+
src/handlers/tts/custom_handler.py
39+
src/handlers/tts/openai_tts_handler.py
40+
src/handlers/memory/user_summary_handler.py
41+
src/handlers/stt/witai_handler.py
42+
src/handlers/memory/summary_memoripy_handler.py
43+
src/handlers/stt/whispercpp_handler.py
44+
src/handlers/stt/openaisr_handler.py
45+
src/handlers/stt/whisper_handler.py
46+
src/handlers/stt/groqsr_handler.py
47+
src/handlers/memory/memoripy_handler.py
48+
src/handlers/stt/vosk_handler.py
49+
src/handlers/stt/googlesr_handler.py
50+
src/handlers/stt/custom_handler.py
51+
src/handlers/llm/openrouter_handler.py
52+
src/handlers/stt/sphinx_handler.py
53+
src/handlers/llm/openai_handler.py
54+
src/handlers/tts/custom_openai_tts.py
55+
src/handlers/rag/rag_handler.py
56+
src/handlers/tts/elevenlabs_handler.py
57+
src/handlers/tts/groq_tts_handler.py
58+
src/handlers/llm/newelle_handler.py
59+
src/handlers/rag/llamaindex_handler.py
60+
src/handlers/llm/ollama_handler.py
61+
src/handlers/llm/mistral_handler.py
62+
src/handlers/llm/llm.py
63+
src/handlers/llm/groq_handler.py
64+
src/handlers/llm/gpt4all_handler.py
65+
src/handlers/llm/gpt3any_handler.py
66+
src/handlers/llm/gemini_handler.py
67+
src/handlers/llm/deepseek_handler.py
68+
src/handlers/llm/custom_handler.py
69+
src/handlers/llm/claude_handler.py
70+
src/handlers/embeddings/wordllama_handler.py
71+
src/handlers/embeddings/openai_handler.py
72+
src/handlers/embeddings/ollama_handler.py
73+
src/handlers/embeddings/embedding.py
74+
src/handlers/embeddings/gemini_handler.py
75+
data/io.github.qwersyk.Newelle.appdata.xml.in
76+
data/io.github.qwersyk.Newelle.desktop.in
77+
data/io.github.qwersyk.Newelle.gschema.xml

0 commit comments

Comments
 (0)