Skip to content

Commit

Permalink
Update translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Alza committed Jul 8, 2024
1 parent 6f875f6 commit f2e5d0e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ deploy-job:
script:
- cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/translation
- gcloud builds submit .
- cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/reporting
- gcloud builds submit .
- cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/token-broker
- gcloud builds submit .
- cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/cleanup
- gcloud builds submit .
- cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/telemetry
- gcloud builds submit .
- cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/authentication
- gcloud builds submit .
- cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/detect-text
- gcloud builds submit .
- cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/pdf-to-image
- gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/reporting
# - gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/token-broker
# - gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/cleanup
# - gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/telemetry
# - gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/authentication
# - gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/detect-text
# - gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/pdf-to-image
# - gcloud builds submit .
only:
refs:
- master
2 changes: 1 addition & 1 deletion translation-app-assessment/backend/translation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async function translateText(
targetLanguageCode,
sourceLanguageCode
) {
console.log("Use Google cloud translation from ", sourceLang, " to ", targetLang)
console.log("Use Google cloud translation from ", sourceLanguageCode, " to ", targetLanguageCode)
const request = {
parent: `projects/${projectId}/locations/${location}`,
contents: [text],
Expand Down

0 comments on commit f2e5d0e

Please sign in to comment.