tt-rss.php: gettextification
This commit is contained in:
parent
b869934543
commit
b76affe92e
62
tt-rss.php
62
tt-rss.php
|
@ -73,12 +73,12 @@
|
||||||
|
|
||||||
<div id="overlay">
|
<div id="overlay">
|
||||||
<div id="overlay_inner">
|
<div id="overlay_inner">
|
||||||
<p>Loading, please wait...</p>
|
<p><?php echo _("Loading, please wait...") ?></p>
|
||||||
<noscript>
|
<noscript>
|
||||||
<div class="error">
|
<div class="error"><?php echo
|
||||||
Your browser doesn't support Javascript, which is required
|
_("Your browser doesn't support Javascript, which is required
|
||||||
for this application to function properly. Please check your
|
for this application to function properly. Please check your
|
||||||
browser settings.</div>
|
browser settings.") ?></div>
|
||||||
</noscript>
|
</noscript>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -98,9 +98,9 @@ window.onload = init;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="noDaemonWarning">
|
<div id="noDaemonWarning">
|
||||||
<b>Warning:</b> Update daemon is enabled in configuration, but daemon
|
<?php echo _("<b>Warning:</b> Update daemon is enabled in configuration, but daemon
|
||||||
process is not running, which prevents all feeds from updating. Please
|
process is not running, which prevents all feeds from updating. Please
|
||||||
start the daemon process or contact instance owner.
|
start the daemon process or contact instance owner.") ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul id="debug_output"></ul>
|
<ul id="debug_output"></ul>
|
||||||
|
@ -128,43 +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>Actions...</option>
|
<option value="qmcDefault" selected><?php _('Actions...') ?></option>
|
||||||
<option value="qmcSearch">Search</option>
|
<option value="qmcSearch"><?php _('Search') ?></option>
|
||||||
<option value="qmcPrefs">Preferences</option>
|
<option value="qmcPrefs"><?php _('Preferences') ?></option>
|
||||||
<option disabled>--------</option>
|
<option disabled>--------</option>
|
||||||
<option style="color : #5050aa" disabled>Feed actions:</option>
|
<option style="color : #5050aa" disabled><?php _('Feed actions:') ?></option>
|
||||||
<option value="qmcAddFeed"> Subscribe to feed</option>
|
<option value="qmcAddFeed"><?php _(' Subscribe to feed') ?></option>
|
||||||
<option value="qmcEditFeed"> Edit this feed</option>
|
<option value="qmcEditFeed"><?php _(' Edit this feed') ?></option>
|
||||||
<option value="qmcRemoveFeed"> Unsubscribe</option>
|
<option value="qmcRemoveFeed"><?php _(' Unsubscribe') ?></option>
|
||||||
<!-- <option>Edit this feed</option> -->
|
<!-- <option>Edit this feed</option> -->
|
||||||
<option disabled>--------</option>
|
<option disabled>--------</option>
|
||||||
<option style="color : #5050aa" disabled>All feeds:</option>
|
<option style="color : #5050aa" disabled><?php _('All feeds:') ?></option>
|
||||||
<?php if (!ENABLE_UPDATE_DAEMON && !DAEMON_REFRESH_ONLY) { ?>
|
<?php if (!ENABLE_UPDATE_DAEMON && !DAEMON_REFRESH_ONLY) { ?>
|
||||||
<option value="qmcUpdateFeeds"> Update</option>
|
<option value="qmcUpdateFeeds"><?php _(' Update') ?></option>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<option value="qmcCatchupAll"> Mark as read</option>
|
<option value="qmcCatchupAll"><?php _(' Mark as read') ?></option>
|
||||||
<option value="qmcShowOnlyUnread"> (Un)hide read feeds</option>
|
<option value="qmcShowOnlyUnread"><?php _(' (Un)hide read feeds') ?></option>
|
||||||
<option disabled>--------</option>
|
<option disabled>--------</option>
|
||||||
<option style="color : #5050aa" disabled>Other actions:</option>
|
<option style="color : #5050aa" disabled><?php _('Other actions:') ?></option>
|
||||||
<option value="qmcAddFilter"> Create filter</option>
|
<option value="qmcAddFilter"><?php _(' Create filter') ?></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form id="main_toolbar_form">
|
<form id="main_toolbar_form">
|
||||||
|
|
||||||
Search: <input name="query"
|
<?php _('Search:') ?>
|
||||||
|
<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();">
|
||||||
|
|
||||||
View:
|
<?php _('View:') ?>
|
||||||
<select name="view_mode" onchange="viewCurrentFeed(0, '')">
|
<select name="view_mode" onchange="viewCurrentFeed(0, '')">
|
||||||
<option selected value="adaptive">Adaptive</option>
|
<option selected value="adaptive"><?php _('Adaptive') ?></option>
|
||||||
<option value="all_articles">All Articles</option>
|
<option value="all_articles"><?php _('All Articles') ?></option>
|
||||||
<option value="marked">Starred</option>
|
<option value="marked"><?php _('Starred') ?></option>
|
||||||
<option value="unread">Unread</option>
|
<option value="unread"><?php _('Unread') ?></option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
Limit:
|
|
||||||
|
<?php _('Limit:') ?>
|
||||||
<?php
|
<?php
|
||||||
$limits = array(15 => 15, 30 => 30, 60 => 60, 0 => "All");
|
$limits = array(15 => 15, 30 => 30, 60 => 60, 0 => "All");
|
||||||
|
|
||||||
|
@ -190,7 +192,7 @@ window.onload = init;
|
||||||
onclick="quickMenuGo('qmcSearch')" value="Search (tmp)"> -->
|
onclick="quickMenuGo('qmcSearch')" value="Search (tmp)"> -->
|
||||||
|
|
||||||
<input class="button" type="submit"
|
<input class="button" type="submit"
|
||||||
onclick="viewCurrentFeed('ForceUpdate')" value="Update">
|
onclick="viewCurrentFeed('ForceUpdate')" value="<?php _('Update') ?>">
|
||||||
|
|
||||||
<!-- <input class="button" type="submit"
|
<!-- <input class="button" type="submit"
|
||||||
onclick="catchupCurrentFeed()" value="Mark as read"> -->
|
onclick="catchupCurrentFeed()" value="Mark as read"> -->
|
||||||
|
@ -198,10 +200,12 @@ window.onload = init;
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { ?>
|
<?php if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { ?>
|
||||||
<div id="headlines-frame" class="headlines_normal"><div class="whiteBox">No feed selected.</div></div>
|
<div id="headlines-frame" class="headlines_normal">
|
||||||
|
<div class="whiteBox"><?php _('No feed selected.') ?></div></div>
|
||||||
<div id="content-frame"><div class="whiteBox"> </div></div>
|
<div id="content-frame"><div class="whiteBox"> </div></div>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<div id="headlines-frame" class="headlines_cdm"><div class="whiteBox">No feed selected.</div></div>
|
<div id="headlines-frame" class="headlines_cdm">
|
||||||
|
<div class="whiteBox"><?php _('No feed selected.') ?></div></div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
|
|
Loading…
Reference in New Issue