X Tutup
Skip to content

Commit 1e64450

Browse files
committed
i18n: move to babel
1 parent 0147c53 commit 1e64450

File tree

3 files changed

+47
-41
lines changed

3 files changed

+47
-41
lines changed

bpython/translations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# from the build/ directory
99
try:
1010
translation = gettext.translation('bpython',
11-
os.path.join('build', 'share', 'locale'))
11+
os.path.join('i18n', 'locale'))
1212
except IOError:
1313
translation = None
1414

i18n/locale/es_ES/LC_MESSAGES/bpython.po

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
# Bpython spanish translation - thanks to Claudia for that.
2-
# Copyright (C) 2010 bpython developers
1+
# Translations template for bpython.
2+
# Copyright (C) 2010 ORGANIZATION
3+
# This file is distributed under the same license as the bpython project.
34
# Claudia Medde, 2010.
45
#
6+
#, fuzzy
57
msgid ""
68
msgstr ""
7-
"Project-Id-Version: 0.9\n"
8-
"POT-Creation-Date: 2010-07-20 13:39+CEST\n"
9-
"PO-Revision-Date: 2010-07-20 15:07+ZONE\n"
9+
"Project-Id-Version: bpython 0.9.7\n"
10+
"Report-Msgid-Bugs-To: http://bitbucket.org/bobf/bpython/issues\n"
11+
"POT-Creation-Date: 2010-07-21 14:46+0200\n"
12+
"PO-Revision-Date: 2010-07-21 14:46+0200\n"
1013
"Last-Translator: Claudia Medde\n"
11-
"Language-Team: Claudia Medde\n"
14+
"Language-Team: bpython developers\n"
1215
"MIME-Version: 1.0\n"
13-
"Content-Type: text/plain; charset=UTF-8\n"
14-
"Content-Transfer-Encoding: UTF-8\n"
15-
"Generated-By: pygettext.py 1.5\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 0.9.5\n"
1619

1720

1821
#: bpython/cli.py:250 bpython/urwid.py:400
Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,80 @@
1-
# Bpython Italian Translation - first translation ever for bpython!.
1+
# Translations template for bpython.
22
# Copyright (C) 2010 bpython developers
3+
# This file is distributed under the same license as the bpython project.
34
# Michele Orrù <maker.py@gmail.com>, 2010.
45
#
6+
#, fuzzy
57
msgid ""
68
msgstr ""
7-
"Project-Id-Version: 0.9\n"
8-
"POT-Creation-Date: 2010-07-18 19:54+CEST\n"
9-
"PO-Revision-Date: 2010-07-18\n"
10-
"Last-Translator: Michele Orrù <maker.py@gmail.com>\n"
9+
"Project-Id-Version: bpython 0.9.7\n"
10+
"Report-Msgid-Bugs-To: http://bitbucket.org/bobf/bpython/issues\n"
11+
"POT-Creation-Date: 2010-07-21 13:52+0200\n"
12+
"PO-Revision-Date: 2010-07-21 13:53+0200\n"
13+
"Last-Translator: Michele Orrù\n"
1114
"Language-Team: Michele Orrù\n"
1215
"MIME-Version: 1.0\n"
13-
"Content-Type: text/plain; charset=UTF-8\n"
14-
"Content-Transfer-Encoding: UTF-8\n"
15-
"Generated-By: pygettext.py 1.5\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 0.9.5\n"
1619

17-
18-
#: bpython/cli.py:247 bpython/urwid.py:399
20+
#: bpython/cli.py:250 bpython/urwid.py:400
1921
msgid "y"
2022
msgstr "s"
2123

22-
#: bpython/cli.py:247 bpython/urwid.py:399
24+
#: bpython/cli.py:250 bpython/urwid.py:400
2325
msgid "yes"
2426
msgstr "si"
2527

26-
#: bpython/cli.py:874 bpython/gtk_.py:480
28+
#: bpython/cli.py:877 bpython/gtk_.py:482
2729
msgid "Cannot show source."
28-
msgstr "Non è possibile mostrare il codice sorgente."
30+
msgstr "Non è possibile mostrare il codice sorgente"
2931

30-
#: bpython/cli.py:1524 bpython/urwid.py:414
32+
#: bpython/cli.py:1527 bpython/urwid.py:415
33+
#, python-format
3134
msgid " <%s> Rewind <%s> Save <%s> Pastebin <%s> Pager <%s> Show Source "
3235
msgstr " <%s> Rewind <%s> Salva <%s> Pastebin <%s> Pager <%s> Mostra Sorgente"
3336

34-
#: bpython/gtk_.py:88 bpython/gtk_.py:111
37+
#: bpython/gtk_.py:90 bpython/gtk_.py:113
3538
msgid "An error occurred."
36-
msgstr "È stato riscontrato un errore."
39+
msgstr "È stato riscontrato un errore"
3740

38-
#: bpython/gtk_.py:95
41+
#: bpython/gtk_.py:97
3942
msgid "Exception details"
40-
msgstr "Dettagli sull'eccezione."
43+
msgstr "Dettagli sull'eccezione"
4144

42-
#: bpython/gtk_.py:147
45+
#: bpython/gtk_.py:149
4346
msgid "Statusbar"
4447
msgstr "Barra di stato"
4548

46-
#: bpython/gtk_.py:224
49+
#: bpython/gtk_.py:226
4750
msgid "tooltip"
48-
msgstr ""
51+
msgstr "tooltip"
4952

50-
#: bpython/gtk_.py:293
53+
#: bpython/gtk_.py:295
5154
msgid "File to save to"
5255
msgstr "File nel quale salvare"
5356

54-
#: bpython/gtk_.py:304
57+
#: bpython/gtk_.py:306
5558
msgid "Python files"
56-
msgstr "File Python"
59+
msgstr "Files python"
5760

58-
#: bpython/gtk_.py:309
61+
#: bpython/gtk_.py:311
5962
msgid "All files"
6063
msgstr "Tutti i files"
6164

62-
#: bpython/gtk_.py:769
65+
#: bpython/gtk_.py:773
6366
msgid "gtk-specific options"
6467
msgstr "Opzioni specifiche di gtk"
6568

66-
#: bpython/gtk_.py:770
69+
#: bpython/gtk_.py:774
6770
msgid "Options specific to bpython's Gtk+ front end"
68-
msgstr "Opzioni specifiche riguandanti il Gtk+ frontend di bpython"
71+
msgstr "Opzioni specifiche riguardo il frontend gtk+ di bpython"
6972

70-
#: bpython/gtk_.py:772
73+
#: bpython/gtk_.py:776
7174
msgid "Embed bpython"
7275
msgstr ""
7376

74-
#: bpython/gtk_.py:828
77+
#: bpython/gtk_.py:832
7578
msgid "Pastebin selection"
76-
msgstr "Nopasta la selezione"
79+
msgstr ""
7780

0 commit comments

Comments
 (0)
X Tutup