From: Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 Date: Tue, 6 Apr 2010 12:29:15 +0000 (+0200) Subject: ameliorate markup semantics and spelling X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e95a25e2d584e2990defab823b1432645559a81f;p=gitmo%2Fmoose-website.git ameliorate markup semantics and spelling --- diff --git a/data/pages.yml b/data/pages.yml index 109394e..e370f15 100644 --- a/data/pages.yml +++ b/data/pages.yml @@ -63,7 +63,7 @@ url : http://www.current.com/ - name : "The Genome Center at Washington University" url : http://genome.wustl.edu/ - - name : "Bioinformatics Group at University College London (UCL)" + - name : "Bioinformatics Group at UCL" url : http://bioinf.cs.ucl.ac.uk/ - name : download template : download.tt @@ -72,17 +72,17 @@ CPAN: - name : Moose url : http://search.cpan.org/dist/Moose/ - - name : Class::MOP + - name : Class::MOP url : http://search.cpan.org/dist/Class-MOP/ - - name : Task::Moose + - name : Task::Moose url : http://search.cpan.org/dist/Task-Moose/ - - name : Task::Kensho + - name : Task::Kensho url : http://search.cpan.org/dist/Task-Kensho/ - - name : MooseX::* + - name : MooseX::* url : http://search.cpan.org/search?query=MooseX&mode=dist git: - public : git://git.moose.perl.org/Moose.git - commiter : gitmo@git.moose.perl.org:Moose.git + public : git://git.moose.perl.org/Moose.git + committer: gitmo@git.moose.perl.org:Moose.git web_view : http://git.shadowcat.co.uk/gitweb/gitweb.cgi github : http://github.com/nothingmuch/moose - name : support @@ -90,8 +90,8 @@ outfile : support.html data : irc : - - '#moose@irc.perl.org' - - '#moose-dev@irc.perl.org' + - '#moose@irc.perl.org' + - '#moose-dev@irc.perl.org' mailing_list : address : moose@perl.org archive : http://news.gmane.org/gmane.comp.lang.perl.moose @@ -111,7 +111,7 @@ en : Moose 1.00 is Released - url : http://www.modernperlbooks.com/mt/2010/03/ill-get-the-mop.html title : - en : chromatic talks about Class::MOP in relation to his Modern Perl book + en : chromatic talks about Class::MOP in relation to his Modern Perl book - url : http://chris.prather.org/been-there-done-that.md.html title : en : Chris Prather discusses Moose and the Modern Perl movement @@ -122,16 +122,16 @@ articles : - url : http://chris.prather.org/a-little-bit-of-history.md.html title : - en : "Chris Prather compares MooseX::Declare to Simula 67" + en : "Chris Prather compares MooseX::Declare to Simula 67" - url : http://stevan-little.blogspot.com/2009/06/why-makeimmutable-is-recommended-for_13.html title : en : "Stevan Little explains why you should make your Moose classes immutable" - url : http://perldition.org/articles/Parameterized%20Roles%20with%20MooseX::Declare.pod title : - en : Florian Ragwitz uses parameterized roles with MooseX::Declare + en : Florian Ragwitz uses parameterized roles with MooseX::Declare - url : http://www.dmclaughlin.com/2009/05/15/chained-accessors-in-moose/ title : - en : "David McLaughlin experiments with extending Moose for MooseX::ChainedAccessors" + en : "David McLaughlin experiments with extending Moose for MooseX::ChainedAccessors" - url : http://blog.sartak.org/2009/05/parameterized-roles.html title : en : "Shawn M Moore explains parameterized roles" @@ -140,7 +140,7 @@ en : "John Napiorkowski lists ten great things about Moose" - url : http://our.coldhardcode.com/jshirley/2009/05/another-reason-i-love-perl.html title : - en : "Jay Shirley dotes on MooseX::MultiMethods" + en : "Jay Shirley dotes on MooseX::MultiMethods" - url : http://www.modernperlbooks.com/mt/2009/05/perl-roles-versus-duck-typing.html title : en : "chromatic contrasts roles and duck-typing" @@ -152,7 +152,7 @@ en : "Sam Crawley summarizes his experience with roles" - url : http://blog.sartak.org/2009/05/perl-critic-dynamic-moose.html title : - en : "Shawn M Moore discusses Perl::Critic for Moose and linting with the MOP" + en : "Shawn M Moore discusses Perl::Critic for Moose and linting with the MOP" - url : http://babyl.dyndns.org/techblog/2009/05/moose-attribute-meta-meddling.html title : en : "Yanick Champoux meddles with extending Moose attributes" @@ -176,7 +176,7 @@ en : "Ovid praises roles and their happy acceptance at the BBC" - url : http://perldition.org/articles/Implementing%20Typed%20Lexical%20Variables.pod title : - en : "Florian Ragwitz walks through the marriage of MooseX::Types with Lexical::Types" + en : "Florian Ragwitz walks through the marriage of MooseX::Types with Lexical::Types" - url : http://use.perl.org/~Ovid/journal/38862 title : en : "Ovid eschews inheritance in favor of roles" @@ -205,7 +205,7 @@ articles : - url : http://broadcast.oreilly.com/2008/11/beginners-introduction-to-obje.html title : - en : "chomatic suggests Moose and Mouse in his Beginners Introduction to Object-Oriented Programming with Perl article" + en : "chromatic suggests Moose and Mouse in his Beginners Introduction to Object-Oriented Programming with Perl article" - url : http://hanekomu.at/blog/articles/20080924-1137-dissecting_the_moose.html title : en : "Marcel (hanekomu) Grünauer explores Moose in a series of articles" @@ -227,20 +227,20 @@ title : en : "Larry mentioned Moose in 2007's State of the Onion speech" - title : - en : "Matt Trout (of DBIx::Class and Catalyst fame) wrote a nice series of articles on designing Devel::REPL using Moose." + en : "Matt Trout (of DBIx::Class and Catalyst fame) wrote a nice series of articles on designing Devel::REPL using Moose." articles : - url : http://chainsawblues.vox.com/library/post/a-perl-read-excute-print-loop-repl.html title : - en : "Writing a perl read-eval-print loop (REPL) - part 1" + en : "Writing a Perl read-eval-print loop (REPL) - part 1" - url : http://chainsawblues.vox.com/library/post/writing-a-perl-read-eval-print-loop-repl---part-2.html title : - en : "Writing a perl REPL part 2 - a history plugin" + en : "Writing a Perl REPL part 2 - a history plug-in" - url : http://chainsawblues.vox.com/library/post/writing-a-perl-repl-part-3---lexical-environments.html title : - en : "Writing a perl REPL part 3 - lexical environments" + en : "Writing a Perl REPL part 3 - lexical environments" - url : http://chainsawblues.vox.com/library/post/develrepl-part-4---script-options-rc-files-profiles-and-packaging.html title : - en : "Devel::REPL part 4 - script options, rc files and profiles" + en : "Devel::REPL part 4 - script options, rc files and profiles" - title : en : "Randal Schwartz wrote a series of articles on Moose for Linux Magazine" articles : @@ -253,7 +253,7 @@ - year : 2006 articles : - title : - en : Class::MOP Review (OnLAMP) + en : Class::MOP Review (OnLAMP) url : http://www.oreillynet.com/onlamp/blog/2006/06/cpan_module_review_classmop.html - name : presentations template : presentations.tt @@ -262,11 +262,11 @@ - year : 2010 presentations : - title : - en : Stevan Little's talk at OPW + en : Stevan Little's talk at OPW url : http://iinteractive.com/moose/hosted-presentations/2010/stevan_OPW/index.html video : http://www.presentingperl.org/opw2010/untitled-no-12/ - title : - en : Drew Stephens gives a lighting talk on Moose at SHDH 36 + en : Drew Stephens gives a lighting talk on Moose at SHDH 36 url : http://www.slideshare.net/dinomite/learning-moose-lightning video : http://www.youtube.com/watch?v=wGGDPATfsfo&NR=1 - year : 2009 @@ -282,37 +282,37 @@ en : "Stevan Little's talk at Nashville E-Lamp" - url : http://yapc10.org/yn2009/talk/2047 title : - en : "Dave Rolsky's Introduction to Moose master class at YAPC::NA 2009 (delivered by Shawn Moore and Jonathan Rockway)" + en : "Dave Rolsky's Introduction to Moose master class at YAPC::NA 2009 (delivered by Shawn Moore and Jonathan Rockway)" - url : http://yapc10.org/yn2009/talk/1967 title : - en : "Devin Austin's Intro to Moose at YAPC::NA 2009" + en : "Devin Austin's Intro to Moose at YAPC::NA 2009" - url : http://sartak.org/talks/yapc-na-2009/extending-moose/extending-moose.pdf title : - en : "Shawn Moore's Extending Moose for Applications at YAPC::NA 2009" + en : "Shawn Moore's Extending Moose for Applications at YAPC::NA 2009" - url : http://iinteractive.com/moose/hosted-presentations/2009/YAPC-NA/moose.xul title : - en : "Stevan Little's To Moose or Not To Moose at YAPC::NA 2009" + en : "Stevan Little's To Moose or Not To Moose at YAPC::NA 2009" - url : http://yapc10.org/yn2009/talk/1984 title : - en : "Hans Dieter Pearcey's Code Reuse with Moose at YAPC::NA 2009" + en : "Hans Dieter Pearcey's Code Reuse with Moose at YAPC::NA 2009" - url : http://www.onemogin.com/blog/stuff/talks/moose/MooseForManagers.pdf title : - en : "Cory Watson's Moose for Managers at YAPC::NA 2009" + en : "Cory Watson's Moose for Managers at YAPC::NA 2009" - url : http://yapceurope2009.org/ye2009/talk/2096 title : - en : "Yuval Kogman's Meta Moose at YAPC::EU 2009" + en : "Yuval Kogman's Meta Moose at YAPC::EU 2009" - url : http://yapceurope2009.org/ye2009/talk/2273 title : - en : "Yuval Kogman's Moose Workshop at YAPC::EU 2009" + en : "Yuval Kogman's Moose Workshop at YAPC::EU 2009" - url : http://conferences.yapcasia.org/ya2009/talk/2192 title : - en : "Shawn Moore's Moose master class at YAPC::Asia 2009" + en : "Shawn Moore's Moose master class at YAPC::Asia 2009" - url : http://conferences.yapceurope.org/ipw2009/talk/2371 title : en : "Mike Whitaker's Introduction to Moose at the Italian Perl Workshop" - url : http://lumberjaph.net/~franck/stuff/Introduction_a_Moose.pdf title : - en : "franck cuny's Introduction to Moose at the France OSDC" + en : 'franck cuny''s Introduction to Moose at the France OSDC' - url : http://www.perlworkshop.no/npw2009/talk/1901 title : en : "Yuval Kogman's Why Moose at the Nordic Perl Workshop" @@ -338,17 +338,17 @@ en : "Stevan Little's Manager's Guide to Moose at Pittsburgh Perl Workshop" - url : http://iinteractive.com/moose/hosted-presentations/2008/stevan-OSCON/moose.xul title : - en : "Stevan Little's Moose talk at OSCON" + en : 'Stevan Little''s Moose talk at OSCON' - url : http://iinteractive.com/moose/hosted-presentations/2008/nothingmuch-NPW/practical_moose.html title : en : "Yuval Kogman's Practical Moose at Nordic Perl Workshop" - title : - en : "Yuval Kogman's Practical Moose at YAPC::Asia" + en : "Yuval Kogman's Practical Moose at YAPC::Asia" url : http://iinteractive.com/moose/hosted-presentations/2008/nothingmuch-YAPC-Asia/practical_moose.html video : http://conferences.yapcasia.org/ya2008/talk/1017 - url : http://iinteractive.com/moose/hosted-presentations/2008/stevan-YAPC-NA.pdf title : - en : "Stevan Little's Moose talk at YAPC::NA" + en : "Stevan Little's Moose talk at YAPC::NA" - url : http://iinteractive.com/moose/hosted-presentations/2008/nothingmuch-PTPW/practical_moose.html title : en : "Yuval Kogman's Practical Moose at Portuguese Perl Workshop" @@ -356,20 +356,20 @@ presentations : - url : http://iinteractive.com/moose/hosted-presentations/2007/stevan-PPW/roles/roles.xul title : - en : "Stevan Little's Horizontal Reuse with Moose::Role at Pittsburgh Perl Workshop" + en : "Stevan Little's Horizontal Reuse with Moose::Role at Pittsburgh Perl Workshop" - url : http://iinteractive.com/moose/hosted-presentations/2007/stevan-PPW/moose/start.html title : en : "Stevan Little's Moose talk at Pittsburgh Perl Workshop" - url : http://iinteractive.com/moose/hosted-presentations/2007/nothingmuch-YAPC-EU/slides/start.html title : - en : "Yuval Kogman's Object Meta Programming at YAPC::EU" + en : "Yuval Kogman's Object Meta Programming at YAPC::EU" - year : 2006 presentations : - title : - en : Stevan Little's Moose talk at YAPC::NA + en : Stevan Little's Moose talk at YAPC::NA url : http://iinteractive.com/moose/hosted-presentations/2006/stevan_YAPC/start.html - title : - en : Sam Vilain's Moose talk at OSDC Melbourne + en : Sam Vilain's Moose talk at OSDC Melbourne url : http://utsl.gen.nz/talks/moose/start.htm - year : Perl Mongers Groups presentations : @@ -381,7 +381,7 @@ en : "Hans Dieter Pearcey's Meta-Moose at PDX.pm" - url : http://www.bofh.org.uk/2009/05/13/london-pm-presentation title : - en : "Piers Cawley's MooseX::Declare talk at London.pm (video)" + en : "Piers Cawley's MooseX::Declare talk at London.pm (video)" - url : http://www.slideshare.net/dtreder/moose-527243 title : en : "Doug Treder's Moose talk at Seattle Perl Users Group" diff --git a/lib/Moose/Website/I18N/po/en.po b/lib/Moose/Website/I18N/po/en.po index 5a67d58..b482fc8 100644 --- a/lib/Moose/Website/I18N/po/en.po +++ b/lib/Moose/Website/I18N/po/en.po @@ -37,14 +37,14 @@ msgstr "Presentations" msgid "home body" msgstr "" -"

