mirror of
https://git.sdf.org/deCloudflare/deCloudflare/
synced 2024-11-01 00:02:41 +00:00
45 lines
1.5 KiB
Markdown
45 lines
1.5 KiB
Markdown
## How to help translate deCloudflare
|
|
|
|
|
|
- "_(en|eo)(|.ethics|.action).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?
|
|
|
|
|
|
You can edit _zz_.md directly, but it may be overwritten.
|
|
|
|
|
|
1. [Fork](http://crimeflare.eu.org/) deCloudflare.
|
|
|
|
2. Copy `/readme/translateData/TEMPLATE.main.tab` to `/readme/translateData/override/zz.main.tab`.
|
|
- cp /readme/translateData/TEMPLATE.main.tab /readme/translateData/override/_zz_.main.tab
|
|
- cp /readme/translateData/TEMPLATE.ethics.tab /readme/translateData/override/_zz_.ethics.tab
|
|
- cp /readme/translateData/TEMPLATE.action.tab /readme/translateData/override/_zz_.action.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, links, or markdown syntax.
|
|
|
|
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 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.
|
|
|
|
|
|
### Can I add my name/link to translation file as "credit"?
|
|
|
|
Sure. Tell us about it when creating a pull request.
|
|
- e.g `zz by Your_Name, Other_EditName`
|
|
- e.g `zz by [Your_Name](https://myblog.example/)`
|