Skip to content

Commit

Permalink
Update Translation API branding.
Browse files Browse the repository at this point in the history
  • Loading branch information
daspecster committed Dec 14, 2016
1 parent 6153040 commit 7c6bed5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
16 changes: 8 additions & 8 deletions packages/google-cloud-translate/README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Python Client for Google Translate
==================================
Python Client for Google Cloud Translation
==========================================

Python idiomatic client for `Google Translate`_
Python idiomatic client for `Google Cloud Translation`_

.. _Google Translate: https://cloud.google.com/translate/
.. _Google Cloud Translation: https://cloud.google.com/translate/

|pypi| |versions|

Expand Down Expand Up @@ -32,13 +32,13 @@ the ``google-cloud-*`` libraries to be helpful.
Using the API
-------------

With the Google `Translate`_ API (`Translate API docs`_), you can
With the Google Cloud `Translation`_ API (`Translation API docs`_), you can
dynamically translate text between thousands of language pairs.

.. _Translate: https://cloud.google.com/translate/
.. _Translate API docs: https://cloud.google.com/translate/docs/apis
.. _Translation: https://cloud.google.com/translate/
.. _Translation API docs: https://cloud.google.com/translate/docs/apis

See the ``google-cloud-python`` API Translate `Documentation`_ to learn
See the ``google-cloud-python`` API Translation `Documentation`_ to learn
how to translate text using this library.

.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-translate.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

"""Google Cloud Translate API wrapper."""
"""Google Cloud Translation API wrapper."""

from google.cloud.translate.client import BASE
from google.cloud.translate.client import Client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

"""Client for interacting with the Google Cloud Translate API."""
"""Client for interacting with the Google Cloud Translation API."""


import six
Expand Down Expand Up @@ -158,8 +158,7 @@ def translate(self, values, target_language=None, format_=None,
model=None):
"""Translate a string or list of strings.
See: https://cloud.google.com/translate/v2/\
translating-text-with-rest
See: https://cloud.google.com/translate/docs/translating-text
:type values: str or list
:param values: String or list of strings to translate.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

"""Create / interact with Google Cloud Translate connections."""
"""Create / interact with Google Cloud Translation connections."""

from google.cloud import _http


class Connection(_http.JSONConnection):
"""A connection to Google Cloud Translate via the JSON REST API."""
"""A connection to Google Cloud Translation API via the JSON REST API."""

API_BASE_URL = 'https://translation.googleapis.com'
"""The base of the API call URL."""
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-translate/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
setup(
name='google-cloud-translate',
version='0.22.0',
description='Python Client for Google Translate',
description='Python Client for Google Cloud Translation API',
long_description=README,
namespace_packages=[
'google',
Expand Down

0 comments on commit 7c6bed5

Please sign in to comment.