Skip to content

Commit c997cc5

Browse files
authored
Merge pull request #19 from CurrantXX/doc/supports-zh-CN
doc(language): supports zh_CN
2 parents d6dc76b + ac034c4 commit c997cc5

File tree

15 files changed

+690
-0
lines changed

15 files changed

+690
-0
lines changed

docs/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,6 @@
146146
(master_doc, 'bearychatpy', 'bearychat.py Documentation', author,
147147
'bearychatpy', 'One line description of project.', 'Miscellaneous'),
148148
]
149+
150+
locale_dirs = ['locale/']
151+
gettext_compact = False
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2016, Beary Innovative
3+
# This file is distributed under the same license as the bearychat.py
4+
# package.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
6+
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: bearychat.py 0.0.1\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 2.3.4\n"
19+
20+
#: ../../source/guide.rst:2
21+
msgid "User's guide"
22+
msgstr ""
23+
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2016, Beary Innovative
3+
# This file is distributed under the same license as the bearychat.py
4+
# package.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
6+
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: bearychat.py 0.0.1\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 2.3.4\n"
19+
20+
#: ../../source/guide/incoming.rst:2
21+
msgid "Incoming"
22+
msgstr ""
23+
24+
#: ../../source/guide/incoming.rst:4
25+
msgid ""
26+
"`Incoming <https://bearychat.com/integrations/incoming>`_ is an "
27+
"integration of BearyChat."
28+
msgstr ""
29+
30+
#: ../../source/guide/incoming.rst:7
31+
msgid "Examples"
32+
msgstr ""
33+
34+
#: ../../source/guide/incoming.rst:9
35+
msgid "Here is a simple incoming workflow::"
36+
msgstr ""
37+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2016, Beary Innovative
3+
# This file is distributed under the same license as the bearychat.py
4+
# package.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
6+
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: bearychat.py 0.0.1\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 2.3.4\n"
19+
20+
#: ../../source/guide/intro.rst:2
21+
msgid "Introduction"
22+
msgstr ""
23+
24+
#: ../../source/guide/intro.rst:4
25+
msgid ""
26+
"`BearyChat.py <https://github.com/bearyinnovative/bearychat.py>`_ is a "
27+
"SDK for `BearyChat <https://bearychat.com>`_"
28+
msgstr ""
29+
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2016, Beary Innovative
3+
# This file is distributed under the same license as the bearychat.py
4+
# package.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
6+
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: bearychat.py 0.0.1\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 2.3.4\n"
19+
20+
#: ../../source/guide/rtm.rst:2
21+
msgid "Real Time Message"
22+
msgstr ""
23+
24+
#: ../../source/guide/rtm.rst:5
25+
msgid "RTM Message"
26+
msgstr ""
27+
28+
#: ../../source/guide/rtm.rst:7
29+
msgid "Provides handful helpers for rtm message parsing."
30+
msgstr ""
31+
32+
#: ../../source/guide/rtm.rst:10
33+
msgid "RTM Loop"
34+
msgstr ""
35+
36+
#: ../../source/guide/rtm.rst:12
37+
msgid ""
38+
"To achive more flexible usage, BearyChat.py won't provide any "
39+
"implementations for rtm.loop. You can use examples/rtm_loop below as "
40+
"implementation reference."
41+
msgstr ""
42+
43+
#: ../../source/guide/rtm.rst:14
44+
msgid "Basically, rtm.loop contains 3 stages:"
45+
msgstr ""
46+
47+
#: ../../source/guide/rtm.rst:16
48+
msgid ""
49+
"rtm.start: Use rtm token to authenticate user and open a websocket "
50+
"connection."
51+
msgstr ""
52+
53+
#: ../../source/guide/rtm.rst:17
54+
msgid ""
55+
"ping: Keep sending type=ping message to server after connected. Pinging "
56+
"interval with 5000ms is suggested."
57+
msgstr ""
58+
59+
#: ../../source/guide/rtm.rst:18
60+
msgid ""
61+
"loop: Subscribe to websocket's message event and consume the message "
62+
"comes from the server. You can use RTMMessage for message parsing."
63+
msgstr ""
64+
65+
#: ../../source/guide/rtm.rst:21
66+
msgid "Examples"
67+
msgstr ""
68+
69+
#: ../../source/guide/rtm.rst:23
70+
msgid "Here is a sample rtm loop implementation::"
71+
msgstr ""
72+
73+
#: ../../source/guide/rtm.rst:187
74+
msgid "And Here is the rtm loop above working sample::"
75+
msgstr ""
76+
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2016, Beary Innovative
3+
# This file is distributed under the same license as the bearychat.py
4+
# package.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
6+
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: bearychat.py 0.0.1\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 2.3.4\n"
19+
20+
#: ../../source/index.rst:7
21+
msgid "BearyChat.py"
22+
msgstr ""
23+
24+
#: ../../source/index.rst:9
25+
msgid "BearyChat.py is a SDK for `BearyChat <https://bearychat.com>`_."
26+
msgstr ""
27+
28+
#: ../../source/index.rst:12
29+
msgid "Quick links"
30+
msgstr ""
31+
32+
#: ../../source/index.rst:14
33+
msgid "`Source(GitHub) <https://github.com/bearyinnovative/bearychat.py>`_"
34+
msgstr ""
35+
36+
#: ../../source/index.rst:15
37+
msgid "`BearyChat Integrations <https://bearychat.com/integrations>`_"
38+
msgstr ""
39+
40+
#: ../../source/index.rst:18
41+
msgid "Hello, world"
42+
msgstr ""
43+
44+
#: ../../source/index.rst:20
45+
msgid ""
46+
"Here is a simple \"Hello, world\" example app for BearyChat `Incoming "
47+
"<https://bearychat.com/integrations/incoming>`_::"
48+
msgstr ""
49+
50+
#: ../../source/index.rst:44
51+
msgid "Installation"
52+
msgstr ""
53+
54+
#: ../../source/index.rst:46
55+
msgid "**Automatic installation**::"
56+
msgstr ""
57+
58+
#: ../../source/index.rst:50
59+
msgid ""
60+
"BearyChat.py is listed in `PyPI "
61+
"<https://pypi.python.org/pypi/bearychat>`_, and can be installed with "
62+
"``pip`` or ``easy_install``."
63+
msgstr ""
64+
65+
#: ../../source/index.rst:53
66+
msgid ""
67+
"**Prerequisites**: BearyChat.py runs on Python 2.6+ and Python 3.3+(`more"
68+
" <https://travis-ci.org/bearyinnovative/bearychat.py>`_). And HTTP "
69+
"library `request <https://github.com/kennethreitz/requests>`_ is "
70+
"required."
71+
msgstr ""
72+
73+
#: ../../source/index.rst:56
74+
msgid "Documentation"
75+
msgstr ""
76+
77+
#: ../../source/index.rst:58
78+
msgid "Contents:"
79+
msgstr ""
80+
81+
#: ../../source/index.rst:66
82+
msgid ":ref:`genindex`"
83+
msgstr ""
84+
85+
#: ../../source/index.rst:67
86+
msgid ":ref:`modindex`"
87+
msgstr ""
88+
89+
#: ../../source/index.rst:68
90+
msgid ":ref:`search`"
91+
msgstr ""
92+
93+
#: ../../source/index.rst:71
94+
msgid "Discussion and support"
95+
msgstr ""
96+
97+
#: ../../source/index.rst:73
98+
msgid ""
99+
"You can report bugs on the `GitHub issue tracker "
100+
"<https://github.com/bearyinnovative/bearychat.py/issues>`_"
101+
msgstr ""
102+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2016, Beary Innovative
3+
# This file is distributed under the same license as the bearychat.py
4+
# package.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
6+
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: bearychat.py 0.0.1\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 2.3.4\n"
19+
20+
#: ../../source/releases.rst:2
21+
msgid "Release Notes"
22+
msgstr ""
23+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2016, Beary Innovative
3+
# This file is distributed under the same license as the bearychat.py
4+
# package.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
6+
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: bearychat.py 0.0.1\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 2.3.4\n"
19+
20+
#: ../../source/releases/v0.0.2.rst:2
21+
msgid "What's new in BearyChat.py 0.0.2"
22+
msgstr ""
23+
24+
#: ../../source/releases/v0.0.2.rst:5
25+
msgid "Dec 30, 2016"
26+
msgstr ""
27+
28+
#: ../../source/releases/v0.0.2.rst:8
29+
msgid "Incoming"
30+
msgstr ""
31+
32+
#: ../../source/releases/v0.0.2.rst:10
33+
msgid ""
34+
"Supports creating and sending message to `BearyChat Incoming "
35+
"<https://bearychat.com/integrations/incoming>`_."
36+
msgstr ""
37+
38+
#: ../../source/releases/v0.0.2.rst:13
39+
msgid "Real Time Message"
40+
msgstr ""
41+
42+
#: ../../source/releases/v0.0.2.rst:15
43+
msgid "Supports creating real time message."
44+
msgstr ""
45+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2016, Beary Innovative
3+
# This file is distributed under the same license as the bearychat.py
4+
# package.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
6+
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: bearychat.py 0.0.1\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 2.3.4\n"
19+
20+
#: ../../source/guide.rst:2
21+
msgid "User's guide"
22+
msgstr "用户引导"
23+

0 commit comments

Comments
 (0)