cd13efeabf
Only the unread counter is updated right know. The AutoUpdate Feature is designed on the premise of don't wasting resources. A distinction is made between updates when Miniflux is visible or hidden. To determine the visibility status, the Page Visibility API is used. The API is available starting with Chrome 33, Firefox 18 and IE10. [https://developer.mozilla.org/en-US/docs/Web/Guide/User_experience/Using_the_Page_Visibility_API] As IE9 returns an undefined, it doesn't break the compatibility at least. If Miniflux is visible, the unread counter on the web page is updated as soon as a mismatch between the counter and the number of unread articles in the database is found. If Miniflux is hidden, the timestamp of the most recent article from each feed is compared with the value from the last run. We have an update If the timestamp of the latest article is greater than the stored one and the latest article is unread. The web page title is updated with a ? symbol to notify the user and the update check pauses till Miniflux gets visible again. If Miniflux gets visible again, the number of unread articles is queried from the database, the unread counter on the web page is updated and finally the ? symbol is removed from the web page title. This way I can use my fever API client to read new articles (or at least the latest article) while Miniflux is hidden and as I've seen the new articles already a new articles notification is prevented. It's intentionally that the page does not reload automatically as long as articles are visible. If I'm in hurry, I only scroll through the articles to spot something interesting. Most of the time I don't reach the last article. If the page is reloaded while I'm away, I would have to scan from the top again. If we're on a nothing_to_read page and have unread articles in the database, a redirect to the unread page will be done. The default update check interval is 10 minutes and can be changed on the settings page. A zero value disables the update check entirely. fixes #213
236 lines
9.6 KiB
PHP
236 lines
9.6 KiB
PHP
<?php
|
|
|
|
return array(
|
|
// 'attachment' => '',
|
|
// 'When there is nothing to read, redirect me to this page' => '',
|
|
// 'There is nothing new to read, enjoy your favorites articles!' => '',
|
|
// 'There is nothing new to read, enjoy your previous readings!' => '',
|
|
// 'Immediately' => '',
|
|
// '(error occurred during the last check)' => '',
|
|
// 'The feed id is required' => '',
|
|
// 'The title is required' => '',
|
|
// 'The site url is required' => '',
|
|
// 'The feed url is required' => '',
|
|
'or' => 'o',
|
|
// 'edit' => '',
|
|
'cancel' => 'annulla',
|
|
// 'Feed URL' => '',
|
|
// 'Website URL' => '',
|
|
// 'Title' => '',
|
|
// 'Edit subscription' => '',
|
|
// 'Unable to edit your subscription.' => '',
|
|
// 'Your subscription has been updated.' => '',
|
|
// 'Older items first' => '',
|
|
// 'Most recent first' => '',
|
|
// 'Default sorting order for items' => '',
|
|
// 'This subscription is empty, %sgo back to unread items%s' => '',
|
|
// 'sort by date %s(%s)%s' => '',
|
|
// 'most recent first' => '',
|
|
// 'older first' => '',
|
|
// 'Show only this subscription' => '',
|
|
// 'Go to unread' => '',
|
|
// 'Go to bookmarks' => '',
|
|
// 'Go to history' => '',
|
|
// 'Go to subscriptions' => '',
|
|
// 'Go to preferences' => '',
|
|
// 'Bookmarklet' => '',
|
|
// 'Subscribe with Miniflux' => '',
|
|
// 'Drag and drop this link to your bookmarks' => '',
|
|
// 'Download full content' => '',
|
|
// 'Downloading full content is slower because Miniflux grab the content from the original website. You should use that for subscriptions that display only a summary. This feature doesn\'t work with all websites.' => '',
|
|
// 'No message' => '',
|
|
// 'flush messages' => '',
|
|
// 'API endpoint:' => '',
|
|
// 'API username:' => '',
|
|
// 'API token:' => '',
|
|
// 'Generate new tokens' => '',
|
|
// 'Bookmark RSS Feed' => '',
|
|
// 'updated just now' => '',
|
|
// 'checked at' => '',
|
|
// 'never updated after creation' => '',
|
|
// 'Subscription disabled' => '',
|
|
// 'content downloaded' => '',
|
|
// 'in progress...' => '',
|
|
// 'unable to fetch content' => '',
|
|
// 'Download content' => '',
|
|
// 'download content' => '',
|
|
'Help' => 'Aiuto',
|
|
'Theme' => 'Tema',
|
|
'Items per page' => 'Articoli per pagina',
|
|
'Previous page' => 'Pagina precedente',
|
|
'Next page' => 'Pagina successiva',
|
|
'Do not fetch the content of articles' => 'Non scaricare il contenuto degli articoli',
|
|
'Remove automatically read items' => 'Cancella automaticamente articoli già letti',
|
|
'Never' => 'Mai',
|
|
'After %d day' => 'Dopo %d giorno',
|
|
'After %d days' => 'Dopo %d giorni',
|
|
'unread' => 'non letti',
|
|
'Unread' => 'Non letti',
|
|
'bookmark' => 'bookmark',
|
|
'remove bookmark' => 'cancella bookmark',
|
|
'bookmarks' => 'bookmark',
|
|
'Bookmarks' => 'Bookmark',
|
|
'Bookmark item' => 'Aggiungi ai bookmark',
|
|
'No bookmark' => 'Nessun bookmark',
|
|
'history' => 'cronologia',
|
|
'subscriptions' => 'sottoscrizioni',
|
|
'Subscriptions' => 'Sottoscrizioni',
|
|
'preferences' => 'preferenze',
|
|
'Preferences' => 'Preferenze',
|
|
'logout' => 'esci',
|
|
'Username' => 'Utente',
|
|
'Password' => 'Password',
|
|
'Confirmation' => 'Conferma',
|
|
'Language' => 'Lingua',
|
|
'Save' => 'Salva',
|
|
'Database size:' => 'Dimensione database:',
|
|
'Optimize the database' => 'Ottimizza il database',
|
|
'(VACUUM command)' => '(comando VACUUM)',
|
|
'Download the entire database' => 'Scarica l\'intero database',
|
|
'(Gzip compressed Sqlite file)' => '(Comprimi il file Sqlite con Gzip)',
|
|
'Keyboard shortcuts' => 'Scorciatoie da tastiera',
|
|
'Previous item' => 'Articolo precedente',
|
|
'Next item' => 'Articolo successivo',
|
|
'Mark as read or unread' => 'Segna come già letto o non letto',
|
|
'Open original link' => 'Apri link originale',
|
|
'Open item' => 'Apri articolo',
|
|
'About' => 'Informazioni sul software',
|
|
'Miniflux version:' => 'Versione Miniflux:',
|
|
'Nothing to read' => 'Niente da leggere',
|
|
'mark all as read' => 'segna tutti come già letti',
|
|
'original link' => 'link originale',
|
|
'mark as read' => 'segna come già letto',
|
|
'No history' => 'Nessuna cronologia',
|
|
'mark as unread' => 'segna come non letto',
|
|
'History' => 'Cronologia',
|
|
'flush all items' => 'cancella tutti gli articoli',
|
|
'Item not found' => 'Articolo non trovato',
|
|
'Next' => 'Successivo',
|
|
'Previous' => 'Precedente',
|
|
'Sign in' => 'Accedi',
|
|
'feeds' => 'feed',
|
|
'add' => 'aggiungi',
|
|
'import' => 'importa',
|
|
'export' => 'esporta',
|
|
'OPML Import' => 'Importa OPML',
|
|
'OPML file' => 'file OPML',
|
|
'Import' => 'Importa',
|
|
'refresh all' => 'aggiorna tutti',
|
|
'No subscription' => 'Nessuna sottoscrizione',
|
|
'remove' => 'cancella',
|
|
'Remove' => 'Cancella',
|
|
'refresh' => 'aggiorna',
|
|
'New subscription' => 'Nuova sottoscrizione',
|
|
'Website or Feed URL' => 'Sito web o URL del feed',
|
|
'Add' => 'Aggiungi',
|
|
'http://website/' => 'http://sitoweb/',
|
|
'Official website:' => 'Sito ufficiale:',
|
|
'Bad username or password' => 'Utente o password errati',
|
|
'Unable to update your preferences.' => 'Impossibile aggiornare le preferenze.',
|
|
'Your preferences are updated.' => 'Preferenze aggiornate.',
|
|
'Unable to import your OPML file.' => 'Impossibile importare il file OPML.',
|
|
'Your feeds have been imported.' => 'I tuoi feed sono stati importati.',
|
|
'Unable to find a subscription.' => 'Impossibile effettuare sottoscrizione.',
|
|
'Subscription added successfully.' => 'Sottoscrizione effettuata con successo.',
|
|
'Your subscriptions are updated' => 'Sottoscrizioni aggiornate.',
|
|
'Unable to remove this subscription.' => 'Impossibile rimuovere questa sottoscrizione.',
|
|
'This subscription has been removed successfully.' => 'Sottoscrizione rimossa con successo.',
|
|
'The user name is required' => 'Il nome utente è obbligatorio.',
|
|
'The maximum length is 50 characters' => 'La lunghezza massima è di 50 caratteri.',
|
|
'The password is required' => 'La password è obbligatoria.',
|
|
'The minimum length is 6 characters' => 'La lunghezza minima è di 6 caratteri.',
|
|
'The confirmation is required' => 'La conferma è obbligatoria.',
|
|
'Passwords don\'t match' => 'Le password non coincidono',
|
|
'Do you really want to remove these items from your history?' => 'Vuoi veramente cancellare questi articoli dalla cronologia?',
|
|
'Do you really want to remove this subscription: "%s"?' => 'Vuoi veramente cancellare la sottoscrizione a: "%s" ?',
|
|
'Nothing to read, do you want to %supdate your subscriptions%s?' => 'Niente da leggere, vuoi %saggiornare tutte le sottoscrizioni%s?',
|
|
'Show help' => 'Mostra guida',
|
|
'Close help' => 'Chiudi guida',
|
|
// '%d second ago' => '',
|
|
// '%d seconds ago' => '',
|
|
// '%d minute ago' => '',
|
|
// '%d minutes ago' => '',
|
|
// '%d hour ago' => '',
|
|
// '%d hours ago' => '',
|
|
// '%d day ago' => '',
|
|
// '%d days ago' => '',
|
|
// '%d week ago' => '',
|
|
// '%d weeks ago' => '',
|
|
// '%d month ago' => '',
|
|
// '%d months ago' => '',
|
|
// 'Timezone' => '',
|
|
// 'Update all subscriptions' => '',
|
|
// 'Auto-Update URL' => '',
|
|
// 'Update Miniflux' => '',
|
|
// 'Miniflux is updated!' => '',
|
|
// 'Unable to update Miniflux, check the console for errors.' => '',
|
|
// 'Don\'t forget to backup your database' => '',
|
|
// 'The name must have only alpha-numeric characters' => '',
|
|
// 'New database' => '',
|
|
// 'Database name' => '',
|
|
// 'Default database' => '',
|
|
// 'Select another database' => '',
|
|
// 'The database name is required' => '',
|
|
// 'Database created successfully.' => '',
|
|
// 'Unable to create the new database.' => '',
|
|
// 'Add a new database (new user)' => '',
|
|
// 'Create' => '',
|
|
// 'Unknown' => '',
|
|
// 'Remember Me' => '',
|
|
// 'Display items on lists' => '',
|
|
// 'Summaries' => '',
|
|
// 'Full contents' => '',
|
|
// 'Force RTL mode (Right-to-left language)' => '',
|
|
// 'Activated' => '',
|
|
// 'Remove this feed' => '',
|
|
// 'Miniflux' => '',
|
|
// 'mini%sflux%s' => '',
|
|
// 'All' => '',
|
|
// 'Advanced' => '',
|
|
// 'Documentation' => '',
|
|
// 'Installation instructions' => '',
|
|
// 'Upgrade to a new version' => '',
|
|
// 'Cronjob' => '',
|
|
// 'Advanced configuration' => '',
|
|
// 'Full article download' => '',
|
|
// 'Multiple users' => '',
|
|
// 'Themes' => '',
|
|
// 'Json-RPC API' => '',
|
|
// 'Fever API' => '',
|
|
// 'Translations' => '',
|
|
// 'Run Miniflux with Docker' => '',
|
|
// 'FAQ' => '',
|
|
// 'settings' => '',
|
|
// 'help' => '',
|
|
// 'api' => '',
|
|
// 'about' => '',
|
|
// 'This action will update Miniflux with the last development version, are you sure?' => '',
|
|
// 'database' => '',
|
|
// 'Console' => '',
|
|
// 'Miniflux API' => '',
|
|
// 'menu' => '',
|
|
// 'Default' => '',
|
|
// 'Value required' => '',
|
|
// 'Must be an integer' => '',
|
|
// 'Remove automatically unread items' => '',
|
|
// 'Toggle RTL mode' => '',
|
|
// 'external services' => '',
|
|
// 'Send bookmarks to Pinboard' => '',
|
|
// 'Pinboard API token' => '',
|
|
// 'Pinboard tags' => '',
|
|
// 'Instapaper username' => '',
|
|
// 'Instapaper password' => '',
|
|
// 'Instapaper' => '',
|
|
// 'Pinboard' => '',
|
|
// 'Send bookmarks to Instapaper' => '',
|
|
// 'Authentication' => '',
|
|
// 'Reading' => '',
|
|
// 'Application' => '',
|
|
// 'Enable image proxy' => '',
|
|
// 'Avoid mixed content warnings with HTTPS' => '',
|
|
// 'Download favicons' => '',
|
|
// 'general' => '',
|
|
// 'An error occurred during the last check. Refresh the feed manually and check the %sconsole%s for errors afterwards!' => '',
|
|
// 'Frontend updatecheck interval in minutes' => '',
|
|
);
|