Skip to content

Commit

Permalink
Feature: add Deu i18n language support (#303)
Browse files Browse the repository at this point in the history
* feat. add Deu i18n language support

Die deuchte Sprachehilfspackung für iamai.

* fix. add .DS_Store in the .gitignore file

1.add .DS_Store in the .gitignore file

---------

Co-authored-by: 简律纯 <[email protected]>
  • Loading branch information
BegoniaHe and HsiangNianian authored Nov 11, 2024
1 parent 0796c98 commit 29c498d
Show file tree
Hide file tree
Showing 5 changed files with 232 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ __pycache__/
# C extensions
*.so

# DS_Store files
.DS_Store

# Distribution / packaging
.Python
build/
Expand Down
Binary file added iamai/.DS_Store
Binary file not shown.
Binary file added iamai/locale/.DS_Store
Binary file not shown.
229 changes: 229 additions & 0 deletions iamai/locale/de/LC_MESSAGES/i18n.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,229 @@
# Chinese translations for PACKAGE package.
# Copyright (C) 2024 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Automatically generated, 2024.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-10 19:05+0200\n"
"PO-Revision-Date: 2024-11-10 19:05+0200\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: iamai/i18n.py:65 iamai/bot.py:235
#, python-brace-format
msgid "Version: {version}"
msgstr "Version: {version}"

#: iamai/bot.py:203
msgid "Restarting iamai..."
msgstr ""

#: iamai/bot.py:234
msgid "Running iamai..."
msgstr "iamai läuft..."

#: iamai/bot.py:252
msgid "Startup adapter {_adapter!r} failed: {error}"
msgstr "Startadapter {_adapter!r} fehlgeschlagen: {error}"

#: iamai/bot.py:303
#, python-brace-format
msgid "Succeeded to remove plugin \"{plugin_.__name__}\" from file \"{file}\""
msgstr "Plugin \"{plugin_.__name__}\" erfolgreich aus File \"{file}\" entfernt"

#: iamai/bot.py:317
msgid ""
"Hot reload needs to install \"watchfiles\", try \"pip install watchfiles\""
msgstr ""
"Für Hot Reload muss \"watchfiles\" installiert werden, versuchen Sie \"pip install watchfiles\""

#: iamai/bot.py:322
msgid "Hot reload is working!"
msgstr "Hot Reload funktioniert!"

#: iamai/bot.py:347
#, python-brace-format
msgid "Reload config file \"{self._config_file}\""
msgstr "Konfigurationsdatei \"{self._config_file}\" neu laden"

#: iamai/bot.py:374
#, python-brace-format
msgid "Hot reload: Added file: {file}"
msgstr "Hot Reload: Datei hinzugefügt: {file}"

#: iamai/bot.py:381
#, python-brace-format
msgid "Hot reload: Deleted file: {file}"
msgstr "Hot Reload: Datei gelöscht: {file}"

#: iamai/bot.py:385
#, python-brace-format
msgid "Hot reload: Modified file: {file}"
msgstr "Hot Reload: Datei geändert: {file}"

#: iamai/bot.py:441
msgid "Read config file failed:"
msgstr "Konfigurationsdatei Lesensfehle:"

#: iamai/bot.py:442
msgid "Unable to determine config file type"
msgstr "Konfigurationstyp der Datei konnte nicht bestimmt werden"

#: iamai/bot.py:445
#, python-brace-format
msgid "Can not open config file: {e}"
msgstr "Kann Konfigurationsdatei nicht öffnen: {e}"

#: iamai/bot.py:447
#, python-brace-format
msgid "Read config file failed: {e}"
msgstr "Konfigurationsdatei konnte nicht gelesen werden: {e}"

#: iamai/bot.py:453
#, python-brace-format
msgid "Config dict parse error: {e}"
msgstr "Fehler beim Parsen des Konfigurationsdicts: {e}"

#: iamai/bot.py:467
msgid "Stopping iamai..."
msgstr "iamai wird gestoppt..."

#: iamai/bot.py:469
msgid "Force Exit iamai..."
msgstr "iamai wird erzwungen beendet..."

#: iamai/bot.py:492
msgid "Adapter {current_event.adapter.name} received: {current_event!r}"
msgstr "Adapter {current_event.adapter.name} empfangen: {current_event!r}"

#: iamai/bot.py:522
msgid "Checking for matching plugins with priority {plugin_priority!r}"
msgstr "Prüfen auf passende Plugins mit Priorität {plugin_priority!r}"

#: iamai/bot.py:542
msgid "Event will be handled by {_plugin!r}"
msgstr "Ereignis wird von {_plugin!r} bearbeitet"

#: iamai/bot.py:555
msgid "Exception in plugin {plugin!r}"
msgstr "Ausnahme im Plugin {plugin!r}"

#: iamai/bot.py:562
msgid "Event Finished"
msgstr "Ereignis abgeschlossen"

#: iamai/bot.py:677
#, python-brace-format
msgid "Already have a same name plugin \"{_plugin.__name__}\""
msgstr "Es gibt bereits ein Plugin mit demselben Namen \"{_plugin.__name__}\""

#: iamai/bot.py:683
msgid ""
"Succeeded to load plugin \"{plugin_class.__name__}\" from class "
"\"{plugin_class!r}\""
msgstr "Plugin \"{plugin_class.__name__}\" erfolgreich aus Klasse \"{plugin_class!r}\" geladen"

#: iamai/bot.py:687
msgid "Load plugin from class \"{plugin_class!r}\" failed:"
msgstr "Laden des Plugins aus Klasse \"{plugin_class!r}\" fehlgeschlagen:"

#: iamai/bot.py:689
msgid "Plugin priority incorrect in the class \"{plugin_class!r}\""
msgstr "Plugin-Priorität in der Klasse \"{plugin_class!r}\" inkorrekt"

#: iamai/bot.py:706
#, python-brace-format
msgid "Import module \"{module_name}\" failed:"
msgstr "Modul \"{module_name}\" konnte nicht importiert werden:"

#: iamai/bot.py:740
#, python-brace-format
msgid "Loading plugins from module \"{plugin_}\""
msgstr "Laden von Plugins aus Modul \"{plugin_}\""

#: iamai/bot.py:747
#, python-brace-format
msgid "Loading plugins from path \"{plugin_}\""
msgstr "Laden von Plugins aus Pfad \"{plugin_}\""

#: iamai/bot.py:750
#, python-brace-format
msgid "The plugin path \"{plugin_}\" must be a file"
msgstr "Der Plugin-Pfad \"{plugin_}\" muss eine Datei sein"

#: iamai/bot.py:755
#, python-brace-format
msgid "The path \"{plugin_}\" must endswith \".py\""
msgstr "Der Pfad \"{plugin_}\" muss mit \".py\" enden"

#: iamai/bot.py:786
#, python-brace-format
msgid "{plugin_} can not be loaded as plugin"
msgstr "{plugin_} kann nicht als Plugin geladen werden"

#: iamai/bot.py:789
#, python-brace-format
msgid "Load plugin \"{plugin_}\" failed:"
msgstr "Laden des Plugins \"{plugin_}\" fehlgeschlagen:"

#: iamai/bot.py:817
#, python-brace-format
msgid "Loading plugins from dirs {dir_list}"
msgstr "Laden von Plugins aus Verzeichnissen {dir_list}"

#: iamai/bot.py:853
#, python-brace-format
msgid "Can not find Adapter class in the {adapter_} module"
msgstr "Adapterklasse im Modul {adapter_} nicht gefunden"

#: iamai/bot.py:857
#, python-brace-format
msgid "More then one Adapter class in the {adapter_} module"
msgstr "Mehr als eine Adapterklasse im Modul {adapter_}"

#: iamai/bot.py:862
#, python-brace-format
msgid "{adapter_} can not be loaded as adapter"
msgstr "{adapter_} kann nicht als Adapter geladen werden"

#: iamai/bot.py:865
#, python-brace-format
msgid "Load adapter \"{adapter_}\" failed:"
msgstr "Laden des Adapters \"{adapter_}\" fehlgeschlagen:"

#: iamai/bot.py:870
#, python-brace-format
msgid ""
"Succeeded to load adapter \"{adapter_object.__class__.__name__}\" from "
"\"{adapter_}\""
msgstr "Adapter \"{adapter_object.__class__.__name__}\" erfolgreich aus \"{adapter_}\" geladen"

#: iamai/bot.py:912
#, python-brace-format
msgid "Can not find adapter named \"{adapter}\""
msgstr "Adapter mit dem Namen \"{adapter}\" nicht gefunden"

#: iamai/bot.py:929
#, python-brace-format
msgid "Can not find plugin named \"{name}\""
msgstr "Plugin mit dem Namen \"{name}\" nicht gefunden"

#: iamai/cli.py:22
#, python-brace-format
msgid "Installing plugin: {plugin_name}"
msgstr "Plugin wird installiert: {plugin_name}"

#: iamai/cli.py:27
#, python-brace-format
msgid "Current version: {version}"
msgstr "Aktuelle Version: {version}"

#~ msgid "hello"
#~ msgstr "Hallo"

0 comments on commit 29c498d

Please sign in to comment.