diff --git a/readme/README.md b/readme/README.md index 3b6d617..9095048 100644 --- a/readme/README.md +++ b/readme/README.md @@ -1,7 +1,4 @@ -- TEMPLATE.md - - _zz_.md - - _zz_.ethics.md - - _zz_.short.md +# [How to help translate cloudflare-tor](translateData/instructions.md) --- diff --git a/readme/translateData/instructions.md b/readme/translateData/instructions.md new file mode 100644 index 0000000..08c57a6 --- /dev/null +++ b/readme/translateData/instructions.md @@ -0,0 +1,32 @@ +## How to help translate cloudflare-tor + + +- "_(en|eo)(|.ethics).md_" are _base files_. +- If you edit _Base files_, do edit `translateData/TEMPLATE.*.(tab|txt)`. + + + +### _zz_.md's translation is horrible. How can I fix this? + +Please do not edit _zz_.md directly. It may be overwritten. + +(_zz_ is not "en" or "eo") + + +1. [Fork](https://codeberg.org/crimeflare/cloudflare-tor/forks) cloudflare-tor. + +2. Copy `/readme/translateData/TEMPLATE.main.tab` to `/readme/translateData/override/zz.main.tab`. + - /readme/translateData/TEMPLATE.main.tab > /readme/translateData/override/zz.main.tab + - /readme/translateData/TEMPLATE.ethics.tab > /readme/translateData/override/zz.ethics.tab + +3. Remove all lines but keep what you want to fix. (you can translate all lines if you wish) + - e.g `mainx0n00013 Take a look at the right image.` + - format `string_key TAB string_value` + - string_value: please don't include any HTML tags or links. + +4. Translate the right-side of the string(_string\_value_). + - Do not edit left-side of the string(_string\_key_), it will be ignored. + +5. Make a pull request. + +6. We'll regenerate MD file using your override file.