From 491933160590cf2f107b5cce230c4aad0dd8c40e Mon Sep 17 00:00:00 2001 From: zenobit Date: Tue, 28 Feb 2023 08:39:55 +0100 Subject: [PATCH 1/2] =?UTF-8?q?manpages:=20Get=20rid=20of=20Brazilian=20Po?= =?UTF-8?q?rtuguese=20(Portugu=C3=AAs=20Brasileiro)=20everywhere?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- srcpkgs/manpages-all/manpages-all | 1 + srcpkgs/{manpages-pt-br => manpages-all}/template | 6 +++--- srcpkgs/{manpages-pt-br => manpages-all}/update | 0 srcpkgs/manpages-cs | 2 +- srcpkgs/manpages-da | 2 +- srcpkgs/manpages-de | 2 +- srcpkgs/manpages-el | 2 +- srcpkgs/manpages-es | 2 +- srcpkgs/manpages-fi | 2 +- srcpkgs/manpages-fr | 2 +- srcpkgs/manpages-hu | 2 +- srcpkgs/manpages-id | 2 +- srcpkgs/manpages-it | 2 +- srcpkgs/manpages-mk | 2 +- srcpkgs/manpages-nb | 2 +- srcpkgs/manpages-nl | 2 +- srcpkgs/manpages-pl | 2 +- srcpkgs/manpages-ro | 2 +- srcpkgs/manpages-sr | 2 +- srcpkgs/manpages-sv | 2 +- srcpkgs/manpages-uk | 2 +- srcpkgs/manpages-vi | 2 +- 22 files changed, 23 insertions(+), 22 deletions(-) create mode 120000 srcpkgs/manpages-all/manpages-all rename srcpkgs/{manpages-pt-br => manpages-all}/template (95%) rename srcpkgs/{manpages-pt-br => manpages-all}/update (100%) diff --git a/srcpkgs/manpages-all/manpages-all b/srcpkgs/manpages-all/manpages-all new file mode 120000 index 000000000000..5e80f3bea1be --- /dev/null +++ b/srcpkgs/manpages-all/manpages-all @@ -0,0 +1 @@ +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-pt-br/template b/srcpkgs/manpages-all/template similarity index 95% rename from srcpkgs/manpages-pt-br/template rename to srcpkgs/manpages-all/template index 98ba79b4e7c8..70f0c8509da0 100644 --- a/srcpkgs/manpages-pt-br/template +++ b/srcpkgs/manpages-all/template @@ -1,5 +1,5 @@ -# Template file for 'manpages-pt-br' -pkgname=manpages-pt-br +# Template file for 'manpages-all' +pkgname=manpages-all version=4.14.0 revision=1 _commit=2a0461feb98f408bac9454b87325aacb1dd014f2 @@ -8,7 +8,7 @@ build_style=gnu-configure make_build_args="comp_extension= compressor=cat" hostmakedepends="po4a" _desc="Translations of manpages" -short_desc="${_desc} - Brazilian Portuguese (Português Brasileiro)" +short_desc="${_desc} - translation" maintainer="Érico Nogueira " license="GPL-3.0-or-later" homepage="https://manpages-l10n-team.pages.debian.net/manpages-l10n/" diff --git a/srcpkgs/manpages-pt-br/update b/srcpkgs/manpages-all/update similarity index 100% rename from srcpkgs/manpages-pt-br/update rename to srcpkgs/manpages-all/update diff --git a/srcpkgs/manpages-cs b/srcpkgs/manpages-cs index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-cs +++ b/srcpkgs/manpages-cs @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-da b/srcpkgs/manpages-da index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-da +++ b/srcpkgs/manpages-da @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-de b/srcpkgs/manpages-de index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-de +++ b/srcpkgs/manpages-de @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-el b/srcpkgs/manpages-el index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-el +++ b/srcpkgs/manpages-el @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-es b/srcpkgs/manpages-es index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-es +++ b/srcpkgs/manpages-es @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-fi b/srcpkgs/manpages-fi index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-fi +++ b/srcpkgs/manpages-fi @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-fr b/srcpkgs/manpages-fr index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-fr +++ b/srcpkgs/manpages-fr @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-hu b/srcpkgs/manpages-hu index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-hu +++ b/srcpkgs/manpages-hu @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-id b/srcpkgs/manpages-id index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-id +++ b/srcpkgs/manpages-id @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-it b/srcpkgs/manpages-it index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-it +++ b/srcpkgs/manpages-it @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-mk b/srcpkgs/manpages-mk index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-mk +++ b/srcpkgs/manpages-mk @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-nb b/srcpkgs/manpages-nb index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-nb +++ b/srcpkgs/manpages-nb @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-nl b/srcpkgs/manpages-nl index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-nl +++ b/srcpkgs/manpages-nl @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-pl b/srcpkgs/manpages-pl index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-pl +++ b/srcpkgs/manpages-pl @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-ro b/srcpkgs/manpages-ro index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-ro +++ b/srcpkgs/manpages-ro @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-sr b/srcpkgs/manpages-sr index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-sr +++ b/srcpkgs/manpages-sr @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-sv b/srcpkgs/manpages-sv index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-sv +++ b/srcpkgs/manpages-sv @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-uk b/srcpkgs/manpages-uk index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-uk +++ b/srcpkgs/manpages-uk @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file diff --git a/srcpkgs/manpages-vi b/srcpkgs/manpages-vi index 3cf72f5bb89a..5e80f3bea1be 120000 --- a/srcpkgs/manpages-vi +++ b/srcpkgs/manpages-vi @@ -1 +1 @@ -manpages-pt-br \ No newline at end of file +manpages-all \ No newline at end of file From 75eef418587f52485c317e3f5dcc156dc86f533f Mon Sep 17 00:00:00 2001 From: zenobit Date: Tue, 28 Feb 2023 09:59:34 +0100 Subject: [PATCH 2/2] manpages: Add actuall Brazilian Portugese translation --- srcpkgs/manpages-all/template | 7 +++++++ srcpkgs/manpages-pt_BR | 1 + 2 files changed, 8 insertions(+) create mode 120000 srcpkgs/manpages-pt_BR diff --git a/srcpkgs/manpages-all/template b/srcpkgs/manpages-all/template index 70f0c8509da0..4dfcec43ca4d 100644 --- a/srcpkgs/manpages-all/template +++ b/srcpkgs/manpages-all/template @@ -151,3 +151,10 @@ manpages-cs_package() { vmove usr/share/man/cs } } + +manpages-pt_BR_package() { + short_desc+="${_desc} - Brazilian Portuguese (Português Brasileiro)" + pkg_install() { + vmove usr/share/man/pt-BR + } +} diff --git a/srcpkgs/manpages-pt_BR b/srcpkgs/manpages-pt_BR new file mode 120000 index 000000000000..5e80f3bea1be --- /dev/null +++ b/srcpkgs/manpages-pt_BR @@ -0,0 +1 @@ +manpages-all \ No newline at end of file