Moose is a postmodern object system for Perl 5 that takes the tedium out of writing object-oriented Perl. It borrows all the best features from Perl 6, CLOS (LISP), Smalltalk, Java, BETA, OCaml, Ruby and more, while still keeping true to its Perl 5 roots.

" +"

Moose is a postmodern object system for Perl 5 that takes the tedium out of writing object-oriented Perl. It borrows all the best features from Perl 6, CLOS (Lisp), Smalltalk, Java, BETA, OCaml, Ruby and more, while still keeping true to its Perl 5 roots.

" "

Moose is 100% production ready and in heavy use in a number of systems and growing every day. Try it today!

" # about msgid "about body" msgstr "" -"

Moose is an extension of the Perl 5 object system. The main goal of Moose is to make Perl 5 Object Oriented programming easier, more consistent and less tedious. With Moose you can to think more about what you want to do and less about the mechanics of OOP.

" +"

Moose is an extension of the Perl 5 object system. The main goal of Moose is to make Perl 5 Object Oriented programming easier, more consistent and less tedious. With Moose you can to think more about what you want to do and less about the mechanics of OOP.

" "

Click here to see a sample of what Moose looks like.

" msgid "about new to moose header" @@ -52,8 +52,8 @@ msgstr "New to Moose?" msgid "about new to moose body" msgstr "" -"

