Verified Commit 966e9eb0 authored by Geoffrey Preud'homme's avatar Geoffrey Preud'homme 🐸
Browse files

Make patch testing a bit easier

parent 2eb445e1
......@@ -38,6 +38,10 @@ prediff: ## Create a copy of the files for reference when diffing
diff: ## Create diffs for easier patching of languages later
./diff.sh
prepatch: ## Reset the local copy to its reference Transifex state
rm -rf $(PWD)/edx-platform/locale
cp -a $(PWD)/edx-platform/locale_original $(PWD)/edx-platform/locale
patch: ## Patch known issues on freshly downloaded translations
./patch.sh
......
......@@ -29,10 +29,14 @@ Prepare for fixing:
make fix
Apply currently known fix. This might not work if changes were made in Transifex, in whcich case you'll need to edit the patch files manually.
Apply currently known fix.
make patch
The above might not work if changes were made in Transifex. In that case, remove the failing hunks from the diff files, run the following command and try from the step above again until all patches are successfully applied.
make prepatch
Detect remaining errors by running:
make validate
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment