Permalink
Browse files

Small fixes in Google and Seen plugins

  • Loading branch information...
1 parent dbcde36 commit 8755f8e42d26d0305e9057f333eabcde8da04cf4 @tadzik committed May 30, 2010
Showing with 5 additions and 5 deletions.
  1. +2 −2 a8bot/Plugin/Google.pm
  2. +3 −3 a8bot/Plugin/Seen.pm
View
@@ -24,9 +24,9 @@ sub pubmsg {
my $pres = $res->{responseData}->{results}->[0];
if ($pres) {
decode_entities($pres->{titleNoFormatting});
- return encode('utf8', "$data{nick}: $pres->{titleNoFormatting} -- $pres->{unescapedUrl}");
+ return encode('utf8', "$data{nick}: [ $pres->{titleNoFormatting} ] -- $pres->{unescapedUrl}");
} else {
- return "$data{nick}: nic nie znaleziono";
+ return "$data{nick}: nic nie znaleziono.";
}
}
View
@@ -35,10 +35,10 @@ sub check {
my $who = $data{args}->[0];
my $res = $self->get_entry($who);
if (defined $res) {
- return "$data{nick}: $who was last seen " .
- "on $res->[0] -- \"$res->[1]\"";
+ return "$data{nick}: $who był ostatnio widziany " .
+ "$res->[0] -- \"$res->[1]\".";
} else {
- return "$data{nick}: I have not seen $who";
+ return "$data{nick}: Nie miałem przyjemności spotkać $who.";
}
}

0 comments on commit 8755f8e

Please sign in to comment.