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

lang.py « jmc « src - github.com/dax/jmc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1944e240f12c50dc07d921f169267dce9f0843ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# -*- coding: utf-8 -*-
##
## lang.py
## Login : David Rousselie <david.rousselie@happycoders.org>
## Started on  Sat Jan 28 16:37:11 2006 David Rousselie
## $Id$
##
## Copyright (C) 2006 David Rousselie
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##

import jcl.lang


class Lang(jcl.lang.Lang):
    class en(jcl.lang.Lang.en):
        register_title = u"Jabber Mail connection registration"
        component_name = u"Jabber Mail Component"

        field_login = u"Login"
        field_host = u"Host"
        field_port = u"Port"
        field_ssl = u"Secure connection (SSL)"
        field_tls = u"Secure connection (TLS)"
        field_store_password = u"Store password on Jabber server?"
        field_live_email_only = u"Reports only emails received while connected to Jabber"
        field_interval = u"Mail check interval (in minutes)"
        field_mailbox = u"Mailbox path"

        field_action_1 = u"Retrieve digest"
        field_chat_action_1 = field_action_1
        field_online_action_1 = field_action_1
        field_away_action_1 = field_action_1
        field_xa_action_1 = field_action_1
        field_dnd_action_1 = field_action_1
        field_offline_action_1 = field_action_1

        field_action_2 = u"Retrieve full email"
        field_chat_action_2 = field_action_2
        field_online_action_2 = field_action_2
        field_away_action_2 = field_action_2
        field_xa_action_2 = field_action_2
        field_dnd_action_2 = field_action_2
        field_offline_action_2 = field_action_2

        field_default_from = u"Your email address"
        field_default_account = u"Default SMTP account"

        new_mail_subject = u"New email from %s"
        new_digest_subject = u"%i new email(s)"

        type_imap_name = u"IMAP accounts"
        type_pop3_name = u"POP3 accounts"
        type_smtp_name = u"SMTP accounts"

        send_mail_error_no_to_header_subject = u"No header \"TO\" found"
        send_mail_error_no_to_header_body = u"No header \"TO\" found in receive message.\n" \
            u"Please use following syntax to specify destination email address:\n" \
            u"TO: user@test.com\n"
        send_mail_ok_subject = u"Email sent"
        send_mail_ok_body = u"Your email was sent to %s."

        help_message_body = u"To send an email with JMC, you have the choice" \
            + " between:\n" \
            + " - Send a message to the JMC gateway: the subject of the" \
            + " email will be the subject of the Jabber message or the " \
            + " subject specified with the following syntax in the Jabber " \
            + " message body:\n" \
            + "\tSubject: Your subject\n" \
            + " To specify email receivers, you need to add a line in the " \
            + " Jabber message body with the following syntax:\n" \
            + "\tTo: to_email@test.com\n\n" \
            + " - Add a contact to your roster, with JID to_email\%test.com@jmc.test.com"\
            + ", where to_email@test.com is the receiver's email address."

        command_force_check = "Force check for new emails"
        command_force_check_1_description = "Select account(s) to check for new emails."
        
        command_get_email = "Fetch emails"
        command_get_email_1_description = "Select email(s) to fetch"
        command_get_email_2_description = "%i emails have been sent"
        field_email_subject = u"Email Subject"
        field_select_more_emails = u"Select more emails to fetch"
        mail_subject = u"Email from %s"
        
    class fr(en, jcl.lang.Lang.fr):
        component_name = u"Jabber Mail Component"
        register_title = u"Enregistrement d'une nouvelle connexion à un " \
                         u"serveur email."

        field_login = u"Nom d'utilisateur"
        field_host = u"Adresse du serveur email"
        field_port = u"Port du serveur email"
        field_ssl = u"Connexion sécurisé (SSL)"
        field_tls = u"Connexion sécurisé (TLS)"
        field_store_password = u"Sauvegarder le mot de passe sur le serveur Jabber ?"
        field_live_email_only = u"Vérifier les nouveaux emails seulement " \
            "lorsqu'une session Jabber est ouverte"
        field_interval = u"Interval de vérification de nouveaux emails (en minutes)"
        field_mailbox = u"Chemin de la boîte email"

        field_action_1 = u"Envoyer un résumé"
        field_chat_action_1 = field_action_1
        field_online_action_1 = field_action_1
        field_away_action_1 = field_action_1
        field_xa_action_1 = field_action_1
        field_dnd_action_1 = field_action_1
        field_offline_action_1 = field_action_1

        field_action_2 = u"Envoyer l'email complet"
        field_chat_action_2 = field_action_2
        field_online_action_2 = field_action_2
        field_away_action_2 = field_action_2
        field_xa_action_2 = field_action_2
        field_dnd_action_2 = field_action_2
        field_offline_action_2 = field_action_2

        field_default_from = u"Votre adresse email"
        field_default_account = u"Compte SMTP par défaut"

        new_mail_subject = u"Nouvel email de %s"
        new_digest_subject = u"%i nouveau(x) email(s)"

        type_imap_name = u"comptes IMAP"
        type_pop3_name = u"comptes POP3"
        type_smtp_name = u"comptes SMTP"

        send_mail_error_no_to_header_subject = u"L'en-tête \"TO\" n'a pas été "\
            u"trouvé"
        send_mail_error_no_to_header_body = u"L'en-tête \"TO\" n'a pas été " \
            u"trouvé dans le message envoyé.\n" \
            u"Utiliser la syntax suivante pour spécifier l'adresse email du " \
            u"destinataire :\nTO: user@test.com\n"
        send_mail_ok_subject = u"Email envoyé"
        send_mail_ok_body = u"Votre email a été envoyé à %s."

        help_message_body = u"Pour envoyer un email avec JMC, vous avez le choix " \
            + u"entre :\n" \
            + u" - Envoyer un message à la passerelle JMC: le sujet de l'email" \
            + u" sera le sujet du message Jabber ou le sujet spécifié avec la " \
            + u"syntaxe suivant dans le corps du message Jabber :\n" \
            + u"\tSubject: votre sujet\n" \
            + u" Pour spécifier les destinataires de l'email, il faut ajouter une" \
            + u" ligne au corps du message Jabber avec la syntaxe suivante:\n" \
            + u"\tTo: to_email@test.com\n\n" \
            + u" - Ajouter un contact à votre roster, avec comme JID " \
            + u"to_email\%test.com@jmc.test.com, où to_email@test.com est " \
            + u"l'adresse du destinataire."

        command_force_check = "Forcer la vérification de nouveaux emails"
        command_force_check_1_description = "Séléctionner le(s) compte(s) à vérifier."

        command_get_email = "Récupérer des emails"
        command_get_email_1_description = "Séléctionner le(s) email(s) à récupérer"
        command_get_email_2_description = "%i emails ont été envoyés"
        field_email_subject = u"Objet des emails"
        field_select_more_emails = u"Séléctionner plus d'emails à récupérer"
        mail_subject = u"Email de %s"

    class nl(en, jcl.lang.Lang.nl):
        # TODO: when finish, delete this line and uncomment in tests/lang.py the makeSuite(Language_nl_TestCase, 'test') line
        register_title = u"Registratie van verbindingen voor Jabber Mail"
        register_instructions = u"Instellingen voor verbinding"
        account_name = u"Accountnaam"
        account_login = u"Gebruikersnaam"
        account_password = u"Wachtwoord"
        account_password_store = u"Wachtwoord opslaan op Jabber-server?"
        account_host = u"Server"
        account_port = u"Poort"
        account_type = u"Soort account"
        account_mailbox = u"Pad naar mailbox (IMAP)"
        account_ffc_action = u"Actie bij aanwezigheid 'Chat'"
        account_online_action = u"Actie bij aanwezigheid 'Beschikbaar'"
        account_away_action = u"Actie bij aanwezigheid 'Afwezig'"
        account_xa_action = u"Actie bij aanwezigheid 'Langdurig afwezig'"
        account_dnd_action = u"Actie bij aanwezigheid 'Niet storen'"
        account_offline_action = u"Actie bij aanwezigheid 'Niet beschikbaar'"
        account_check_interval = u"Controle-interval (in minuten)"
        account_live_email_only = u"Enkel controleren op e-mails als er een" \
                                  "verbinding is met Jabber"
        action_nothing = u"Niets doen"
        action_retrieve = u"E-mail ophalen"
        action_digest = u"Samenvatting verzenden"
        connection_label = u"%s verbinding '%s'"
        password_saved_for_session = u"Het wachtwoord zal worden bewaard tijdens uw Jabber-sessie"
        check_error_subject = u"Fout tijdens controle op e-mails."
        check_error_body = u"Fout tijdens controle op e-mails:\n\t%s"
        new_mail_subject = u"Nieuwe e-mail van %s"
        new_digest_subject = u"%i nieuwe e-mail(s)"

    class es(en, jcl.lang.Lang.es):
        # TODO: when finish, delete this line and uncomment in tests/lang.py the makeSuite(Language_es_TestCase, 'test') line
        register_title = u"Registro de nueva cuenta de email"
        register_instructions = u"Inserta los datos para la nueva cuenta"
        account_name = u"Nombre para la cuenta"
        account_login = u"Usuario (login)"
        account_password = u"Contraseña"
        account_password_store = u"¿Guardar la contraseña en el servidor Jabber?"
        account_host = u"Host"
        account_port = u"Puerto"
        account_type = u"Tipo de servidor Mail"
        account_mailbox = u"Ruta del mailbox (solo para IMAP)"
        account_ffc_action = u"Acción para cuando tu estado sea 'Listopara hablar'"
        account_online_action = u"Acción para cuando tu estado sea 'Conectado'"
        account_away_action = u"Acción para cuando tu estado sea 'Ausente'"
        account_xa_action = u"Acción para cuando tu estado sea 'No disponible'"
        account_dnd_action = u"Acción para cuando tu estado sea 'No molestar'"
        account_offline_action = u"Acción para cuando tu estado sea 'Desconectado'"
        account_check_interval = u"Intervalo para comprobar emails nuevos (en minutos)"
        account_live_email_only = u"Avisarme de emails nuevos solo cuando esté conectado"
        action_nothing = u"No hacer nada"
        action_retrieve = u"Mostrarme el email"
        action_digest = u"Enviar resúmen"
        connection_label = u"%s conexión '%s'"
        password_saved_for_session = u"La contraseña será guardada para esta sesión únicamente."
        check_error_subject = u"Error al revisar los emails."
        check_error_body = u"Un error apareció al revisar los emails:\n\t%s"
        new_mail_subject = u"Nuevo email en %s"
        new_digest_subject = u"%i email(s) nuevo(s)"

    class pl(en, jcl.lang.Lang.pl):
        # TODO: when finish, delete this line and uncomment in tests/lang.py the makeSuite(Language_pl_TestCase, 'test') line
        register_title = u"Rejestracja w komponencie E-Mail"
        register_instructions = u"Wprowadź parametry połączenia"
        account_name = u"Nazwa połączenia"
        account_login = u"Nazwa użytkownika"
        account_password = u"Hasło"
        account_password_store = u"Zachować hasło na serwerze Jabbera? "
        account_host = u"Nazwa hosta"
        account_port = u"Port"
        account_type = u"Typ serwera email"
        account_mailbox = u"Ścieżka do skrzynki odbiorczej (IMAP)"
        account_ffc_action = u"Akcja gdy status to 'Chętny do rozmowy'"
        account_online_action = u"Akcja gdy status to 'Dostępny'"
        account_away_action = u"Akcja gdy status to 'Zaraz wracam'"
        account_xa_action = u"Akcja gdy status to 'Niedostępny'"
        account_dnd_action = u"Akcja gdy status to 'Nie przeszkadzać'"
        account_offline_action = u"Akcja gdy status to 'Rozłączony'"
        account_check_interval = u"Sprawdzaj email co (w minutach)"
        account_live_email_only = u"Raportuj otrzymane emaile tylko\n gdy podłączony do Jabbera"
        action_nothing = u"Nic nie rób"
        action_retrieve = u"Pobierz emaila"
        action_digest = u"Wyślij zarys emaila"
        connection_label = u"%s połączenie '%s'"
        password_saved_for_session = u"Hasło będzie przechowywane podczas Twojej sesji Jabbera"
        check_error_subject = u"Błąd podczas sprawdzania emaili."
        check_error_body = u"Pojawił się błąd podczas sprawdzania emaili:\n\t%s"
        new_mail_subject = u"Nowy email od %s"
        new_digest_subject = u"%i nowy(ch) email(i)"

    class cs(en, jcl.lang.Lang.cs):
        # TODO: when finish, delete this line and uncomment in tests/lang.py the makeSuite(Language_cs_TestCase, 'test') line
        register_title = u"Jabber MailNotify registrace"
        register_instructions = u"Vložte nastavení spojení"
        account_name = u"Název spojení"
        account_login = u"Přihlašovací jméno"
        account_password = u"Heslo"
        account_password_store = u"Uložit heslo na Jabber serveru?"
        account_host = u"Poštovní server"
        account_port = u"Port"
        account_type = u"Typ poštovního serveru"
        account_mailbox = u"Cesta IMAP schránky"
        account_ffc_action = u"Akce při statusu 'Ukecaný'"
        account_online_action = u"Akce při statusu 'Přítomen'"
        account_away_action = u"Akce při statusu 'Pryč'"
        account_xa_action = u"Akce při statusu 'Nepřítomen'"
        account_dnd_action = u"Akce při statusu 'Nerušit'"
        account_offline_action = u"Akce při statusu 'Odpojen'"
        account_check_interval = u"Interval kontroly pošty (v minutách)"
        account_live_email_only = u"Informuj pouze o emailech, které přišly během připojení k Jabberu"
        action_nothing = u"Nedělej nic"
        action_retrieve = u"Přijmi poštu"
        action_digest = u"Pošli upozornění na novou poštu"
        connection_label = u"%s spojení '%s'"
        password_saved_for_session = u"Heslo bude uchováno během vašeho připojení k Jabberu"
        check_error_subject = u"Chyba při kontrole emailů."
        check_error_body = u"Nějaká chyba nastala při kontrole emailů:\n\t%s"
        new_mail_subject = u"Nový email od %s"
        new_digest_subject = u"%i má nový(é) email(y)"

    class ru(en, jcl.lang.Lang.ru):
        # TODO: when finish, delete this line and uncomment in tests/lang.py the makeSuite(Language_ru_TestCase, 'test') line
        register_title = u"Учетные данные соединения"
        register_instructions = u"Введите данные для соединения"
        account_name = u"Имя соединения"
        account_login = u"Логин@gmail.ru"
        account_password = u"Пароль"
        account_password_store = u"Сохранять пароль на сервере?"
        account_host = u"Хост"
        account_port = u"Порт (обычно, 110)"
        account_type = u"Тип учетной записи"
        account_mailbox = u"Путь к почтовому ящику (IMAP)"
        account_ffc_action = u"Действие для состояния 'Free For Chat'"
        account_online_action = u"Действие для состояния 'Online'"
        account_away_action = u"Действие для состояния 'Away'"
        account_xa_action = u"Действие для состояния 'Not Available'"
        account_dnd_action = u"Действие для состояния 'Do not Disturb'"
        account_offline_action = u"Действие для состояния 'Offline'"
        account_check_interval = u"Интервал проверки почты (в минутах)"
        account_live_email_only = u"Сообщать о письмах только на момент подключения"
        action_nothing = u"Не делать ничего"
        action_retrieve = u"Показать почту"
        action_digest = u"Показать уведомление"
        connection_label = u"%s соединение '%s'"
        password_saved_for_session = u"Пароль будет сохранен только на время Вашей сессии."
        check_error_subject = u"Ошибка при проверке почты."
        check_error_body = u"Возникла ошибка при проверке почты:\n\t%s"
        new_mail_subject = u"Новая почта от %s"
        new_digest_subject = u"%i новое(ые) письмо(а)"