Skip to content

A free, self-hostable news aggregator…

Merge branch 'dev' into 252-extensions

Marien Fressinaud0b898678003b
diff --cc app/i18n/en/admin.php
index d73775d96,083cabfed..4eeccff32
--- a/app/i18n/en/admin.php
+++ b/app/i18n/en/admin.php
@@@ -86,12 -102,55 +102,60 @@@ return array
'ok' => 'You have ZIP extension.',
),
),
+ 'extensions' => array(
+ 'empty_list' => 'There is no installed extension',
+ 'system' => 'System extension (you have no rights on it)',
+ 'title' => 'Extensions',
+ ),
- 'users' => array(
+ 'stats' => array(
+ '_' => 'Statistics',
+ 'all_feeds' => 'All feeds',
+ 'category' => 'Category',
+ 'entry_count' => 'Entry count',
+ 'entry_per_category' => 'Entries per category',
+ 'entry_per_day' => 'Entries per day (last 30 days)',
+ 'entry_per_day_of_week' => 'Per day of week (average: %.2f messages)',
+ 'entry_per_hour' => 'Per hour (average: %.2f messages)',
+ 'entry_per_month' => 'Per month (average: %.2f messages)',
+ 'entry_repartition' => 'Entries repartition',
+ 'feed' => 'Feed',
+ 'feed_per_category' => 'Feeds per category',
+ 'idle' => 'Idle feeds',
+ 'main' => 'Main statistics',
+ 'main_stream' => 'Main stream',
+ 'menu' => array(
+ 'idle' => 'Idle feeds',
+ 'main' => 'Main statistics',
+ 'repartition' => 'Articles repartition',
+ ),
+ 'no_idle' => 'There is no idle feed!',
+ 'number_entries' => '%d articles',
+ 'percent_of_total' => '%% of total',
+ 'repartition' => 'Articles repartition',
+ 'status_favorites' => 'Favourites',
+ 'status_read' => 'Read',
+ 'status_total' => 'Total',
+ 'status_unread' => 'Unread',
+ 'title' => 'Statistics',
+ 'top_feed' => 'Top ten feeds',
+ ),
+ 'update' => array(
+ '_' => 'Update system',
+ 'apply' => 'Apply',
+ 'check' => 'Check for new updates',
+ 'last' => 'Last verification: %s',
+ 'none' => 'No update to apply',
+ 'title' => 'Update system',
+ ),
+ 'user' => array(
'articles_and_size' => '%s articles (%s)',
+ 'create' => 'Create new user',
+ 'email_persona' => 'Login mail address<br /><small>(for <a href="https://persona.org/" rel="external">Mozilla Persona</a>)</small>',
+ 'language' => 'Language',
+ 'password_form' => 'Password<br /><small>(for the Web-form login method)</small>',
+ 'title' => 'Manage users',
+ 'user_list' => 'List of users',
+ 'username' => 'Username',
+ 'users' => 'Users',
),
);
diff --cc app/i18n/en/feedback.php
index df1dc5725,8df83ac0a..5f7183da3
--- a/app/i18n/en/feedback.php
+++ b/app/i18n/en/feedback.php
@@@ -1,22 -1,96 +1,104 @@@
<?php
return array(
+ 'admin' => array(
+ 'optimization_complete' => 'Optimization complete',
+ ),
+ 'access' => array(
+ 'denied' => 'You don’t have permission to access this page',
+ 'not_found' => 'You are looking for a page which doesn’t exist',
+ ),
+ 'auth' => array(
+ 'form' => array(
+ 'not_set' => 'A problem occured during authentication system configuration. Please retry later.',
+ 'set' => 'Form is now your default authentication system.',
+ ),
+ 'login' => array(
+ 'invalid' => 'Login is invalid',
+ 'success' => 'You are connected',
+ ),
+ 'logout' => array(
+ 'success' => 'You are disconnected',
+ ),
+ 'no_password_set' => 'Administrator password hasn’t been set. This feature isn’t available.',
+ 'not_persona' => 'Only Persona system can be reset.',
+ ),
+ 'conf' => array(
+ 'error' => 'An error occurred during configuration saving',
+ 'query_created' => 'Query "%s" has been created.',
+ 'shortcuts_updated' => 'Shortcuts have been updated',
+ 'updated' => 'Configuration has been updated',
+ ),
+ 'extensions' => array(
+ 'already_enabled' => '%s is already enabled',
+ 'disabled' => '%s is now disabled',
+ 'enabled' => '%s is now enabled',
+ 'no_access' => 'You have no access on %s',
+ 'not_enabled' => '%s is not enabled yet',
+ 'not_found' => '%s does not exist',
+ ),
- 'login' => array(
- 'error' => 'Login is invalid',
- 'success' => 'You are connected',
+ 'import_export' => array(
+ 'export_no_zip_extension' => 'Zip extension is not present on your server. Please try to export files one by one.',
+ 'feeds_imported' => 'Your feeds have been imported and will now be updated',
+ 'feeds_imported_with_errors' => 'Your feeds have been imported but some errors occurred',
+ 'file_cannot_be_uploaded' => 'File cannot be uploaded!',
+ 'no_zip_extension' => 'Zip extension is not present on your server.',
+ 'zip_error' => 'An error occured during Zip import.',
+ ),
+ 'sub' => array(
+ 'actualize' => 'Actualize',
+ 'category' => array(
+ 'created' => 'Category %s has been created.',
+ 'deleted' => 'Category has been deleted.',
+ 'emptied' => 'Category has been emptied',
+ 'error' => 'Category cannot be updated',
+ 'name_exists' => 'Category name already exists.',
+ 'no_id' => 'You must precise the id of the category.',
+ 'no_name' => 'Category name cannot be empty.',
+ 'not_delete_default' => 'You cannot delete the default category!',
+ 'not_exist' => 'The category does not exist!',
+ 'over_max' => 'You have reached your limit of categories (%d)',
+ 'updated' => 'Category has been updated.',
+ ),
+ 'feed' => array(
+ 'actualized' => '<em>%s</em> has been updated',
+ 'actualizeds' => 'RSS feeds have been updated',
+ 'added' => 'RSS feed <em>%s</em> has been added',
+ 'already_subscribed' => 'You have already subscribed to <em>%s</em>',
+ 'deleted' => 'Feed has been deleted',
+ 'error' => 'Feed cannot be updated',
+ 'internal_problem_feed' => 'The RSS feed could not be added. <a href="%s">Check FressRSS logs</a> for details.',
+ 'invalid_url' => 'URL <em>%s</em> is invalid',
+ 'marked_read' => 'Feeds have been marked as read',
+ 'n_actualized' => '%d feeds have been updated',
+ 'n_entries_deleted' => '%d articles have been deleted',
+ 'no_refresh' => 'There is no feed to refresh…',
+ 'not_added' => '<em>%s</em> could not be added',
+ 'over_max' => 'You have reached your limit of feeds (%d)',
+ 'updated' => 'Feed has been updated',
+ ),
+ 'purge_completed' => 'Purge completed (%d articles deleted)',
+ ),
+ 'update' => array(
+ 'can_apply' => 'An update is available.',
+ 'error' => 'The update process has encountered an error: %s',
+ 'file_is_nok' => 'Check permissions on <em>%s</em> directory. HTTP server must have rights to write into',
+ 'finished' => 'Update completed!',
+ 'none' => 'No update to apply',
+ 'server_not_found' => 'Update server cannot be found. [%s]',
),
- 'logout' => array(
- 'success' => 'You are disconnected',
+ 'user' => array(
+ 'created' => array(
+ '_' => 'User %s has been created',
+ 'error' => 'User %s cannot be created',
+ ),
+ 'deleted' => array(
+ '_' => 'User %s has been deleted',
+ 'error' => 'User %s cannot be deleted',
+ ),
),
- 'user_profile' => array(
+ 'profile' => array(
+ 'error' => 'Your profile cannot be modified',
'updated' => 'Your profile has been modified',
),
);
diff --cc app/i18n/en/gen.php
index ff0b8bb86,43f94f1bc..80d37509e
--- a/app/i18n/en/gen.php
+++ b/app/i18n/en/gen.php
@@@ -1,207 -1,121 +1,122 @@@
<?php
return array(
- 'Apr' => '\\A\\p\\r\\i\\l',
- 'Aug' => '\\A\\u\\g\\u\\s\\t',
- 'Dec' => '\\D\\e\\c\\e\\m\\b\\e\\r',
- 'Feb' => '\\F\\e\\b\\r\\u\\a\\r\\y',
- 'Jan' => '\\J\\a\\n\\u\\a\\r\\y',
- 'Jul' => '\\J\\u\\l\\y',
- 'Jun' => '\\J\\u\\n\\e',
- 'Mar' => '\\M\\a\\r\\c\\h',
- 'May' => '\\M\\a\\y',
- 'Nov' => '\\N\\o\\v\\e\\m\\b\\e\\r',
- 'Oct' => '\\O\\c\\t\\o\\b\\e\\r',
- 'Sep' => '\\S\\e\\p\\t\\e\\m\\b\\e\\r',
- 'about' => 'About',
- 'about_freshrss' => 'About FreshRSS',
- 'access_denied' => 'You don’t have permission to access this page',
- 'access_protected_feeds' => 'Connection allows to access HTTP protected RSS feeds',
- 'activate_sharing' => 'Activate sharing',
- 'actualize' => 'Actualize',
- 'add_category' => 'Add a category',
- 'add_query' => 'Add a query',
- 'add_rss_feed' => 'Add a RSS feed',
- 'administration' => 'Manage',
- 'advanced' => 'Advanced',
- 'after_onread' => 'After “mark all as read”,',
- 'agpl3' => '<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL 3</a>',
- 'all_feeds' => 'All feeds',
- 'allow_anonymous' => 'Allow anonymous reading of the articles of the default user (%s)',
- 'allow_anonymous_refresh' => 'Allow anonymous refresh of the articles',
- 'already_subscribed' => 'You have already subscribed to <em>%s</em>',
- 'api_enabled' => 'Allow <abbr>API</abbr> access <small>(required for mobile apps)</small>',
- 'apr' => 'apr',
- 'april' => 'Apr',
- 'archiving_configuration' => 'Archiving',
- 'archiving_configuration_help' => 'More options are available in the individual stream settings',
- 'article' => 'Article',
- 'article_icons' => 'Article icons',
- 'article_open_on_website' => 'when article is opened on its original website',
- 'article_published_on' => 'This article originally appeared on <a href="%s">%s</a>',
- 'article_published_on_author' => 'This article originally appeared on <a href="%s">%s</a> by %s',
- 'article_viewed' => 'when article is viewed',
- 'articles' => 'articles',
- 'articles_per_page' => 'Number of articles per page',
- 'articles_to_display' => 'Articles to display',
- 'ask_empty' => 'Clear?',
- 'attention' => 'Attention!',
- 'aug' => 'aug',
- 'august' => 'Aug',
- 'auth_form' => 'Web form (traditional, requires JavaScript)',
- 'auth_form_not_set' => 'A problem occured during authentication system configuration. Please retry later.',
- 'auth_form_set' => 'Form is now your default authentication system.',
- 'auth_no_password_set' => 'Administrator password hasn’t been set. This feature isn’t available.',
- 'auth_none' => 'None (dangerous)',
- 'auth_not_persona' => 'Only Persona system can be reset.',
- 'auth_persona' => 'Mozilla Persona (modern, requires JavaScript)',
- 'auth_reset' => 'Authentication reset',
- 'auth_token' => 'Authentication token',
- 'auth_type' => 'Authentication method',
- 'auth_will_reset' => 'Authentication system will be reset: a form will be used instead of Persona.',
- 'author' => 'Author',
- 'auto_load_more' => 'Load next articles at the page bottom',
- 'auto_read_when' => 'Mark article as read…',
- 'auto_remove_article' => 'Hide articles after reading',
- 'auto_share' => 'Share',
- 'auto_share_help' => 'If there is only one sharing mode, it is used. Else modes are accessible by their number.',
- 'back_to_rss_feeds' => '← Go back to your RSS feeds',
- 'bad_opml_file' => 'Your OPML file is invalid',
- 'base_url' => 'Base URL',
- 'bdd' => 'Database',
- 'bdd_conf_is_ko' => 'Verify your database information.',
- 'bdd_conf_is_ok' => 'Database configuration has been saved.',
- 'bdd_configuration' => 'Database configuration',
- 'bdd_type' => 'Type of database',
- 'before_one_day' => 'Before one day',
- 'before_one_week' => 'Before one week',
- 'before_yesterday' => 'Before yesterday',
- 'blank_to_disable' => 'Leave blank to disable',
- 'blogotext' => 'Blogotext',
- 'bookmark' => 'Subscribe (FreshRSS bookmark)',
- 'bottom_line' => 'Bottom line',
- 'bugs_reports' => 'Bugs reports',
- 'by' => 'by',
- 'by_author' => 'By <em>%s</em>',
- 'by_default' => 'By default',
- 'by_email' => 'By email',
- 'by_feed' => 'by feed',
- 'cache_is_ok' => 'Permissions on cache directory are good',
- 'can_not_be_deleted' => 'Cannot be deleted',
- 'cancel' => 'Cancel',
- 'categories' => 'Categories',
- 'categories_management' => 'Categories management',
- 'categories_updated' => 'Categories have been updated',
- 'categorize' => 'Store in a category',
- 'category' => 'Category',
- 'category_created' => 'Category %s has been created.',
- 'category_deleted' => 'Category has been deleted.',
- 'category_emptied' => 'Category has been emptied',
- 'category_empty' => 'Empty category',
- 'category_name_exists' => 'Category name already exists.',
- 'category_no_id' => 'You must precise the id of the category.',
- 'category_no_name' => 'Category name cannot be empty.',
- 'category_not_delete_default' => 'You cannot delete the default category!',
- 'category_not_exist' => 'The category does not exist!',
- 'category_number' => 'Category n°%d',
- 'category_updated' => 'Category has been updated.',
- 'change_value' => 'You should change this value by any other',
- 'checks' => 'Checks',
- 'choose_language' => 'Choose a language for FreshRSS',
- 'clear_logs' => 'Clear the logs',
- 'collapse_article' => 'Collapse',
- 'configuration' => 'Configuration',
- 'configuration_updated' => 'Configuration has been updated',
- 'confirm_action' => 'Are you sure you want to perform this action? It cannot be cancelled!',
- 'confirm_action_feed_cat' => 'Are you sure you want to perform this action? You will lose related favorites and user queries. It cannot be cancelled!',
- 'congratulations' => 'Congratulations!',
- 'content_width' => 'Content width',
- 'create' => 'Create',
- 'create_user' => 'Create new user',
- 'credits' => 'Credits',
- 'credits_content' => 'Some design elements come from <a href="http://twitter.github.io/bootstrap/">Bootstrap</a> although FreshRSS doesn’t use this framework. <a href="https://git.gnome.org/browse/gnome-icon-theme-symbolic">Icons</a> come from <a href="https://www.gnome.org/">GNOME project</a>. <em>Open Sans</em> font police has been created by <a href="https://www.google.com/webfonts/specimen/Open+Sans">Steve Matteson</a>. Favicons are collected with <a href="https://getfavicon.appspot.com/">getFavicon API</a>. FreshRSS is based on <a href="https://github.com/marienfressinaud/MINZ">Minz</a>, a PHP framework.',
- 'css_path_on_website' => 'Articles CSS path on original website',
- 'ctype_is_nok' => 'You lack a required library for character type checking (php-ctype)',
- 'ctype_is_ok' => 'You have the required library for character type checking (ctype)',
- 'curl_is_nok' => 'You lack cURL (php5-curl package)',
- 'curl_is_ok' => 'You have version %s of cURL',
- 'current_user' => 'Current user',
- 'damn' => 'Damn!',
- 'data_is_ok' => 'Permissions on data directory are good',
- 'dec' => 'dec',
- 'december' => 'Dec',
- 'default_category' => 'Uncategorized',
- 'default_user' => 'Username of the default user <small>(maximum 16 alphanumeric characters)</small>',
- 'default_view' => 'Default view',
- 'delete' => 'Delete',
- 'delete_articles_every' => 'Remove articles after',
- 'diaspora' => 'Diaspora*',
- 'display' => 'Display',
- 'display_articles_unfolded' => 'Show articles unfolded by default',
- 'display_categories_unfolded' => 'Show categories folded by default',
- 'display_configuration' => 'Display',
- 'do_not_change_if_doubt' => 'Don’t change if you doubt about it',
- 'dom_is_nok' => 'You lack a required library to browse the DOM (php-xml package)',
- 'dom_is_ok' => 'You have the required library to browse the DOM',
- 'email' => 'Email',
- 'error_occurred' => 'An error occurred',
- 'error_occurred_update' => 'Nothing was changed',
- 'explain_token' => 'Allows to access RSS output of the default user without authentication.<br /><kbd>%s?output=rss&token=%s</kbd>',
- 'export' => 'Export',
- 'export_no_zip_extension' => 'Zip extension is not present on your server. Please try to export files one by one.',
- 'export_opml' => 'Export list of feeds (OPML)',
- 'export_starred' => 'Export your favourites',
- 'facebook' => 'Facebook',
- 'favicons_is_ok' => 'Permissions on favicons directory are good',
- 'favorite_feeds' => 'Favourites (%s)',
- 'feb' => 'feb',
- 'february' => 'Feb',
- 'feed' => 'Feed',
- 'feed_actualized' => '<em>%s</em> has been updated',
- 'feed_added' => 'RSS feed <em>%s</em> has been added',
- 'feed_deleted' => 'Feed has been deleted',
- 'feed_description' => 'Description',
- 'feed_empty' => 'This feed is empty. Please verify that it is still maintained.',
- 'feed_in_error' => 'This feed has encountered a problem. Please verify that it is always reachable then actualize it.',
- 'feed_list' => 'List of %s articles',
- 'feed_not_added' => '<em>%s</em> could not be added',
- 'feed_updated' => 'Feed has been updated',
- 'feed_url' => 'Feed URL',
- 'feed_validator' => 'Check the validity of the feed',
- 'feeds' => 'Feeds',
- 'feeds_actualized' => 'RSS feeds have been updated',
- 'feeds_imported' => 'Your feeds have been imported and will now be updated',
- 'feeds_imported_with_errors' => 'Your feeds have been imported but some errors occurred',
- 'feeds_marked_read' => 'Feeds have been marked as read',
- 'feeds_moved_category_deleted' => 'When you delete a category, their feeds are automatically classified under <em>%s</em>.',
- 'file_cannot_be_uploaded' => 'File cannot be uploaded!',
- 'file_is_nok' => 'Check permissions on <em>%s</em> directory. HTTP server must have rights to write into',
- 'file_to_import' => 'File to import<br />(OPML, Json or Zip)',
- 'file_to_import_no_zip' => 'File to import<br />(OPML or Json)',
- 'filter' => 'Filter',
- 'finish_installation' => 'Complete installation',
- 'first' => 'First',
- 'first_article' => 'Skip to the first article',
- 'fix_errors_before' => 'Fix errors before skip to the next step.',
- 'focus_search' => 'Access search box',
- 'format_date' => '%s j\\<\\s\\u\\p\\>S\\<\\/\\s\\u\\p\\> Y',
- 'format_date_hour' => '%s j\\<\\s\\u\\p\\>S\\<\\/\\s\\u\\p\\> Y \\a\\t H\\:i',
- 'freshrss' => 'FreshRSS',
- 'freshrss_description' => 'FreshRSS is a RSS feeds aggregator to self-host like <a href="http://tontof.net/kriss/feed/">Kriss Feed</a> or <a href="http://projet.idleman.fr/leed/">Leed</a>. It is light and easy to take in hand while being powerful and configurable tool.',
- 'freshrss_installation' => 'Installation · FreshRSS',
- 'fri' => 'Fri',
- 'g+' => 'Google+',
- 'actions' => array(
+ 'action' => array(
+ 'actualize' => 'Actualize',
+ 'back_to_rss_feeds' => '← Go back to your RSS feeds',
+ 'cancel' => 'Cancel',
+ 'create' => 'Create',
'disable' => 'Disable',
+ 'empty' => 'Empty',
'enable' => 'Enable',
+ 'export' => 'Export',
+ 'filter' => 'Filtrer',
+ 'import' => 'Import',
'manage' => 'Manage',
+ 'mark_read' => 'Mark as read',
+ 'mark_favorite' => 'Mark as favourite',
'remove' => 'Remove',
+ 'see_website' => 'See website',
+ 'submit' => 'Submit',
+ 'truncate' => 'Delete all articles',
+ ),
+ 'auth' => array(
+ 'keep_logged_in' => 'Keep me logged in <small>(1 month)</small>',
+ 'login' => 'Login',
+ 'login_persona' => 'Login with Persona',
+ 'login_persona_problem' => 'Connection problem with Persona?',
+ 'logout' => 'Logout',
+ 'password' => 'Password',
+ 'reset' => 'Authentication reset',
+ 'username' => 'Username',
+ 'username_admin' => 'Administrator username',
+ 'will_reset' => 'Authentication system will be reset: a form will be used instead of Persona.',
+ ),
+ 'date' => array(
+ 'Apr' => '\\A\\p\\r\\i\\l',
+ 'Aug' => '\\A\\u\\g\\u\\s\\t',
+ 'Dec' => '\\D\\e\\c\\e\\m\\b\\e\\r',
+ 'Feb' => '\\F\\e\\b\\r\\u\\a\\r\\y',
+ 'Jan' => '\\J\\a\\n\\u\\a\\r\\y',
+ 'Jul' => '\\J\\u\\l\\y',
+ 'Jun' => '\\J\\u\\n\\e',
+ 'Mar' => '\\M\\a\\r\\c\\h',
+ 'May' => '\\M\\a\\y',
+ 'Nov' => '\\N\\o\\v\\e\\m\\b\\e\\r',
+ 'Oct' => '\\O\\c\\t\\o\\b\\e\\r',
+ 'Sep' => '\\S\\e\\p\\t\\e\\m\\b\\e\\r',
+ 'apr' => 'apr',
+ 'april' => 'Apr',
+ 'aug' => 'aug',
+ 'august' => 'Aug',
+ 'before_yesterday' => 'Before yesterday',
+ 'dec' => 'dec',
+ 'december' => 'Dec',
+ 'feb' => 'feb',
+ 'february' => 'Feb',
+ 'format_date' => '%s j\\<\\s\\u\\p\\>S\\<\\/\\s\\u\\p\\> Y',
+ 'format_date_hour' => '%s j\\<\\s\\u\\p\\>S\\<\\/\\s\\u\\p\\> Y \\a\\t H\\:i',
+ 'fri' => 'Fri',
+ 'jan' => 'jan',
+ 'january' => 'Jan',
+ 'jul' => 'jul',
+ 'july' => 'Jul',
+ 'jun' => 'jun',
+ 'june' => 'Jun',
+ 'last_3_month' => 'Last three months',
+ 'last_6_month' => 'Last six months',
+ 'last_month' => 'Last month',
+ 'last_week' => 'Last week',
+ 'last_year' => 'Last year',
+ 'mar' => 'mar',
+ 'march' => 'Mar',
+ 'may' => 'May',
+ 'mon' => 'Mon',
+ 'month' => 'months',
+ 'nov' => 'nov',
+ 'november' => 'Nov',
+ 'oct' => 'oct',
+ 'october' => 'Oct',
+ 'sat' => 'Sat',
+ 'sep' => 'sep',
+ 'september' => 'Sep',
+ 'sun' => 'Sun',
+ 'thu' => 'Thu',
+ 'today' => 'Today',
+ 'tue' => 'Tue',
+ 'wed' => 'Wed',
+ 'yesterday' => 'Yesterday',
+ ),
+ 'freshrss' => array(
+ '_' => 'FreshRSS',
+ 'about' => 'About FreshRSS',
+ ),
+ 'js' => array(
+ 'category_empty' => 'Empty category',
+ 'confirm_action' => 'Are you sure you want to perform this action? It cannot be cancelled!',
+ 'confirm_action_feed_cat' => 'Are you sure you want to perform this action? You will lose related favorites and user queries. It cannot be cancelled!',
+ 'new_article' => 'There are new available articles, click to refresh the page.',
+ 'notif_body_new_articles' => 'There are \\d new articles to read on FreshRSS.',
+ 'notif_title_new_articles' => 'FreshRSS: new articles!',
+ 'should_be_activated' => 'JavaScript must be enabled',
),
'menu' => array(
+ 'about' => 'About',
'admin' => 'Administration',
+ 'archiving' => 'Archiving',
'authentication' => 'Authentication',
'check_install' => 'Installation checking',
+ 'configuration' => 'Configuration',
+ 'display' => 'Display',
+ 'extensions' => 'Extensions',
+ 'logs' => 'Logs',
+ 'queries' => 'User queries',
+ 'reading' => 'Reading',
+ 'search' => 'Search words or #tags',
+ 'sharing' => 'Sharing',
+ 'shortcuts' => 'Shortcuts',
+ 'stats' => 'Statistics',
+ 'update' => 'Update',
'user_management' => 'Manage users',
'user_profile' => 'Profile',
),
diff --cc app/i18n/fr/admin.php
index e46a5a7b0,1d327a33c..6cf49c3f9
--- a/app/i18n/fr/admin.php
+++ b/app/i18n/fr/admin.php
@@@ -86,12 -102,55 +102,60 @@@ return array
'ok' => 'Vous disposez de l\'extension ZIP.',
),
),
+ 'extensions' => array(
+ 'empty_list' => 'Il n’y a aucune extension installée.',
+ 'system' => 'Extension système (vous n’avez aucun droit dessus)',
+ 'title' => 'Extensions',
+ ),
- 'users' => array(
+ 'stats' => array(
+ '_' => 'Statistiques',
+ 'all_feeds' => 'Tous les flux',
+ 'category' => 'Catégorie',
+ 'entry_count' => 'Nombre d’articles',
+ 'entry_per_category' => 'Articles par catégorie',
+ 'entry_per_day' => 'Nombre d’articles par jour (30 derniers jours)',
+ 'entry_per_day_of_week' => 'Par jour de la semaine (moyenne : %.2f messages)',
+ 'entry_per_hour' => 'Par heure (moyenne : %.2f messages)',
+ 'entry_per_month' => 'Par mois (moyenne : %.2f messages)',
+ 'entry_repartition' => 'Répartition des articles',
+ 'feed' => 'Flux',
+ 'feed_per_category' => 'Flux par catégorie',
+ 'idle' => 'Flux inactifs',
+ 'main' => 'Statistiques principales',
+ 'main_stream' => 'Flux principal',
+ 'menu' => array(
+ 'idle' => 'Flux inactifs',
+ 'main' => 'Statistiques principales',
+ 'repartition' => 'Répartition des articles',
+ ),
+ 'no_idle' => 'Il n’y a aucun flux inactif !',
+ 'number_entries' => '%d articles',
+ 'percent_of_total' => '%% du total',
+ 'repartition' => 'Répartition des articles',
+ 'status_favorites' => 'favoris',
+ 'status_read' => 'lus',
+ 'status_total' => 'total',
+ 'status_unread' => 'non lus',
+ 'title' => 'Statistiques',
+ 'top_feed' => 'Les dix plus gros flux',
+ ),
+ 'update' => array(
+ '_' => 'Système de mise à jour',
+ 'apply' => 'Appliquer la mise à jour',
+ 'check' => 'Vérifier les mises à jour',
+ 'last' => 'Dernière vérification : %s',
+ 'none' => 'Aucune mise à jour à appliquer',
+ 'title' => 'Système de mise à jour',
+ ),
+ 'user' => array(
'articles_and_size' => '%s articles (%s)',
+ 'create' => 'Créer un nouvel utilisateur',
+ 'email_persona' => 'Adresse courriel de connexion<br /><small>(pour <a href="https://persona.org/" rel="external">Mozilla Persona</a>)</small>',
+ 'language' => 'Langue',
+ 'password_form' => 'Mot de passe<br /><small>(pour connexion par formulaire)</small>',
+ 'title' => 'Gestion des utilisateurs',
+ 'user_list' => 'Liste des utilisateurs',
+ 'username' => 'Nom d’utilisateur',
+ 'users' => 'Utilisateurs',
),
);
diff --cc app/i18n/fr/feedback.php
index 7d3ab9db7,b9d1f6c99..5c71bbae1
--- a/app/i18n/fr/feedback.php
+++ b/app/i18n/fr/feedback.php
@@@ -1,22 -1,96 +1,104 @@@
<?php
return array(
+ 'admin' => array(
+ 'optimization_complete' => 'Optimisation terminée.',
+ ),
+ 'access' => array(
+ 'denied' => 'Vous n’avez pas le droit d’accéder à cette page !',
+ 'not_found' => 'La page que vous cherchez n’existe pas !',
+ ),
+ 'auth' => array(
+ 'form' => array(
+ 'not_set' => 'Un problème est survenu lors de la configuration de votre système d’authentification. Veuillez réessayer plus tard.',
+ 'set' => 'Le formulaire est désormais votre système d’authentification.',
+ ),
+ 'login' => array(
+ 'invalid' => 'L’identifiant est invalide',
+ 'success' => 'Vous êtes désormais connecté',
+ ),
+ 'logout' => array(
+ 'success' => 'Vous avez été déconnecté',
+ ),
+ 'no_password_set' => 'Aucun mot de passe administrateur n’a été précisé. Cette fonctionnalité n’est pas disponible.',
+ 'not_persona' => 'Seul le système d’authentification Persona peut être réinitialisé.',
+ ),
+ 'conf' => array(
+ 'error' => 'Une erreur est survenue durant la sauvegarde de la configuration',
+ 'query_created' => 'Le filtre "%s" a bien été créé.',
+ 'shortcuts_updated' => 'Les raccourcis ont été mis à jour.',
+ 'updated' => 'La configuration a été mise à jour',
+ ),
+ 'extensions' => array(
+ 'already_enabled' => '%s est déjà activée',
+ 'disabled' => '%s est désormais désactivée',
+ 'enabled' => '%s est désormais activée',
+ 'no_access' => 'Vous n’avez aucun accès sur %s',
+ 'not_enabled' => '%s n’est pas encore activée',
+ 'not_found' => '%s n’existe pas',
+ ),
- 'login' => array(
- 'error' => 'L’identifiant est invalide !',
- 'success' => 'Vous êtes désormais connecté',
+ 'import_export' => array(
+ 'export_no_zip_extension' => 'L’extension Zip n’est pas présente sur votre serveur. Veuillez essayer d’exporter les fichiers un par un.',
+ 'feeds_imported' => 'Vos flux ont été importés et vont maintenant être actualisés.',
+ 'feeds_imported_with_errors' => 'Vos flux ont été importés mais des erreurs sont survenues.',
+ 'file_cannot_be_uploaded' => 'Le fichier ne peut pas être téléchargé !',
+ 'no_zip_extension' => 'L’extension Zip n’est pas présente sur votre serveur.',
+ 'zip_error' => 'Une erreur est survenue durant l’import du fichier Zip.',
+ ),
+ 'sub' => array(
+ 'actualize' => 'Actualiser',
+ 'category' => array(
+ 'created' => 'La catégorie %s a été créée.',
+ 'deleted' => 'La catégorie a été supprimée.',
+ 'emptied' => 'La catégorie a été vidée.',
+ 'error' => 'La catégorie n’a pas pu être modifiée',
+ 'name_exists' => 'Une catégorie possède déjà ce nom.',
+ 'no_id' => 'Vous devez préciser l’id de la catégorie.',
+ 'no_name' => 'Vous devez préciser un nom pour la catégorie.',
+ 'not_delete_default' => 'Vous ne pouvez pas supprimer la catégorie par défaut !',
+ 'not_exist' => 'Cette catégorie n’existe pas !',
+ 'over_max' => 'Vous avez atteint votre limite de catégories (%d)',
+ 'updated' => 'La catégorie a été mise à jour.',
+ ),
+ 'feed' => array(
+ 'actualized' => '<em>%s</em> a été mis à jour.',
+ 'actualizeds' => 'Les flux ont été mis à jour.',
+ 'added' => 'Le flux <em>%s</em> a bien été ajouté.',
+ 'already_subscribed' => 'Vous êtes déjà abonné à <em>%s</em>',
+ 'deleted' => 'Le flux a été supprimé.',
+ 'error' => 'Une erreur est survenue',
+ 'internal_problem' => 'Le flux ne peut pas être ajouté. <a href="%s">Consulter les logs de FreshRSS</a> pour plus de détails.',
+ 'invalid_url' => 'L’url <em>%s</em> est invalide.',
+ 'marked_read' => 'Les flux ont été marqués comme lus.',
+ 'n_actualized' => '%d flux ont été mis à jour.',
+ 'n_entries_deleted' => '%d articles ont été supprimés.',
+ 'no_refresh' => 'Il n’y a aucun flux à actualiser…',
+ 'not_added' => '<em>%s</em> n’a pas pu être ajouté.',
+ 'over_max' => 'Vous avez atteint votre limite de flux (%d)',
+ 'updated' => 'Le flux a été mis à jour',
+ ),
+ 'purge_completed' => 'Purge effectuée (%d articles supprimés).',
+ ),
+ 'update' => array(
+ 'can_apply' => 'Une mise à jour est disponible.',
+ 'error' => 'La mise à jour a rencontré un problème : %s',
+ 'file_is_nok' => 'Veuillez vérifier les droits sur le répertoire <em>%s</em>. Le serveur HTTP doit être capable d’écrire dedans',
+ 'finished' => 'La mise à jour est terminée !',
+ 'none' => 'Aucune mise à jour à appliquer',
+ 'server_not_found' => 'Le serveur de mise à jour n’a pas été trouvé. [%s]',
),
- 'logout' => array(
- 'success' => 'Vous avez été déconnecté',
+ 'user' => array(
+ 'created' => array(
+ '_' => 'L’utilisateur %s a été créé.',
+ 'error' => 'L’utilisateur %s ne peut pas être créé.',
+ ),
+ 'deleted' => array(
+ '_' => 'L’utilisateur %s a été supprimé.',
+ 'error' => 'L’utilisateur %s ne peut pas être supprimé.',
+ ),
),
- 'user_profile' => array(
+ 'profile' => array(
+ 'error' => 'Votre profil n’a pas pu être mis à jour',
'updated' => 'Votre profil a été mis à jour',
),
);
diff --cc app/i18n/fr/gen.php
index 44d8fb837,bb4478360..9987dba30
--- a/app/i18n/fr/gen.php
+++ b/app/i18n/fr/gen.php
@@@ -1,207 -1,121 +1,122 @@@
<?php
return array(
- 'Apr' => '\\a\\v\\r\\i\\l',
- 'Aug' => '\\a\\o\\û\\t',
- 'Dec' => '\\d\\é\\c\\e\\m\\b\\r\\e',
- 'Feb' => '\\f\\é\\v\\r\\i\\e\\r',
- 'Jan' => '\\j\\a\\n\\v\\i\\e\\r',
- 'Jul' => '\\j\\u\\i\\l\\l\\e\\t',
- 'Jun' => '\\j\\u\\i\\n',
- 'Mar' => '\\m\\a\\r\\s',
- 'May' => '\\m\\a\\i',
- 'Nov' => '\\n\\o\\v\\e\\m\\b\\r\\e',
- 'Oct' => '\\o\\c\\t\\o\\b\\r\\e',
- 'Sep' => '\\s\\e\\p\\t\\e\\m\\b\\r\\e',
- 'about' => 'À propos',
- 'about_freshrss' => 'À propos de FreshRSS',
- 'access_denied' => 'Vous n’avez pas le droit d’accéder à cette page !',
- 'access_protected_feeds' => 'La connexion permet d’accéder aux flux protégés par une authentification HTTP.',
- 'activate_sharing' => 'Activer le partage',
- 'actualize' => 'Actualiser',
- 'add_category' => 'Ajouter une catégorie',
- 'add_query' => 'Créer un filtre',
- 'add_rss_feed' => 'Ajouter un flux RSS',
- 'administration' => 'Gérer',
- 'advanced' => 'Avancé',
- 'after_onread' => 'Après “marquer tout comme lu”,',
- 'agpl3' => '<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL 3</a>',
- 'all_feeds' => 'Tous les flux',
- 'allow_anonymous' => 'Autoriser la lecture anonyme des articles de l’utilisateur par défaut (%s)',
- 'allow_anonymous_refresh' => 'Autoriser le rafraîchissement anonyme des flux',
- 'already_subscribed' => 'Vous êtes déjà abonné à <em>%s</em>',
- 'api_enabled' => 'Autoriser l’accès par <abbr>API</abbr> <small>(nécessaire pour les applis mobiles)</small>',
- 'apr' => 'avr.',
- 'april' => 'avril',
- 'archiving_configuration' => 'Archivage',
- 'archiving_configuration_help' => 'D’autres options sont disponibles dans la configuration individuelle des flux.',
- 'article' => 'Article',
- 'article_icons' => 'Icônes d’article',
- 'article_open_on_website' => 'lorsque l’article est ouvert sur le site d’origine',
- 'article_published_on' => 'Article publié initialement sur <a href="%s">%s</a>',
- 'article_published_on_author' => 'Article publié initialement sur <a href="%s">%s</a> par %s',
- 'article_viewed' => 'lorsque l’article est affiché',
- 'articles' => 'articles',
- 'articles_per_page' => 'Nombre d’articles par page',
- 'articles_to_display' => 'Articles à afficher',
- 'ask_empty' => 'Vider ?',
- 'attention' => 'Attention !',
- 'aug' => 'août',
- 'august' => 'août',
- 'auth_form' => 'Formulaire (traditionnel, requiert JavaScript)',
- 'auth_form_not_set' => 'Un problème est survenu lors de la configuration de votre système d’authentification. Veuillez réessayer plus tard.',
- 'auth_form_set' => 'Le formulaire est désormais votre système d’authentification.',
- 'auth_no_password_set' => 'Aucun mot de passe administrateur n’a été précisé. Cette fonctionnalité n’est pas disponible.',
- 'auth_none' => 'Aucune (dangereux)',
- 'auth_not_persona' => 'Seul le système d’authentification Persona peut être réinitialisé.',
- 'auth_persona' => 'Mozilla Persona (moderne, requiert JavaScript)',
- 'auth_reset' => 'Réinitialisation de l’authentification',
- 'auth_token' => 'Jeton d’identification',
- 'auth_type' => 'Méthode d’authentification',
- 'auth_will_reset' => 'Le système d’authentification va être réinitialisé : un formulaire sera utilisé à la place de Persona.',
- 'author' => 'Auteur',
- 'auto_load_more' => 'Charger les articles suivants en bas de page',
- 'auto_read_when' => 'Marquer un article comme lu…',
- 'auto_remove_article' => 'Cacher les articles après lecture',
- 'auto_share' => 'Partager',
- 'auto_share_help' => 'S’il n’y a qu’un mode de partage, celui-ci est utilisé automatiquement. Sinon ils sont accessibles par leur numéro.',
- 'back_to_rss_feeds' => '← Retour à vos flux RSS',
- 'bad_opml_file' => 'Votre fichier OPML n’est pas valide.',
- 'base_url' => 'Base de l’URL',
- 'bdd' => 'Base de données',
- 'bdd_conf_is_ko' => 'Vérifiez les informations d’accès à la base de données.',
- 'bdd_conf_is_ok' => 'La configuration de la base de données a été enregistrée.',
- 'bdd_configuration' => 'Base de données',
- 'bdd_type' => 'Type de base de données',
- 'before_one_day' => 'Antérieurs à 1 jour',
- 'before_one_week' => 'Antérieurs à 1 semaine',
- 'before_yesterday' => 'À partir d’avant-hier',
- 'blank_to_disable' => 'Laissez vide pour désactiver',
- 'blogotext' => 'Blogotext',
- 'bookmark' => 'S’abonner (bookmark FreshRSS)',
- 'bottom_line' => 'Ligne du bas',
- 'bugs_reports' => 'Rapports de bugs',
- 'by' => 'par',
- 'by_author' => 'Par <em>%s</em>',
- 'by_default' => 'Par défaut',
- 'by_email' => 'Par courriel',
- 'by_feed' => 'par flux',
- 'cache_is_ok' => 'Les droits sur le répertoire de cache sont bons',
- 'can_not_be_deleted' => 'Ne peut pas être supprimée.',
- 'cancel' => 'Annuler',
- 'categories' => 'Catégories',
- 'categories_management' => 'Gestion des catégories',
- 'categories_updated' => 'Les catégories ont été mises à jour.',
- 'categorize' => 'Ranger dans une catégorie',
- 'category' => 'Catégorie',
- 'category_created' => 'La catégorie %s a été créée.',
- 'category_deleted' => 'La catégorie a été supprimée.',
- 'category_emptied' => 'La catégorie a été vidée.',
- 'category_empty' => 'Catégorie vide',
- 'category_name_exists' => 'Une catégorie possède déjà ce nom.',
- 'category_no_id' => 'Vous devez préciser l’id de la catégorie.',
- 'category_no_name' => 'Vous devez préciser un nom pour la catégorie.',
- 'category_not_delete_default' => 'Vous ne pouvez pas supprimer la catégorie par défaut !',
- 'category_not_exist' => 'Cette catégorie n’existe pas !',
- 'category_number' => 'Catégorie n°%d',
- 'category_updated' => 'La catégorie a été mise à jour.',
- 'change_value' => 'Vous devriez changer cette valeur par n’importe quelle autre',
- 'checks' => 'Vérifications',
- 'choose_language' => 'Choisissez la langue pour FreshRSS',
- 'clear_logs' => 'Effacer les logs',
- 'collapse_article' => 'Refermer',
- 'configuration' => 'Configuration',
- 'configuration_updated' => 'La configuration a été mise à jour.',
- 'confirm_action' => 'Êtes-vous sûr(e) de vouloir continuer ? Cette action ne peut être annulée !',
- 'confirm_action_feed_cat' => 'Êtes-vous sûr(e) de vouloir continuer ? Vous perdrez les favoris et les filtres associés. Cette action ne peut être annulée !',
- 'congratulations' => 'Félicitations !',
- 'content_width' => 'Largeur du contenu',
- 'create' => 'Créer',
- 'create_user' => 'Créer un nouvel utilisateur',
- 'credits' => 'Crédits',
- 'credits_content' => 'Des éléments de design sont issus du <a href="http://twitter.github.io/bootstrap/">projet Bootstrap</a> bien que FreshRSS n’utilise pas ce framework. Les <a href="https://git.gnome.org/browse/gnome-icon-theme-symbolic">icônes</a> sont issues du <a href="https://www.gnome.org/">projet GNOME</a>. La police <em>Open Sans</em> utilisée a été créée par <a href="https://www.google.com/webfonts/specimen/Open+Sans">Steve Matteson</a>. Les favicons sont récupérés grâce au site <a href="https://getfavicon.appspot.com/">getFavicon</a>. FreshRSS repose sur <a href="https://github.com/marienfressinaud/MINZ">Minz</a>, un framework PHP.',
- 'css_path_on_website' => 'Sélecteur CSS des articles sur le site d’origine',
- 'ctype_is_nok' => 'Il manque une librairie pour la vérification des types de caractères (php-ctype)',
- 'ctype_is_ok' => 'Vous disposez du nécessaire pour la vérification des types de caractères (ctype)',
- 'curl_is_nok' => 'Vous ne disposez pas de cURL (paquet php5-curl)',
- 'curl_is_ok' => 'Vous disposez de cURL dans sa version %s',
- 'current_user' => 'Utilisateur actuel',
- 'damn' => 'Arf !',
- 'data_is_ok' => 'Les droits sur le répertoire de data sont bons',
- 'dec' => 'déc.',
- 'december' => 'décembre',
- 'default_category' => 'Sans catégorie',
- 'default_user' => 'Nom de l’utilisateur par défaut <small>(16 caractères alphanumériques maximum)</small>',
- 'default_view' => 'Vue par défaut',
- 'delete' => 'Supprimer',
- 'delete_articles_every' => 'Supprimer les articles après',
- 'diaspora' => 'Diaspora*',
- 'display' => 'Affichage',
- 'display_articles_unfolded' => 'Afficher les articles dépliés par défaut',
- 'display_categories_unfolded' => 'Afficher les catégories pliées par défaut',
- 'display_configuration' => 'Affichage',
- 'do_not_change_if_doubt' => 'Laissez tel quel dans le doute',
- 'dom_is_nok' => 'Il manque une librairie pour parcourir le DOM (paquet php-xml)',
- 'dom_is_ok' => 'Vous disposez du nécessaire pour parcourir le DOM',
- 'email' => 'Courriel',
- 'error_occurred' => 'Une erreur est survenue !',
- 'error_occurred_update' => 'Rien n’a été modifié !',
- 'explain_token' => 'Permet d’accéder à la sortie RSS de l’utilisateur par défaut sans besoin de s’authentifier.<br /><kbd>%s?output=rss&token=%s</kbd>',
- 'export' => 'Exporter',
- 'export_no_zip_extension' => 'L’extension Zip n’est pas présente sur votre serveur. Veuillez essayer d’exporter les fichiers un par un.',
- 'export_opml' => 'Exporter la liste des flux (OPML)',
- 'export_starred' => 'Exporter les favoris',
- 'facebook' => 'Facebook',
- 'favicons_is_ok' => 'Les droits sur le répertoire des favicons sont bons',
- 'favorite_feeds' => 'Favoris (%s)',
- 'feb' => 'fév.',
- 'february' => 'février',
- 'feed' => 'Flux',
- 'feed_actualized' => '<em>%s</em> a été mis à jour.',
- 'feed_added' => 'Le flux <em>%s</em> a bien été ajouté.',
- 'feed_deleted' => 'Le flux a été supprimé.',
- 'feed_description' => 'Description',
- 'feed_empty' => 'Ce flux est vide. Veuillez vérifier qu’il est toujours maintenu.',
- 'feed_in_error' => 'Ce flux a rencontré un problème. Veuillez vérifier qu’il est toujours accessible puis actualisez-le.',
- 'feed_list' => 'Liste des articles de %s',
- 'feed_not_added' => '<em>%s</em> n’a pas pu être ajouté.',
- 'feed_updated' => 'Le flux a été mis à jour.',
- 'feed_url' => 'URL du flux',
- 'feed_validator' => 'Vérifier la valididé du flux',
- 'feeds' => 'Flux',
- 'feeds_actualized' => 'Les flux ont été mis à jour.',
- 'feeds_imported' => 'Vos flux ont été importés et vont maintenant être actualisés.',
- 'feeds_imported_with_errors' => 'Vos flux ont été importés mais des erreurs sont survenues.',
- 'feeds_marked_read' => 'Les flux ont été marqués comme lus.',
- 'feeds_moved_category_deleted' => 'Lors de la suppression d’une catégorie, ses flux seront automatiquement classés dans <em>%s</em>.',
- 'file_cannot_be_uploaded' => 'Le fichier ne peut pas être téléchargé !',
- 'file_is_nok' => 'Veuillez vérifier les droits sur le répertoire <em>%s</em>. Le serveur HTTP doit être capable d’écrire dedans',
- 'file_to_import' => 'Fichier à importer<br />(OPML, Json ou Zip)',
- 'file_to_import_no_zip' => 'Fichier à importer<br />(OPML ou Json)',
- 'filter' => 'Filtrer',
- 'finish_installation' => 'Terminer l’installation',
- 'first' => 'Début',
- 'first_article' => 'Passer au premier article',
- 'fix_errors_before' => 'Veuillez corriger les erreurs avant de passer à l’étape suivante.',
- 'focus_search' => 'Accéder à la recherche',
- 'format_date' => 'j %s Y',
- 'format_date_hour' => 'j %s Y \\à H\\:i',
- 'freshrss' => 'FreshRSS',
- 'freshrss_description' => 'FreshRSS est un agrégateur de flux RSS à auto-héberger à l’image de <a href="http://tontof.net/kriss/feed/">Kriss Feed</a> ou <a href="http://projet.idleman.fr/leed/">Leed</a>. Il se veut léger et facile à prendre en main tout en étant un outil puissant et paramétrable.',
- 'freshrss_installation' => 'Installation · FreshRSS',
- 'fri' => 'ven.',
- 'g+' => 'Google+',
- 'actions' => array(
+ 'action' => array(
+ 'actualize' => 'Actualiser',
+ 'back_to_rss_feeds' => '← Retour à vos flux RSS',
+ 'cancel' => 'Annuler',
+ 'create' => 'Créer',
'disable' => 'Désactiver',
+ 'empty' => 'Vider',
'enable' => 'Activer',
+ 'export' => 'Exporter',
+ 'filter' => 'Filtrer',
+ 'import' => 'Importer',
'manage' => 'Gérer',
+ 'mark_read' => 'Marquer comme lu',
+ 'mark_favorite' => 'Mettre en favori',
'remove' => 'Supprimer',
+ 'see_website' => 'Voir le site',
+ 'submit' => 'Valider',
+ 'truncate' => 'Supprimer tous les articles',
+ ),
+ 'auth' => array(
+ 'keep_logged_in' => 'Rester connecté <small>(1 mois)</small>',
+ 'login' => 'Connexion',
+ 'login_persona' => 'Connexion avec Persona',
+ 'login_persona_problem' => 'Problème de connexion à Persona ?',
+ 'logout' => 'Déconnexion',
+ 'password' => 'Mot de passe',
+ 'reset' => 'Réinitialisation de l’authentification',
+ 'username' => 'Nom d’utilisateur',
+ 'username_admin' => 'Nom d’utilisateur administrateur',
+ 'will_reset' => 'Le système d’authentification va être réinitialisé : un formulaire sera utilisé à la place de Persona.',
+ ),
+ 'date' => array(
+ 'Apr' => '\\a\\v\\r\\i\\l',
+ 'Aug' => '\\a\\o\\û\\t',
+ 'Dec' => '\\d\\é\\c\\e\\m\\b\\r\\e',
+ 'Feb' => '\\f\\é\\v\\r\\i\\e\\r',
+ 'Jan' => '\\j\\a\\n\\v\\i\\e\\r',
+ 'Jul' => '\\j\\u\\i\\l\\l\\e\\t',
+ 'Jun' => '\\j\\u\\i\\n',
+ 'Mar' => '\\m\\a\\r\\s',
+ 'May' => '\\m\\a\\i',
+ 'Nov' => '\\n\\o\\v\\e\\m\\b\\r\\e',
+ 'Oct' => '\\o\\c\\t\\o\\b\\r\\e',
+ 'Sep' => '\\s\\e\\p\\t\\e\\m\\b\\r\\e',
+ 'apr' => 'avr.',
+ 'april' => 'avril',
+ 'aug' => 'août',
+ 'august' => 'août',
+ 'before_yesterday' => 'À partir d’avant-hier',
+ 'dec' => 'déc.',
+ 'december' => 'décembre',
+ 'feb' => 'fév.',
+ 'february' => 'février',
+ 'format_date' => 'j %s Y',
+ 'format_date_hour' => 'j %s Y \\à H\\:i',
+ 'fri' => 'ven.',
+ 'jan' => 'jan.',
+ 'january' => 'janvier',
+ 'jul' => 'jui.',
+ 'july' => 'juillet',
+ 'jun' => 'juin',
+ 'june' => 'juin',
+ 'last_3_month' => 'Depuis les trois derniers mois',
+ 'last_6_month' => 'Depuis les six derniers mois',
+ 'last_month' => 'Depuis le mois dernier',
+ 'last_week' => 'Depuis la semaine dernière',
+ 'last_year' => 'Depuis l’année dernière',
+ 'mar' => 'mar.',
+ 'march' => 'mars',
+ 'may' => 'mai.',
+ 'mon' => 'lun.',
+ 'month' => 'mois',
+ 'nov' => 'nov.',
+ 'november' => 'novembre',
+ 'oct' => 'oct.',
+ 'october' => 'octobre',
+ 'sat' => 'sam.',
+ 'sep' => 'sep.',
+ 'september' => 'septembre',
+ 'sun' => 'dim.',
+ 'thu' => 'jeu.',
+ 'today' => 'Aujourd’hui',
+ 'tue' => 'mar.',
+ 'wed' => 'mer.',
+ 'yesterday' => 'Hier',
+ ),
+ 'freshrss' => array(
+ '_' => 'FreshRSS',
+ 'about' => 'À propos de FreshRSS',
+ ),
+ 'js' => array(
+ 'category_empty' => 'Catégorie vide',
+ 'confirm_action' => 'Êtes-vous sûr(e) de vouloir continuer ? Cette action ne peut être annulée !',
+ 'confirm_action_feed_cat' => 'Êtes-vous sûr(e) de vouloir continuer ? Vous perdrez les favoris et les filtres associés. Cette action ne peut être annulée !',
+ 'new_article' => 'Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.',
+ 'notif_body_new_articles' => 'Il y a \\d nouveaux articles à lire sur FreshRSS.',
+ 'notif_title_new_articles' => 'FreshRSS : nouveaux articles !',
+ 'should_be_activated' => 'Le JavaScript doit être activé.',
),
'menu' => array(
+ 'about' => 'À propos',
'admin' => 'Administration',
+ 'archiving' => 'Archivage',
'authentication' => 'Authentification',
'check_install' => 'Vérification de l’installation',
+ 'configuration' => 'Configuration',
+ 'display' => 'Affichage',
+ 'extensions' => 'Extensions',
+ 'logs' => 'Logs',
+ 'queries' => 'Filtres utilisateurs',
+ 'reading' => 'Lecture',
+ 'search' => 'Rechercher des mots ou des #tags',
+ 'sharing' => 'Partage',
+ 'shortcuts' => 'Raccourcis',
+ 'stats' => 'Statistiques',
+ 'update' => 'Mise à jour',
'user_management' => 'Gestion des utilisateurs',
'user_profile' => 'Profil',
),
diff --cc app/layout/header.phtml
index 0ff367d0b,ba13c2a45..3281b1282
--- a/app/layout/header.phtml
+++ b/app/layout/header.phtml
@@@ -55,15 -55,14 +55,15 @@@ if (Minz_Configuration::canLogIn())
<a class="btn dropdown-toggle" href="#dropdown-configure"><?php echo _i('configure'); ?></a>
<ul class="dropdown-menu">
<li class="dropdown-close"><a href="#close">❌</a></li>
- <li class="dropdown-header"><?php echo _t('configuration'); ?></li>
- <li class="item"><a href="<?php echo _url('configure', 'display'); ?>"><?php echo _t('display_configuration'); ?></a></li>
- <li class="item"><a href="<?php echo _url('configure', 'reading'); ?>"><?php echo _t('reading_configuration'); ?></a></li>
- <li class="item"><a href="<?php echo _url('configure', 'archiving'); ?>"><?php echo _t('archiving_configuration'); ?></a></li>
- <li class="item"><a href="<?php echo _url('configure', 'sharing'); ?>"><?php echo _t('sharing'); ?></a></li>
- <li class="item"><a href="<?php echo _url('configure', 'shortcut'); ?>"><?php echo _t('shortcuts'); ?></a></li>
- <li class="item"><a href="<?php echo _url('configure', 'queries'); ?>"><?php echo _t('queries'); ?></a></li>
+ <li class="dropdown-header"><?php echo _t('gen.menu.configuration'); ?></li>
+ <li class="item"><a href="<?php echo _url('configure', 'display'); ?>"><?php echo _t('gen.menu.display'); ?></a></li>
+ <li class="item"><a href="<?php echo _url('configure', 'reading'); ?>"><?php echo _t('gen.menu.reading'); ?></a></li>
+ <li class="item"><a href="<?php echo _url('configure', 'archiving'); ?>"><?php echo _t('gen.menu.archiving'); ?></a></li>
+ <li class="item"><a href="<?php echo _url('configure', 'sharing'); ?>"><?php echo _t('gen.menu.sharing'); ?></a></li>
+ <li class="item"><a href="<?php echo _url('configure', 'shortcut'); ?>"><?php echo _t('gen.menu.shortcuts'); ?></a></li>
+ <li class="item"><a href="<?php echo _url('configure', 'queries'); ?>"><?php echo _t('gen.menu.queries'); ?></a></li>
<li class="item"><a href="<?php echo _url('user', 'profile'); ?>"><?php echo _t('gen.menu.user_profile'); ?></a></li>
+ <li class="item"><a href="<?php echo _url('extension', 'index'); ?>"><?php echo _t('gen.menu.extensions'); ?></a></li>
<?php if (FreshRSS_Auth::hasAccess('admin')) { ?>
<li class="separator"></li>
<li class="dropdown-header"><?php echo _t('gen.menu.admin'); ?></li>
diff --cc app/views/helpers/index/normal/entry_bottom.phtml
index e1961e2aa,000000000..a9f5389df
mode 100644,000000..100644
--- a/app/views/helpers/index/normal/entry_bottom.phtml
+++ b/app/views/helpers/index/normal/entry_bottom.phtml
@@@ -1,84 -1,0 +1,88 @@@
+<?php
+ $sharing = array();
+ if (FreshRSS_Auth::hasAccess()) {
+ $sharing = FreshRSS_Context::$conf->sharing;
+ }
+
+ $bottomline_read = FreshRSS_Context::$conf->bottomline_read;
+ $bottomline_favorite = FreshRSS_Context::$conf->bottomline_favorite;
+ $bottomline_sharing = FreshRSS_Context::$conf->bottomline_sharing && (count($sharing) > 0);
+ $bottomline_tags = FreshRSS_Context::$conf->bottomline_tags;
+ $bottomline_date = FreshRSS_Context::$conf->bottomline_date;
+ $bottomline_link = FreshRSS_Context::$conf->bottomline_link;
+?><ul class="horizontal-list bottom"><?php
+ if (FreshRSS_Auth::hasAccess()) {
+ if ($bottomline_read) {
+ ?><li class="item manage"><?php
+ $arUrl = array('c' => 'entry', 'a' => 'read', 'params' => array('id' => $this->entry->id()));
+ if ($this->entry->isRead()) {
+ $arUrl['params']['is_read'] = 0;
+ }
+ ?><a class="read" href="<?php echo Minz_Url::display($arUrl); ?>"><?php
+ echo _i($this->entry->isRead() ? 'read' : 'unread'); ?></a><?php
+ ?></li><?php
+ }
+ if ($bottomline_favorite) {
+ ?><li class="item manage"><?php
+ $arUrl = array('c' => 'entry', 'a' => 'bookmark', 'params' => array('id' => $this->entry->id()));
+ if ($this->entry->isFavorite()) {
+ $arUrl['params']['is_favorite'] = 0;
+ }
+ ?><a class="bookmark" href="<?php echo Minz_Url::display($arUrl); ?>"><?php
+ echo _i($this->entry->isFavorite() ? 'starred' : 'non-starred'); ?></a><?php
+ ?></li><?php
+ }
+ } ?>
+ <li class="item"><?php
+ if ($bottomline_sharing) {
+ $link = urlencode($this->entry->link());
+ $title = urlencode($this->entry->title() . ' · ' . $this->feed->name());
+ ?><div class="dropdown">
+ <div id="dropdown-share-<?php echo $this->entry->id();?>" class="dropdown-target"></div>
+ <a class="dropdown-toggle" href="#dropdown-share-<?php echo $this->entry->id();?>">
+ <?php echo _i('share'); ?>
- <?php echo _t('share'); ?>
++ <?php echo _t('index.share'); ?>
+ </a>
+
+ <ul class="dropdown-menu">
+ <li class="dropdown-close"><a href="#close">❌</a></li>
- <?php foreach ($sharing as $share) :?>
++ <?php
++ foreach ($sharing as $share) {
++ $type_share = FreshRSS_Context::$conf->shares[$share['type']];
++ $has_specific_title = ($type_share['form'] === 'advanced');
++ ?>
+ <li class="item share">
+ <a target="_blank" href="<?php echo FreshRSS_Share::generateUrl(FreshRSS_Context::$conf->shares, $share, $this->entry->link(), $this->entry->title() . ' . ' . $this->feed->name())?>">
- <?php echo _t($share['name']);?>
++ <?php echo $has_specific_title ? $share['name'] : _t('index.share.' . $share['name']); ?>
+ </a>
+ </li>
- <?php endforeach;?>
++ <?php } ?>
+ </ul>
+ </div>
+ <?php } ?>
+ </li><?php
+ $tags = $bottomline_tags ? $this->entry->tags() : null;
+ if (!empty($tags)) {
+ ?><li class="item">
+ <div class="dropdown">
+ <div id="dropdown-tags-<?php echo $this->entry->id();?>" class="dropdown-target"></div>
+ <?php echo _i('tag'); ?>
+ <a class="dropdown-toggle" href="#dropdown-tags-<?php echo $this->entry->id();?>"><?php
- echo _t('related_tags');
++ echo _t('index.tag.related');
+ ?></a>
+ <ul class="dropdown-menu">
+ <li class="dropdown-close"><a href="#close">❌</a></li><?php
+ foreach($tags as $tag) {
+ ?><li class="item"><a href="<?php echo _url('index', 'index', 'search', urlencode('#' . $tag)); ?>"><?php echo $tag; ?></a></li><?php
+ } ?>
+ </ul>
+ </div>
+ </li><?php
+ }
+ if ($bottomline_date) {
+ ?><li class="item date"><?php echo $this->entry->date(); ?></li><?php
+ }
+ if ($bottomline_link) {
+ ?><li class="item link"><a target="_blank" href="<?php echo $this->entry->link(); ?>"><?php echo _i('link'); ?></a></li><?php
+ } ?>
+</ul>
diff --cc app/views/index/normal.phtml
index f2e1c5012,b8a78cc3d..817732c2c
--- a/app/views/index/normal.phtml
+++ b/app/views/index/normal.phtml
@@@ -17,68 -32,160 +17,68 @@@ if (!empty($this->entries))
<div id="stream" class="normal<?php echo $hidePosts ? ' hide_posts' : ''; ?>"><?php
?><div id="new-article">
- <a href="<?php echo Minz_Url::display(Minz_Request::currentRequest()); ?>"><?php echo _t('new_article'); ?></a>
+ <a href="<?php echo Minz_Url::display(Minz_Request::currentRequest()); ?>"><?php echo _t('gen.js.new_article'); /* TODO: move string in JS*/ ?></a>
</div><?php
foreach ($this->entries as $item) {
- if ($display_today && $item->isDay(FreshRSS_Days::TODAY, $today)) {
+ $this->entry = Minz_ExtensionManager::callHook('entry_before_display', $item);
+ if (is_null($this->entry)) {
+ continue;
+ }
+
+ // We most likely already have the feed object in cache
+ $this->feed = FreshRSS_CategoryDAO::findFeed($this->categories, $this->entry->feed());
+ if ($this->feed == null) {
+ $this->feed = $this->entry->feed(true);
+ if ($this->feed == null) {
+ $this->feed = FreshRSS_Feed::example();
+ }
+ }
+
+ if ($display_today && $this->entry->isDay(FreshRSS_Days::TODAY, $today)) {
?><div class="day" id="day_today"><?php
- echo _t('today');
+ echo _t('gen.date.today');
?><span class="date"> — <?php echo timestamptodate(time(), false); ?></span><?php
?><span class="name"><?php echo FreshRSS_Context::$name; ?></span><?php
?></div><?php
$display_today = false;
}
- if ($display_yesterday && $item->isDay(FreshRSS_Days::YESTERDAY, $today)) {
+ if ($display_yesterday && $this->entry->isDay(FreshRSS_Days::YESTERDAY, $today)) {
?><div class="day" id="day_yesterday"><?php
- echo _t('yesterday');
+ echo _t('gen.date.yesterday');
?><span class="date"> — <?php echo timestamptodate(time() - 86400, false); ?></span><?php
?><span class="name"><?php echo FreshRSS_Context::$name; ?></span><?php
?></div><?php
$display_yesterday = false;
}
- if ($display_others && $item->isDay(FreshRSS_Days::BEFORE_YESTERDAY, $today)) {
+ if ($display_others && $this->entry->isDay(FreshRSS_Days::BEFORE_YESTERDAY, $today)) {
?><div class="day" id="day_before_yesterday"><?php
- echo _t('before_yesterday');
+ echo _t('gen.date.before_yesterday');
?><span class="name"><?php echo FreshRSS_Context::$name; ?></span><?php
?></div><?php
$display_others = false;
}
- ?><div class="flux<?php echo !$item->isRead() ? ' not_read' : ''; ?><?php echo $item->isFavorite() ? ' favorite' : ''; ?>" id="flux_<?php echo $item->id(); ?>">
- <ul class="horizontal-list flux_header"><?php
- if (FreshRSS_Auth::hasAccess()) {
- if ($topline_read) {
- ?><li class="item manage"><?php
- $arUrl = array('c' => 'entry', 'a' => 'read', 'params' => array('id' => $item->id()));
- if ($item->isRead()) {
- $arUrl['params']['is_read'] = 0;
- }
- ?><a class="read" href="<?php echo Minz_Url::display($arUrl); ?>"><?php
- echo _i($item->isRead() ? 'read' : 'unread'); ?></a><?php
- ?></li><?php
- }
- if ($topline_favorite) {
- ?><li class="item manage"><?php
- $arUrl = array('c' => 'entry', 'a' => 'bookmark', 'params' => array('id' => $item->id()));
- if ($item->isFavorite()) {
- $arUrl['params']['is_favorite'] = 0;
- }
- ?><a class="bookmark" href="<?php echo Minz_Url::display($arUrl); ?>"><?php
- echo _i($item->isFavorite() ? 'starred' : 'non-starred'); ?></a><?php
- ?></li><?php
- }
- }
- $feed = FreshRSS_CategoryDAO::findFeed($this->categories, $item->feed()); //We most likely already have the feed object in cache
- if ($feed == null) {
- $feed = $item->feed(true);
- if ($feed == null) {
- $feed = FreshRSS_Feed::example();
- }
- }
- ?><li class="item website"><a href="<?php echo _url('index', 'index', 'get', 'f_' . $feed->id()); ?>"><img class="favicon" src="<?php echo $feed->favicon(); ?>" alt="✇" /> <span><?php echo $feed->name(); ?></span></a></li>
- <li class="item title"><a target="_blank" href="<?php echo $item->link(); ?>"><?php echo $item->title(); ?></a></li>
- <?php if ($topline_date) { ?><li class="item date"><?php echo $item->date(); ?> </li><?php } ?>
- <?php if ($topline_link) { ?><li class="item link"><a target="_blank" href="<?php echo $item->link(); ?>"><?php echo _i('link'); ?></a></li><?php } ?>
- </ul>
+ ?><div class="flux<?php echo !$this->entry->isRead() ? ' not_read' : ''; ?><?php echo $this->entry->isFavorite() ? ' favorite' : ''; ?>" id="flux_<?php echo $this->entry->id(); ?>"><?php
+
+ $this->renderHelper('index/normal/entry_header');
- <div class="flux_content">
+ ?><div class="flux_content">
<div class="content <?php echo $content_width; ?>">
- <h1 class="title"><a target="_blank" href="<?php echo $item->link(); ?>"><?php echo $item->title(); ?></a></h1>
+ <h1 class="title"><a target="_blank" href="<?php echo $this->entry->link(); ?>"><?php echo $this->entry->title(); ?></a></h1>
<?php
- $author = $item->author();
+ $author = $this->entry->author();
- echo $author != '' ? '<div class="author">' . _t('by_author', $author) . '</div>' : '',
+ echo $author != '' ? '<div class="author">' . _t('gen.short.by_author', $author) . '</div>' : '',
- $lazyload && $hidePosts ? lazyimg($item->content()) : $item->content();
+ $lazyload && $hidePosts ? lazyimg($this->entry->content()) : $this->entry->content();
?>
- </div>
- <ul class="horizontal-list bottom"><?php
- if (FreshRSS_Auth::hasAccess()) {
- if ($bottomline_read) {
- ?><li class="item manage"><?php
- $arUrl = array('c' => 'entry', 'a' => 'read', 'params' => array('id' => $item->id()));
- if ($item->isRead()) {
- $arUrl['params']['is_read'] = 0;
- }
- ?><a class="read" href="<?php echo Minz_Url::display($arUrl); ?>"><?php
- echo _i($item->isRead() ? 'read' : 'unread'); ?></a><?php
- ?></li><?php
- }
- if ($bottomline_favorite) {
- ?><li class="item manage"><?php
- $arUrl = array('c' => 'entry', 'a' => 'bookmark', 'params' => array('id' => $item->id()));
- if ($item->isFavorite()) {
- $arUrl['params']['is_favorite'] = 0;
- }
- ?><a class="bookmark" href="<?php echo Minz_Url::display($arUrl); ?>"><?php
- echo _i($item->isFavorite() ? 'starred' : 'non-starred'); ?></a><?php
- ?></li><?php
- }
- } ?>
- <li class="item"><?php
- if ($bottomline_sharing) {
- $link = urlencode($item->link());
- $title = urlencode($item->title() . ' · ' . $feed->name());
- ?><div class="dropdown">
- <div id="dropdown-share-<?php echo $item->id();?>" class="dropdown-target"></div>
- <a class="dropdown-toggle" href="#dropdown-share-<?php echo $item->id();?>">
- <?php echo _i('share'); ?>
- <?php echo _t('index.share'); ?>
- </a>
+ </div><?php
- <ul class="dropdown-menu">
- <li class="dropdown-close"><a href="#close">❌</a></li>
- <?php
- foreach ($sharing as $share) {
- $type_share = FreshRSS_Context::$conf->shares[$share['type']];
- $has_specific_title = ($type_share['form'] === 'advanced');
- ?>
- <li class="item share">
- <a target="_blank" href="<?php echo FreshRSS_Share::generateUrl(FreshRSS_Context::$conf->shares, $share, $item->link(), $item->title() . ' . ' . $feed->name())?>">
- <?php echo $has_specific_title ? $share['name'] : _t('index.share.' . $share['name']); ?>
- </a>
- </li>
- <?php } ?>
- </ul>
- </div>
- <?php } ?>
- </li><?php
- $tags = $bottomline_tags ? $item->tags() : null;
- if (!empty($tags)) {
- ?><li class="item">
- <div class="dropdown">
- <div id="dropdown-tags-<?php echo $item->id();?>" class="dropdown-target"></div>
- <?php echo _i('tag'); ?>
- <a class="dropdown-toggle" href="#dropdown-tags-<?php echo $item->id();?>"><?php
- echo _t('index.tag.related');
- ?></a>
- <ul class="dropdown-menu">
- <li class="dropdown-close"><a href="#close">❌</a></li><?php
- foreach($tags as $tag) {
- ?><li class="item"><a href="<?php echo _url('index', 'index', 'search', urlencode('#' . $tag)); ?>"><?php echo $tag; ?></a></li><?php
- } ?>
- </ul>
- </div>
- </li><?php
- }
- if ($bottomline_date) {
- ?><li class="item date"><?php echo $item->date(); ?></li><?php
- }
- if ($bottomline_link) {
- ?><li class="item link"><a target="_blank" href="<?php echo $item->link(); ?>"><?php echo _i('link'); ?></a></li><?php
- } ?>
- </ul>
- </div>
- </div>
- <?php } ?>
+ $this->renderHelper('index/normal/entry_bottom');
- <?php $this->renderHelper('pagination'); ?>
-</div>
+ ?></div>
+ </div><?php
+ }
+
+ $this->renderHelper('pagination');
+?></div>
<?php $this->partial('nav_entries'); ?>