From 2afb5ca9615298b322e171bb353539a3c85f61f8 Mon Sep 17 00:00:00 2001 From: grass Date: Tue, 25 Aug 2020 10:36:12 +0200 Subject: [PATCH 1/5] Add 'readme/translateData/instructions.md' --- readme/translateData/instructions.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 readme/translateData/instructions.md diff --git a/readme/translateData/instructions.md b/readme/translateData/instructions.md new file mode 100644 index 000000000..7faf08de5 --- /dev/null +++ b/readme/translateData/instructions.md @@ -0,0 +1,22 @@ +## How to help translate cloudflare-tor + + +- "_(en|eo)(|.ethics).md_" are _base files_. + + +### _zz_.md's translation is horrible. How can I fix this? + +Please do not edit _zz_.md directly. It will be overwritten. +Please use "override" template. + +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`. + +3. Remove all lines but keep what you want to fix. (you can translate all lines if you wish) + +4. Translate the right-side of the string. + +5. Make a pull request. + +6. We'll regenerate MD file using your override file. From 209c46cc8b8b0885865c0632085543610e618fa2 Mon Sep 17 00:00:00 2001 From: grass Date: Tue, 25 Aug 2020 10:38:41 +0200 Subject: [PATCH 2/5] Update 'readme/translateData/instructions.md' --- readme/translateData/instructions.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/readme/translateData/instructions.md b/readme/translateData/instructions.md index 7faf08de5..37d8ed49b 100644 --- a/readme/translateData/instructions.md +++ b/readme/translateData/instructions.md @@ -2,12 +2,13 @@ - "_(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 will be overwritten. -Please use "override" template. +Please do not edit _zz_.md directly. It may be overwritten. 1. [Fork](https://codeberg.org/crimeflare/cloudflare-tor/forks) cloudflare-tor. From 3f89e260fc38fe89cd3277862648c6e2611bcb51 Mon Sep 17 00:00:00 2001 From: grass Date: Tue, 25 Aug 2020 10:43:16 +0200 Subject: [PATCH 3/5] Update 'readme/translateData/instructions.md' --- readme/translateData/instructions.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/readme/translateData/instructions.md b/readme/translateData/instructions.md index 37d8ed49b..e16379620 100644 --- a/readme/translateData/instructions.md +++ b/readme/translateData/instructions.md @@ -10,13 +10,21 @@ 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`. +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` -4. Translate the right-side of the string. +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. From 9fedcfa4fa791957c6a6a64004341f2e3d796bb4 Mon Sep 17 00:00:00 2001 From: grass Date: Tue, 25 Aug 2020 10:44:51 +0200 Subject: [PATCH 4/5] Update 'readme/README.md' --- readme/README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/readme/README.md b/readme/README.md index 3b6d617b8..909504846 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) --- From 9c27bc88451b3ca76ca07760e8e3140b7f938133 Mon Sep 17 00:00:00 2001 From: grass Date: Tue, 25 Aug 2020 10:45:59 +0200 Subject: [PATCH 5/5] Update 'readme/translateData/instructions.md' --- readme/translateData/instructions.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme/translateData/instructions.md b/readme/translateData/instructions.md index e16379620..08c57a66d 100644 --- a/readme/translateData/instructions.md +++ b/readme/translateData/instructions.md @@ -22,6 +22,7 @@ Please do not edit _zz_.md directly. It may be overwritten. 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.