Skip to content

Commit 93448e1

Browse files
committed
Add French translation for Lesson 7: Model Context Protocol (MCP)
1 parent 085d5b4 commit 93448e1

File tree

6 files changed

+1093
-3
lines changed

6 files changed

+1093
-3
lines changed

.github/workflows/translation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ jobs:
3030
lang: fr
3131
files: |
3232
- README.md
33+
- lessons/*/README.md
3334
- uses: stefanzweifel/git-auto-commit-action@v5
3435
with:
35-
file_pattern: "**.md* translations/**/*.json"
36+
file_pattern: "**.md* **/translations/*.json"
3637
commit_message: "[cai] translated docs"
3738
commit_user_name: "genaiscript"

lessons/05-rag/translations/README.fr.md

Lines changed: 343 additions & 0 deletions
Large diffs are not rendered by default.

lessons/07-mcp/translations/README.fr.md

Lines changed: 488 additions & 0 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"tsx": "^4.19.3"
1111
},
1212
"scripts": {
13-
"genai:translate": "npx genaiscript@latest run translator \"./lessons/*/README.md\" --remote https://github.com/pelikhan/action-continuous-translation --remote-install -x glossaryFile=glossary.md -x lang=fr -x \"filenameTemplate={{dirname}}/translations/{{basename}}.{{lang}}{{extname}}\""
13+
"genai:translate": "npx genaiscript@latest run translator \"./lessons/*/README.md\" --no-run-trace --remote https://github.com/pelikhan/action-continuous-translation --remote-install -x glossaryFile=glossary.md -x lang=fr -x \"filenameTemplate={{dirname}}/translations/{{basename}}.{{lang}}{{extname}}\""
1414
}
1515
}

0 commit comments

Comments
 (0)