admin.php 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <?php
  2. /******************************************************************************
  3. * Each entry of that file can be associated with a comment to indicate its *
  4. * state. When there is no comment, it means the entry is fully translated. *
  5. * The recognized comments are (comment matching is case-insensitive): *
  6. * + TODO: the entry has never been translated. *
  7. * + DIRTY: the entry has been translated but needs to be updated. *
  8. * + IGNORE: the entry does not need to be translated. *
  9. * When a comment is not recognized, it is discarded. *
  10. ******************************************************************************/
  11. return array(
  12. 'auth' => array(
  13. 'allow_anonymous' => 'Allow anonymous reading of the default user’s articles (%s)',
  14. 'allow_anonymous_refresh' => 'Allow anonymous refresh of the articles',
  15. 'api_enabled' => 'Allow <abbr>API</abbr> access <small>(required for mobile apps and sharing user queries)</small>',
  16. 'form' => 'Web form (traditional, requires JavaScript)',
  17. 'http' => 'HTTP (advanced: managed by Web server, OIDC, SSO…)',
  18. 'none' => 'None (dangerous)',
  19. 'title' => 'Authentication',
  20. 'token' => 'Master authentication token',
  21. 'token_help' => 'Allows access to all RSS outputs of the user as well as refreshing feeds without authentication:',
  22. 'type' => 'Authentication method',
  23. ),
  24. 'check_install' => array(
  25. 'cache' => array(
  26. 'nok' => 'Check permissions on <em>./data/cache</em> directory. HTTP server must have write permission.',
  27. 'ok' => 'Permissions on the cache directory are good.',
  28. ),
  29. 'categories' => array(
  30. 'nok' => 'Category table is improperly configured.',
  31. 'ok' => 'Category table is okay.',
  32. ),
  33. 'connection' => array(
  34. 'nok' => 'Connection to the database cannot be established.',
  35. 'ok' => 'Connection to the database is okay.',
  36. ),
  37. 'ctype' => array(
  38. 'nok' => 'Cannot find a required library for character type checking (php-ctype).',
  39. 'ok' => 'You have the required library for character type checking (ctype).',
  40. ),
  41. 'curl' => array(
  42. 'nok' => 'Cannot find the cURL library (php-curl package).',
  43. 'ok' => 'You have the cURL library.',
  44. ),
  45. 'data' => array(
  46. 'nok' => 'Check permissions on <em>./data</em> directory. HTTP server must have write permission.',
  47. 'ok' => 'Permissions on the data directory are good.',
  48. ),
  49. 'database' => 'Database installation',
  50. 'dom' => array(
  51. 'nok' => 'Cannot find a required library to browse the DOM (php-xml package).',
  52. 'ok' => 'You have the required library to browse the DOM.',
  53. ),
  54. 'entries' => array(
  55. 'nok' => 'Entry table is improperly configured.',
  56. 'ok' => 'Entry table is okay.',
  57. ),
  58. 'favicons' => array(
  59. 'nok' => 'Check permissions on <em>./data/favicons</em> directory. HTTP server must have write permission.',
  60. 'ok' => 'Permissions on the favicons directory are good.',
  61. ),
  62. 'feeds' => array(
  63. 'nok' => 'Feed table is improperly configured.',
  64. 'ok' => 'Feed table is okay.',
  65. ),
  66. 'fileinfo' => array(
  67. 'nok' => 'Cannot find the PHP fileinfo library (fileinfo package).',
  68. 'ok' => 'You have the fileinfo library.',
  69. ),
  70. 'files' => 'File installation',
  71. 'json' => array(
  72. 'nok' => 'Cannot find JSON (php-json package).',
  73. 'ok' => 'You have the JSON extension.',
  74. ),
  75. 'mbstring' => array(
  76. 'nok' => 'Cannot find the recommended mbstring library for Unicode.',
  77. 'ok' => 'You have the recommended mbstring library for Unicode.',
  78. ),
  79. 'pcre' => array(
  80. 'nok' => 'Cannot find a required library for regular expressions (php-pcre).',
  81. 'ok' => 'You have the required library for regular expressions (PCRE).',
  82. ),
  83. 'pdo' => array(
  84. 'nok' => 'Cannot find PDO or one of the supported drivers (pdo_mysql, pdo_sqlite, pdo_pgsql).',
  85. 'ok' => 'You have PDO and at least one of the supported drivers (pdo_mysql, pdo_sqlite, pdo_pgsql).',
  86. ),
  87. 'php' => array(
  88. '_' => 'PHP installation',
  89. 'nok' => 'Your PHP version is %s but FreshRSS requires at least version %s.',
  90. 'ok' => 'Your PHP version (%s) is compatible with FreshRSS.',
  91. ),
  92. 'tables' => array(
  93. 'nok' => 'There are one or more missing tables in the database.',
  94. 'ok' => 'The appropriate tables exist in the database.',
  95. ),
  96. 'title' => 'Installation check',
  97. 'tokens' => array(
  98. 'nok' => 'Check permissions on <em>./data/tokens</em> directory. HTTP server must have write permission',
  99. 'ok' => 'Permissions on the tokens directory are good.',
  100. ),
  101. 'users' => array(
  102. 'nok' => 'Check permissions on <em>./data/users</em> directory. HTTP server must have write permission',
  103. 'ok' => 'Permissions on the users directory are good.',
  104. ),
  105. 'zip' => array(
  106. 'nok' => 'Cannot find the ZIP extension (php-zip package).',
  107. 'ok' => 'You have the ZIP extension.',
  108. ),
  109. ),
  110. 'extensions' => array(
  111. 'author' => 'Author',
  112. 'community' => 'Available community extensions',
  113. 'description' => 'Description',
  114. 'disabled' => 'Disabled',
  115. 'empty_list' => 'There are no installed extensions',
  116. 'empty_list_help' => 'Check the logs to determine the reason behind the empty extension list.',
  117. 'enabled' => 'Enabled',
  118. 'is_compatible' => 'Is compatible', // TODO
  119. 'latest' => 'Installed',
  120. 'name' => 'Name',
  121. 'no_configure_view' => 'This extension cannot be configured.',
  122. 'system' => array(
  123. '_' => 'System extensions',
  124. 'no_rights' => 'System extension (you do not have the required permissions)',
  125. ),
  126. 'title' => 'Extensions',
  127. 'update' => 'Update available',
  128. 'user' => 'User extensions',
  129. 'version' => 'Version',
  130. ),
  131. 'stats' => array(
  132. '_' => 'Statistics',
  133. 'all_feeds' => 'All feeds',
  134. 'category' => 'Category',
  135. 'date_published' => 'Publication date',
  136. 'date_received' => 'Received date',
  137. 'entry_count' => 'Entry count',
  138. 'entry_per_category' => 'Entries per category',
  139. 'entry_per_day' => 'Entries per day (last 30 days)',
  140. 'entry_per_day_of_week' => 'Per day of week (average: %.2f messages)',
  141. 'entry_per_hour' => 'Per hour (average: %.2f messages)',
  142. 'entry_per_month' => 'Per month (average: %.2f messages)',
  143. 'entry_repartition' => 'Entries repartition',
  144. 'feed' => 'Feed',
  145. 'feed_per_category' => 'Feeds per category',
  146. 'idle' => 'Idle feeds',
  147. 'main' => 'Main statistics',
  148. 'main_stream' => 'Main stream',
  149. 'nb_unreads' => 'Number of unread articles',
  150. 'no_idle' => 'There are no idle feeds!',
  151. 'number_entries' => '%d articles',
  152. 'overview' => 'Overview',
  153. 'percent_of_total' => '% of total',
  154. 'repartition' => 'Articles repartition: %s',
  155. 'status_favorites' => 'Favourites',
  156. 'status_read' => 'Read',
  157. 'status_total' => 'Total',
  158. 'status_unread' => 'Unread',
  159. 'title' => 'Statistics',
  160. 'top_feed' => 'Top ten feeds',
  161. 'unread_dates' => 'Dates with most unread articles',
  162. ),
  163. 'system' => array(
  164. '_' => 'System configuration',
  165. 'auto-update-url' => 'Auto-update server URL',
  166. 'base-url' => array(
  167. '_' => 'Base URL',
  168. 'recommendation' => 'Automatic recommendation: <kbd>%s</kbd>',
  169. ),
  170. 'cookie-duration' => array(
  171. 'help' => 'in seconds',
  172. 'number' => 'Duration to keep logged in',
  173. ),
  174. 'force_email_validation' => 'Force email address validation',
  175. 'instance-name' => 'Instance name',
  176. 'max-categories' => 'Max number of categories per user',
  177. 'max-feeds' => 'Max number of feeds per user',
  178. 'registration' => array(
  179. 'number' => 'Max number of accounts',
  180. 'select' => array(
  181. 'label' => 'Registration form',
  182. 'option' => array(
  183. 'noform' => 'Disabled: No registration form',
  184. 'nolimit' => 'Enabled: No limit of accounts',
  185. 'setaccountsnumber' => 'Set max. number of accounts',
  186. ),
  187. ),
  188. 'status' => array(
  189. 'disabled' => 'Form disabled',
  190. 'enabled' => 'Form enabled',
  191. ),
  192. 'title' => 'User registration form',
  193. ),
  194. 'sensitive-parameter' => 'Sensitive parameter. Edit manually in <kbd>./data/config.php</kbd>',
  195. 'tos' => array(
  196. 'disabled' => 'is not given',
  197. 'enabled' => '<a href="./?a=tos">is enabled</a>',
  198. 'help' => 'How to <a href="https://freshrss.github.io/FreshRSS/en/admins/12_User_management.html#enable-terms-of-service-tos" target="_blank">enable the Terms of Service</a>',
  199. ),
  200. 'websub' => array(
  201. 'help' => 'About <a href="https://freshrss.github.io/FreshRSS/en/users/WebSub.html" target="_blank">WebSub</a>',
  202. ),
  203. ),
  204. 'update' => array(
  205. '_' => 'Update FreshRSS',
  206. 'apply' => 'Start update',
  207. 'changelog' => 'Changelog',
  208. 'check' => 'Check for new updates',
  209. 'copiedFromURL' => 'update.php copied from %s to ./data',
  210. 'current_version' => 'Current installed version',
  211. 'last' => 'Last check',
  212. 'loading' => 'Updating…',
  213. 'none' => 'No update available',
  214. 'releaseChannel' => array(
  215. '_' => 'Release channel',
  216. 'edge' => 'Rolling release (“edge”)',
  217. 'latest' => 'Stable release (“latest”)',
  218. ),
  219. 'title' => 'Update FreshRSS',
  220. 'viaGit' => 'Update via git and GitHub.com started',
  221. ),
  222. 'user' => array(
  223. 'admin' => 'Administrator',
  224. 'article_count' => 'Articles',
  225. 'back_to_manage' => '← Return to user list',
  226. 'create' => 'Create new user',
  227. 'database_size' => 'Database size',
  228. 'email' => 'Email address',
  229. 'enabled' => 'Enabled',
  230. 'feed_count' => 'Feeds',
  231. 'is_admin' => 'Is admin',
  232. 'language' => 'Language',
  233. 'last_user_activity' => 'Last user activity',
  234. 'list' => 'User list',
  235. 'number' => 'There is %d account created',
  236. 'numbers' => 'There are %d accounts created',
  237. 'password_form' => 'Password<br /><small>(for the Web-form login method)</small>',
  238. 'password_format' => 'At least 7 characters',
  239. 'title' => 'Manage users',
  240. 'username' => 'Username',
  241. ),
  242. );