• Previous message: [greg-dev] set_time_limit - Safe Mode Restriction
  • Next message: [greg-dev] subversion revision number
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] rss_footer_last_modif

    Hi,
    
    in the 'rss_footer_last_modif' was the hardcoded english 'never' used
    when there was no update-time allready.
    
    I attached a diff where this is replaced by a label, which could be
    translated as usual. I've added standard english for all existing
    language-files and translated the german one.
    
    Hope it meets naming-conventions.
    
    Greets,
    Marcus
    
    
    -- 
    Marcus Kimpenhaus
    
    Polsumer Str. 56
    45896 Gelsenkirchen
    
    +49 (209) 9256075
    marcus at kimpenhaus.de
    -------------- next part --------------
    Index: cls/wrappers/header.php
    ===================================================================
    --- cls/wrappers/header.php	(revision 949)
    +++ cls/wrappers/header.php	(working copy)
    @@ -143,7 +143,7 @@
     
     function rss_footer_last_modif() {
     	$ts = getLastModif();
    -	return ($ts ? rss_locale_date ("%c", $ts):"never");
    +	return ($ts ? rss_locale_date ("%c", $ts) : LBL_FOOTER_LAST_MODIF_NEVER);
     }
     
     function rss_header_logininfo() {
    Index: intl/de.php
    ===================================================================
    --- intl/de.php	(revision 949)
    +++ intl/de.php	(working copy)
    @@ -247,4 +247,8 @@
     define('LBL_ENCLOSURE', 'Enclosure:');
     define('LBL_DOWNLOAD', 'download');
     define('LBL_PLAY', 'play');
    +
    +// New in 0.5.x:
    +define('LBL_FOOTER_LAST_MODIF_NEVER', 'noch nicht');
    +
     ?>
    Index: intl/dk.php
    ===================================================================
    --- intl/dk.php	(revision 949)
    +++ intl/dk.php	(working copy)
    @@ -247,4 +247,8 @@
     define('LBL_ENCLOSURE', 'Enclosure:');
     define('LBL_DOWNLOAD', 'download');
     define('LBL_PLAY', 'play');
    +
    +// New in 0.5.x:
    +define('LBL_FOOTER_LAST_MODIF_NEVER', 'never');
    +
     ?>
    Index: intl/en.php
    ===================================================================
    --- intl/en.php	(revision 949)
    +++ intl/en.php	(working copy)
    @@ -255,4 +255,7 @@
     define('LBL_ENCLOSURE', 'Enclosure:');
     define('LBL_DOWNLOAD', 'download');
     define('LBL_PLAY', 'play');
    +
    +// New in 0.5.x:
    +define('LBL_FOOTER_LAST_MODIF_NEVER', 'never');
     ?>
    Index: intl/es.php
    ===================================================================
    --- intl/es.php	(revision 949)
    +++ intl/es.php	(working copy)
    @@ -253,4 +253,8 @@
     define('LBL_ENCLOSURE', 'Recinto:');
     define('LBL_DOWNLOAD', 'download');
     define('LBL_PLAY', 'play');
    +
    +// New in 0.5.x:
    +define('LBL_FOOTER_LAST_MODIF_NEVER', 'never');
    +
     ?>
    Index: intl/fr.php
    ===================================================================
    --- intl/fr.php	(revision 949)
    +++ intl/fr.php	(working copy)
    @@ -250,4 +250,8 @@
     define('LBL_ENCLOSURE', 'ClÔture:');
     define('LBL_DOWNLOAD', 'télécharger');
     define('LBL_PLAY', 'jouer');
    +
    +// New in 0.5.x:
    +define('LBL_FOOTER_LAST_MODIF_NEVER', 'never');
    +
     ?>
    Index: intl/it.php
    ===================================================================
    --- intl/it.php	(revision 949)
    +++ intl/it.php	(working copy)
    @@ -255,4 +255,8 @@
     define('LBL_ENCLOSURE', 'Enclosure:');
     define('LBL_DOWNLOAD', 'scarica');
     define('LBL_PLAY', 'riproduci');
    +
    +// New in 0.5.x:
    +define('LBL_FOOTER_LAST_MODIF_NEVER', 'never');
    +
     ?>
    Index: intl/pt_BR.php
    ===================================================================
    --- intl/pt_BR.php	(revision 949)
    +++ intl/pt_BR.php	(working copy)
    @@ -248,4 +248,8 @@
     define('LBL_ENCLOSURE', 'Enclosure:');
     define('LBL_DOWNLOAD', 'download');
     define('LBL_PLAY', 'play');
    +
    +// New in 0.5.x:
    +define('LBL_FOOTER_LAST_MODIF_NEVER', 'never');
    +
     ?>
    Index: intl/ru.php
    ===================================================================
    --- intl/ru.php	(revision 949)
    +++ intl/ru.php	(working copy)
    @@ -250,4 +250,8 @@
     define('LBL_ENCLOSURE', 'Enclosure:');
     define('LBL_DOWNLOAD', 'download');
     define('LBL_PLAY', 'play');
    +
    +// New in 0.5.x:
    +define('LBL_FOOTER_LAST_MODIF_NEVER', 'never');
    +
     ?>
    Index: intl/sv.php
    ===================================================================
    --- intl/sv.php	(revision 949)
    +++ intl/sv.php	(working copy)
    @@ -260,4 +260,7 @@
     define('LBL_DOWNLOAD', 'download');
     define('LBL_PLAY', 'play');
     
    +// New in 0.5.x:
    +define('LBL_FOOTER_LAST_MODIF_NEVER', 'never');
    +
     ?>
    
    Posted by Marcus Kimpenhaus [reply] at Wed Oct 12 22:50:08 CEST 2005