Skip to content

Commit

Permalink
Merge pull request #866 from parente/fix-en-po
Browse files Browse the repository at this point in the history
More translation fixes
  • Loading branch information
parente committed May 6, 2019
2 parents c39518a + b7e7015 commit 2662627
Show file tree
Hide file tree
Showing 7 changed files with 680 additions and 1,270 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ tx-en: ## rebuild en locale strings and push to master (req: GH_TOKEN)
@cd docs && sphinx-intl update -p _build/gettext -l en

@git add docs/locale/en
@git commit -m "Update en source strings for $$TRAVIS_COMMIT"
@git commit -m "[ci skip] Update en source strings (build: $$TRAVIS_JOB_NUMBER)"

@git remote add origin-tx https://$${GH_TOKEN}@github.com/jupyter/docker-stacks.git
@git push -u origin-tx master
Expand Down
4 changes: 4 additions & 0 deletions base-notebook/hooks/post_checkout
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
if [[ "$COMMIT_MSG" = *"skip ci"* || "$COMMIT_MSG" = *"ci skip"* ]]; then
exit 1;
fi
6 changes: 3 additions & 3 deletions docs/.tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ type = PO

[jupyter-docker-stacks-1.maintaining-po--master]
file_filter = locale/<lang>/LC_MESSAGES/maintaining.po
source_file = locale/en/LC_MESSAGES/maintaining.pot
source_file = locale/en/LC_MESSAGES/maintaining.po
source_lang = en
type = PO

[jupyter-docker-stacks-1.index-po--master]
file_filter = locale/<lang>/LC_MESSAGES/index.po
source_file = locale/en/LC_MESSAGES/index.pot
source_file = locale/en/LC_MESSAGES/index.po
source_lang = en
type = PO

[jupyter-docker-stacks-1.contributing-po--master]
file_filter = locale/<lang>/LC_MESSAGES/contributing.po
source_file = locale/en/LC_MESSAGES/contributing.pot
source_file = locale/en/LC_MESSAGES/contributing.po
source_lang = en
type = PO

Loading

0 comments on commit 2662627

Please sign in to comment.