Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/isida/4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiSabler <dissy@ya.ru>2014-11-01 21:47:25 +0300
committerdiSabler <dissy@ya.ru>2014-11-01 21:47:25 +0300
commitacee6a2c3ce14909048ea9dbb3a62729afa8db32 (patch)
treedb36db82b1d91fd2893c5825a8e2a19f33a33f07
parent9ca9314dd8b2251db6a8a3461c1009bf895f7234 (diff)
fix: locale generator
-rw-r--r--data/locales/ru.txt7
-rw-r--r--data/locales/ua.txt4
-rw-r--r--dev-tools/locale_generator/locale_generator.py3
-rw-r--r--plugins/main.py4
4 files changed, 12 insertions, 6 deletions
diff --git a/data/locales/ru.txt b/data/locales/ru.txt
index 533b61b..84adc74 100644
--- a/data/locales/ru.txt
+++ b/data/locales/ru.txt
@@ -1775,6 +1775,8 @@ Kernel. Restart timeout for error at bot initial (no connection, auth error) Ker
Msgtoadmin. Size limit for msgtoadmin Msgtoadmin. Лимит размера сообщения для команды msgtoadmin
Muc-filter. Time peroid for notify Muc-filter. Уведомления. Период времени для уведомления
LastFM. Number of answers for lastfm plugin LastFM. Количество ответов для команд плагина lastfm
+World of Tanks. Application ID World of Tanks. Идентификатор приложения
+World of Tanks. Count of retries World of Tanks. Количество ответов
Www. User-agent for web queries Www. User-agent для большинства web-запросов
Muc-filter. Number of empty new lines Muc-filter. Количество пустых переводов строк
Karma. Upper value of karma for control action Karma. Верхний предел кармы при проверки правильности значений
@@ -1795,6 +1797,7 @@ Calendar. Default splitter for calendar Calendar. Разделитель по у
LastFM. Api for lastfm plugin LastFM. Api для работы плагина lastfm
Anek. Anekdote size for private send Anek. Размер, свыше которого анекдот будет посылаться в приват
Muc-filter. Maximum nick size Muc-filter. Максимальный размер ника
+Region of API Server Регион сервера API
Kernel. Text for hide censore Kernel. Текст для закрытия мата
Youtube. Default links number Youtube. Количество ссылок по умолчанию
Logger. Html logs. Otherwize in text Logger. Ведение логов в html, иначе в виде текста
@@ -1822,6 +1825,7 @@ Steam. API-key Steam. API-ключ
Muc-filter. Time between presences Muc-filter. Промежуток времени на статус-презенсы
Notepad Блокнот
Kernel. Anti-ddos time delay between messages Kernel. Промежуток между сообщениями для включения анти-ddos
+World of Tanks. Time of delay World of Tanks. Время ответа
Muc-filter. Number of precences per time Muc-filter. Количество статус-презенсов за время
Kernel. Exclude symbols from bot's messages Kernel. Исключить символы из сообщений бота
Kernel. 1st April joke Kernel. Первоапрельская шутка
@@ -1848,7 +1852,8 @@ Juick settings Настройки juick
Logs settings Настройки логов
Youtube settings Настройки youtube
API settings Настройки API
+World of Tanks settings Настройки плагина World of Tanks
# write locale file: ru.txt
-# total: 1426
+# total: 1432
# regenarated without mistakes!
diff --git a/data/locales/ua.txt b/data/locales/ua.txt
index c6969fa..4d26c43 100644
--- a/data/locales/ua.txt
+++ b/data/locales/ua.txt
@@ -1839,5 +1839,5 @@ Youtube settings Налаштування Youtube
API settings Налаштування API
# write locale file: ua.txt
-# total: 1426
-# missed translations: 11
+# total: 1432
+# missed translations: 16
diff --git a/dev-tools/locale_generator/locale_generator.py b/dev-tools/locale_generator/locale_generator.py
index ed54864..d86e242 100644
--- a/dev-tools/locale_generator/locale_generator.py
+++ b/dev-tools/locale_generator/locale_generator.py
@@ -26,8 +26,9 @@ import os,re,time
def L(t): return t
def GT(t):
- if t in ['disco_exclude','lfm_api']: return ''
+ if t in ['wot_appid','disco_exclude','lfm_api']: return ''
elif t in ['html_logs_enable']: return 0
+ elif t == 'wot_region': return 'RU'
else: return None
def readfile(filename):
diff --git a/plugins/main.py b/plugins/main.py
index e3f5e8c..1ca41f0 100644
--- a/plugins/main.py
+++ b/plugins/main.py
@@ -1855,7 +1855,7 @@ owner_prefs = {'syslogs_enable': ['Logger. Enable system logs','b',True],
'1st_april_joke':['Kernel. 1st April joke','b',True],
'soft_update_resend_hash':['Kernel. Send new hash into rooms after soft update','b',False],
'notepad':['Notepad','m4096',''],
- 'wot_region':['Region of API Server', 'd', 'RU', ['RU','EU','COM', 'SEA', 'KR']],
+ 'wot_region':['Region of API Server', 'd', 'RU', ['RU','EU','COM','SEA','KR']],
'wot_appid':['World of Tanks. Application ID','t64','demo'],
'wot_delay':['World of Tanks. Time of delay','i',2],
'wot_retries':['World of Tanks. Count of retries','i',2]
@@ -1887,7 +1887,7 @@ owner_group_other = ['Other settings','#owner-other',
'disco_max_limit','disco_exclude','html_paste_enable']]
owner_group_api = ['API settings','#owner-api',
- ['yandex_api_key','bing_api_key','steam_api_key','lfm_api']]
+ ['yandex_api_key','bing_api_key','steam_api_key','lfm_api','wot_appid']]
owner_group_karma = ['Karma settings','#owner-karma',
['karma_limit','karma_show_default_limit','karma_show_max_limit','karma_timeout','karma_discret','karma_discret_lim_up','karma_discret_lim_dn']]