From 3c0d2650cf12cc95b11a7819935558c0d8bbca69 Mon Sep 17 00:00:00 2001 From: Pau Garcia Quiles Date: Mon, 7 Dec 2020 00:24:56 +0100 Subject: [PATCH 1/3] Add instructions for openSUSE and explain how to generate the translation stats --- CONTRIBUTING.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 77b997760..060d1144a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -83,6 +83,10 @@ ensure that bugs won't resurface in the future. `perl-SGMLSpm perl-TermReadKey perl-Text-WrapI18N perl-Module-Build perl-Test-Simple perl-Unicode-LineBreak perl-HTML-TokeParser-Simple docbook-dtds` +- On openSUSE Leap 15.2: + `perl-SGML-Parser-OpenSP perl-TermReadKey perl-Text-WrapI18N perl-Module-Build + perl-Test-Simple perl-Unicode-LineBreak perl-HTML-TokeParser-Simple + docbook-dtds` When writing or improving a test, you probably want to select the test to run, and make it verbose. The tests are executed from the "_t_" @@ -292,10 +296,11 @@ Here is the checklist of things to remember when releasing po4a: - Bump the version number in lib/Locale/Po4a/TransTractor.pm and regenerate the building script: `perl Build.PL` - Check that `./Build test` reports no error. +- Generate tanslation statistics: `./Build postats` - Check NEWS - It documents all recent changes found in git logs. - It contains a release name and a release date. - - It contains the translation statistics. + - It contains the translation statistics. Paste here the output from the command above. - Build the archive: `./Build dist` - Interrupt it if the MANIFEST is out of sync, and then fix it by adding the missing files to MANIFEST (or MANIFEST.SKIP if they From fc01ceb071be5db25ce3e15fcfdad8a6db9234fc Mon Sep 17 00:00:00 2001 From: Pau Garcia Quiles Date: Mon, 7 Dec 2020 00:25:20 +0100 Subject: [PATCH 2/3] Release 0.62 --- META.json | 10 +++++----- NEWS | 18 +++++++++++++++++- lib/Locale/Po4a/TransTractor.pm | 2 +- 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/META.json b/META.json index b9ad4373b..44ca20131 100644 --- a/META.json +++ b/META.json @@ -13,7 +13,7 @@ ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : 2 + "version" : "2" }, "name" : "po4a", "prereqs" : { @@ -108,7 +108,7 @@ }, "Locale::Po4a::TransTractor" : { "file" : "lib/Locale/Po4a/TransTractor.pm", - "version" : "0.61" + "version" : "0.62" }, "Locale::Po4a::Wml" : { "file" : "lib/Locale/Po4a/Wml.pm" @@ -126,9 +126,9 @@ "release_status" : "stable", "resources" : { "license" : [ - "http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt" + "http://opensource.org/licenses/gpl-license.php" ] }, - "version" : "0.61", - "x_serialization_backend" : "JSON::PP version 4.02" + "version" : "0.62", + "x_serialization_backend" : "JSON::PP version 2.27400_02" } diff --git a/NEWS b/NEWS index d3b78f0e3..aef424fea 100644 --- a/NEWS +++ b/NEWS @@ -7,7 +7,7 @@ user-visible changes while the day to day changes are in the git logs. __ __/ _ \ / /_|___ \ \ \ / / | | | '_ \ __) | \ V /| |_| | (_) / __/ - \_/ \___(_)___/_____| (not released) + \_/ \___(_)___/_____| po4a tool: * Improve po_paths on misconfigurations, improve doc and error messages. @@ -41,7 +41,23 @@ Translations: * Updated: Ukrainian, thanks Yuri Chornoivan (українська). Status of the binary translation: + 13 languages = 100%: de, es, fr, hr, hu, it, nb, nl, pt, pt_BR, + sr_Cyrl, uk, zh_CN. + 1 language >= 90%: ru (91%). + 11 languages >= 50%: cs (61%), da (62%), eo (59%), et (66%), eu (60%), + id (61%), ja (66%), pl (66%), sl (59%), sv (64%), + vi (66%). + 1 language >= 33%: ca (48%). + 5 starting languages: af (7%), ar (14%), kn (7%), ko (19%), zh_HK (3%). + Status of the documentation translation: + 4 languages = 100%: de, fr, pt_BR, uk. + 4 languages >= 95%: nl (99%), pt (99%), sr_Cyrl (99%), zh_CHS (99%). + 1 language >= 80%: es (80%). + 2 languages >= 70%: ja (73%), pl (73%). + 2 languages >= 50%: it (64%), ru (61%). + 1 language >= 33%: ca (47%). + 4 starting languages: eo (2%), hr (0%), hu (0%), nb (1%). ======================================================================= ___ __ _ diff --git a/lib/Locale/Po4a/TransTractor.pm b/lib/Locale/Po4a/TransTractor.pm index 068247573..ec2317018 100644 --- a/lib/Locale/Po4a/TransTractor.pm +++ b/lib/Locale/Po4a/TransTractor.pm @@ -11,7 +11,7 @@ use warnings; use subs qw(makespace); use vars qw($VERSION @ISA @EXPORT); -$VERSION = "0.62-alpha"; +$VERSION = "0.62"; @ISA = qw(DynaLoader); @EXPORT = qw(new process translate read write readpo writepo From 6c9fffdaa5be0b771523eff7dada06fc40493d2d Mon Sep 17 00:00:00 2001 From: Pau Garcia Quiles Date: Mon, 7 Dec 2020 16:19:17 +0100 Subject: [PATCH 3/3] Fix typo, thanks to @jnavila --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 060d1144a..2ecb91a21 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -296,7 +296,7 @@ Here is the checklist of things to remember when releasing po4a: - Bump the version number in lib/Locale/Po4a/TransTractor.pm and regenerate the building script: `perl Build.PL` - Check that `./Build test` reports no error. -- Generate tanslation statistics: `./Build postats` +- Generate translation statistics: `./Build postats` - Check NEWS - It documents all recent changes found in git logs. - It contains a release name and a release date.