You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

358 lines
8.7 KiB

[9.0][MIG] auto_backup (#526) * Update english pot file Added all the new fields and sentences. This will be the template for translations. * Dutch translations Full translation of the module to Dutch * Chinese translations Add Chinese translations to the module. Written by talway. * Changes chinese translation Changed some translations * Full German translations Thanks to Martin Schmid! * Typo fix could'nt > couldn't * Flemish translations Flemish translations are identical to Dutch. * Open FTP session on the last moment possible Used to open fp = open(file_path,'wb') a few lines before it was needed. This shouldn't be too much of a problem but opening and closing it right after eachother keeps the session open for less time and there are less chances on failure. * Porting module to OCA 8.0 * [FIX] module * [FIX] bug logger --> _logger call [FIX] Flake8 [RM] useless files * [FIX] Readme.rst * [FIX] defaults value * [FIX] rebased commit * [RM] description index.html * [RF] porting to new api [FIX] schedule_backup method [IMP] IT translation [IMP] tests * [FIX] test * [FIX] flake8 * [IMP] deps in travis.yml [FIX] flake8 * [FIX] flake8 and pylint * [FIX] name of file * [FIX] autoremove method [FIX] Contributors * [FIX] mail.tempale seems not work in cron task, replaced with direct call of mail.mail * [FIX] Readme * [FIX] review remarks * [FIX] handled ssl hosts [FIX] Flake8 * [FIX] handled ssl hosts [FIX] Flake8 * [FIX] fixed, last review remarks * [FIX] travis lint check * [FIX] backup only local db , beacause xmlrpc call of dump cause memory leak * [RM] useless field * [FIX] check_dd method [ADD] test case improved * [auto_backup] Refactor. - Follow template README. - Remove HTML README. - Move models to models folder. - Model and view file names follow guidelines. - Unused methods cleanup. - Remove unneeded `.pot` file. - Fix permissons. - Follow PEP8 in names everywhere. - Set more descriptive field names. - Disable backups for other databases, for security. - Remove db name from generated file, for easier cleanup. - EAFP logic everywhere. - More descriptive name. - Data files moved to YAML, with cleaner ir.cron record creation. - Add permissions for db.backup model. - Icons. - Update tests with new format. - Storage method is a selectable, for easier extensibility. - Instead of custom mailing, it just has a mail thread where you can subscribe. - Should fix almost all comments in https://github.com/OCA/server-tools/pull/203. * Update english pot file Added all the new fields and sentences. This will be the template for translations. * Dutch translations Full translation of the module to Dutch * Chinese translations Add Chinese translations to the module. Written by talway. * Changes chinese translation Changed some translations * Full German translations Thanks to Martin Schmid! * Typo fix could'nt > couldn't * Flemish translations Flemish translations are identical to Dutch. * Open FTP session on the last moment possible Used to open fp = open(file_path,'wb') a few lines before it was needed. This shouldn't be too much of a problem but opening and closing it right after eachother keeps the session open for less time and there are less chances on failure. * Porting module to OCA 8.0 * [FIX] module * [FIX] bug logger --> _logger call [FIX] Flake8 [RM] useless files * [FIX] Readme.rst * [FIX] defaults value * [FIX] rebased commit * [RM] description index.html * [RF] porting to new api [FIX] schedule_backup method [IMP] IT translation [IMP] tests * [FIX] test * [FIX] flake8 * [IMP] deps in travis.yml [FIX] flake8 * [FIX] flake8 and pylint * [FIX] name of file * [FIX] autoremove method [FIX] Contributors * [FIX] mail.tempale seems not work in cron task, replaced with direct call of mail.mail * [FIX] Readme * [FIX] review remarks * [FIX] handled ssl hosts [FIX] Flake8 * [FIX] handled ssl hosts [FIX] Flake8 * [FIX] fixed, last review remarks * [FIX] travis lint check * [FIX] backup only local db , beacause xmlrpc call of dump cause memory leak * [RM] useless field * [FIX] check_dd method [ADD] test case improved * [auto_backup] Refactor. - Follow template README. - Remove HTML README. - Move models to models folder. - Model and view file names follow guidelines. - Unused methods cleanup. - Remove unneeded `.pot` file. - Fix permissons. - Follow PEP8 in names everywhere. - Set more descriptive field names. - Disable backups for other databases, for security. - Remove db name from generated file, for easier cleanup. - EAFP logic everywhere. - More descriptive name. - Data files moved to YAML, with cleaner ir.cron record creation. - Add permissions for db.backup model. - Icons. - Update tests with new format. - Storage method is a selectable, for easier extensibility. - Instead of custom mailing, it just has a mail thread where you can subscribe. - Should fix almost all comments in https://github.com/OCA/server-tools/pull/203. * Reduce headers. This respects the upstream license choice (GPL/AGPL) but reduces verbosity. It would be ideal to have everything under AGPL though. * Fix view format. * Add shortcut to execute backups from the "More" menu. * Avoid duplicated backups. * Make sure you don't backup inside the filestore folder. The filestore is saved in the backup, so if you save the backup in the filestore, you'd end up with a huge backup that includes itself and the universe may collapse. * [FIX] This was removing all databases. * FIX License type * OCA Transbot updated translations from Transifex * OCA Transbot updated translations from Transifex * OCA Transbot updated translations from Transifex * [FIX] auto_backup: bad reference to field sftp_private_key (#423) Bump module version to 8.0.1.0.1 * [FIX] auto_backup: Empty dump using sftp backup option (#432) * [FIX] logger db_backup for pysftp (#419) * OCA Transbot updated translations from Transifex * OCA Transbot updated translations from Transifex * OCA Transbot updated translations from Transifex * OCA Transbot updated translations from Transifex * [FIX] remove en.po that was erroneously created by transbot * [MIG] auto_backup: Migrate to v9 * Add self.ensure_ones * Add test coverage * [ADD] auto_backup: Test coverage * compute_name * check_folder * action_sftp_test_connection * action_backup - sftp * action_backup_all * sftp_connection * filename
8 years ago
  1. # Translation of Odoo Server.
  2. # This file contains the translation of the following modules:
  3. # * auto_backup
  4. #
  5. # Translators:
  6. msgid ""
  7. msgstr ""
  8. "Project-Id-Version: server-tools (8.0)\n"
  9. "Report-Msgid-Bugs-To: \n"
  10. "POT-Creation-Date: 2016-04-14 07:02+0000\n"
  11. "PO-Revision-Date: 2016-04-05 07:21+0000\n"
  12. "Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
  13. "Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/zh_CN/)\n"
  14. "MIME-Version: 1.0\n"
  15. "Content-Type: text/plain; charset=UTF-8\n"
  16. "Content-Transfer-Encoding: \n"
  17. "Language: zh_CN\n"
  18. "Plural-Forms: nplurals=1; plural=0;\n"
  19. #. module: auto_backup
  20. #: view:db.backup:auto_backup.view_backup_conf_form
  21. msgid "/home/odoo/.ssh/id_rsa"
  22. msgstr ""
  23. #. module: auto_backup
  24. #: help:db.backup,folder:0
  25. msgid "Absolute path for storing the backups"
  26. msgstr "备份绝对路径"
  27. #. module: auto_backup
  28. #: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form
  29. #: model:ir.ui.menu,name:auto_backup.backup_conf_menu
  30. msgid "Automated Backups"
  31. msgstr ""
  32. #. module: auto_backup
  33. #: view:db.backup:auto_backup.view_backup_conf_form
  34. msgid "Automatic backups of the database can be scheduled as follows:"
  35. msgstr "数据库的自动备份时间安排如下:"
  36. #. module: auto_backup
  37. #: model:mail.message.subtype,name:auto_backup.failure
  38. msgid "Backup failed"
  39. msgstr ""
  40. #. module: auto_backup
  41. #: model:mail.message.subtype,name:auto_backup.success
  42. msgid "Backup successful"
  43. msgstr ""
  44. #. module: auto_backup
  45. #: view:db.backup:auto_backup.view_backup_conf_tree
  46. msgid "Backups"
  47. msgstr "备份"
  48. #. module: auto_backup
  49. #: help:db.backup,days_to_keep:0
  50. msgid ""
  51. "Backups older than this will be deleted automatically. Set 0 to disable "
  52. "autodeletion."
  53. msgstr ""
  54. #. module: auto_backup
  55. #: view:db.backup:auto_backup.view_backup_conf_form
  56. msgid "Basic backup configuration"
  57. msgstr ""
  58. #. module: auto_backup
  59. #: sql_constraint:db.backup:0
  60. msgid "Cannot duplicate a configuration."
  61. msgstr ""
  62. #. module: auto_backup
  63. #: help:db.backup,method:0
  64. msgid "Choose the storage method for this backup."
  65. msgstr ""
  66. #. module: auto_backup
  67. #: code:addons/auto_backup/models/db_backup.py:249
  68. #, python-format
  69. msgid "Cleanup of old database backups failed."
  70. msgstr ""
  71. #. module: auto_backup
  72. #: code:addons/auto_backup/models/db_backup.py:132
  73. #, python-format
  74. msgid "Connection Test Failed!"
  75. msgstr ""
  76. #. module: auto_backup
  77. #: code:addons/auto_backup/models/db_backup.py:129
  78. #, python-format
  79. msgid "Connection Test Succeeded!"
  80. msgstr ""
  81. #. module: auto_backup
  82. #: field:db.backup,create_uid:0
  83. msgid "Created by"
  84. msgstr "创建者"
  85. #. module: auto_backup
  86. #: field:db.backup,create_date:0
  87. msgid "Created on"
  88. msgstr "创建时间"
  89. #. module: auto_backup
  90. #: code:addons/auto_backup/models/db_backup.py:208
  91. #: model:mail.message.subtype,description:auto_backup.failure
  92. #, python-format
  93. msgid "Database backup failed."
  94. msgstr ""
  95. #. module: auto_backup
  96. #: code:addons/auto_backup/models/db_backup.py:213
  97. #: model:mail.message.subtype,description:auto_backup.success
  98. #, python-format
  99. msgid "Database backup succeeded."
  100. msgstr ""
  101. #. module: auto_backup
  102. #: help:db.backup,message_last_post:0
  103. msgid "Date of the last message posted on the record."
  104. msgstr ""
  105. #. module: auto_backup
  106. #: field:db.backup,days_to_keep:0
  107. msgid "Days to keep"
  108. msgstr ""
  109. #. module: auto_backup
  110. #: code:addons/auto_backup/models/db_backup.py:120
  111. #, python-format
  112. msgid ""
  113. "Do not save backups on your filestore, or you will backup your backups too!"
  114. msgstr ""
  115. #. module: auto_backup
  116. #: model:ir.model,name:auto_backup.model_db_backup
  117. msgid "Email Thread"
  118. msgstr ""
  119. #. module: auto_backup
  120. #: model:ir.actions.server,name:auto_backup.action_server_backup
  121. msgid "Execute backup(s)"
  122. msgstr ""
  123. #. module: auto_backup
  124. #: field:db.backup,folder:0
  125. msgid "Folder"
  126. msgstr ""
  127. #. module: auto_backup
  128. #: field:db.backup,message_follower_ids:0
  129. msgid "Followers"
  130. msgstr ""
  131. #. module: auto_backup
  132. #: view:db.backup:auto_backup.view_backup_conf_form
  133. msgid "Go to Settings / Technical / Automation / Scheduled Actions."
  134. msgstr "点击 设置 / 技术 / 自动化 / 计划的动作"
  135. #. module: auto_backup
  136. #: view:db.backup:auto_backup.view_backup_conf_form
  137. msgid "Help"
  138. msgstr "帮助"
  139. #. module: auto_backup
  140. #: help:db.backup,message_summary:0
  141. msgid ""
  142. "Holds the Chatter summary (number of messages, ...). This summary is "
  143. "directly in html format in order to be inserted in kanban views."
  144. msgstr ""
  145. #. module: auto_backup
  146. #: sql_constraint:db.backup:0
  147. msgid "I cannot remove backups from the future. Ask Doc for that."
  148. msgstr ""
  149. #. module: auto_backup
  150. #: field:db.backup,id:0
  151. msgid "ID"
  152. msgstr "ID"
  153. #. module: auto_backup
  154. #: help:db.backup,message_unread:0
  155. msgid "If checked new messages require your attention."
  156. msgstr ""
  157. #. module: auto_backup
  158. #: field:db.backup,message_is_follower:0
  159. msgid "Is a Follower"
  160. msgstr ""
  161. #. module: auto_backup
  162. #: field:db.backup,message_last_post:0
  163. msgid "Last Message Date"
  164. msgstr ""
  165. #. module: auto_backup
  166. #: field:db.backup,write_uid:0
  167. msgid "Last Updated by"
  168. msgstr "最后更新者"
  169. #. module: auto_backup
  170. #: field:db.backup,write_date:0
  171. msgid "Last Updated on"
  172. msgstr "上次更新日期"
  173. #. module: auto_backup
  174. #: selection:db.backup,method:0
  175. msgid "Local disk"
  176. msgstr ""
  177. #. module: auto_backup
  178. #: field:db.backup,message_ids:0
  179. msgid "Messages"
  180. msgstr ""
  181. #. module: auto_backup
  182. #: help:db.backup,message_ids:0
  183. msgid "Messages and communication history"
  184. msgstr ""
  185. #. module: auto_backup
  186. #: field:db.backup,method:0
  187. msgid "Method"
  188. msgstr ""
  189. #. module: auto_backup
  190. #: field:db.backup,name:0
  191. msgid "Name"
  192. msgstr ""
  193. #. module: auto_backup
  194. #: help:db.backup,sftp_private_key:0
  195. msgid ""
  196. "Path to the private key file. Only the Odoo user should have read "
  197. "permissions for that file."
  198. msgstr ""
  199. #. module: auto_backup
  200. #: field:db.backup,sftp_private_key:0
  201. msgid "Private key location"
  202. msgstr ""
  203. #. module: auto_backup
  204. #: selection:db.backup,method:0
  205. msgid "Remote SFTP server"
  206. msgstr ""
  207. #. module: auto_backup
  208. #: field:db.backup,sftp_password:0
  209. msgid "SFTP Password"
  210. msgstr ""
  211. #. module: auto_backup
  212. #: field:db.backup,sftp_port:0
  213. msgid "SFTP Port"
  214. msgstr "SFTP 端口"
  215. #. module: auto_backup
  216. #: field:db.backup,sftp_host:0
  217. msgid "SFTP Server"
  218. msgstr ""
  219. #. module: auto_backup
  220. #: view:db.backup:auto_backup.view_backup_conf_form
  221. msgid "SFTP Settings"
  222. msgstr ""
  223. #. module: auto_backup
  224. #: view:db.backup:auto_backup.view_backup_conf_search
  225. msgid "Search options"
  226. msgstr "搜索选项"
  227. #. module: auto_backup
  228. #: view:db.backup:auto_backup.view_backup_conf_form
  229. msgid "Search the action named 'Backup scheduler'."
  230. msgstr "搜索计划备份调度程序“Backup scheduler”。"
  231. #. module: auto_backup
  232. #: view:db.backup:auto_backup.view_backup_conf_form
  233. msgid ""
  234. "Set the scheduler to active and fill in how often you want backups "
  235. "generated."
  236. msgstr "设置计划动作为有效,并填写备份间隔时间,间隔时间单位,间隔次数,执行时间等数据库具体备份方案。"
  237. #. module: auto_backup
  238. #: field:db.backup,message_summary:0
  239. msgid "Summary"
  240. msgstr ""
  241. #. module: auto_backup
  242. #: help:db.backup,name:0
  243. msgid "Summary of this backup process"
  244. msgstr ""
  245. #. module: auto_backup
  246. #: view:db.backup:auto_backup.view_backup_conf_form
  247. msgid "Test SFTP Connection"
  248. msgstr "测试 SFTP 连接"
  249. #. module: auto_backup
  250. #: help:db.backup,sftp_host:0
  251. msgid ""
  252. "The host name or IP address from your remote server. For example 192.168.0.1"
  253. msgstr ""
  254. #. module: auto_backup
  255. #: help:db.backup,sftp_password:0
  256. msgid ""
  257. "The password for the SFTP connection. If you specify a private key file, "
  258. "then this is the password to decrypt it."
  259. msgstr ""
  260. #. module: auto_backup
  261. #: help:db.backup,sftp_port:0
  262. msgid "The port on the FTP server that accepts SSH/SFTP calls."
  263. msgstr "接受 SSH/SFTP 使用的FTP 服务器上的端口。"
  264. #. module: auto_backup
  265. #: help:db.backup,sftp_user:0
  266. msgid ""
  267. "The username where the SFTP connection should be made with. This is the user"
  268. " on the external server."
  269. msgstr "SFTP 连接使用该用户名。这是在SFTP服务器上的用户。"
  270. #. module: auto_backup
  271. #: field:db.backup,message_unread:0
  272. msgid "Unread Messages"
  273. msgstr ""
  274. #. module: auto_backup
  275. #: view:db.backup:auto_backup.view_backup_conf_form
  276. msgid ""
  277. "Use SFTP with caution! This writes files to external servers under the path "
  278. "you specify."
  279. msgstr "请注意你的 SFTP服务器网络安全!数据库备份文件将备份到你的SFTP服务器,文件保存在设置的目录下面。"
  280. #. module: auto_backup
  281. #: field:db.backup,sftp_user:0
  282. msgid "Username in the SFTP Server"
  283. msgstr ""
  284. #. module: auto_backup
  285. #: view:db.backup:auto_backup.view_backup_conf_form
  286. msgid "Warning:"
  287. msgstr "警告:"
  288. #. module: auto_backup
  289. #: view:db.backup:auto_backup.view_backup_conf_form
  290. msgid "john"
  291. msgstr ""
  292. #. module: auto_backup
  293. #: view:db.backup:auto_backup.view_backup_conf_form
  294. msgid "sftp.example.com"
  295. msgstr ""