mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-25 05:19:29 +01:00
applets/wiktionary: remove pluralization of parts of speech
This commit is contained in:
parent
ff31d71024
commit
c1847efc35
5
applets/wiktionary.pl
vendored
5
applets/wiktionary.pl
vendored
@ -228,12 +228,9 @@ for (my $i = $start; $i < $num; $i++) {
|
||||
if (not @results) {
|
||||
if (defined $part_of_speech) {
|
||||
$entries_text = $part_of_speech;
|
||||
$entries_text =~ s/(?<![sy])$/s/;
|
||||
}
|
||||
|
||||
$entries_text =~ s/y$/ies/;
|
||||
|
||||
print "There are no $entries_text for `$term`.\n";
|
||||
print "There is no $entries_text available for `$term`.\n";
|
||||
|
||||
my @pos = sort keys %parts_of_speech;
|
||||
|
||||
|
@ -25,7 +25,7 @@ use PBot::Imports;
|
||||
# These are set by the /misc/update_version script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 4765,
|
||||
BUILD_REVISION => 4766,
|
||||
BUILD_DATE => "2024-06-29",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user