-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
349 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
LANGUAGES := en zh_CN zh_TW fr_FR ja_JP ko_KR | ||
|
||
gentranslations: | ||
xgettext -d beanbot -o locale/beanbot.pot **/*.py | ||
for lang in $(LANGUAGES); do \ | ||
mkdir -p locale/$$lang/LC_MESSAGES; \ | ||
if [ -f locale/$$lang/LC_MESSAGES/beanbot.po ]; then \ | ||
msgmerge --update locale/$$lang/LC_MESSAGES/beanbot.po locale/beanbot.pot; \ | ||
else \ | ||
msginit -i locale/beanbot.pot -o locale/$$lang/LC_MESSAGES/beanbot.po -l $$lang; \ | ||
fi; \ | ||
done | ||
|
||
compiletranslations: | ||
for lang in $(LANGUAGES); do \ | ||
msgfmt -o locale/$$lang/LC_MESSAGES/beanbot.mo locale/$$lang/LC_MESSAGES/beanbot.po; \ | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-22 21:08+0800\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
"Language: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: bots/mmbot.py:82 bots/telegram_bot.py:107 | ||
msgid "Submit" | ||
msgstr "" | ||
|
||
#: bots/mmbot.py:83 bots/telegram_bot.py:108 | ||
msgid "Cancel" | ||
msgstr "" | ||
|
||
#: bots/mmbot.py:112 | ||
msgid "Query account changes" | ||
msgstr "" | ||
|
||
#: bots/mmbot.py:129 | ||
msgid "Query expenses" | ||
msgstr "" | ||
|
||
#: bots/telegram_bot.py:138 | ||
msgid "Submitted ✅" | ||
msgstr "" | ||
|
||
#: bots/telegram_bot.py:142 | ||
msgid "Cancelled ❌" | ||
msgstr "" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# English translations for PACKAGE package. | ||
# Copyright (C) 2024 THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# David Dai <[email protected]>, 2024. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-22 20:40+0800\n" | ||
"PO-Revision-Date: 2024-08-22 20:40+0800\n" | ||
"Last-Translator: David Dai <[email protected]>\n" | ||
"Language-Team: English\n" | ||
"Language: en\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#: bots/mmbot.py:82 bots/telegram_bot.py:107 | ||
msgid "Submit" | ||
msgstr "Submit" | ||
|
||
#: bots/mmbot.py:83 bots/telegram_bot.py:108 | ||
msgid "Cancel" | ||
msgstr "Cancel" | ||
|
||
#: bots/mmbot.py:112 | ||
msgid "Query account changes" | ||
msgstr "Query account changes" | ||
|
||
#: bots/mmbot.py:129 | ||
msgid "Query expenses" | ||
msgstr "Query expenses" | ||
|
||
#: bots/telegram_bot.py:138 | ||
msgid "Submitted ✅" | ||
msgstr "Submitted ✅" | ||
|
||
#: bots/telegram_bot.py:142 | ||
msgid "Cancelled ❌" | ||
msgstr "Cancelled ❌" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# French translations for PACKAGE package | ||
# Traductions françaises du paquet PACKAGE. | ||
# Copyright (C) 2024 THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# David Dai <[email protected]>, 2024. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-22 21:07+0800\n" | ||
"PO-Revision-Date: 2024-08-22 21:07+0800\n" | ||
"Last-Translator: David Dai <[email protected]>\n" | ||
"Language-Team: French <[email protected]>\n" | ||
"Language: fr\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" | ||
|
||
#: bots/mmbot.py:82 bots/telegram_bot.py:107 | ||
msgid "Submit" | ||
msgstr "Soumettre" | ||
|
||
#: bots/mmbot.py:83 bots/telegram_bot.py:108 | ||
msgid "Cancel" | ||
msgstr "Annuler" | ||
|
||
#: bots/mmbot.py:112 | ||
msgid "Query account changes" | ||
msgstr "Interroger les changements de compte" | ||
|
||
#: bots/mmbot.py:129 | ||
msgid "Query expenses" | ||
msgstr "Interroger les dépenses" | ||
|
||
#: bots/telegram_bot.py:138 | ||
msgid "Submitted ✅" | ||
msgstr "Soumis ✅" | ||
|
||
#: bots/telegram_bot.py:142 | ||
msgid "Cancelled ❌" | ||
msgstr "Annulé ❌" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Japanese translations for PACKAGE package | ||
# PACKAGE �ѥå��������Ф������. | ||
# Copyright (C) 2024 THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# David Dai <[email protected]>, 2024. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-22 21:07+0800\n" | ||
"PO-Revision-Date: 2024-08-22 21:07+0800\n" | ||
"Last-Translator: David Dai <[email protected]>\n" | ||
"Language-Team: Japanese <[email protected]>\n" | ||
"Language: ja\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=1; plural=0;\n" | ||
|
||
#: bots/mmbot.py:82 bots/telegram_bot.py:107 | ||
msgid "Submit" | ||
msgstr "送信" | ||
|
||
#: bots/mmbot.py:83 bots/telegram_bot.py:108 | ||
msgid "Cancel" | ||
msgstr "キャンセル" | ||
|
||
#: bots/mmbot.py:112 | ||
msgid "Query account changes" | ||
msgstr "口座変更の照会" | ||
|
||
#: bots/mmbot.py:129 | ||
msgid "Query expenses" | ||
msgstr "経費の照会" | ||
|
||
#: bots/telegram_bot.py:138 | ||
msgid "Submitted ✅" | ||
msgstr "送信済み ✅" | ||
|
||
#: bots/telegram_bot.py:142 | ||
msgid "Cancelled ❌" | ||
msgstr "キャンセル済み ❌" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Korean translations for PACKAGE package | ||
# PACKAGE ��Ű���� ���� �ѱ��� ������. | ||
# Copyright (C) 2024 THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# David Dai <[email protected]>, 2024. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-22 21:08+0800\n" | ||
"PO-Revision-Date: 2024-08-22 21:08+0800\n" | ||
"Last-Translator: David Dai <[email protected]>\n" | ||
"Language-Team: Korean <[email protected]>\n" | ||
"Language: ko\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=1; plural=0;\n" | ||
|
||
#: bots/mmbot.py:82 bots/telegram_bot.py:107 | ||
msgid "Submit" | ||
msgstr "제출" | ||
|
||
#: bots/mmbot.py:83 bots/telegram_bot.py:108 | ||
msgid "Cancel" | ||
msgstr "취소" | ||
|
||
#: bots/mmbot.py:112 | ||
msgid "Query account changes" | ||
msgstr "계정 변경 조회" | ||
|
||
#: bots/mmbot.py:129 | ||
msgid "Query expenses" | ||
msgstr "지출 조회" | ||
|
||
#: bots/telegram_bot.py:138 | ||
msgid "Submitted ✅" | ||
msgstr "제출됨 ✅" | ||
|
||
#: bots/telegram_bot.py:142 | ||
msgid "Cancelled ❌" | ||
msgstr "취소됨 ❌" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Chinese translations for PACKAGE package | ||
# PACKAGE 软件包的简体中文翻译. | ||
# Copyright (C) 2024 THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# David Dai <[email protected]>, 2024. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-22 20:40+0800\n" | ||
"PO-Revision-Date: 2024-08-22 20:40+0800\n" | ||
"Last-Translator: David Dai <[email protected]>\n" | ||
"Language-Team: Chinese (simplified) <[email protected]>\n" | ||
"Language: zh_CN\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: bots/mmbot.py:82 bots/telegram_bot.py:107 | ||
msgid "Submit" | ||
msgstr "提交" | ||
|
||
#: bots/mmbot.py:83 bots/telegram_bot.py:108 | ||
msgid "Cancel" | ||
msgstr "取消" | ||
|
||
#: bots/mmbot.py:112 | ||
msgid "Query account changes" | ||
msgstr "查询账户变更" | ||
|
||
#: bots/mmbot.py:129 | ||
msgid "Query expenses" | ||
msgstr "查询支出" | ||
|
||
#: bots/telegram_bot.py:138 | ||
msgid "Submitted ✅" | ||
msgstr "已提交 ✅" | ||
|
||
#: bots/telegram_bot.py:142 | ||
msgid "Cancelled ❌" | ||
msgstr "已取消 ❌" |
Binary file not shown.
Oops, something went wrong.