Skip to content

Commit af094c3

Browse files
committed
pr feedback
1 parent 70644ee commit af094c3

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

articles/cognitive-services/Translator/quickstart-translator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ func main() {
257257

258258
// location, also known as region.
259259
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
260-
location := "<YOUR-RESOURCE-LOCATION>";
260+
location := "<YOUR-RESOURCE-LOCATION>"
261261

262262
// Build the request URL. See: https://go.dev/pkg/net/url/#example_URL_Parse
263263
u, _ := url.Parse(uri)

articles/cognitive-services/Translator/translator-text-apis.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ func main() {
408408

409409
// location, also known as region.
410410
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
411-
location := "<YOUR-RESOURCE-LOCATION>";
411+
location := "<YOUR-RESOURCE-LOCATION>"
412412

413413
// Build the request URL. See: https://go.dev/pkg/net/url/#example_URL_Parse
414414
u, _ := url.Parse(uri)
@@ -689,7 +689,7 @@ func main() {
689689
// location, also known as region.
690690
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
691691

692-
location := "<YOUR-RESOURCE-LOCATION>";
692+
location := "<YOUR-RESOURCE-LOCATION>"
693693
endpoint := "https://api.cognitive.microsofttranslator.com/"
694694
uri := endpoint + "/translate?api-version=3.0"
695695

@@ -966,7 +966,7 @@ func main() {
966966
key := "<YOUR-TRANSLATOR-KEY>"
967967
// location, also known as region.
968968
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
969-
location := "<YOUR-RESOURCE-LOCATION>";
969+
location := "<YOUR-RESOURCE-LOCATION>"
970970

971971
endpoint := "https://api.cognitive.microsofttranslator.com/"
972972
uri := endpoint + "/detect?api-version=3.0"
@@ -1242,7 +1242,7 @@ func main() {
12421242
key := "<YOUR-TRANSLATOR-KEY>"
12431243
// location, also known as region.
12441244
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
1245-
location := "<YOUR-RESOURCE-LOCATION>";
1245+
location := "<YOUR-RESOURCE-LOCATION>"
12461246
endpoint := "https://api.cognitive.microsofttranslator.com/"
12471247

12481248
uri := endpoint + "/translate?api-version=3.0"
@@ -1527,7 +1527,7 @@ func main() {
15271527
key := "<YOUR-TRANSLATOR-KEY>"
15281528
// location, also known as region.
15291529
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
1530-
location := "<YOUR-RESOURCE-LOCATION>";
1530+
location := "<YOUR-RESOURCE-LOCATION>"
15311531
endpoint := "https://api.cognitive.microsofttranslator.com/"
15321532
uri := endpoint + "/transliterate?api-version=3.0"
15331533

@@ -1805,7 +1805,7 @@ func main() {
18051805
key := "<YOUR-TRANSLATOR-KEY>"
18061806
// location, also known as region.
18071807
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
1808-
location := "<YOUR-RESOURCE-LOCATION>";
1808+
location := "<YOUR-RESOURCE-LOCATION>"
18091809
endpoint := "https://api.cognitive.microsofttranslator.com/"
18101810
uri := endpoint + "/translate?api-version=3.0"
18111811

@@ -2093,7 +2093,7 @@ func main() {
20932093
key := "<YOUR-TRANSLATOR-KEY>"
20942094
// location, also known as region.
20952095
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
2096-
location := "<YOUR-RESOURCE-LOCATION>";
2096+
location := "<YOUR-RESOURCE-LOCATION>"
20972097
endpoint := "https://api.cognitive.microsofttranslator.com/"
20982098
uri := endpoint + "/breaksentence?api-version=3.0"
20992099

@@ -2359,7 +2359,7 @@ func main() {
23592359
key := "<YOUR-TRANSLATOR-KEY>"
23602360
// location, also known as region.
23612361
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
2362-
location := "<YOUR-RESOURCE-LOCATION>";
2362+
location := "<YOUR-RESOURCE-LOCATION>"
23632363
endpoint := "https://api.cognitive.microsofttranslator.com/"
23642364
uri := endpoint + "/dictionary/lookup?api-version=3.0"
23652365

@@ -2777,7 +2777,7 @@ func main() {
27772777
key := "<YOUR-TRANSLATOR-KEY>"
27782778
// location, also known as region.
27792779
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
2780-
location := "<YOUR-RESOURCE-LOCATION>";
2780+
location := "<YOUR-RESOURCE-LOCATION>"
27812781
endpoint := "https://api.cognitive.microsofttranslator.com/"
27822782
uri := endpoint + "/dictionary/examples?api-version=3.0"
27832783

0 commit comments

Comments
 (0)