Show
Ignore:
Timestamp:
10/16/06 06:31:35 (2 years ago)
Author:
mdodoo
Message:

Sync with trunk up to (but not including changeset [1585]). I should *definitely* do this more often, because this was really annoying.

Location:
branches/multiuser/plugins
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/multiuser/plugins/delicious.php

    r1530 r1604  
    6262 } 
    6363 if (html == '') { 
    64   html = '<?php echo  LBL_TAG_SUGGESTIONS_NONE ?>'; 
     64  html = '<?php echo  __('no suggestions') ?>'; 
    6565 } 
    6666 span.innerHTML = '(' + html + ')'; 
     
    106106        newspan.setAttribute("id","dt" + id); 
    107107        newspan.style.margin="0 0 0 0.5em"; 
    108         newspan.innerHTML = "<?php echo  LBL_TAG_SUGGESTIONS ?>: (...) ]"; 
     108        newspan.innerHTML = "<?php echo  __('suggestions') ?>: (...) ]"; 
    109109        actionSpan.appendChild(newspan); 
    110110        get_from_delicious(id); 
  • branches/multiuser/plugins/markallread.php

    r1501 r1604  
    2929/// Author: Keith D. Zimmerman 
    3030/// Description: Display "Mark All Read" buttons and links in many places 
    31 /// Version: 0.4 
     31/// Version: 0.5 
    3232/// Configuration: __markallread_config 
    3333 
     
    3939 * 0.3  support for i18n 
    4040 * 0.4  Fixed a couple validation issues 
     41 * 0.5  Adapted for new l10n method 
    4142 */ 
    4243 
     
    6162    $options = rss_plugins_get_option( MARKALLREAD_CONFIG_OPTIONS ); 
    6263    if( $options & MARKALLREAD_OPTION_LINK_CATEGORY ) 
    63         return "<a title='".LBL_MARK_CATEGORY_READ_ALL."' href='". getPath() ."feed.php?metaaction=LBL_MARK_VFOLDER_READ&vfolder=" . rss_feeds_folder_id() . "' onclick='javascript: return _markallread(this,\"category\",\"" . rss_feeds_folder_name() . "\");'>" . $existingText . '</a>'; 
     64        return "<a title='".__('Mark This Category as Read')."' href='". getPath() ."feed.php?metaaction=ACT_MARK_VFOLDER_READ&vfolder=" . rss_feeds_folder_id() . "' onclick='javascript: return _markallread(this,\"category\",\"" . rss_feeds_folder_name() . "\");'>" . $existingText . '</a>'; 
    6465    else 
    6566        return $existingText; 
     
    7273    $options = rss_plugins_get_option( MARKALLREAD_CONFIG_OPTIONS ); 
    7374    if( $options & MARKALLREAD_OPTION_LINK_FOLDER ) 
    74         return "<a title='".LBL_MARK_FOLDER_READ_ALL."' href='". getPath() ."feed.php?metaaction=LBL_MARK_FOLDER_READ&amp;folder=" . rss_feeds_folder_id() . "' onclick='javascript: return _markallread(this,\"folder\",\"" . rss_feeds_folder_name() . "\");'>" . $existingText . '</a>'; 
     75        return "<a title='".__('Mark This Folder as Read')."' href='". getPath() ."feed.php?metaaction=ACT_MARK_FOLDER_READ&amp;folder=" . rss_feeds_folder_id() . "' onclick='javascript: return _markallread(this,\"folder\",\"" . rss_feeds_folder_name() . "\");'>" . $existingText . '</a>'; 
    7576    else 
    7677        return $existingText; 
     
    8384    $options = rss_plugins_get_option( MARKALLREAD_CONFIG_OPTIONS ); 
    8485    if( $options & MARKALLREAD_OPTION_LINK_FEED ) 
    85         return "<a title='".LBL_MARK_CHANNEL_READ_ALL."' href='". getPath() ."feed.php?metaaction=LBL_MARK_CHANNEL_READ&amp;channel=" . $GLOBALS['rss']->currentFeedsFeed-> id . "' onclick='javascript: return _markallread(this,\"feed\",\"" . rss_feeds_feed_title() . "\");'>" . $existingText . '</a>'; 
     86        return "<a title='".__('Mark This Feed as Read')."' href='". getPath() ."feed.php?metaaction=ACT_MARK_CHANNEL_READ&amp;channel=" . $GLOBALS['rss']->currentFeedsFeed-> id . "' onclick='javascript: return _markallread(this,\"feed\",\"" . rss_feeds_feed_title() . "\");'>" . $existingText . '</a>'; 
    8687    else 
    8788        return $existingText; 
     
    9394 
    9495    if(defined('MARK_READ_FEED_FORM')) { 
    95             $metaaction = "LBL_MARK_CHANNEL_READ"; 
     96            $metaaction = "ACT_MARK_CHANNEL_READ"; 
    9697            $id = 'name="channel" value="' . MARK_READ_FEED_FORM . '"'; 
    97             $text = LBL_MARK_CHANNEL_READ_ALL; 
     98            $text = __('Mark This Feed as Read'); 
    9899            if( $options & MARKALLREAD_OPTION_CONFIIRM ) 
    99100                $safety = ' onclick=\'javascript: return _confirmmarkallread("feed", "");\''; 
    100101    } elseif(defined('MARK_READ_FOLDER_FORM')) { 
    101             $metaaction = "LBL_MARK_FOLDER_READ"; 
     102            $metaaction = "ACT_MARK_FOLDER_READ"; 
    102103            $id = 'name="folder" value="' . MARK_READ_FOLDER_FORM . '"'; 
    103             $text = LBL_MARK_FOLDER_READ_ALL; 
     104            $text = __('Mark This Folder as Read'); 
    104105            if( $options & MARKALLREAD_OPTION_CONFIIRM ) 
    105106                $safety = ' onclick=\'javascript: return _confirmmarkallread("folder", "");\''; 
    106107    } elseif(defined('MARK_READ_VFOLDER_FORM')){ 
    107             $metaaction = "LBL_MARK_VFOLDER_READ"; 
     108            $metaaction = "ACT_MARK_VFOLDER_READ"; 
    108109            $id = 'name="vfolder" value="' . MARK_READ_VFOLDER_FORM . '"'; 
    109             $text = LBL_MARK_CATEGORY_READ_ALL; 
     110            $text = __('Mark This Category as Read'); 
    110111            if( $options & MARKALLREAD_OPTION_CONFIIRM ) 
    111112                $safety = ' onclick=\'javascript: return _confirmmarkallread("category", "");\''; 
  • branches/multiuser/plugins/stickyflag/stickyflag.php

    r1324 r1604  
    9090 
    9191    print ("<fieldset>\n"); 
    92     print ("  <legend>" . LBL_STICKY . " " . LBL_ITEMS . "</legend>\n"); 
     92    print ("  <legend>" . __('Sticky') . " " . __('items') . "</legend>\n"); 
    9393    print ("   <p><input id='ui_sm' type='checkbox' value='1' name='ui_sm'" . ($options & STICKYFLAG_ENABLE_STICKY_MENU ? "checked='1'" : "") . ">"  
    9494               . "<label for='ui_sm'>Show Menu Item</label></br></p>\n"); 
     
    9898    print ("</fieldset>\n"); 
    9999    print ("<fieldset>\n"); 
    100     print ("  <legend>" . LBL_FLAG . " " . LBL_ITEMS . "</legend>\n"); 
     100    print ("  <legend>" . __('Flagged') . " " . __('items') . "</legend>\n"); 
    101101    print ("    <p><input id='ui_fm' type='checkbox' value='1' name='ui_fm'" . ($options & STICKYFLAG_ENABLE_FLAG_MENU ? "checked='1'" : "") . ">" 
    102102                . "<label for='ui_fm'>Show Menu Item</label></br></p>\n");