Skip to content

Commit

Permalink
Merge pull request #19 from CurrantXX/doc/supports-zh-CN
Browse files Browse the repository at this point in the history
doc(language): supports zh_CN
  • Loading branch information
shonenada committed Jan 4, 2017
2 parents d6dc76b + ac034c4 commit c997cc5
Show file tree
Hide file tree
Showing 15 changed files with 690 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,6 @@
(master_doc, 'bearychatpy', 'bearychat.py Documentation', author,
'bearychatpy', 'One line description of project.', 'Miscellaneous'),
]

locale_dirs = ['locale/']
gettext_compact = False
23 changes: 23 additions & 0 deletions docs/source/locale/en/LC_MESSAGES/guide.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2016, Beary Innovative
# This file is distributed under the same license as the bearychat.py
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.

msgid ""
msgstr ""
"Project-Id-Version: bearychat.py 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"

#: ../../source/guide.rst:2
msgid "User's guide"
msgstr ""

37 changes: 37 additions & 0 deletions docs/source/locale/en/LC_MESSAGES/guide/incoming.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2016, Beary Innovative
# This file is distributed under the same license as the bearychat.py
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.

msgid ""
msgstr ""
"Project-Id-Version: bearychat.py 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"

#: ../../source/guide/incoming.rst:2
msgid "Incoming"
msgstr ""

#: ../../source/guide/incoming.rst:4
msgid ""
"`Incoming <https://bearychat.com/integrations/incoming>`_ is an "
"integration of BearyChat."
msgstr ""

#: ../../source/guide/incoming.rst:7
msgid "Examples"
msgstr ""

#: ../../source/guide/incoming.rst:9
msgid "Here is a simple incoming workflow::"
msgstr ""

29 changes: 29 additions & 0 deletions docs/source/locale/en/LC_MESSAGES/guide/intro.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2016, Beary Innovative
# This file is distributed under the same license as the bearychat.py
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.

msgid ""
msgstr ""
"Project-Id-Version: bearychat.py 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"

#: ../../source/guide/intro.rst:2
msgid "Introduction"
msgstr ""

#: ../../source/guide/intro.rst:4
msgid ""
"`BearyChat.py <https://github.com/bearyinnovative/bearychat.py>`_ is a "
"SDK for `BearyChat <https://bearychat.com>`_"
msgstr ""

76 changes: 76 additions & 0 deletions docs/source/locale/en/LC_MESSAGES/guide/rtm.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2016, Beary Innovative
# This file is distributed under the same license as the bearychat.py
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.

msgid ""
msgstr ""
"Project-Id-Version: bearychat.py 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"

#: ../../source/guide/rtm.rst:2
msgid "Real Time Message"
msgstr ""

#: ../../source/guide/rtm.rst:5
msgid "RTM Message"
msgstr ""

#: ../../source/guide/rtm.rst:7
msgid "Provides handful helpers for rtm message parsing."
msgstr ""

#: ../../source/guide/rtm.rst:10
msgid "RTM Loop"
msgstr ""

#: ../../source/guide/rtm.rst:12
msgid ""
"To achive more flexible usage, BearyChat.py won't provide any "
"implementations for rtm.loop. You can use examples/rtm_loop below as "
"implementation reference."
msgstr ""

#: ../../source/guide/rtm.rst:14
msgid "Basically, rtm.loop contains 3 stages:"
msgstr ""

#: ../../source/guide/rtm.rst:16
msgid ""
"rtm.start: Use rtm token to authenticate user and open a websocket "
"connection."
msgstr ""

#: ../../source/guide/rtm.rst:17
msgid ""
"ping: Keep sending type=ping message to server after connected. Pinging "
"interval with 5000ms is suggested."
msgstr ""

#: ../../source/guide/rtm.rst:18
msgid ""
"loop: Subscribe to websocket's message event and consume the message "
"comes from the server. You can use RTMMessage for message parsing."
msgstr ""

#: ../../source/guide/rtm.rst:21
msgid "Examples"
msgstr ""

#: ../../source/guide/rtm.rst:23
msgid "Here is a sample rtm loop implementation::"
msgstr ""

#: ../../source/guide/rtm.rst:187
msgid "And Here is the rtm loop above working sample::"
msgstr ""

102 changes: 102 additions & 0 deletions docs/source/locale/en/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2016, Beary Innovative
# This file is distributed under the same license as the bearychat.py
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.

