From 0f789f1b75d11ea461b764e877836156a92a82de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=BF=D0=B8=D1=80=D0=B8=D0=B4=D0=BE=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=20=D0=94=D0=B5=D0=BD=D0=B8=D1=81?= Date: Mon, 2 Jul 2012 10:23:53 +0400 Subject: [PATCH] fix translate --- console/application/cert_func.py | 2 +- console/application/cl_client.py | 2 +- console/application/pid_information.py | 2 +- ru/calculate_console.po | 16 ++++++++-------- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/console/application/cert_func.py b/console/application/cert_func.py index 7d07140..7435ee0 100644 --- a/console/application/cert_func.py +++ b/console/application/cert_func.py @@ -40,7 +40,7 @@ def client_post_cert (client, clVars, show_info = False): result_sid = _result_sid[1].integer if result_post_cert[0] == -4: - print _("Certificate not found in Server Database!") + print _("Certificate not found in server") print _('client use certificate %s') %client.CERT_FILE print _('You can generate a new certificate using the keys ' '--gen-cert-by and --get-cert-from') diff --git a/console/application/cl_client.py b/console/application/cl_client.py index fa933d4..6a3a537 100644 --- a/console/application/cl_client.py +++ b/console/application/cl_client.py @@ -263,7 +263,7 @@ def https_server(client, args, unknown_args, url, clVarsCore, wait_thread): if result in [0,2]: print _('Process is terminated') elif result == -1: - print _("Certificate not found in server database") + print _("Certificate not found in server") elif result == -2: print _("Session doesn't belong to your certificate") elif result == 1: diff --git a/console/application/pid_information.py b/console/application/pid_information.py index 88232cf..c4fda70 100644 --- a/console/application/pid_information.py +++ b/console/application/pid_information.py @@ -139,7 +139,7 @@ def client_pid_kill(client, pid): elif result == 3: print _("Process not found") elif result == -1: - print _("Certificate not found in server database") + print _("Certificate not found in server") elif result == -2: print _("Session doesn't belong to your certificate") elif result == 1: diff --git a/ru/calculate_console.po b/ru/calculate_console.po index 0f3c72c..20a403e 100755 --- a/ru/calculate_console.po +++ b/ru/calculate_console.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: console_gui_translate\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-29 15:57+0300\n" -"PO-Revision-Date: 2012-06-29 15:57+0300\n" +"POT-Creation-Date: 2012-06-29 17:59+0300\n" +"PO-Revision-Date: 2012-06-29 17:59+0300\n" "Last-Translator: Denis \n" "Language-Team: \n" "Language: \n" @@ -88,8 +88,9 @@ msgstr "Процесс не найден" #: /var/calculate/mydir/git/calculate-console/console/application/pid_information.py:142 #: /var/calculate/mydir/git/calculate-console/console/application/cl_client.py:266 -msgid "Certificate not found in server database" -msgstr "Сертификат не найден в базе сервера" +#: /var/calculate/mydir/git/calculate-console/console/application/cert_func.py:43 +msgid "Certificate not found in server" +msgstr "Не найден сертификат на сервере" #: /var/calculate/mydir/git/calculate-console/console/application/pid_information.py:144 #: /var/calculate/mydir/git/calculate-console/console/application/cl_client.py:268 @@ -418,10 +419,6 @@ msgstr "Ошибка очистки кэша сессии" msgid "Session cache is cleared" msgstr "Кэш сессии очищен" -#: /var/calculate/mydir/git/calculate-console/console/application/cert_func.py:43 -msgid "Certificate not found in Server Database!" -msgstr "Сертификат не найден в базе сервера!" - #: /var/calculate/mydir/git/calculate-console/console/application/cert_func.py:44 #, python-format msgid "client use certificate %s" @@ -635,6 +632,9 @@ msgstr "Добавить Корневой и сертификат ЦА" msgid "This server is not trusted" msgstr "Сервер не является доверенным" +#~ msgid "Certificate not found in Server Database!" +#~ msgstr "Сертификат не найден в базе сервера!" + #~ msgid "Time" #~ msgstr "Время"