64 lines
3.0 KiB
Python
64 lines
3.0 KiB
Python
LOCALE = 'ru'
|
|
|
|
ru = {
|
|
'help_message':
|
|
'''
|
|
Привет я бот для управления твоими финансами и вот что я умею:
|
|
1. /help - показать этот список.
|
|
2. /ru - русский язык
|
|
3. /en - английский язык
|
|
4. /balance - текущий баланс
|
|
5. /add или + - добавить доход
|
|
6. /rm или - - добавить расход
|
|
7. /addtoday - доходы за сегодня
|
|
8. /rmtoday - расходы за сегодня
|
|
9. /addall - доходы за все время
|
|
10. /rmall - расходы за все время
|
|
11. /rmmonth - расходы за этот месяц
|
|
12. /addmonth - доходы за этот месяц
|
|
13. /analysismonth - диаграмма транзакций за этот месяц
|
|
14. /rmanalysismonth - диаграмма расходов за этот месяц
|
|
15. /addanalysismonth - диаграмма доходов за этот месяц
|
|
16. /analysisyear - диаграмма транзакций за этот год
|
|
17. /rmanalysisyear - диаграмма расходов за этот год
|
|
18. /addanalysisyear - диаграмма доходов за этот год
|
|
19. /analysistoday - диаграмма транзакций за сегодня
|
|
20. /rmanalysistoday - диаграмма расходов за сегодня
|
|
21. /addanalysistoday - диаграмма доходов за сегодня
|
|
''',
|
|
'error404_message': 'Я не могу это сделать.',
|
|
'erradd': 'Используйте:\n1. /add [сумма]\n2. + [сумма]\n3. /add [сумма] [категория]\n4. + [сумма] [категория]',
|
|
'errrm': 'Используйте:\n1. /rm [сумма]\n2. - [сумма]\n3. /rm [сумма] [категория]\n4. - [сумма] [категория]'
|
|
}
|
|
|
|
en = {
|
|
'help_message':
|
|
'''
|
|
Hi i am finance bot and i can do this:
|
|
1. /help - open this list
|
|
2. /ru - russian language
|
|
3. /en - english language
|
|
4. /balance - balance
|
|
5. /add или + - add incom
|
|
6. /rm или - - add consuption
|
|
7. /addtoday - incomes today
|
|
8. /rmtoday - consuptions today
|
|
9. /addall - incomes to all time
|
|
10. /rmall - consuptions to all time
|
|
11. /rmmonth - consuptions for this month
|
|
12. /addmonth - incomes for this month
|
|
13. /analysismonth - diagram of transactions for this month
|
|
14. /rmanalysismonth - diagram of consuptions for this month
|
|
15. /addanalysismonth - diagram of incomes for this month
|
|
16. /analysisyear - diagram of transactions for this year
|
|
17. /rmanalysisyear - diagram of consuptions for this year
|
|
18. /addanalysisyear - diagram of incomes for this year
|
|
19. /analysistoday - diagram of transactions today
|
|
20. /rmanalysistoday - diagram of consuptions today
|
|
21. /addanalysistoday - diagram of incomes today
|
|
''',
|
|
'error404_message': 'I can\'t do this.',
|
|
'erradd': 'Use:\n1. /add [sum]\n2. + [sum]\n3. /add [sum] [category]\n4. + [sum] [category]',
|
|
'errrm': 'Use\n1. /rm [sum]\n2. - [sum]\n3. /rm [sum] [category]\n4. - [sum] [category]'
|
|
}
|