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>2015-07-17 10:43:24 +0300
committerdiSabler <dissy@ya.ru>2015-07-17 10:43:24 +0300
commit302b337ef2110fd4ab72dcf8d7f04baf1104a3f4 (patch)
tree43f676a9baf4c936d1d045113fe1d29ea57635db
parent1cc6e8d03d65c853a3173fdee21588e87d490f82 (diff)
fix: locale generator for wot plugin
-rw-r--r--data/locales/ru.txt55
-rw-r--r--data/locales/ua.txt55
-rw-r--r--dev-tools/locale_generator/locale_generator.py4
-rw-r--r--plugins/acl.py2
4 files changed, 111 insertions, 5 deletions
diff --git a/data/locales/ru.txt b/data/locales/ru.txt
index bf25746..a2c8949 100644
--- a/data/locales/ru.txt
+++ b/data/locales/ru.txt
@@ -1368,6 +1368,59 @@ For a last day i see: %s За последние сутки я видела: %s
All who i see for a last day now is here. Все, кого я видела за сутки, находятся тут.
Show list of users for last day Показ списка участников за сутки
+# file: plugins/wot.py
+Use more characters in the name of the tank Используйте больше символов в названии танка
+none отсутствует
+3 class 3 степень
+2 class 2 степень
+1 class 1 степень
+master мастер
+\n%s: %s/%s (%s%%), avg.damage: %s, xp (avg/max): %s/%s,%s mastery: %s \n%s: %s/%s (%s%%), ср.урон: %s, опыт (ср/макс): %s/%s,%s классность: %s
+ not founded tank танк не найден
+Impossible to get tanks' statistics Невозможно получить статистику танков
+\nUp to %s%% win left: %s battles \nДо %s%% побед осталось: %s битв
+\nAv. damage: %s \nСр. дамаг: %s
+\nAv. destroyed: %s \nВ ср. уничтожено: %s
+\nAv. spotted: %s \nВ ср. обнаружено: %s
+\nAv. captured points: %s \nВ ср. очков захвата: %s
+\nAv. defense points: %s \nВ ср. очков защиты: %s
+\nAv. tank lvl: %s \nСр. уровень танков: %s
+\nEfficiency rating: %s (XVM: %s) \nРейтинг эффективности: %s (XVM: %s)
+ - bad player - плохой игрок
+ - player below average - игрок ниже среднего
+ - average player - средний игрок
+ - good player - хороший игрок
+ - great player - превосходный игрок
+ - unicum - уникум
+\nWN6 rating: %s (XVM: %s) \nРейтинг WN6: %s (XVM: %s)
+\nWN8 rating: %s (XVM: %s) \nРейтинг WN8: %s (XVM: %s)
+\nWG rating: %s \nРейтинг WG: %s
+\nArmor-rating: %s \nРейтинг Бронесайта: %s
+ - virtuoso - виртуоз
+ - master tanker - мастер-танкист
+ - tanker 1st class - танкист 1-го класса
+ - tanker 2nd class - танкист 2-го класса
+ - tanker 3rd class - танкист 3-го класса
+ - deerhead 3rd class - оленевод 3-го класса
+ - deerhead 2nd class - оленевод 2-го класса
+ - deerhead 1st class - оленевод 1-го класса
+ - master deerhead - мастер-оленевод
+\nLast seen: \nПоследний раз замечен:
+%s\n- in battle: %s %s\n- в бою: %s
+%s\n- online: %s %s\n- в сети: %s
+Impossible to get statistics Невозможно получить статистику
+Query error Ошибка запроса
+Player not found Игрок не найден
+Name: %s [%s] Название: %s [%s]
+\nOwner: %s \nВладелец: %s
+\nCreated at: %s \nДата создания: %s
+\nCount of members: %s \nКоличество участников: %s
+\nMotto: %s \nДевиз: %s
+Clan not found Клан не найден
+Impossible to get info Невозможно получить информацию
+World of Tanks - info about user. Usage: wot [nick [tank]] World of Tanks - информация о пользователе. Использование: wot [ник [танк]]
+World of Tanks - info about clan. Usage: wotclan clan World of Tanks - информация о клане. Пример: wotclan клан
+
# file: plugins/wtf.py
I know that %s is %s Я знаю, что %s - %s
from %s: %s от %s: %s
@@ -1805,5 +1858,5 @@ API settings Настройки API
World of Tanks settings Настройки плагина World of Tanks
# write locale file: ru.txt
-# total: 1384
+# total: 1435
# regenarated without mistakes!
diff --git a/data/locales/ua.txt b/data/locales/ua.txt
index 6f04707..6f08d3d 100644
--- a/data/locales/ua.txt
+++ b/data/locales/ua.txt
@@ -1368,6 +1368,59 @@ For a last day i see: %s Протягом останньої доби я бач
All who i see for a last day now is here. Всі, кого я бачила протягом доби, знаходяться тут.
Show list of users for last day Показ списку учасників за добу
+# file: plugins/wot.py
+Use more characters in the name of the tank Використовуйте більше символів в назві танку
+none відсутня
+3 class 3 степінь
+2 class 2 степінь
+1 class 1 степінь
+master майстер
+\n%s: %s/%s (%s%%), avg.damage: %s, xp (avg/max): %s/%s,%s mastery: %s \n%s: %s/%s (%s%%), сер.ушкодж.: %s, досвід (сер/макс): %s/%s,%s класність: %s
+ not founded tank танк не знайдено
+Impossible to get tanks' statistics Неможливо отримати статистику танків
+\nUp to %s%% win left: %s battles \nДо %s%% перемог залишилося: %s битв
+\nAv. damage: %s \nСер. дамаг: %s
+\nAv. destroyed: %s \nВ сер. знищено: %s
+\nAv. spotted: %s \nВ сер. знайдено: %s
+\nAv. captured points: %s \nВ сер. очків захвату: %s
+\nAv. defense points: %s \nВ сер. очків захисту: %s
+\nAv. tank lvl: %s \nСер. рівень танків: %s
+\nEfficiency rating: %s (XVM: %s) \nРейтинг ефективності: %s (XVM: %s)
+ - bad player - поганий гравець
+ - player below average - гравець нижче середнього
+ - average player - середній гравець
+ - good player - хороший гравець
+ - great player - чудовий гравець
+ - unicum - унікум
+\nWN6 rating: %s (XVM: %s) \nРейтинг WN6: %s (XVM: %s)
+\nWN8 rating: %s (XVM: %s) \nРейтинг WN8: %s (XVM: %s)
+\nWG rating: %s \nРейтинг WG: %s
+\nArmor-rating: %s \nРейтинг Бронесайту: %s
+ - virtuoso - віртуоз
+ - master tanker - майстер-танкіст
+ - tanker 1st class - танкіст 1-го класу
+ - tanker 2nd class - танкіст 2-го класу
+ - tanker 3rd class - танкіст 3-го класу
+ - deerhead 3rd class - оленевід 3-го класу
+ - deerhead 2nd class - оленевід 2-го класу
+ - deerhead 1st class - оленевід 1-го класу
+ - master deerhead - майстер-оленевід
+\nLast seen: \nОстанній раз помічений:
+%s\n- in battle: %s %s\n- в бою: %s
+%s\n- online: %s %s\n- в мережі: %s
+Impossible to get statistics Неможливо отримати статистику
+Query error Помилка запиту
+Player not found Гравця не знайдено
+Name: %s [%s] Назва: %s [%s]
+\nOwner: %s \nВласник: %s
+\nCreated at: %s \nДата створення: %s
+\nCount of members: %s \nКількість учасників: %s
+\nMotto: %s \nДевіз: %s
+Clan not found Клан не знайдено
+Impossible to get info Неможливо отримати інформацію
+World of Tanks - info about user. Usage: wot [nick [tank]] World of Tanks - інформація про користувача. Використання: wot [нік [танк]]
+World of Tanks - info about clan. Usage: wotclan clan World of Tanks - інформація про клан. Приклад: wotclan клан
+
# file: plugins/wtf.py
I know that %s is %s Я знаю, що %s - %s
from %s: %s від %s: %s
@@ -1805,5 +1858,5 @@ API settings Налаштування API
World of Tanks settings Налаштування плагіна World of Tanks
# write locale file: ua.txt
-# total: 1384
+# total: 1435
# regenarated without mistakes!
diff --git a/dev-tools/locale_generator/locale_generator.py b/dev-tools/locale_generator/locale_generator.py
index d86e242..67aad5b 100644
--- a/dev-tools/locale_generator/locale_generator.py
+++ b/dev-tools/locale_generator/locale_generator.py
@@ -21,7 +21,9 @@
# #
# --------------------------------------------------------------------------- #
-import os,re,time
+import os,re,time,sys
+
+sys.path = ['../../lib'] + sys.path
def L(t): return t
diff --git a/plugins/acl.py b/plugins/acl.py
index e3d8923..a0c5571 100644
--- a/plugins/acl.py
+++ b/plugins/acl.py
@@ -34,8 +34,6 @@ def acl_show(jid,nick,text):
a = cur_execute_fetchall('select * from acl where jid=%s and action ilike %s order by level,action',(jid,text))
if len(a):
msg = L('Acl:','%s/%s'%(jid,nick))
- msg = L('Acl111:','%s/%s'%(jid,nick))
- msg = L('Acl122:','%s/%s'%(jid,nick))
for tmp in a:
if text == '%': t4 = tmp[4].replace('\n',' // ')
else: t4 = tmp[4].replace('\n','\n ')