Skip to content
This repository has been archived by the owner on Jan 13, 2019. It is now read-only.

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jjangsangy committed Dec 1, 2014
1 parent cb8551c commit 37233de
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 26 deletions.
25 changes: 14 additions & 11 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,33 +1,36 @@
.. :changelog:
=================
Release History
---------------
=================

0.1.6 (2014-11-30)
++++++++++++++++++
-------------------

- Bug Fixes
- Re-implmenenting concurrency models
- Python 3 is now the base implemntation


0.1.5 (2014-07-18)
++++++++++++++++++
-------------------

- Language Code Generator Fix

0.1.4 (2014-07-05)
++++++++++++++++++
--------------------

- General Bug Fixes
- Speed Improvements
- Length of multibyte characters correctly represented by spooler
- Better support for utf-8.

0.1.3 (2014-04-07)
++++++++++++++++++
-------------------

- Implemented language discovery arg
- Bug Fixes

0.1.2 (2014-04-04)
++++++++++++++++++
-------------------

- Documentation reorganization

Expand All @@ -36,7 +39,7 @@ Release History
- Fixed unicode encode/decode errors

0.1.1 (2014-04-03)
++++++++++++++++++
--------------------

- PyPy-c v2.2 now support

Expand All @@ -47,7 +50,7 @@ Release History
- Assorted fixes with methods and scope

0.1.0 (2014-04-02)
++++++++++++++++++
--------------------

- GTranslate is taken on PyPI.
- Name changed to py-translate
Expand All @@ -56,7 +59,7 @@ Release History
- Separated into logical modules in a package rather than one executable __main__.py

0.0.0 (2014-03-31)
++++++++++++++++++
--------------------

- Support for Python 2.7 and 3.x
- Sphinx Documentation hosted
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
py-translate
-------------

[![Documentation Status](https://readthedocs.org/projects/py-translate/badge/?version=master)](https://readthedocs.org/projects/py-translate/?badge=master) [![image](https://badge.fury.io/gh/jjangsangy%2Fpy-translate.svg)](http://badge.fury.io/gh/jjangsangy%2Fpy-translate) [![image](https://travis-ci.org/jjangsangy/py-translate.svg?branch=master)](https://travis-ci.org/jjangsangy/py-translate) [![image](https://badge.fury.io/py/py-translate.svg)](http://badge.fury.io/py/py-translate)
[![Documentation Status](https://readthedocs.org/projects/py-translate/badge/?version=master)](https://readthedocs.org/projects/py-translate/?badge=master) [![github](https://badge.fury.io/gh/jjangsangy%2Fpy-translate.svg)](http://badge.fury.io/gh/jjangsangy%2Fpy-translate) [![travis](https://travis-ci.org/jjangsangy/py-translate.svg?branch=master)](https://travis-ci.org/jjangsangy/py-translate) [![pypi](https://badge.fury.io/py/py-translate.svg)](http://badge.fury.io/py/py-translate)

Py-translate is an easy to use translation tool for the command line.

Expand Down
26 changes: 12 additions & 14 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
py-translate
------------

|Documentation Status| |image| |image| |image|
|Documentation Status| |github| |travis| |pypi|

Py-translate is an easy to use translation tool for the command line.

.. figure:: https://raw.githubusercontent.com/jjangsangy/py-translate/master/img/alice.gif
:alt: Translate Lewis Carroll: Alice in Wonderland

Translate Lewis Carroll: Alice in Wonderland
The end goal is a simple application for translating text in the
terminal. Text can be generated interactively or programmatically in the
shell environment. Through command line arguments, file descriptors or
Expand All @@ -31,7 +30,7 @@ Installation
From PyPI with pip (easy)
~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: sh
.. code-block:: sh
$ pip install py-translate
Expand All @@ -40,13 +39,13 @@ From Source at Github

- Clone the repository

.. code:: sh
.. code-block:: sh
$ git clone https://github.com/jjangsangy/py-translate.git
- Install with setup.py

.. code:: sh
.. code-block:: sh
$ python setup.py install
Expand All @@ -55,22 +54,21 @@ Usage

- Default will translate from english to target language

.. code:: sh
.. code-block:: sh
$ translate zh-TW <<< 'Hello World!'
你好世界!
.. figure:: https://raw.githubusercontent.com/jjangsangy/py-translate/master/img/helloworld.gif
:alt: Hello World

Hello World
Examples
--------

- Just as easily specify a source language by providing it as first
argument

.. code:: sh
.. code-block:: sh
# Translate Hello from French to English
$ translate fr en <<< 'Bonjour, comment allez-vous!'
Expand All @@ -79,7 +77,7 @@ Examples
Redirect from File
~~~~~~~~~~~~~~~~~~

.. code:: sh
.. code-block:: sh
$ translate zh-TW < 'alice.txt'
Expand All @@ -96,7 +94,7 @@ Redirect from File
Chaining together Pipes
~~~~~~~~~~~~~~~~~~~~~~~

.. code:: sh
.. code-block:: sh
# Multiple Chaining
$ echo 'What is love?' | translate zh-TW | translate zh-TW ko | translate ko fr | translate fr en
Expand All @@ -105,7 +103,7 @@ Chaining together Pipes
Be Creative!
~~~~~~~~~~~~

.. code:: sh
.. code-block:: sh
# Grocery List
$ cat << BUY | translate ko
Expand All @@ -129,9 +127,9 @@ Find the latest documentation http://pythonhosted.org//py-translate/
.. |Documentation Status| image:: https://readthedocs.org/projects/py-translate/badge/?version=master
:target: https://readthedocs.org/projects/py-translate/?badge=master
.. |image| image:: https://badge.fury.io/gh/jjangsangy%2Fpy-translate.svg
.. |github| image:: https://badge.fury.io/gh/jjangsangy%2Fpy-translate.svg
:target: http://badge.fury.io/gh/jjangsangy%2Fpy-translate
.. |image| image:: https://travis-ci.org/jjangsangy/py-translate.svg?branch=master
.. |travis| image:: https://travis-ci.org/jjangsangy/py-translate.svg?branch=master
:target: https://travis-ci.org/jjangsangy/py-translate
.. |image| image:: https://badge.fury.io/py/py-translate.svg
.. |pypi| image:: https://badge.fury.io/py/py-translate.svg
:target: http://badge.fury.io/py/py-translate

0 comments on commit 37233de

Please sign in to comment.