Skip to content

Commit cdc4117

Browse files
committed
fixed PR comments
1 parent 792cb56 commit cdc4117

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

translate/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ mvn clean compile assembly:single
3131
```
3232

3333
We can then run the assembled JAR file with the `java` command. The variable
34-
$COMMAND takes two values `detect' and `translate'.
34+
$COMMAND takes two values `detect` and `translate'.
3535

3636
```
3737
MAIN_CLASS=com.google.cloud.translate.samples.TranslateText
3838
JAR_FILE=target/translate-1.0-SNAPSHOT-jar-with-dependencies.jar
3939
java -cp $JAR_FILE $MAIN_CLASS <detect|translate|langsupport> <text>
40-
<optional_source> <optional_target>
40+
<optional_source> <optional_target>
4141
```
4242

4343
Example Usage:
@@ -50,7 +50,7 @@ TARGET_LANG="fr"
5050

5151
Translate API Features:
5252

53-
* Languages supported by the API
53+
* List the languages supported by the API
5454
```
5555
java -cp $JAR_FILE $MAIN_CLASS langsupport
5656
```

translate/pom.xml

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
<?xml version="1.0"?>
2-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1+
<!--
2+
Copyright 2016 Google Inc. All Rights Reserved.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
<project>
417
<modelVersion>4.0.0</modelVersion>
518
<groupId>com.google.cloud.translate.samples</groupId>
619
<artifactId>translate</artifactId>

0 commit comments

Comments
 (0)