tt-rss.php: gettextification (fixes)

This commit is contained in:
Andrew Dolgov 2006-12-20 16:13:09 +01:00
parent 2677796d72
commit 5e1c86065e
1 changed files with 23 additions and 23 deletions

View File

@ -128,45 +128,45 @@ window.onload = init;
<div style="float : right"> <div style="float : right">
<select id="quickMenuChooser" onchange="quickMenuChange()"> <select id="quickMenuChooser" onchange="quickMenuChange()">
<option value="qmcDefault" selected><?php _('Actions...') ?></option> <option value="qmcDefault" selected><?php echo _('Actions...') ?></option>
<option value="qmcSearch"><?php _('Search') ?></option> <option value="qmcSearch"><?php echo _('Search') ?></option>
<option value="qmcPrefs"><?php _('Preferences') ?></option> <option value="qmcPrefs"><?php echo _('Preferences') ?></option>
<option disabled>--------</option> <option disabled>--------</option>
<option style="color : #5050aa" disabled><?php _('Feed actions:') ?></option> <option style="color : #5050aa" disabled><?php echo _('Feed actions:') ?></option>
<option value="qmcAddFeed"><?php _('&nbsp;&nbsp;Subscribe to feed') ?></option> <option value="qmcAddFeed"><?php echo _('&nbsp;&nbsp;Subscribe to feed') ?></option>
<option value="qmcEditFeed"><?php _('&nbsp;&nbsp;Edit this feed') ?></option> <option value="qmcEditFeed"><?php echo _('&nbsp;&nbsp;Edit this feed') ?></option>
<option value="qmcRemoveFeed"><?php _('&nbsp;&nbsp;Unsubscribe') ?></option> <option value="qmcRemoveFeed"><?php echo _('&nbsp;&nbsp;Unsubscribe') ?></option>
<!-- <option>Edit this feed</option> --> <!-- <option>Edit this feed</option> -->
<option disabled>--------</option> <option disabled>--------</option>
<option style="color : #5050aa" disabled><?php _('All feeds:') ?></option> <option style="color : #5050aa" disabled><?php echo _('All feeds:') ?></option>
<?php if (!ENABLE_UPDATE_DAEMON && !DAEMON_REFRESH_ONLY) { ?> <?php if (!ENABLE_UPDATE_DAEMON && !DAEMON_REFRESH_ONLY) { ?>
<option value="qmcUpdateFeeds"><?php _('&nbsp;&nbsp;Update') ?></option> <option value="qmcUpdateFeeds"><?php echo _('&nbsp;&nbsp;Update') ?></option>
<?php } ?> <?php } ?>
<option value="qmcCatchupAll"><?php _('&nbsp;&nbsp;Mark as read') ?></option> <option value="qmcCatchupAll"><?php echo _('&nbsp;&nbsp;Mark as read') ?></option>
<option value="qmcShowOnlyUnread"><?php _('&nbsp;&nbsp;(Un)hide read feeds') ?></option> <option value="qmcShowOnlyUnread"><?php echo _('&nbsp;&nbsp;(Un)hide read feeds') ?></option>
<option disabled>--------</option> <option disabled>--------</option>
<option style="color : #5050aa" disabled><?php _('Other actions:') ?></option> <option style="color : #5050aa" disabled><?php echo _('Other actions:') ?></option>
<option value="qmcAddFilter"><?php _('&nbsp;&nbsp;Create filter') ?></option> <option value="qmcAddFilter"><?php echo _('&nbsp;&nbsp;Create filter') ?></option>
</select> </select>
</div> </div>
<form id="main_toolbar_form"> <form id="main_toolbar_form">
<?php _('Search:') ?> <?php echo _('Search:') ?>
<input name="query" <input name="query"
onKeyPress="return filterCR(event, viewCurrentFeed)" onKeyPress="return filterCR(event, viewCurrentFeed)"
onblur="javascript:enableHotkeys();" onfocus="javascript:disableHotkeys();"> onblur="javascript:enableHotkeys();" onfocus="javascript:disableHotkeys();">
&nbsp; &nbsp;
<?php _('View:') ?> <?php echo _('View:') ?>
<select name="view_mode" onchange="viewCurrentFeed(0, '')"> <select name="view_mode" onchange="viewCurrentFeed(0, '')">
<option selected value="adaptive"><?php _('Adaptive') ?></option> <option selected value="adaptive"><?php echo _('Adaptive') ?></option>
<option value="all_articles"><?php _('All Articles') ?></option> <option value="all_articles"><?php echo _('All Articles') ?></option>
<option value="marked"><?php _('Starred') ?></option> <option value="marked"><?php echo _('Starred') ?></option>
<option value="unread"><?php _('Unread') ?></option> <option value="unread"><?php echo _('Unread') ?></option>
</select> </select>
&nbsp; &nbsp;
<?php _('Limit:') ?> <?php echo _('Limit:') ?>
<?php <?php
$limits = array(15 => 15, 30 => 30, 60 => 60, 0 => "All"); $limits = array(15 => 15, 30 => 30, 60 => 60, 0 => "All");
@ -192,7 +192,7 @@ window.onload = init;
onclick="quickMenuGo('qmcSearch')" value="Search (tmp)"> --> onclick="quickMenuGo('qmcSearch')" value="Search (tmp)"> -->
&nbsp;<input class="button" type="submit" &nbsp;<input class="button" type="submit"
onclick="viewCurrentFeed('ForceUpdate')" value="<?php _('Update') ?>"> onclick="viewCurrentFeed('ForceUpdate')" value="<?php echo _('Update') ?>">
<!-- <input class="button" type="submit" <!-- <input class="button" type="submit"
onclick="catchupCurrentFeed()" value="Mark as read"> --> onclick="catchupCurrentFeed()" value="Mark as read"> -->
@ -201,11 +201,11 @@ window.onload = init;
<?php if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { ?> <?php if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { ?>
<div id="headlines-frame" class="headlines_normal"> <div id="headlines-frame" class="headlines_normal">
<div class="whiteBox"><?php _('No feed selected.') ?></div></div> <div class="whiteBox"><?php echo _('No feed selected.') ?></div></div>
<div id="content-frame"><div class="whiteBox">&nbsp;</div></div> <div id="content-frame"><div class="whiteBox">&nbsp;</div></div>
<?php } else { ?> <?php } else { ?>
<div id="headlines-frame" class="headlines_cdm"> <div id="headlines-frame" class="headlines_cdm">
<div class="whiteBox"><?php _('No feed selected.') ?></div></div> <div class="whiteBox"><?php echo _('No feed selected.') ?></div></div>
<?php } ?> <?php } ?>
<div id="footer"> <div id="footer">