If you're new to Moose, the best place to start is the Moose::Manual docs, followed by the Moose::Cookbook. The intro will show you what Moose is, and how it makes Perl 5 OO better.

" -"

The cookbook recipes on Moose basics will get you up to speed with many of Moose's features quickly. Once you have an idea of what Moose can do, you can use the API documentation to get more detail on features which interest you.

" +"

If you're new to Moose, the best place to start is the Moose::Manual docs, followed by the Moose::Cookbook. The intro will show you what Moose is, and how it makes Perl 5 OO better.

" +"

The cookbook recipes on Moose basics will get you up to speed with many of Moose's features quickly. Once you have an idea of what Moose can do, you can use the API documentation to get more detail on features which interest you.

" msgid "about company list header" msgstr "Companies that use Moose" @@ -64,21 +64,21 @@ msgstr "

Moose is used by a large number of companies around the world, here a # download msgid "download body" -msgstr "

Moose is available for download from the CPAN, Perl's world-wide mirrored module distribution platform. Below is a number of links to Moose and it's related modules. Here is a list of other CPAN modules that use Moose.

" +msgstr "

Moose is available for download from the CPAN, Perl's world-wide mirrored module distribution platform. Below is a number of links to Moose and it's related modules. Here is a list of other CPAN modules that use Moose.