msgid ""
msgstr ""
"Project-Id-Version: bearychat.py 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"

#: ../../source/index.rst:7
msgid "BearyChat.py"
msgstr ""

#: ../../source/index.rst:9
msgid "BearyChat.py is a SDK for `BearyChat <https://bearychat.com>`_."
msgstr ""

#: ../../source/index.rst:12
msgid "Quick links"
msgstr ""

#: ../../source/index.rst:14
msgid "`Source(GitHub) <https://github.com/bearyinnovative/bearychat.py>`_"
msgstr ""

#: ../../source/index.rst:15
msgid "`BearyChat Integrations <https://bearychat.com/integrations>`_"
msgstr ""

#: ../../source/index.rst:18
msgid "Hello, world"
msgstr ""

#: ../../source/index.rst:20
msgid ""
"Here is a simple \"Hello, world\" example app for BearyChat `Incoming "
"<https://bearychat.com/integrations/incoming>`_::"
msgstr ""

#: ../../source/index.rst:44
msgid "Installation"
msgstr ""

#: ../../source/index.rst:46
msgid "**Automatic installation**::"
msgstr ""

#: ../../source/index.rst:50
msgid ""
"BearyChat.py is listed in `PyPI "
"<https://pypi.python.org/pypi/bearychat>`_, and can be installed with "
"``pip`` or ``easy_install``."
msgstr ""

#: ../../source/index.rst:53
msgid ""
"**Prerequisites**: BearyChat.py runs on Python 2.6+ and Python 3.3+(`more"
" <https://travis-ci.org/bearyinnovative/bearychat.py>`_). And HTTP "
"library `request <https://github.com/kennethreitz/requests>`_ is "
"required."
msgstr ""

#: ../../source/index.rst:56
msgid "Documentation"
msgstr ""

#: ../../source/index.rst:58
msgid "Contents:"
msgstr ""

#: ../../source/index.rst:66
msgid ":ref:`genindex`"
msgstr ""

#: ../../source/index.rst:67
msgid ":ref:`modindex`"
msgstr ""

#: ../../source/index.rst:68
msgid ":ref:`search`"
msgstr ""

#: ../../source/index.rst:71
msgid "Discussion and support"
msgstr ""

#: ../../source/index.rst:73
msgid ""
"You can report bugs on the `GitHub issue tracker "
"<https://github.com/bearyinnovative/bearychat.py/issues>`_"
msgstr ""

23 changes: 23 additions & 0 deletions docs/source/locale/en/LC_MESSAGES/releases.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2016, Beary Innovative
# This file is distributed under the same license as the bearychat.py
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.

msgid ""
msgstr ""
"Project-Id-Version: bearychat.py 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"

#: ../../source/releases.rst:2
msgid "Release Notes"
msgstr ""

45 changes: 45 additions & 0 deletions docs/source/locale/en/LC_MESSAGES/releases/v0.0.2.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2016, Beary Innovative
# This file is distributed under the same license as the bearychat.py
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.

msgid ""
msgstr ""
"Project-Id-Version: bearychat.py 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"

#: ../../source/releases/v0.0.2.rst:2
msgid "What's new in BearyChat.py 0.0.2"
msgstr ""

#: ../../source/releases/v0.0.2.rst:5
msgid "Dec 30, 2016"
msgstr ""

#: ../../source/releases/v0.0.2.rst:8
msgid "Incoming"
msgstr ""

#: ../../source/releases/v0.0.2.rst:10
msgid ""
"Supports creating and sending message to `BearyChat Incoming "
"<https://bearychat.com/integrations/incoming>`_."
msgstr ""

#: ../../source/releases/v0.0.2.rst:13
msgid "Real Time Message"
msgstr ""

#: ../../source/releases/v0.0.2.rst:15
msgid "Supports creating real time message."
msgstr ""

23 changes: 23 additions & 0 deletions docs/source/locale/zh_CN/LC_MESSAGES/guide.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2016, Beary Innovative
# This file is distributed under the same license as the bearychat.py
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.

msgid ""
msgstr ""
"Project-Id-Version: bearychat.py 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-03 09:51+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"

#: ../../source/guide.rst:2
msgid "User's guide"
msgstr "用户引导"

0 comments on commit c997cc5

Please sign in to comment.