From 955eb32a13c96261f4b8fff88e3762da4cb6186b Mon Sep 17 00:00:00 2001 From: Enno Date: Sun, 19 May 2024 07:04:18 +0200 Subject: [PATCH 1/3] add some localizations rudimentary support en, de, pt, es, fr, it, ... for the time being, hopefully without any clashes --- titlecase | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/titlecase b/titlecase index dbb3699..b43534c 100755 --- a/titlecase +++ b/titlecase @@ -1,8 +1,20 @@ #!/usr/bin/perl use 5.008001; use strict; use warnings; use utf8; -our @SMALL_WORD +# Added localizations to https://github.com/ap/titlecase +our @SMALL_WORD_EN = qw/ (? Date: Sun, 19 May 2024 19:13:45 +0200 Subject: [PATCH 2/3] remove nonsense checks --- titlecase | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/titlecase b/titlecase index b43534c..ecfb16f 100755 --- a/titlecase +++ b/titlecase @@ -5,15 +5,15 @@ use 5.008001; use strict; use warnings; use utf8; our @SMALL_WORD_EN = qw/ (? Date: Sun, 19 May 2024 22:43:33 +0200 Subject: [PATCH 3/3] complete and group articles and preopositions --- titlecase | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/titlecase b/titlecase index ecfb16f..4631a3a 100755 --- a/titlecase +++ b/titlecase @@ -5,15 +5,15 @@ use 5.008001; use strict; use warnings; use utf8; our @SMALL_WORD_EN = qw/ (?