" msgid "download info Moose" msgstr "The core Moose distribution" -msgid "download info Class::MOP" +msgid "download info Class::MOP" msgstr "The underlying meta object protocol upon which Moose is built" -msgid "download info Task::Moose" +msgid "download info Task::Moose" msgstr "A collection of excellent Moose extensions" -msgid "download info Task::Kensho" +msgid "download info Task::Kensho" msgstr "A collection of excellent Modern Perl modules" -msgid "download info MooseX::*" +msgid "download info MooseX::*" msgstr "The Moose extensions" msgid "download git header" @@ -86,31 +86,31 @@ msgstr "Git" msgid "download git body" msgstr "" -"

Moose is developed using the Git source control system. Moose is a very open project and we are always willing to take contributions from others. The Moose::Manual::Contributing outlines our specific contribution policies and tells you how get started with our workflow.

" -"

Here are some interesting video visualizations of the activity in the Moose and Class::MOP git repositories on the occasion of their 1.0 release. These visualizations were created with Gource.

" +"

Moose is developed using the Git source control system. Moose is a very open project and we are always willing to take contributions from others. The Moose::Manual::Contributing outlines our specific contribution policies and tells you how get started with our work-flow.

" +"

Here are some interesting video visualizations of the activity in the Moose and Class::MOP git repositories on the occasion of their 1.0 release. These visualizations were created with Gource.

