0
0
mirror of https://git.sdf.org/deCloudflare/deCloudflare/ synced 2024-10-31 23:42:40 +00:00
deCloudflare/readme/translateData/instructions.md
2020-11-21 05:41:53 +01:00

1.6 KiB

How to help translate stop_cloudflare

  • "(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" nor "eo")

  1. Fork stop_cloudflare.

  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
  1. 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.
  1. Translate the right-side of the string(string_value).
  • Do not edit left-side of the string(string_key), it will be ignored.
  1. Make a pull request.

  2. We'll regenerate MD file using your override file later.

I don't want to create an account on Codeberg.

You can send edited "tab" files to us, or submit it to upstream.

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/cat pic 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/)