Changeset 762

Show
Ignore:
Timestamp:
05/11/07 22:06:20 (1 year ago)
Author:
brian
Message:

a kitchen sink commit. has some stuff for front page and updated translation strings for both en and es

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee-www/trunk/cherokee/locale/en/LC_MESSAGES/django.po

    r753 r762  
    99"Project-Id-Version: PACKAGE VERSION\n" 
    1010"Report-Msgid-Bugs-To: \n" 
    11 "POT-Creation-Date: 2007-05-07 14:32-0600\n" 
     11"POT-Creation-Date: 2007-05-11 14:05-0600\n" 
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
     
    7777msgstr "" 
    7878 
     79#: templates/404.html:4 
     80msgid "Not Found" 
     81msgstr "" 
     82 
     83#: templates/404.html:7 
     84msgid "Page Not Found" 
     85msgstr "" 
     86 
     87#: templates/404.html:8 
     88msgid "Unable to find" 
     89msgstr "" 
     90 
     91#: templates/500.html:4 templates/500.html.py:7 
     92msgid "Internal Server Error" 
     93msgstr "" 
     94 
     95#: templates/500.html:8 
     96msgid "" 
     97"Something bad has happened.  An error report has been sent to the developers " 
     98"of this website." 
     99msgstr "" 
     100 
     101#: templates/base.html:11 
     102msgid "Cherokee Web Server" 
     103msgstr "" 
     104 
     105#: templates/base.html:11 
     106msgid "Welcome" 
     107msgstr "" 
     108 
    79109#: templates/base.html:28 
    80110msgid "Download" 
     
    86116 
    87117#: templates/base.html:30 
    88 msgid "Contribute
     118msgid "Blog
    89119msgstr "" 
    90120 
    91121#: templates/base.html:31 
    92 msgid "Blog
     122msgid "Code
    93123msgstr "" 
     124 
     125#: templates/base.html:38 
     126msgid "Choose your language:" 
     127msgstr "" 
     128 
     129#: templates/index.html:10 
     130msgid "Flexible and Fast Web Server" 
     131msgstr "" 
     132 
     133#: templates/index.html:12 
     134msgid "" 
     135"\n" 
     136"<strong>Cherokee</strong> is a very fast, flexible and easy to configure Web " 
     137"Server.  It supports the widespread technologies nowadays: FastCGI, SCGI, " 
     138"PHP, CGI, TLS and SSL encrypted connections.  Virtual hosts, Authentication, " 
     139"on the fly encoding, Apache compatible log files, and much more.\n" 
     140msgstr "" 
  • cherokee-www/trunk/cherokee/locale/es/LC_MESSAGES/django.po

    r753 r762  
    99"Project-Id-Version: PACKAGE VERSION\n" 
    1010"Report-Msgid-Bugs-To: \n" 
    11 "POT-Creation-Date: 2007-05-07 14:33-0600\n" 
     11"POT-Creation-Date: 2007-05-11 14:05-0600\n" 
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
     
    7777msgstr "" 
    7878 
     79#: templates/404.html:4 
     80msgid "Not Found" 
     81msgstr "" 
     82 
     83#: templates/404.html:7 
     84msgid "Page Not Found" 
     85msgstr "" 
     86 
     87#: templates/404.html:8 
     88msgid "Unable to find" 
     89msgstr "" 
     90 
     91#: templates/500.html:4 templates/500.html.py:7 
     92msgid "Internal Server Error" 
     93msgstr "" 
     94 
     95#: templates/500.html:8 
     96msgid "" 
     97"Something bad has happened.  An error report has been sent to the developers " 
     98"of this website." 
     99msgstr "" 
     100 
     101#: templates/base.html:11 
     102msgid "Cherokee Web Server" 
     103msgstr "" 
     104 
     105#: templates/base.html:11 
     106msgid "Welcome" 
     107msgstr "" 
     108 
    79109#: templates/base.html:28 
    80110msgid "Download" 
     
    86116 
    87117#: templates/base.html:30 
    88 msgid "Contribute
    89 msgstr "Contribuir
     118msgid "Blog
     119msgstr "
    90120 
    91121#: templates/base.html:31 
    92 msgid "Blog
     122msgid "Code
    93123msgstr "" 
     124 
     125#: templates/base.html:38 
     126msgid "Choose your language:" 
     127msgstr "" 
     128 
     129#: templates/index.html:10 
     130msgid "Flexible and Fast Web Server" 
     131msgstr "" 
     132 
     133#: templates/index.html:12 
     134msgid "" 
     135"\n" 
     136"<strong>Cherokee</strong> is a very fast, flexible and easy to configure Web " 
     137"Server.  It supports the widespread technologies nowadays: FastCGI, SCGI, " 
     138"PHP, CGI, TLS and SSL encrypted connections.  Virtual hosts, Authentication, " 
     139"on the fly encoding, Apache compatible log files, and much more.\n" 
     140msgstr "" 
     141 
     142#~ msgid "Contribute" 
     143#~ msgstr "Contribuir" 
  • cherokee-www/trunk/cherokee/media/css/layout.css

    r758 r762  
    7676    text-align: center; 
    7777} 
     78 
     79.column_left { 
     80    float: left; 
     81} 
     82 
     83.column_right { 
     84    float: right; 
     85} 
     86 
     87#front_column_left { 
     88    border-right: 5px solid #e8e8e8; 
     89    width: 49%; 
     90} 
     91 
     92#front_column_right { 
     93    width: 50%; 
     94} 
     95 
     96#cherokee_man { 
     97    float: left; 
     98} 
     99 
     100#info { 
     101    float: right; 
     102    padding: 0 1%; 
     103    text-align: center; 
     104    width: 73%; 
     105} 
     106 
     107#info p { 
     108    color: #666; 
     109} 
  • cherokee-www/trunk/cherokee/templates/base.html

    r761 r762  
    3434</div> 
    3535 
    36 <div id="languages"> 
     36<!--<div id="languages"> 
    3737    <ul> 
    3838        <li style="padding: 5px;">{% trans "Choose your language:" %}</li> 
     
    4545        {% endfor %} 
    4646    </ul> 
    47 </div> 
     47</div>--> 
    4848 
    4949<div id="content"> 
  • cherokee-www/trunk/cherokee/templates/index.html

    r756 r762  
    11{% extends "base.html" %} 
     2{% load i18n %} 
    23 
    34{% block content %} 
     5    <div id="front_column_left" class="column_left"> 
     6        <div id="cherokee_man"> 
     7            <img src="/media/img/indiankid.png"> 
     8        </div> 
     9        <div id="info"> 
     10            <h2>{% trans "Flexible and Fast Web Server" %}</h2> 
     11            <p> 
     12{% blocktrans %} 
     13<strong>Cherokee</strong> is a very fast, flexible and easy to configure Web Server.  It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, TLS and SSL encrypted connections.  Virtual hosts, Authentication, on the fly encoding, Apache compatible log files, and much more. 
     14{% endblocktrans %} 
     15            </p> 
     16        </div> 
     17    </div> 
     18    <div id="front_column_right" class="column_right"> 
     19        <h2>Download</h2> 
     20        <ul style="list-style: none; padding: 0;"> 
     21            <li><a href="#">0.5.6</a> - Stable</li> 
     22            <li><a href="#">0.6.0b571</a> - Development</li> 
     23        </ul> 
     24         
     25        <h2>Code</h2> 
     26        <ul style="list-style: none; padding: 0;"> 
     27            <li><a href="#">Changeset [754]: --</a></li> 
     28        </ul> 
     29         
     30        <h2>Blog</h2> 
     31        <ul style="list-style: none; padding: 0;"> 
     32            {% for post in posts %} 
     33            <li> 
     34                <h4>{{ post.headline }}</h4> 
     35                {{ post.body }} 
     36            </li> 
     37            {% endfor %} 
     38        </ul> 
     39    </div> 
    440{% endblock %} 
  • cherokee-www/trunk/cherokee/urls.py

    r741 r762  
    1717} 
    1818 
     19from cherokee.blog.models import Post 
     20 
     21index_context = { 
     22    'posts': Post.objects.all() 
     23} 
     24 
    1925urlpatterns = patterns('', 
    2026    (r'^admin/', include('django.contrib.admin.urls')), 
     
    2531    (r'^i18n/', include('django.conf.urls.i18n')), 
    2632    (r'^sitemap.xml$', cache_page(sitemap_views.sitemap, 60 * 60 * 6), {'sitemaps': sitemaps}), 
    27     (r'^/?$', direct_to_template, {'template': 'index.html',}), 
     33    (r'^/?$', direct_to_template, {'template': 'index.html', 'extra_context': index_context}), 
    2834) 
    2935