" msgid "download git public" -msgstr "Git Public Repo URL" +msgstr "Git Public Repository URL" -msgid "download git commiter" -msgstr "Git URL for Commiters" +msgid "download git committer" +msgstr "Git URL for Committers" msgid "download git web view" msgstr "Git Web View" msgid "download github mirror" -msgstr "Github Mirror" +msgstr "GitHub Mirror" # support msgid "support body" -msgstr "

Moose is a community driven project and there are a number of places in which you can find help and support. Below are listed the official IRC channels and mailing lists, but help can also be found on community based help sites like PerlMonks and Stack Overflow. You can also refer to the official Moose::Manual::Support documentation for more details.

" +msgstr "

Moose is a community driven project and there are a number of places in which you can find help and support. Below are listed the official IRC channels and mailing lists, but help can also be found on community based help sites like PerlMonks and Stack Overflow. You can also refer to the official Moose::Manual::Support documentation for more details.

" msgid "support irc header" -msgstr "IRC Channels" +msgstr "IRC Channels" msgid "support irc body" -msgstr "

The quickest way to get Moose support is to engage the community on IRC.

" +msgstr "

The quickest way to get Moose support is to engage the community on IRC.

" msgid "support mailing list header" msgstr "Mailing List" @@ -134,21 +134,21 @@ msgid "support textmate bundle" msgstr "Moose TextMate Bundle" msgid "support quickref card" -msgstr "Moose QuickRef Card" +msgstr "Moose Quick Reference Card" # articles msgid "articles body" msgstr "" "

