Show
Ignore:
Timestamp:
02/26/08 03:37:26 (11 months ago)
Author:
kasper
Message:

MediaRSS compatible, works with Google Photo Screensaver - this is a very cool function, try it!
Breadcrumbs now uses caption if available (SEO)
Air and Lucid themes now translatable, and translated to danish
Dates and days are now translatable and translated to danish
Show/hide details now translatable and in danish
+lot of translation fixes, I believe everything is translatable now!
Build is now available in admin version info
Comments now redirect correct after being added (need more investigation)
New get_caption_filename($row)

returns caption instead of filename if caption exists

trace function now only displays trace lines if PLOGGER_DEBUG=1 in plog-config.php
Version upped from 3.1 to 3.2 - first totally international version

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/themes/air/comments.php

    r488 r509  
    11<?php 
    22if (plogger_comments_on()) { 
    3         print '<a name="comments"></a><h2 class="comment-heading">Comments:</h2>'; 
     3        print '<a name="comments"></a><h2 class="comment-heading">' . plog_tr('Comments') . ':</h2>'; 
    44       
    55        if (plogger_picture_has_comments()) { 
     
    2626                print "\n</ol>"; 
    2727        } else { 
    28                 print "<p>No comments yet.</p>"; 
     28                print "<p>" . plog_tr('No comments yet') . ".</p>"; 
    2929        }; 
    3030       
    3131        if (plogger_picture_allows_comments()) { 
    3232                if (plogger_comment_post_error()) { 
    33                         print "<p class='errors'>Comment did not post!  Please fill in required fields.</p>"; 
     33                        print "<p class='errors'>" . plog_tr('Comment did not post!  Please fill in required fields.') . "</p>"; 
    3434                }; 
    3535 
    3636                global $config; 
    3737         
    38                 print  '<a name="comment-post"></a><h2 class="comment-heading">Post a comment:</h2> 
     38                print  '<a name="comment-post"></a><h2 class="comment-heading">' . plog_tr('Post a comment') . '</h2> 
    3939                      <form action="' . $config["gallery_url"] . 'plog-comment.php" method="post" id="commentform"> 
    4040                      <p> 
    4141                        <input type="text" name="author" id="author" class="textarea" value="" size="28" tabindex="1" /> 
    42                         <label for="author">Name</label> (required) <input type="hidden" name="comment_post_ID" value="40" /> 
     42                        <label for="author">Name</label> (required) <input type="hidden" name="comment_post_ID" value="40"/> 
    4343                        <input type="hidden" name="parent" value="'.plogger_get_picture_id().'" /> 
    4444                      </p> 
    4545                      <p> 
    4646                        <input type="text" name="email" id="email" value="" size="28" tabindex="2" /> 
    47                         <label for="email">E-mail</label> (required, but not publicly displayed) 
     47                        <label for="email">' . plog_tr('E-mail') . '</label> (' . plog_tr('required, but not publicly displayed') . ') 
    4848                      </p> 
    4949                      <p> 
    5050                        <input type="text" name="url" id="url" value="" size="28" tabindex="3" /> 
    51                         <label for="url">Your Website (optional)</label> 
     51                        <label for="url">' . plog_tr('Your Website (optional)') . '</label> 
    5252                      </p> 
    5353                      <p> 
    54                         <label for="comment">Your Comment</label> 
     54                        <label for="comment">' . plog_tr('Your Comment') . '</label> 
    5555                        <br /><textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea> 
    5656                      </p> 
    5757                      <p class="comment-input-button"> 
    58                         <input class="submit" name="submit" type="submit" tabindex="5" value="Post Comment" /> 
     58                        <input class="submit" name="submit" type="submit" tabindex="5" value="' . plog_tr('Post Comment') . '" /> 
    5959                      </p> 
    6060                      </form>'; 
    6161         
    6262        } else { 
    63                 print '<p class="comments-closed">Comments for this entry are closed</p>'; 
     63                print '<p class="comments-closed">' .plog_tr('Comments for this entry are closed') . '</p>'; 
    6464        } 
    6565};