From dbf47b7ef63d0e3bad7fa7112fd4ce28e52b500c Mon Sep 17 00:00:00 2001 From: Dylan Lloyd Date: Tue, 6 Nov 2012 17:48:08 -0500 Subject: [PATCH] various typo/category fixes --- lib/DDG/Goodie/Frequency.pm | 2 +- lib/DDG/Goodie/SigFigs.pm | 2 +- lib/DDG/Goodie/UN.pm | 2 +- lib/DDG/Goodie/Unicode.pm | 4 ++-- lib/DDG/Goodie/Unidecode.pm | 7 ++++--- lib/DDG/Goodie/ZappBrannigan.pm | 2 +- 6 files changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/DDG/Goodie/Frequency.pm b/lib/DDG/Goodie/Frequency.pm index c04164f83..544b8e2a5 100644 --- a/lib/DDG/Goodie/Frequency.pm +++ b/lib/DDG/Goodie/Frequency.pm @@ -12,7 +12,7 @@ name 'Frequency'; code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/Frequency.pm'; category 'calculations'; topics 'geek'; -attribution github => [ 'http://github.com/unlisted', 'Morgan'], +attribution github => [ 'http://github.com/unlisted', 'Morgan' ]; handle remainder => sub { if ($_ =~ /^of ([a-z]|(?:all ?|)(?:letters|characters|chars|)) in (.+)/i) diff --git a/lib/DDG/Goodie/SigFigs.pm b/lib/DDG/Goodie/SigFigs.pm index 0f06c0512..91fb4c697 100644 --- a/lib/DDG/Goodie/SigFigs.pm +++ b/lib/DDG/Goodie/SigFigs.pm @@ -3,7 +3,7 @@ package DDG::Goodie::SigFigs; use DDG::Goodie; primary_example_queries 'sigfigs 01.1234000'; -secondary_example_queries 'significant figures 000123000' +secondary_example_queries 'significant figures 000123000'; description 'return the count of significant figures in a number'; name 'Significant Figures'; code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/SigFigs.pm'; diff --git a/lib/DDG/Goodie/UN.pm b/lib/DDG/Goodie/UN.pm index 8a1faf3c8..76c687851 100644 --- a/lib/DDG/Goodie/UN.pm +++ b/lib/DDG/Goodie/UN.pm @@ -11,7 +11,7 @@ description 'gives a description for a given UN number'; name 'UN Number'; code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/UN.pm'; category 'facts'; -topics 'everyday'; +topics 'everyday_goodies'; use constant WPHREF => "http://en.wikipedia.org/wiki/List_of_UN_numbers_%04d_to_%04d"; diff --git a/lib/DDG/Goodie/Unicode.pm b/lib/DDG/Goodie/Unicode.pm index a9a480863..b3eefcee2 100644 --- a/lib/DDG/Goodie/Unicode.pm +++ b/lib/DDG/Goodie/Unicode.pm @@ -9,9 +9,9 @@ attribution github => ['https://github.com/cosimo', 'cosimo']; primary_example_queries 'U+590c'; secondary_example_queries 'unicode white smiling face'; description 'get information about a unicode character'; -code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/Unicode.pm' +code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/Unicode.pm'; name 'Unicode'; -category 'computing'; +category 'computing_info'; topics 'programming'; diff --git a/lib/DDG/Goodie/Unidecode.pm b/lib/DDG/Goodie/Unidecode.pm index 0522d3265..350c176da 100644 --- a/lib/DDG/Goodie/Unidecode.pm +++ b/lib/DDG/Goodie/Unidecode.pm @@ -3,6 +3,7 @@ package DDG::Goodie::Unidecode; use DDG::Goodie; use Text::Unidecode; +use utf8; triggers startend => "unidecode"; @@ -10,11 +11,11 @@ zci is_cached => 1; zci answer_type => "convert_to_ascii"; attribution github => ['https://github.com/moritz', 'moritz']; -primary_example_queries => 'unidecode møæp'; -secondary_example_queries => "unidecode å亰"; +primary_example_queries 'unidecode møæp'; +secondary_example_queries "unidecode å亰"; description 'decode special non-latin characters'; code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/Unidecode.pm'; -category 'computing'; +category 'computing_tools'; topics 'programming'; handle remainder => sub { diff --git a/lib/DDG/Goodie/ZappBrannigan.pm b/lib/DDG/Goodie/ZappBrannigan.pm index f7e06fd94..503d818cc 100644 --- a/lib/DDG/Goodie/ZappBrannigan.pm +++ b/lib/DDG/Goodie/ZappBrannigan.pm @@ -12,7 +12,7 @@ attribution github => ['http://github.com/nospampleasemam', 'nospampleasemam'], primary_example_queries 'zapp brannigan quote'; name 'Zapp Brannigan'; description 'retrieve a quote from the famous Zapp Brannigan'; -code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/ZappBrannigan.pm' +code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/ZappBrannigan.pm'; category 'entertainment'; topics 'entertainment';