[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request #1484 from firebase/@invertase/rename-firestore-tr…
Browse files Browse the repository at this point in the history
…anslate-text

chore(firestore-translate-text): rename extension
  • Loading branch information
dackers86 committed Mar 15, 2023
2 parents ed9beba + a96febb commit 6b1f6d7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/firestore-translate-text/get-started.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Get started

## **Using the Translate Text extension**
## **Using the Translate Text in Firestore extension**

The Translate Text extension (`firestore-translate-text`) lets you translate strings written to a Cloud Firestore collection into multiple languages using the [Cloud Translation API](https://cloud.google.com/translate). Adding a document to the collection triggers this extension to translate the contents of a field within a document to one or more languages. The extension supports either translating a single string or multiple strings at once.
The Translate Text in Firestore extension (`firestore-translate-text`) lets you translate strings written to a Cloud Firestore collection into multiple languages using the [Cloud Translation API](https://cloud.google.com/translate). Adding a document to the collection triggers this extension to translate the contents of a field within a document to one or more languages. The extension supports either translating a single string or multiple strings at once.

Here’s a basic example document write that would trigger this extension:

Expand Down
2 changes: 1 addition & 1 deletion firestore-translate-text/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Translate Text
# Translate Text in Firestore

**Author**: Firebase (**[https://firebase.google.com](https://firebase.google.com)**)

Expand Down
2 changes: 1 addition & 1 deletion firestore-translate-text/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name: firestore-translate-text
version: 0.1.10
specVersion: v1beta

displayName: Translate Text
displayName: Translate Text in Firestore
description:
Translates strings written to a Cloud Firestore collection into multiple languages (uses Cloud Translation API).

Expand Down
4 changes: 2 additions & 2 deletions firestore-translate-text/functions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "firestore-translate-text-functions",
"description": "Firebase Cloud Functions for the Firestore Translate Text Extension",
"description": "Firebase Cloud Functions for the Firestore Translate Text in Firestore Extension",
"main": "lib/index.js",
"license": "Apache-2.0",
"scripts": {
Expand Down Expand Up @@ -29,4 +29,4 @@
"ts-jest": "^24.1.0"
},
"private": true
}
}

0 comments on commit 6b1f6d7

Please sign in to comment.