From: Stevan Little Date: Wed, 31 Mar 2010 20:33:31 +0000 (-0400) Subject: adding more stuff, cleaning stuff up, etc etc etc X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e705bd2702590899cdf171a603f3be21a3865d9;p=gitmo%2Fmoose-website.git adding more stuff, cleaning stuff up, etc etc etc --- diff --git a/lib/Moose/Website/I18N/po/en.po b/lib/Moose/Website/I18N/po/en.po index 4445302..82d9635 100644 --- a/lib/Moose/Website/I18N/po/en.po +++ b/lib/Moose/Website/I18N/po/en.po @@ -30,6 +30,13 @@ msgstr "Support" msgid "nav presentations" msgstr "Presentations" +# home + +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 100% production ready and in heavy use in a number of systems and growing every day. Try it today!

" + # about msgid "about header" @@ -37,8 +44,40 @@ msgstr "About Moose" msgid "about 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 100% production ready and in heavy use in a number of systems and growing every day. Try it today!

" +"

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.

" +"
"
+"package Point;\n"
+"use Moose;\n"
+"\n"
+"has 'x' => (is => 'rw', isa => 'Int');\n"
+"has 'y' => (is => 'rw', isa => 'Int');\n"
+"\n"
+"sub clear {\n"
+"    my $self = shift;\n"
+"    $self->x(0);\n"
+"    $self->y(0);\n"
+"}\n"
+"\n"
+"package Point3D;\n"
+"use Moose;\n"
+"\n"
+"extends 'Point';\n"
+"\n"
+"has 'z' => (is => 'rw', isa => 'Int');\n"
+"\n"
+"after 'clear' => sub {\n"
+"    my $self = shift;\n"
+"    $self->z(0);\n"
+"};\n"
+"
" + +msgid "about new to moose header" +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.

" msgid "about company list header" msgstr "Companies that use Moose" @@ -46,11 +85,6 @@ msgstr "Companies that use Moose" msgid "about company list body" msgstr "Moose is used by a large number of companies around the world, here are a few of them." -# articles - -msgid "articles header" -msgstr "Articles About Moose" - # download msgid "download header" @@ -60,7 +94,7 @@ msgid "download cpan header" msgstr "CPAN" msgid "download cpan body" -msgstr "Here are some CPAN modules related to Moose." +msgstr "Moose is available for download from the CPAN." msgid "download git header" msgstr "Git" @@ -85,12 +119,21 @@ msgstr "Support" msgid "support irc header" msgstr "IRC Channels" +msgid "support irc body" +msgstr "The quickest way to get Moose support is to engage the community on IRC." + msgid "support mailing list header" msgstr "Mailing List" +msgid "support mailing list body" +msgstr "The Moose mailing lists can be an excellent way to get your questions answered." + msgid "support misc header" msgstr "Misc." +msgid "support misc body" +msgstr "Here are a couple other items which are useful that you might like." + msgid "support moose mailing list" msgstr "Moose mailing list" @@ -115,15 +158,26 @@ msgstr "Moose Consulting" msgid "support consulting body" msgstr "Several companies and individuals provide Moose consulting, here are a few." +# articles + +msgid "articles header" +msgstr "Articles About Moose" + +msgid "articles body" +msgstr "Below are a list of articles and blog posts written about Moose." + # presentations msgid "presentations header" msgstr "Presentations About Moose" +msgid "presentations body" +msgstr "Below are links to presentations given about Moose at conferences and local Perl Mongers group meetings." + # footer msgid "footer copyright" -msgstr "Copyright © 2006 — 2010 Infinity Interactive" +msgstr "Copyright © 2006—2010 Infinity Interactive" msgid "footer terms" msgstr "This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself." diff --git a/lib/Moose/Website/Resource/Templates/about.tt b/lib/Moose/Website/Resource/Templates/about.tt index 1ecc620..f791b11 100644 --- a/lib/Moose/Website/Resource/Templates/about.tt +++ b/lib/Moose/Website/Resource/Templates/about.tt @@ -3,6 +3,9 @@

[% loc('about header') %]

[% loc('about body') %]

+

[% loc('about new to moose header') %]

+

[% loc('about new to moose body') %]

+

[% loc('about company list header') %]

[% loc('about company list body') %]

diff --git a/lib/Moose/Website/Resource/Templates/articles.tt b/lib/Moose/Website/Resource/Templates/articles.tt index 09b415f..a9e379d 100644 --- a/lib/Moose/Website/Resource/Templates/articles.tt +++ b/lib/Moose/Website/Resource/Templates/articles.tt @@ -1,7 +1,7 @@ [% WRAPPER 'wrapper/sub_page.tt' %]

[% loc('articles header') %]

- +

[% loc('articles body') %]