Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translate: allow setting format of text #1647

Merged
merged 2 commits into from
Oct 3, 2016

Conversation

stephenplusplus
Copy link
Contributor

Continuing #1574

See #1574 for the discussion of this feature.

@innovative1 thanks for the idea and the original implementation! Can you take a look at this one?

@stephenplusplus stephenplusplus added the api: translate Issues related to the Cloud Translation API. label Sep 29, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 29, 2016
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling aabd9b8 on stephenplusplus:spp--1574 into * on GoogleCloudPlatform:master*.

@@ -268,6 +269,7 @@ Translate.prototype.getLanguages = function(target, callback) {
* target ISO 639-1 language code to translate the source input to. (e.g.
* `en` for English). If an object, you may also specify the source
* language.
* @param {string} options.format - Set the text's format as `html` or `text`.

This comment was marked as spam.

This comment was marked as spam.

@callmehiphop
Copy link
Contributor

@stephenplusplus can we add a system test for this?

@stephenplusplus
Copy link
Contributor Author

PTAL!

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling f1ceb22 on stephenplusplus:spp--1574 into 009bc99 on GoogleCloudPlatform:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: translate Issues related to the Cloud Translation API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants