2021-03-22 08:44:31 +01:00
|
|
|
## How to help translate cloudflare-tor
|
2020-08-25 10:36:12 +02:00
|
|
|
|
|
|
|
|
2021-03-22 08:44:31 +01:00
|
|
|
- "_(en|eo)(|.ethics|.action).md_" are _base files_.
|
2020-08-25 10:50:56 +02:00
|
|
|
- If you edit _base files_, do edit `translateData/TEMPLATE.*.(tab|txt)`.
|
2020-08-25 10:38:41 +02:00
|
|
|
|
2020-08-26 06:15:57 +02:00
|
|
|
---
|
2020-08-25 10:36:12 +02:00
|
|
|
|
|
|
|
### _zz_.md's translation is horrible. How can I fix this?
|
|
|
|
|
2020-10-11 01:22:11 +02:00
|
|
|
**Please** do not edit _zz_.md directly. It may be overwritten.
|
2020-08-25 10:36:12 +02:00
|
|
|
|
2020-08-25 10:43:16 +02:00
|
|
|
|
2021-03-22 08:44:31 +01:00
|
|
|
1. [Fork](https://codeberg.org/crimeflare/cloudflare-tor/forks) cloudflare-tor.
|
2020-08-25 10:36:12 +02:00
|
|
|
|
2020-08-25 10:43:16 +02:00
|
|
|
2. Copy `/readme/translateData/TEMPLATE.main.tab` to `/readme/translateData/override/zz.main.tab`.
|
2020-12-11 11:14:15 +01:00
|
|
|
- cp /readme/translateData/TEMPLATE.main.tab /readme/translateData/override/_zz_.main.tab
|
|
|
|
- cp /readme/translateData/TEMPLATE.ethics.tab /readme/translateData/override/_zz_.ethics.tab
|
2021-03-22 09:10:52 +01:00
|
|
|
- cp /readme/translateData/TEMPLATE.action.tab /readme/translateData/override/_zz_.action.tab
|
2020-08-25 10:36:12 +02:00
|
|
|
|
|
|
|
3. Remove all lines but keep what you want to fix. (you can translate all lines if you wish)
|
2020-08-25 10:43:16 +02:00
|
|
|
- e.g `mainx0n00013 Take a look at the right image.`
|
|
|
|
- format `string_key TAB string_value`
|
2020-08-26 06:15:57 +02:00
|
|
|
- string_value: Please don't include any HTML tags, links, or markdown syntax.
|
2020-08-25 10:36:12 +02:00
|
|
|
|
2020-08-25 10:43:16 +02:00
|
|
|
4. Translate the right-side of the string(_string\_value_).
|
|
|
|
- Do not edit left-side of the string(_string\_key_), it will be ignored.
|
2020-08-25 10:36:12 +02:00
|
|
|
|
|
|
|
5. Make a pull request.
|
|
|
|
|
2020-08-26 06:15:57 +02:00
|
|
|
6. We'll regenerate MD file using your override file later.
|
|
|
|
|
|
|
|
|
|
|
|
### Why should I help you?
|
|
|
|
|
|
|
|
If you help us, more people around the world who speaks your language can learn about the problems of CloudFlare.
|
|
|
|
|
|
|
|
|
2020-10-11 01:22:11 +02:00
|
|
|
### Can I add my name/link/cat pic to translation file as "credit"?
|
2020-08-26 06:15:57 +02:00
|
|
|
|
|
|
|
Sure. Tell us about it when creating a pull request.
|
|
|
|
- e.g `zz by Your_Name, Other_EditName`
|
2020-10-11 01:22:11 +02:00
|
|
|
- e.g `zz by [Your_Name](https://myblog.example/)`
|