diff options
-rw-r--r-- | tt-rss.php | 62 |
1 files changed, 33 insertions, 29 deletions
diff --git a/tt-rss.php b/tt-rss.php index 5fea8aa49..461a6e94d 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -73,12 +73,12 @@ <div id="overlay"> <div id="overlay_inner"> - <p>Loading, please wait...</p> + <p><?php echo _("Loading, please wait...") ?></p> <noscript> - <div class="error"> - Your browser doesn't support Javascript, which is required + <div class="error"><?php echo + _("Your browser doesn't support Javascript, which is required for this application to function properly. Please check your - browser settings.</div> + browser settings.") ?></div> </noscript> </div> </div> @@ -98,9 +98,9 @@ window.onload = init; </script> <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 - start the daemon process or contact instance owner. + start the daemon process or contact instance owner.") ?> </div> <ul id="debug_output"></ul> @@ -128,43 +128,45 @@ window.onload = init; <div style="float : right"> <select id="quickMenuChooser" onchange="quickMenuChange()"> - <option value="qmcDefault" selected>Actions...</option> - <option value="qmcSearch">Search</option> - <option value="qmcPrefs">Preferences</option> + <option value="qmcDefault" selected><?php _('Actions...') ?></option> + <option value="qmcSearch"><?php _('Search') ?></option> + <option value="qmcPrefs"><?php _('Preferences') ?></option> <option disabled>--------</option> - <option style="color : #5050aa" disabled>Feed actions:</option> - <option value="qmcAddFeed"> Subscribe to feed</option> - <option value="qmcEditFeed"> Edit this feed</option> - <option value="qmcRemoveFeed"> Unsubscribe</option> + <option style="color : #5050aa" disabled><?php _('Feed actions:') ?></option> + <option value="qmcAddFeed"><?php _(' Subscribe to feed') ?></option> + <option value="qmcEditFeed"><?php _(' Edit this feed') ?></option> + <option value="qmcRemoveFeed"><?php _(' Unsubscribe') ?></option> <!-- <option>Edit this feed</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) { ?> - <option value="qmcUpdateFeeds"> Update</option> + <option value="qmcUpdateFeeds"><?php _(' Update') ?></option> <?php } ?> - <option value="qmcCatchupAll"> Mark as read</option> - <option value="qmcShowOnlyUnread"> (Un)hide read feeds</option> + <option value="qmcCatchupAll"><?php _(' Mark as read') ?></option> + <option value="qmcShowOnlyUnread"><?php _(' (Un)hide read feeds') ?></option> <option disabled>--------</option> - <option style="color : #5050aa" disabled>Other actions:</option> - <option value="qmcAddFilter"> Create filter</option> + <option style="color : #5050aa" disabled><?php _('Other actions:') ?></option> + <option value="qmcAddFilter"><?php _(' Create filter') ?></option> </select> </div> <form id="main_toolbar_form"> - Search: <input name="query" + <?php _('Search:') ?> + <input name="query" onKeyPress="return filterCR(event, viewCurrentFeed)" onblur="javascript:enableHotkeys();" onfocus="javascript:disableHotkeys();"> - View: + <?php _('View:') ?> <select name="view_mode" onchange="viewCurrentFeed(0, '')"> - <option selected value="adaptive">Adaptive</option> - <option value="all_articles">All Articles</option> - <option value="marked">Starred</option> - <option value="unread">Unread</option> + <option selected value="adaptive"><?php _('Adaptive') ?></option> + <option value="all_articles"><?php _('All Articles') ?></option> + <option value="marked"><?php _('Starred') ?></option> + <option value="unread"><?php _('Unread') ?></option> </select> - Limit: + + <?php _('Limit:') ?> <?php $limits = array(15 => 15, 30 => 30, 60 => 60, 0 => "All"); @@ -190,7 +192,7 @@ window.onload = init; onclick="quickMenuGo('qmcSearch')" value="Search (tmp)"> --> <input class="button" type="submit" - onclick="viewCurrentFeed('ForceUpdate')" value="Update"> + onclick="viewCurrentFeed('ForceUpdate')" value="<?php _('Update') ?>"> <!-- <input class="button" type="submit" onclick="catchupCurrentFeed()" value="Mark as read"> --> @@ -198,10 +200,12 @@ window.onload = init; </div> <?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> <?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 } ?> <div id="footer"> |