mirror of
				https://github.com/HackTricks-wiki/hacktricks.git
				synced 2025-10-10 18:36:50 +00:00 
			
		
		
		
	try fix translations
This commit is contained in:
		
							parent
							
								
									4397d90461
								
							
						
					
					
						commit
						f64428c175
					
				
							
								
								
									
										4
									
								
								.github/workflows/translate_af.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_af.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_de.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_de.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_el.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_el.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										7
									
								
								.github/workflows/translate_es.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/translate_es.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,4 +1,4 @@ | ||||
| name: Translator to ES (Spanish) | ||||
| name: Translator to ES (Spachins) | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
| @ -53,6 +53,7 @@ jobs: | ||||
|           wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py | ||||
|           cd .. | ||||
|        | ||||
|        | ||||
|       - name: Run translation script on changed files | ||||
|         run: | | ||||
|           export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} | ||||
| @ -65,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -94,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_fr.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_fr.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_hi.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_hi.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_it.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_it.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_ja.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_ja.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_ko.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_ko.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_pl.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_pl.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_pt.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_pt.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_sr.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_sr.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_sw.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_sw.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_tr.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_tr.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_uk.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_uk.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/translate_zh.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/translate_zh.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,6 +66,8 @@ jobs: | ||||
| 
 | ||||
|       - name: Build mdBook | ||||
|         run: | | ||||
|           git checkout "$BRANCH" | ||||
|           git pull | ||||
|           MDBOOK_BOOK__LANGUAGE=$BRANCH mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) | ||||
|        | ||||
|       - name: Update searchindex.js in repo | ||||
| @ -95,4 +97,4 @@ jobs: | ||||
|           aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete | ||||
|           echo "Sync completed" | ||||
|           echo "Cat 3 files from the book" | ||||
|           find . -type f -name '*.md' -print | head -n 3 | xargs -r cat | ||||
|           find . -type f -name 'index.html' -print | head -n 3 | xargs -r cat | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user