Below are a list of articles and blog posts written about Moose, this is by no means a comprehensive list but we have tried to compile interesting and useful ones below. The Perl Iron Man blog feed quite often has Moose related blog posts.

" -"

If you know of an article or blog post that you think should be included, let us know via IRC or the mailing list and we will add it here.

" +"

If you know of an article or blog post that you think should be included, let us know via IRC or the mailing list and we will add it here.

" # presentations msgid "presentations body" msgstr "" "

Below are links to presentations given about Moose at conferences and local Perl Mongers group meetings. When possible the slides are linked to, and on occasion the video when available.

" -"

This is by no means a complete listing, so if you know of a presentation that you think should be included, let us know via IRC or the mailing list and we will add it here.

" +"

This is by no means a complete listing, so if you know of a presentation that you think should be included, let us know via IRC or the mailing list and we will add it here.

" # footer diff --git a/lib/Moose/Website/Resource/Templates/code/point.tt b/lib/Moose/Website/Resource/Templates/code/point.tt index cd336d3..2199743 100644 --- a/lib/Moose/Website/Resource/Templates/code/point.tt +++ b/lib/Moose/Website/Resource/Templates/code/point.tt @@ -1,4 +1,4 @@ -
package Point;
+package Point;
 use Moose; # automatically turns on strict and warnings
 
 has 'x' => (is => 'rw', isa => 'Int');
@@ -20,4 +20,4 @@
 after 'clear' => sub {
     my $self = shift;
     $self->z(0);
-};
\ No newline at end of file +}; \ No newline at end of file diff --git a/lib/Moose/Website/Resource/Templates/download.tt b/lib/Moose/Website/Resource/Templates/download.tt index 84ff71d..1369647 100644 --- a/lib/Moose/Website/Resource/Templates/download.tt +++ b/lib/Moose/Website/Resource/Templates/download.tt @@ -11,7 +11,7 @@ [% loc('download git body') %] diff --git a/lib/Moose/Website/Resource/WebFiles/css/style.css b/lib/Moose/Website/Resource/WebFiles/css/style.css index 84d5a8d..c52c405 100644 --- a/lib/Moose/Website/Resource/WebFiles/css/style.css +++ b/lib/Moose/Website/Resource/WebFiles/css/style.css @@ -95,7 +95,9 @@ h2 { line-height : 1em; } -pre { +#code_sample code { + display : block; + white-space : pre; font-family : Monaco, Courier, monospace; font-size : 9pt; padding : 10px; diff --git a/t/02-spelling.t b/t/02-spelling.t index 44f91dd..26f5412 100644 --- a/t/02-spelling.t +++ b/t/02-spelling.t @@ -48,6 +48,9 @@ my $stylesheet = XML::LibXSLT->new->parse_stylesheet( XML::LibXML->load_xml(string => <<'')); + + + @@ -74,22 +77,96 @@ done_testing($file_counter); __DATA__ ## personal names +Brocard +Bunce's +# Pierce Cawley +Cawley's +Champoux +chromatic +# Sam Crawley +Crawley +cuny's +Doran +franck +Grünauer +hakobe's +hanekomu +Hengst's +# Kanat-Alexander +Kanat +Kogman's +Léon +Napiorkowski +Pearcey's +Prather +Prather's +Ragwitz +Rockway +Rolsky's +Stevan +sunnavy's +Treder's +trombik +Vecchi +Vilain's +Yanick +Yuval ## proper names +BizRate +Cisco +Cloudtone +Endeworks +GitHub +Gource +IMDb +# Kansai.pm +Kansai +LinuxMag +MedTouch +MusicBrainz +OCaml +Omni +OnLAMP +PerlMonks +Pobox +Shadowcat +Shopzilla +SimplyClick +Simula +SocialText +Symantec +Takkle +Tamarou +TextMate +ValueClick ## Moose-specific ## computerese +parameterized ## other jargon ## neologisms +blog +podcast ## compound +# post-mortem +mortem +# PDX.pm +PDX +# London.pm's +pm's ## slang ## things that should be in the dictionary, but are not +Bioinformatics +Committers +refactoring +Refactoring ## single foreign words