From 8a078fc4ec9df1993fcb4d498d0a4508eb7a5ecf Mon Sep 17 00:00:00 2001 From: Dave Lasley Date: Thu, 24 Nov 2016 07:06:05 -0800 Subject: [PATCH 01/54] Revert "[9.0][MIG] auto_backup (#526)" This reverts commit 2798d4591bfd6d2ccf45a6e0c22ab64709eaa3d8. --- auto_backup/README.rst | 108 ------- auto_backup/__init__.py | 7 - auto_backup/__openerp__.py | 31 -- auto_backup/data/ir_cron.xml | 18 -- auto_backup/data/mail_message_subtype.xml | 19 -- auto_backup/i18n/de.po | 358 --------------------- auto_backup/i18n/es.po | 369 ---------------------- auto_backup/i18n/fi.po | 368 --------------------- auto_backup/i18n/fr.po | 369 ---------------------- auto_backup/i18n/fr_CA.po | 358 --------------------- auto_backup/i18n/it.po | 369 ---------------------- auto_backup/i18n/nl.po | 292 ----------------- auto_backup/i18n/nl_BE.po | 292 ----------------- auto_backup/i18n/pt_BR.po | 369 ---------------------- auto_backup/i18n/ru.po | 358 --------------------- auto_backup/i18n/sl.po | 369 ---------------------- auto_backup/i18n/tr.po | 358 --------------------- auto_backup/i18n/zh_CN.po | 358 --------------------- auto_backup/models/__init__.py | 6 - auto_backup/models/db_backup.py | 283 ----------------- auto_backup/security/ir.model.access.csv | 3 - auto_backup/static/description/icon.png | Bin 6074 -> 0 bytes auto_backup/static/description/icon.svg | 51 --- auto_backup/tests/__init__.py | 7 - auto_backup/tests/test_db_backup.py | 232 -------------- auto_backup/view/db_backup_view.xml | 107 ------- requirements.txt | 1 - 27 files changed, 5460 deletions(-) delete mode 100644 auto_backup/README.rst delete mode 100644 auto_backup/__init__.py delete mode 100644 auto_backup/__openerp__.py delete mode 100644 auto_backup/data/ir_cron.xml delete mode 100644 auto_backup/data/mail_message_subtype.xml delete mode 100644 auto_backup/i18n/de.po delete mode 100644 auto_backup/i18n/es.po delete mode 100644 auto_backup/i18n/fi.po delete mode 100644 auto_backup/i18n/fr.po delete mode 100644 auto_backup/i18n/fr_CA.po delete mode 100644 auto_backup/i18n/it.po delete mode 100644 auto_backup/i18n/nl.po delete mode 100644 auto_backup/i18n/nl_BE.po delete mode 100644 auto_backup/i18n/pt_BR.po delete mode 100644 auto_backup/i18n/ru.po delete mode 100644 auto_backup/i18n/sl.po delete mode 100644 auto_backup/i18n/tr.po delete mode 100644 auto_backup/i18n/zh_CN.po delete mode 100644 auto_backup/models/__init__.py delete mode 100644 auto_backup/models/db_backup.py delete mode 100644 auto_backup/security/ir.model.access.csv delete mode 100644 auto_backup/static/description/icon.png delete mode 100644 auto_backup/static/description/icon.svg delete mode 100644 auto_backup/tests/__init__.py delete mode 100644 auto_backup/tests/test_db_backup.py delete mode 100644 auto_backup/view/db_backup_view.xml diff --git a/auto_backup/README.rst b/auto_backup/README.rst deleted file mode 100644 index 7767a2f3844..00000000000 --- a/auto_backup/README.rst +++ /dev/null @@ -1,108 +0,0 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - -==================== -Database Auto-Backup -==================== - -A tool for all your back-ups, internal and external! - -Installation -============ - -Before installing this module, you need to execute:: - - pip install pysftp - -Configuration -============= - -Go to *Settings -> Configuration -> Configure Backup* to -create your configurations for each database that you needed -to backups. - -Usage -===== - -Keep your Odoo data safe with this module. Take automated back-ups, -remove them automatically and even write them to an external server -through an encrypted tunnel. You can even specify how long local backups -and external backups should be kept, automatically! - -Connect with an FTP Server --------------------------- - -Keep your data safe, through an SSH tunnel! -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Want to go even further and write your backups to an external server? -You can with this module! Specify the credentials to the server, specify -a path and everything will be backed up automatically. This is done -through an SSH (encrypted) tunnel, thanks to pysftp, so your data is -safe! - -Test connection ---------------- - -Checks your credentials in one click -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Want to make sure if the connection details are correct and if Odoo can -automatically write them to the remote server? Simply click on the ‘Test -SFTP Connection’ button and you will get message telling you if -everything is OK, or what is wrong! - -E-mail on backup failure ------------------------- - -Stay informed of problems, automatically! -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Do you want to know if the database backup succeeded or failed? Subscribe to -the corresponding backup setting notification type. - -Run backups when you want -------------------------- - -From the backups configuration list, press *More > Execute backup(s)* to -manually execute the selected processes. - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/149/9.0 - -Bug Tracker -=========== - - -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed feedback. - -Credits -======= - -Contributors ------------- - -* Yenthe Van Ginneken -* Alessio Gerace -* Jairo Llopis -* Dave Lasley - -Maintainer ----------- - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -This module is maintained by the OCA. - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -To contribute to this module, please visit https://odoo-community.org. diff --git a/auto_backup/__init__.py b/auto_backup/__init__.py deleted file mode 100644 index 49f944b463a..00000000000 --- a/auto_backup/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2004-2009 Tiny SPRL (). -# © 2015 Agile Business Group -# © 2016 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis -# License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html). - -from . import models diff --git a/auto_backup/__openerp__.py b/auto_backup/__openerp__.py deleted file mode 100644 index f66e49b4621..00000000000 --- a/auto_backup/__openerp__.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2004-2009 Tiny SPRL (). -# © 2015 Agile Business Group -# © 2016 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis -# License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html). - -{ - "name": "Database Auto-Backup", - "summary": "Backups database", - "version": "9.0.1.0.0", - "author": ( - "VanRoey.be - Yenthe Van Ginneken, Agile Business Group," - " Grupo ESOC Ingeniería de Servicios," - " Odoo Community Association (OCA)" - ), - 'license': "AGPL-3", - "website": "http://www.vanroey.be/applications/bedrijfsbeheer/odoo", - "category": "Tools", - "depends": ['mail'], - "data": [ - "data/ir_cron.xml", - "data/mail_message_subtype.xml", - "security/ir.model.access.csv", - "view/db_backup_view.xml", - ], - "application": True, - "installable": True, - "external_dependencies": { - "python": ["pysftp"], - }, -} diff --git a/auto_backup/data/ir_cron.xml b/auto_backup/data/ir_cron.xml deleted file mode 100644 index 6b62e364b0c..00000000000 --- a/auto_backup/data/ir_cron.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - Backup Scheduler - - 1 - days - -1 - - db.backup - action_backup_all - - - diff --git a/auto_backup/data/mail_message_subtype.xml b/auto_backup/data/mail_message_subtype.xml deleted file mode 100644 index 2dd820f975f..00000000000 --- a/auto_backup/data/mail_message_subtype.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - Backup Successful - Database backup succeeded. - db.backup - - - - - Backup Failed - Database backup failed. - db.backup - - - - diff --git a/auto_backup/i18n/de.po b/auto_backup/i18n/de.po deleted file mode 100644 index 65294eb225f..00000000000 --- a/auto_backup/i18n/de.po +++ /dev/null @@ -1,358 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: server-tools (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-14 07:02+0000\n" -"PO-Revision-Date: 2016-04-05 07:21+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-8-0/language/de/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: de\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "/home/odoo/.ssh/id_rsa" -msgstr "" - -#. module: auto_backup -#: help:db.backup,folder:0 -msgid "Absolute path for storing the backups" -msgstr "Absoluter Pfad zum Speichern der Sicherungen" - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Automated Backups" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "Automatische Sicherungen der Datenbank können wie folgt geplant werden:" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.failure -msgid "Backup failed" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.success -msgid "Backup successful" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "Sicherungen" - -#. module: auto_backup -#: help:db.backup,days_to_keep:0 -msgid "" -"Backups older than this will be deleted automatically. Set 0 to disable " -"autodeletion." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Basic backup configuration" -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "Cannot duplicate a configuration." -msgstr "" - -#. module: auto_backup -#: help:db.backup,method:0 -msgid "Choose the storage method for this backup." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:249 -#, python-format -msgid "Cleanup of old database backups failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:132 -#, python-format -msgid "Connection Test Failed!" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:129 -#, python-format -msgid "Connection Test Succeeded!" -msgstr "" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "Erstellt von" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "Erstellt am:" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:208 -#: model:mail.message.subtype,description:auto_backup.failure -#, python-format -msgid "Database backup failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:213 -#: model:mail.message.subtype,description:auto_backup.success -#, python-format -msgid "Database backup succeeded." -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_last_post:0 -msgid "Date of the last message posted on the record." -msgstr "Datum der letzten Meldung zu diesem Datensatz." - -#. module: auto_backup -#: field:db.backup,days_to_keep:0 -msgid "Days to keep" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:120 -#, python-format -msgid "" -"Do not save backups on your filestore, or you will backup your backups too!" -msgstr "" - -#. module: auto_backup -#: model:ir.model,name:auto_backup.model_db_backup -msgid "Email Thread" -msgstr "Email-Thread" - -#. module: auto_backup -#: model:ir.actions.server,name:auto_backup.action_server_backup -msgid "Execute backup(s)" -msgstr "" - -#. module: auto_backup -#: field:db.backup,folder:0 -msgid "Folder" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_follower_ids:0 -msgid "Followers" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "Gehen Sie zu Einstellungen / Technisch / Automation / Geplante Vorgänge" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "Hilfe" - -#. module: auto_backup -#: help:db.backup,message_summary:0 -msgid "" -"Holds the Chatter summary (number of messages, ...). This summary is " -"directly in html format in order to be inserted in kanban views." -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "I cannot remove backups from the future. Ask Doc for that." -msgstr "" - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "ID" - -#. module: auto_backup -#: help:db.backup,message_unread:0 -msgid "If checked new messages require your attention." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_is_follower:0 -msgid "Is a Follower" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_last_post:0 -msgid "Last Message Date" -msgstr "" - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "Zuletzt aktualisiert von" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "Zuletzt aktualisiert am" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Local disk" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_ids:0 -msgid "Messages" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_ids:0 -msgid "Messages and communication history" -msgstr "" - -#. module: auto_backup -#: field:db.backup,method:0 -msgid "Method" -msgstr "Methode" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Name" -msgstr "Name" - -#. module: auto_backup -#: help:db.backup,sftp_private_key:0 -msgid "" -"Path to the private key file. Only the Odoo user should have read " -"permissions for that file." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_private_key:0 -msgid "Private key location" -msgstr "" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Remote SFTP server" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_password:0 -msgid "SFTP Password" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_port:0 -msgid "SFTP Port" -msgstr "SFTP-Port" - -#. module: auto_backup -#: field:db.backup,sftp_host:0 -msgid "SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP Settings" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "Suchkriterien" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "Suchen Sie die Aktion mit dem Namen \"Backup Scheduler\"." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Set the scheduler to active and fill in how often you want backups " -"generated." -msgstr "Setzen Sie die Aktion auf aktiv und geben Sie an wie oft die Sicherungen erstellt werden soll." - -#. module: auto_backup -#: field:db.backup,message_summary:0 -msgid "Summary" -msgstr "" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Summary of this backup process" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "Verbindung testen" - -#. module: auto_backup -#: help:db.backup,sftp_host:0 -msgid "" -"The host name or IP address from your remote server. For example 192.168.0.1" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_password:0 -msgid "" -"The password for the SFTP connection. If you specify a private key file, " -"then this is the password to decrypt it." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_port:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "Der Port auf dem FTP-Server, der SSH/SFTP Anfragen annimmt." - -#. module: auto_backup -#: help:db.backup,sftp_user:0 -msgid "" -"The username where the SFTP connection should be made with. This is the user" -" on the external server." -msgstr "Der Benutzername mit dem die SFTP-Verbindung mit hergestellt werden soll. Dies ist der Benutzer auf dem externen Server." - -#. module: auto_backup -#: field:db.backup,message_unread:0 -msgid "Unread Messages" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Use SFTP with caution! This writes files to external servers under the path " -"you specify." -msgstr "Verwenden Sie SFTP mit Vorsicht! Dies schreibt Dateien auf externen Servern unter dem Pfad, den Sie angeben." - -#. module: auto_backup -#: field:db.backup,sftp_user:0 -msgid "Username in the SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "Warnung:" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "john" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "sftp.example.com" -msgstr "" diff --git a/auto_backup/i18n/es.po b/auto_backup/i18n/es.po deleted file mode 100644 index de92e34a614..00000000000 --- a/auto_backup/i18n/es.po +++ /dev/null @@ -1,369 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -# Translators: -# Carles Antoli , 2016 -msgid "" -msgstr "" -"Project-Id-Version: server-tools (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-05-28 02:41+0000\n" -"PO-Revision-Date: 2016-05-27 15:24+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/es/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "/home/odoo/.ssh/id_rsa" -msgstr "/home/odoo/.ssh/id_rsa" - -#. module: auto_backup -#: help:db.backup,folder:0 -msgid "Absolute path for storing the backups" -msgstr "Ruta absoluta para almacenar las copias de seguridad" - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Automated Backups" -msgstr "Copias de seguridad automatizadas" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "Copias de seguridad automáticas de la base de datos se pueden programar de la siguiente manera:" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.failure -msgid "Backup failed" -msgstr "La copia de seguridad ha fallado" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.success -msgid "Backup successful" -msgstr "Copia de seguridad realizada con éxito" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "Copias de seguridad" - -#. module: auto_backup -#: help:db.backup,days_to_keep:0 -msgid "" -"Backups older than this will be deleted automatically. Set 0 to disable " -"autodeletion." -msgstr "Las copias de seguridad más antiguas que ésta se eliminarán de forma automática. Establecer a 0 para desactivar el borrado automático." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Basic backup configuration" -msgstr "Configuración básica de la copia de seguridad" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "Cannot duplicate a configuration." -msgstr "No se puede duplicar una configuración." - -#. module: auto_backup -#: help:db.backup,method:0 -msgid "Choose the storage method for this backup." -msgstr "Elija el método de almacenamiento para esta copia de seguridad." - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:247 -#, python-format -msgid "Cleanup of old database backups failed." -msgstr "La limpieza de las copias de seguridad de las bases de datos antiguas ha fallado." - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:131 -#, python-format -msgid "Connection Test Failed!" -msgstr "Error en la prueba de conexión!" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:128 -#, python-format -msgid "Connection Test Succeeded!" -msgstr "Prueba de conexión correcta!" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "Creado por" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "Creado el" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:206 -#: model:mail.message.subtype,description:auto_backup.failure -#, python-format -msgid "Database backup failed." -msgstr "La copia de seguridad de la base de datos ha fallado." - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:211 -#: model:mail.message.subtype,description:auto_backup.success -#, python-format -msgid "Database backup succeeded." -msgstr "La copia de seguridad de la base de datos se realizo correctamente" - -#. module: auto_backup -#: help:db.backup,message_last_post:0 -msgid "Date of the last message posted on the record." -msgstr "Fecha del último mensaje publicado en el registro." - -#. module: auto_backup -#: field:db.backup,days_to_keep:0 -msgid "Days to keep" -msgstr "Días para conservar" - -#. module: auto_backup -#: field:db.backup,display_name:0 -msgid "Display Name" -msgstr "Nombre a mostrar" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:119 -#, python-format -msgid "" -"Do not save backups on your filestore, or you will backup your backups too!" -msgstr "No guardar las copias de seguridad en su almacén de archivos, o se copiaran las copias de seguridad también!" - -#. module: auto_backup -#: model:ir.model,name:auto_backup.model_db_backup -msgid "Email Thread" -msgstr "Hilo correo electrónico" - -#. module: auto_backup -#: model:ir.actions.server,name:auto_backup.action_server_backup -msgid "Execute backup(s)" -msgstr "Ejecutar copia(s) de seguridad" - -#. module: auto_backup -#: field:db.backup,folder:0 -msgid "Folder" -msgstr "Carpeta" - -#. module: auto_backup -#: field:db.backup,message_follower_ids:0 -msgid "Followers" -msgstr "Seguidores" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "Ir a Configuración / Técnico / Automatización / Acciones Planificadas" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "Ayuda" - -#. module: auto_backup -#: help:db.backup,message_summary:0 -msgid "" -"Holds the Chatter summary (number of messages, ...). This summary is " -"directly in html format in order to be inserted in kanban views." -msgstr "Guarda el resumen de la Charla (número de mensajes, ...). Este resumen es en formato html directamente para ser insertado en vistas kanban." - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "I cannot remove backups from the future. Ask Doc for that." -msgstr "No puedo eliminar las copias de seguridad desde el futuro. Consulta la documentación para eso." - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "ID" - -#. module: auto_backup -#: help:db.backup,message_unread:0 -msgid "If checked new messages require your attention." -msgstr "Si se marca los nuevos mensajes requerirán su atención." - -#. module: auto_backup -#: field:db.backup,message_is_follower:0 -msgid "Is a Follower" -msgstr "Es seguidor" - -#. module: auto_backup -#: field:db.backup,message_last_post:0 -msgid "Last Message Date" -msgstr "Fecha del último mensaje" - -#. module: auto_backup -#: field:db.backup,__last_update:0 -msgid "Last Modified on" -msgstr "Última actualización por" - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "Última actualización por" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "Última actualización el" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Local disk" -msgstr "Disco local" - -#. module: auto_backup -#: field:db.backup,message_ids:0 -msgid "Messages" -msgstr "Mensajes" - -#. module: auto_backup -#: help:db.backup,message_ids:0 -msgid "Messages and communication history" -msgstr "Histórico de mensajes y comunicaciones" - -#. module: auto_backup -#: field:db.backup,method:0 -msgid "Method" -msgstr "Método" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Name" -msgstr "Nombre" - -#. module: auto_backup -#: help:db.backup,sftp_private_key:0 -msgid "" -"Path to the private key file. Only the Odoo user should have read " -"permissions for that file." -msgstr "Ruta del archivo de clave privada. Sólo el usuario Odoo debe tener permisos de lectura para ese archivo." - -#. module: auto_backup -#: field:db.backup,sftp_private_key:0 -msgid "Private key location" -msgstr "Ubicación de la clave privada" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Remote SFTP server" -msgstr "Servidor remoto SFTP" - -#. module: auto_backup -#: field:db.backup,sftp_password:0 -msgid "SFTP Password" -msgstr "Contraseña SFTP" - -#. module: auto_backup -#: field:db.backup,sftp_port:0 -msgid "SFTP Port" -msgstr "Puerto SFTP" - -#. module: auto_backup -#: field:db.backup,sftp_host:0 -msgid "SFTP Server" -msgstr "Servidor SFTP" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP Settings" -msgstr "Configuración de SFTP" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "Opciones de búsqueda" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "Buscar la acción llamada 'Backup sheduler'." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Set the scheduler to active and fill in how often you want backups " -"generated." -msgstr "Ajuste el programador para activar y rellenar con qué frecuencia desea las copias de seguridad generadas." - -#. module: auto_backup -#: field:db.backup,message_summary:0 -msgid "Summary" -msgstr "Resumen" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Summary of this backup process" -msgstr "Resumen de este proceso de copia de seguridad" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "Prueba de conexión SFTP" - -#. module: auto_backup -#: help:db.backup,sftp_host:0 -msgid "" -"The host name or IP address from your remote server. For example 192.168.0.1" -msgstr "El nombre del host o la dirección IP de su servidor remoto. Por ejemplo 192.168.0.1" - -#. module: auto_backup -#: help:db.backup,sftp_password:0 -msgid "" -"The password for the SFTP connection. If you specify a private key file, " -"then this is the password to decrypt it." -msgstr "La contraseña para la conexión SFTP. Si se especifica un archivo de clave privada, entonces esta es la contraseña para descifrarlo." - -#. module: auto_backup -#: help:db.backup,sftp_port:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "El puerto en el servidor FTP que acepta llamadas de SSH/SFTP." - -#. module: auto_backup -#: help:db.backup,sftp_user:0 -msgid "" -"The username where the SFTP connection should be made with. This is the user" -" on the external server." -msgstr "El nombre de usuario donde la conexión SFTP se debe hacer con. Este es el usuario en el servidor externo." - -#. module: auto_backup -#: field:db.backup,message_unread:0 -msgid "Unread Messages" -msgstr "Mensajes sin leer" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Use SFTP with caution! This writes files to external servers under the path " -"you specify." -msgstr "Utilizar SFTP con precaución! Escribe archivos a servidores externos en la ruta que especifique." - -#. module: auto_backup -#: field:db.backup,sftp_user:0 -msgid "Username in the SFTP Server" -msgstr "Nombre del usuario en el servidor SFTP" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "Advertencia:" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "john" -msgstr "john" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "sftp.example.com" -msgstr "sftp.example.com" diff --git a/auto_backup/i18n/fi.po b/auto_backup/i18n/fi.po deleted file mode 100644 index bc85b035354..00000000000 --- a/auto_backup/i18n/fi.po +++ /dev/null @@ -1,368 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: server-tools (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-09 18:30+0000\n" -"PO-Revision-Date: 2016-06-06 13:57+0000\n" -"Last-Translator: Jarmo Kortetjärvi \n" -"Language-Team: Finnish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fi/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: fi\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "/home/odoo/.ssh/id_rsa" -msgstr "" - -#. module: auto_backup -#: help:db.backup,folder:0 -msgid "Absolute path for storing the backups" -msgstr "" - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Automated Backups" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.failure -msgid "Backup failed" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.success -msgid "Backup successful" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "" - -#. module: auto_backup -#: help:db.backup,days_to_keep:0 -msgid "" -"Backups older than this will be deleted automatically. Set 0 to disable " -"autodeletion." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Basic backup configuration" -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "Cannot duplicate a configuration." -msgstr "" - -#. module: auto_backup -#: help:db.backup,method:0 -msgid "Choose the storage method for this backup." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:247 -#, python-format -msgid "Cleanup of old database backups failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:131 -#, python-format -msgid "Connection Test Failed!" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:128 -#, python-format -msgid "Connection Test Succeeded!" -msgstr "" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "Luonut" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "Luotu" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:206 -#: model:mail.message.subtype,description:auto_backup.failure -#, python-format -msgid "Database backup failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:211 -#: model:mail.message.subtype,description:auto_backup.success -#, python-format -msgid "Database backup succeeded." -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_last_post:0 -msgid "Date of the last message posted on the record." -msgstr "Viimeisimmän lähetetyn viestin päiväys." - -#. module: auto_backup -#: field:db.backup,days_to_keep:0 -msgid "Days to keep" -msgstr "" - -#. module: auto_backup -#: field:db.backup,display_name:0 -msgid "Display Name" -msgstr "Nimi" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:119 -#, python-format -msgid "" -"Do not save backups on your filestore, or you will backup your backups too!" -msgstr "" - -#. module: auto_backup -#: model:ir.model,name:auto_backup.model_db_backup -msgid "Email Thread" -msgstr "" - -#. module: auto_backup -#: model:ir.actions.server,name:auto_backup.action_server_backup -msgid "Execute backup(s)" -msgstr "" - -#. module: auto_backup -#: field:db.backup,folder:0 -msgid "Folder" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_follower_ids:0 -msgid "Followers" -msgstr "Seuraajat" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_summary:0 -msgid "" -"Holds the Chatter summary (number of messages, ...). This summary is " -"directly in html format in order to be inserted in kanban views." -msgstr "Sisältää chatter-yhteenvedon (viestien määrä, ...). Tämä yhteenveto on html-formaatissa, jotta se voidaan näyttää kanban-näkymässä." - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "I cannot remove backups from the future. Ask Doc for that." -msgstr "" - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "ID" - -#. module: auto_backup -#: help:db.backup,message_unread:0 -msgid "If checked new messages require your attention." -msgstr "Jos valittuna, uudet viestit vaatii toimenpiteitä." - -#. module: auto_backup -#: field:db.backup,message_is_follower:0 -msgid "Is a Follower" -msgstr "On seuraaja" - -#. module: auto_backup -#: field:db.backup,message_last_post:0 -msgid "Last Message Date" -msgstr "Viimeisimmän viestin päiväys" - -#. module: auto_backup -#: field:db.backup,__last_update:0 -msgid "Last Modified on" -msgstr "Viimeksi muokattu" - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "Viimeksi päivittänyt" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "Viimeksi päivitetty" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Local disk" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_ids:0 -msgid "Messages" -msgstr "Viestejä" - -#. module: auto_backup -#: help:db.backup,message_ids:0 -msgid "Messages and communication history" -msgstr "Viesti- ja kommunikointihistoria" - -#. module: auto_backup -#: field:db.backup,method:0 -msgid "Method" -msgstr "" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Name" -msgstr "Nimi" - -#. module: auto_backup -#: help:db.backup,sftp_private_key:0 -msgid "" -"Path to the private key file. Only the Odoo user should have read " -"permissions for that file." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_private_key:0 -msgid "Private key location" -msgstr "" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Remote SFTP server" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_password:0 -msgid "SFTP Password" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_port:0 -msgid "SFTP Port" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_host:0 -msgid "SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP Settings" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Set the scheduler to active and fill in how often you want backups " -"generated." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_summary:0 -msgid "Summary" -msgstr "Yhteenveto" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Summary of this backup process" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_host:0 -msgid "" -"The host name or IP address from your remote server. For example 192.168.0.1" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_password:0 -msgid "" -"The password for the SFTP connection. If you specify a private key file, " -"then this is the password to decrypt it." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_port:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_user:0 -msgid "" -"The username where the SFTP connection should be made with. This is the user" -" on the external server." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_unread:0 -msgid "Unread Messages" -msgstr "Lukemattomia viestejä" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Use SFTP with caution! This writes files to external servers under the path " -"you specify." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_user:0 -msgid "Username in the SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "john" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "sftp.example.com" -msgstr "" diff --git a/auto_backup/i18n/fr.po b/auto_backup/i18n/fr.po deleted file mode 100644 index 696ce112c50..00000000000 --- a/auto_backup/i18n/fr.po +++ /dev/null @@ -1,369 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -# Translators: -# Christophe CHAUVET , 2016 -msgid "" -msgstr "" -"Project-Id-Version: server-tools (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-17 02:42+0000\n" -"PO-Revision-Date: 2016-06-23 09:27+0000\n" -"Last-Translator: Christophe CHAUVET \n" -"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: fr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "/home/odoo/.ssh/id_rsa" -msgstr "/home/odoo/.ssh/id_rsa" - -#. module: auto_backup -#: help:db.backup,folder:0 -msgid "Absolute path for storing the backups" -msgstr "" - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Automated Backups" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.failure -msgid "Backup failed" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.success -msgid "Backup successful" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "Sauvegardes" - -#. module: auto_backup -#: help:db.backup,days_to_keep:0 -msgid "" -"Backups older than this will be deleted automatically. Set 0 to disable " -"autodeletion." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Basic backup configuration" -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "Cannot duplicate a configuration." -msgstr "" - -#. module: auto_backup -#: help:db.backup,method:0 -msgid "Choose the storage method for this backup." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:247 -#, python-format -msgid "Cleanup of old database backups failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:131 -#, python-format -msgid "Connection Test Failed!" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:128 -#, python-format -msgid "Connection Test Succeeded!" -msgstr "" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "Créé par" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "Créé le" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:206 -#: model:mail.message.subtype,description:auto_backup.failure -#, python-format -msgid "Database backup failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:211 -#: model:mail.message.subtype,description:auto_backup.success -#, python-format -msgid "Database backup succeeded." -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_last_post:0 -msgid "Date of the last message posted on the record." -msgstr "" - -#. module: auto_backup -#: field:db.backup,days_to_keep:0 -msgid "Days to keep" -msgstr "" - -#. module: auto_backup -#: field:db.backup,display_name:0 -msgid "Display Name" -msgstr "Nom affiché" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:119 -#, python-format -msgid "" -"Do not save backups on your filestore, or you will backup your backups too!" -msgstr "" - -#. module: auto_backup -#: model:ir.model,name:auto_backup.model_db_backup -msgid "Email Thread" -msgstr "" - -#. module: auto_backup -#: model:ir.actions.server,name:auto_backup.action_server_backup -msgid "Execute backup(s)" -msgstr "" - -#. module: auto_backup -#: field:db.backup,folder:0 -msgid "Folder" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_follower_ids:0 -msgid "Followers" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_summary:0 -msgid "" -"Holds the Chatter summary (number of messages, ...). This summary is " -"directly in html format in order to be inserted in kanban views." -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "I cannot remove backups from the future. Ask Doc for that." -msgstr "" - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "ID" - -#. module: auto_backup -#: help:db.backup,message_unread:0 -msgid "If checked new messages require your attention." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_is_follower:0 -msgid "Is a Follower" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_last_post:0 -msgid "Last Message Date" -msgstr "" - -#. module: auto_backup -#: field:db.backup,__last_update:0 -msgid "Last Modified on" -msgstr "Dernière modification le" - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "Mis à jour par" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "Mis à jour le" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Local disk" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_ids:0 -msgid "Messages" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_ids:0 -msgid "Messages and communication history" -msgstr "" - -#. module: auto_backup -#: field:db.backup,method:0 -msgid "Method" -msgstr "Méthode" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Name" -msgstr "Nom" - -#. module: auto_backup -#: help:db.backup,sftp_private_key:0 -msgid "" -"Path to the private key file. Only the Odoo user should have read " -"permissions for that file." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_private_key:0 -msgid "Private key location" -msgstr "" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Remote SFTP server" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_password:0 -msgid "SFTP Password" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_port:0 -msgid "SFTP Port" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_host:0 -msgid "SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP Settings" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Set the scheduler to active and fill in how often you want backups " -"generated." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_summary:0 -msgid "Summary" -msgstr "Résumé" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Summary of this backup process" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_host:0 -msgid "" -"The host name or IP address from your remote server. For example 192.168.0.1" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_password:0 -msgid "" -"The password for the SFTP connection. If you specify a private key file, " -"then this is the password to decrypt it." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_port:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_user:0 -msgid "" -"The username where the SFTP connection should be made with. This is the user" -" on the external server." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_unread:0 -msgid "Unread Messages" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Use SFTP with caution! This writes files to external servers under the path " -"you specify." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_user:0 -msgid "Username in the SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "john" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "sftp.example.com" -msgstr "" diff --git a/auto_backup/i18n/fr_CA.po b/auto_backup/i18n/fr_CA.po deleted file mode 100644 index 5996cd518a8..00000000000 --- a/auto_backup/i18n/fr_CA.po +++ /dev/null @@ -1,358 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: server-tools (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-14 07:02+0000\n" -"PO-Revision-Date: 2016-04-05 07:21+0000\n" -"Last-Translator: <>\n" -"Language-Team: French (Canada) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fr_CA/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: fr_CA\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "/home/odoo/.ssh/id_rsa" -msgstr "" - -#. module: auto_backup -#: help:db.backup,folder:0 -msgid "Absolute path for storing the backups" -msgstr "" - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Automated Backups" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.failure -msgid "Backup failed" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.success -msgid "Backup successful" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "" - -#. module: auto_backup -#: help:db.backup,days_to_keep:0 -msgid "" -"Backups older than this will be deleted automatically. Set 0 to disable " -"autodeletion." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Basic backup configuration" -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "Cannot duplicate a configuration." -msgstr "" - -#. module: auto_backup -#: help:db.backup,method:0 -msgid "Choose the storage method for this backup." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:249 -#, python-format -msgid "Cleanup of old database backups failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:132 -#, python-format -msgid "Connection Test Failed!" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:129 -#, python-format -msgid "Connection Test Succeeded!" -msgstr "" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:208 -#: model:mail.message.subtype,description:auto_backup.failure -#, python-format -msgid "Database backup failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:213 -#: model:mail.message.subtype,description:auto_backup.success -#, python-format -msgid "Database backup succeeded." -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_last_post:0 -msgid "Date of the last message posted on the record." -msgstr "" - -#. module: auto_backup -#: field:db.backup,days_to_keep:0 -msgid "Days to keep" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:120 -#, python-format -msgid "" -"Do not save backups on your filestore, or you will backup your backups too!" -msgstr "" - -#. module: auto_backup -#: model:ir.model,name:auto_backup.model_db_backup -msgid "Email Thread" -msgstr "" - -#. module: auto_backup -#: model:ir.actions.server,name:auto_backup.action_server_backup -msgid "Execute backup(s)" -msgstr "" - -#. module: auto_backup -#: field:db.backup,folder:0 -msgid "Folder" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_follower_ids:0 -msgid "Followers" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_summary:0 -msgid "" -"Holds the Chatter summary (number of messages, ...). This summary is " -"directly in html format in order to be inserted in kanban views." -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "I cannot remove backups from the future. Ask Doc for that." -msgstr "" - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_unread:0 -msgid "If checked new messages require your attention." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_is_follower:0 -msgid "Is a Follower" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_last_post:0 -msgid "Last Message Date" -msgstr "" - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Local disk" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_ids:0 -msgid "Messages" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_ids:0 -msgid "Messages and communication history" -msgstr "" - -#. module: auto_backup -#: field:db.backup,method:0 -msgid "Method" -msgstr "" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Name" -msgstr "Nom" - -#. module: auto_backup -#: help:db.backup,sftp_private_key:0 -msgid "" -"Path to the private key file. Only the Odoo user should have read " -"permissions for that file." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_private_key:0 -msgid "Private key location" -msgstr "" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Remote SFTP server" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_password:0 -msgid "SFTP Password" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_port:0 -msgid "SFTP Port" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_host:0 -msgid "SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP Settings" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Set the scheduler to active and fill in how often you want backups " -"generated." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_summary:0 -msgid "Summary" -msgstr "" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Summary of this backup process" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_host:0 -msgid "" -"The host name or IP address from your remote server. For example 192.168.0.1" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_password:0 -msgid "" -"The password for the SFTP connection. If you specify a private key file, " -"then this is the password to decrypt it." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_port:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_user:0 -msgid "" -"The username where the SFTP connection should be made with. This is the user" -" on the external server." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_unread:0 -msgid "Unread Messages" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Use SFTP with caution! This writes files to external servers under the path " -"you specify." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_user:0 -msgid "Username in the SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "john" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "sftp.example.com" -msgstr "" diff --git a/auto_backup/i18n/it.po b/auto_backup/i18n/it.po deleted file mode 100644 index c51272578e7..00000000000 --- a/auto_backup/i18n/it.po +++ /dev/null @@ -1,369 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -# Translators: -# Paolo Valier, 2016 -msgid "" -msgstr "" -"Project-Id-Version: server-tools (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-07-28 00:59+0000\n" -"PO-Revision-Date: 2016-07-31 09:02+0000\n" -"Last-Translator: Paolo Valier\n" -"Language-Team: Italian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/it/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: it\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "/home/odoo/.ssh/id_rsa" -msgstr "/home/odoo/.ssh/id_rsa" - -#. module: auto_backup -#: help:db.backup,folder:0 -msgid "Absolute path for storing the backups" -msgstr "Percorso assoluto per il salvataggio del DB" - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Automated Backups" -msgstr "Backup automatici" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "Il backup automatico del DB è pianificato come segue:" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.failure -msgid "Backup failed" -msgstr "Backup non riuscito" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.success -msgid "Backup successful" -msgstr "Backup riuscito" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "Backups" - -#. module: auto_backup -#: help:db.backup,days_to_keep:0 -msgid "" -"Backups older than this will be deleted automatically. Set 0 to disable " -"autodeletion." -msgstr "I Backup antecedenti questo numero di giorni saranno eliminati automaticamente. Impostare a 0 per disattivare l'eliminazione automatica." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Basic backup configuration" -msgstr "Configurazione di base del Backup" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "Cannot duplicate a configuration." -msgstr "Impossibile duplicare una configurazione." - -#. module: auto_backup -#: help:db.backup,method:0 -msgid "Choose the storage method for this backup." -msgstr "Scegliere il tipo di archiviazione per questo metodo di backup. " - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:247 -#, python-format -msgid "Cleanup of old database backups failed." -msgstr "Eliminazione dei vecchi backup di database non riuscita." - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:131 -#, python-format -msgid "Connection Test Failed!" -msgstr "Test connessione Fallito!" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:128 -#, python-format -msgid "Connection Test Succeeded!" -msgstr "Test connessione avvenuto con successo!" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "Creato da" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "Creato il" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:206 -#: model:mail.message.subtype,description:auto_backup.failure -#, python-format -msgid "Database backup failed." -msgstr "Backup del Database non riuscito." - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:211 -#: model:mail.message.subtype,description:auto_backup.success -#, python-format -msgid "Database backup succeeded." -msgstr "Backup del Database riuscito." - -#. module: auto_backup -#: help:db.backup,message_last_post:0 -msgid "Date of the last message posted on the record." -msgstr "Data dell'ultimo messaggio aggiunto al record." - -#. module: auto_backup -#: field:db.backup,days_to_keep:0 -msgid "Days to keep" -msgstr "Giorni da conservare" - -#. module: auto_backup -#: field:db.backup,display_name:0 -msgid "Display Name" -msgstr "Nome da visualizzare" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:119 -#, python-format -msgid "" -"Do not save backups on your filestore, or you will backup your backups too!" -msgstr "Non salvare i backup nel proprio filestore altrimenti verrà eseguita una copia di backup anche dei propri backup!" - -#. module: auto_backup -#: model:ir.model,name:auto_backup.model_db_backup -msgid "Email Thread" -msgstr "Discussione Email" - -#. module: auto_backup -#: model:ir.actions.server,name:auto_backup.action_server_backup -msgid "Execute backup(s)" -msgstr "Esegui backup(s)" - -#. module: auto_backup -#: field:db.backup,folder:0 -msgid "Folder" -msgstr "Cartella" - -#. module: auto_backup -#: field:db.backup,message_follower_ids:0 -msgid "Followers" -msgstr "Followers" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "Andare in Configurazione / Funzioni Tecniche / Automazione / Azioni Programmate." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "Aiuto" - -#. module: auto_backup -#: help:db.backup,message_summary:0 -msgid "" -"Holds the Chatter summary (number of messages, ...). This summary is " -"directly in html format in order to be inserted in kanban views." -msgstr "Contiene il riepilogo Chatter (numero di messaggi, ...). Questa sintesi è direttamente in formato HTML, al fine di essere inserita nelle viste kanban." - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "I cannot remove backups from the future. Ask Doc for that." -msgstr "Impossibile rimuovere backup dal futuro. Cercare nella Documentazione." - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "ID" - -#. module: auto_backup -#: help:db.backup,message_unread:0 -msgid "If checked new messages require your attention." -msgstr "Se selezionato i nuovi messaggi richiedono la tua attenzione." - -#. module: auto_backup -#: field:db.backup,message_is_follower:0 -msgid "Is a Follower" -msgstr "È un follower" - -#. module: auto_backup -#: field:db.backup,message_last_post:0 -msgid "Last Message Date" -msgstr "Data dell'ultimo messaggio" - -#. module: auto_backup -#: field:db.backup,__last_update:0 -msgid "Last Modified on" -msgstr "Ultima modifica il" - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "Ultimo aggiornamento di" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "Ultimo aggiornamento il" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Local disk" -msgstr "Disco locale" - -#. module: auto_backup -#: field:db.backup,message_ids:0 -msgid "Messages" -msgstr "Messaggi" - -#. module: auto_backup -#: help:db.backup,message_ids:0 -msgid "Messages and communication history" -msgstr "Messaggi e storico comunicazioni" - -#. module: auto_backup -#: field:db.backup,method:0 -msgid "Method" -msgstr "Metodo" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Name" -msgstr "Nome" - -#. module: auto_backup -#: help:db.backup,sftp_private_key:0 -msgid "" -"Path to the private key file. Only the Odoo user should have read " -"permissions for that file." -msgstr "Percorso al file della chiave privata. Soltanto l'utente Odoo dovrebbe avere il permesso in lettura di questo file." - -#. module: auto_backup -#: field:db.backup,sftp_private_key:0 -msgid "Private key location" -msgstr "Posizione chiave privata" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Remote SFTP server" -msgstr "Server SFTP remoto" - -#. module: auto_backup -#: field:db.backup,sftp_password:0 -msgid "SFTP Password" -msgstr "Password SFTP" - -#. module: auto_backup -#: field:db.backup,sftp_port:0 -msgid "SFTP Port" -msgstr "Porta SFTP" - -#. module: auto_backup -#: field:db.backup,sftp_host:0 -msgid "SFTP Server" -msgstr "Server SFTP" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP Settings" -msgstr "Impostazioni SFTP" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "Opzioni di ricerca" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "Cerca l'azione denominata 'Pianificazione del backup'." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Set the scheduler to active and fill in how often you want backups " -"generated." -msgstr "Impostare lo scheduler per attivare e compilare la frequenza con cui si desidera generare il backup." - -#. module: auto_backup -#: field:db.backup,message_summary:0 -msgid "Summary" -msgstr "Riepilogo" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Summary of this backup process" -msgstr "Riepilogo di questo processo di backup" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "Prova Connessione SFTP" - -#. module: auto_backup -#: help:db.backup,sftp_host:0 -msgid "" -"The host name or IP address from your remote server. For example 192.168.0.1" -msgstr "Il nome host o l'indirizzo IP del tuo server remoto. Per esempio 192.168.0.1" - -#. module: auto_backup -#: help:db.backup,sftp_password:0 -msgid "" -"The password for the SFTP connection. If you specify a private key file, " -"then this is the password to decrypt it." -msgstr "La password per la connessione SFTP. Se viene specificato un file per la chiave privata, allora questo è la password per decodificarla." - -#. module: auto_backup -#: help:db.backup,sftp_port:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "La porta sul server FTP che accetta chiamate SSH/SFTP." - -#. module: auto_backup -#: help:db.backup,sftp_user:0 -msgid "" -"The username where the SFTP connection should be made with. This is the user" -" on the external server." -msgstr "Il nome utente per la connessione SFTP. Questo è l'utente sul server esterno." - -#. module: auto_backup -#: field:db.backup,message_unread:0 -msgid "Unread Messages" -msgstr "Messaggi non letti" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Use SFTP with caution! This writes files to external servers under the path " -"you specify." -msgstr "Usare SFTP con cautela! Questa modalità scrive file nel percorso specificato su server esterni." - -#. module: auto_backup -#: field:db.backup,sftp_user:0 -msgid "Username in the SFTP Server" -msgstr "Nome utente presso il Server SFTP" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "Avviso:" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "john" -msgstr "john" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "sftp.example.com" -msgstr "sftp.example.com" diff --git a/auto_backup/i18n/nl.po b/auto_backup/i18n/nl.po deleted file mode 100644 index 8d739798b29..00000000000 --- a/auto_backup/i18n/nl.po +++ /dev/null @@ -1,292 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-26 14:17+0000\n" -"PO-Revision-Date: 2015-03-26 14:17+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: auto_backup -#: code:addons/auto_backup/backup_scheduler.py:137 -#, python-format -msgid "%s" -msgstr "%s" - -#. module: auto_backup -#: help:db.backup,bkp_dir:0 -msgid "Absolute path for storing the backups" -msgstr "Absoluut pad om backups te bewaren" - -#. module: auto_backup -#: field:db.backup,sendmailsftpfail:0 -msgid "Auto. E-mail on backup fail" -msgstr "Auto. e-mailen wanneer backup mislukt" - -#. module: auto_backup -#: field:db.backup,autoremove:0 -msgid "Auto. Remove Backups" -msgstr "Auto. backups verwijderen" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "Automatische backups van de database kunnen als volgend gepland worden:" - -#. module: auto_backup -#: field:db.backup,bkp_dir:0 -msgid "Backup Directory" -msgstr "Backup folder" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "Backups" - -#. module: auto_backup -#: help:db.backup,daystokeepsftp:0 -msgid "Choose after how many days the backup should be deleted from the FTP server. For example:\n" -"If you fill in 5 the backups will be removed after 5 days from the FTP server." -msgstr "Kies na hoeveel dagen de backups verwijderd moeten worden van de FTP server. Bijvoorbeeld:\n" -"Als u 5 invult zal de backup na 5 dagen verwijderd worden van de FTP server." - -#. module: auto_backup -#: help:db.backup,daystokeep:0 -msgid "Choose after how many days the backup should be deleted. For example:\n" -"If you fill in 5 the backups will be removed after 5 days." -msgstr "Kies na hoeveel dagen de backup verwijderd moet worden. Bijvoorbeeld:\n" -"Als u 5 invult zal de backup verwijderd worden na 5 dagen." - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Configure Backup" -msgstr "Configureer backup" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Contact us!" -msgstr "Contacteer ons!" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "Gemaakt door" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "Gemaakt op" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Database" -msgstr "Database" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Database you want to schedule backups for" -msgstr "Database waar u backups voor wilt plannen" - -#. module: auto_backup -#: field:db.backup,emailtonotify:0 -msgid "E-mail to notify" -msgstr "E-mail om te verwittigen" - -#. module: auto_backup -#: code:addons/auto_backup/backup_scheduler.py:106 -#: constraint:db.backup:0 -#, python-format -msgid "Error ! No such database exists!" -msgstr "Error! Deze database bestaat niet!" - -#. module: auto_backup -#: help:db.backup,emailtonotify:0 -msgid "Fill in the e-mail where you want to be notified that the backup failed on the FTP." -msgstr "Vul de e-mail in waarop u wilt verwittigd worden als de backup mislukt op de FTP." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "For example: /odoo/backups/" -msgstr "Bijvoorbeeld: /odoo/backups/" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "Ga naar Instellingen / Technsich / Automatisering / Geplande acties" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "Help" - -#. module: auto_backup -#: field:db.backup,host:0 -msgid "Host" -msgstr "Host" - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "ID" - -#. module: auto_backup -#: field:db.backup,sftpip:0 -msgid "IP Address SFTP Server" -msgstr "IP adres SFTP server" - -#. module: auto_backup -#: help:db.backup,sendmailsftpfail:0 -msgid "If you check this option you can choose to automaticly get e-mailed when the backup to the external server failed." -msgstr "Als u deze optie aanvinkt kan u kiezen om automatisch een e-mail aan te krijgen als de backup -naar de externe server mislukt." - -#. module: auto_backup -#: help:db.backup,autoremove:0 -msgid "If you check this option you can choose to automaticly remove the backup after xx days" -msgstr "Als u deze optie aanvinkt kan u kiezen om automatisch backups te verwijderen na xx dagen" - -#. module: auto_backup -#: help:db.backup,sftpwrite:0 -msgid "If you check this option you can specify the details needed to write to a remote server with SFTP." -msgstr "Als u deze optie aanvinkt kan u de details invullen die nodig zijn om te connecteren met de externe SFTP server." - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "Laatst bijgewerkt door" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "Laatst bijgewerkt op" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Local backup configuration" -msgstr "Lokale backup configuratie" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Need more help?" -msgstr "Meer hulp nodig?" - -#. module: auto_backup -#: field:db.backup,sftppassword:0 -msgid "Password User SFTP Server" -msgstr "Wachtwoord gebruiker SFTP server" - -#. module: auto_backup -#: field:db.backup,sftppath:0 -msgid "Path external server" -msgstr "Pad externe server" - -#. module: auto_backup -#: field:db.backup,port:0 -msgid "Port" -msgstr "Poort" - -#. module: auto_backup -#: field:db.backup,daystokeepsftp:0 -msgid "Remove SFTP after x days" -msgstr "SFTP verwijderen na x dagen" - -#. module: auto_backup -#: field:db.backup,daystokeep:0 -msgid "Remove after x days" -msgstr "Verwijderen na x dagen" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP" -msgstr "SFTP" - -#. module: auto_backup -#: field:db.backup,sftpport:0 -msgid "SFTP Port" -msgstr "SFTP poort" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "Zoekopties" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "Zoek de actie genaamd 'Backup scheduler'." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Set the scheduler to active and fill in how often you want backups generated." -msgstr "Zet de planner op actief en vul in hoe vaak de backup moet gemaakt worden." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test" -msgstr "Test" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "Test SFTP Connectie" - -#. module: auto_backup -#: help:db.backup,sftpip:0 -msgid "The IP address from your remote server. For example 192.168.0.1" -msgstr "Het IP adres van uw externe server. Bijvoorbeeld: 192.168.0.1" - -#. module: auto_backup -#: help:db.backup,sftppath:0 -msgid "The location to the folder where the dumps should be written to. For example /odoo/backups/.\n" -"Files will then be written to /odoo/backups/ on your remote server." -msgstr "De locatie naar de folder waar de backup naar toe moet geschreven worden. Bijvoorbeeld odoo/backups/\n" -"Bestanden worden dan naar /odoo/backups/ geschreven op de externe server" - -#. module: auto_backup -#: help:db.backup,sftppassword:0 -msgid "The password from the user where the SFTP connection should be made with. This is the password from the user on the external server." -msgstr "Het wachtwoord van de gebruiker waar de SFTP connectie mee moet gemaakt worden. Dit is het wachtwoord van de gebruiker op de externe server." - -#. module: auto_backup -#: help:db.backup,sftpport:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "De poort op de FTP server die SSH/SFTP accepteert." - -#. module: auto_backup -#: help:db.backup,sftpusername:0 -msgid "The username where the SFTP connection should be made with. This is the user on the external server." -msgstr "De gebruikersnaam waar de SFTP connectie mee gemaakt moet worden. Dit is de gebruiker op de externe server." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "This configures the scheduler for automatic backup of the given database running on given host at given port on regular intervals." -msgstr "Dit configureert de planner voor automatische backups op de ingegeven database waar de host, poort en database op zijn ingegeven voor reguliere intervallen." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Use SFTP with caution! This writes files to external servers under the path you specify." -msgstr "Gebruik SFTP voorzichtig! Dit schrijft bestanden naar externe servers onder het pad dat u opgeeft." - -#. module: auto_backup -#: field:db.backup,sftpusername:0 -msgid "Username SFTP Server" -msgstr "Gebruikersnaam SFTP Server" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "Waarschuwing:" - -#. module: auto_backup -#: field:db.backup,sftpwrite:0 -msgid "Write to external server with sftp" -msgstr "Schrijf naar externe server met SFTP" diff --git a/auto_backup/i18n/nl_BE.po b/auto_backup/i18n/nl_BE.po deleted file mode 100644 index 8d739798b29..00000000000 --- a/auto_backup/i18n/nl_BE.po +++ /dev/null @@ -1,292 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-26 14:17+0000\n" -"PO-Revision-Date: 2015-03-26 14:17+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: auto_backup -#: code:addons/auto_backup/backup_scheduler.py:137 -#, python-format -msgid "%s" -msgstr "%s" - -#. module: auto_backup -#: help:db.backup,bkp_dir:0 -msgid "Absolute path for storing the backups" -msgstr "Absoluut pad om backups te bewaren" - -#. module: auto_backup -#: field:db.backup,sendmailsftpfail:0 -msgid "Auto. E-mail on backup fail" -msgstr "Auto. e-mailen wanneer backup mislukt" - -#. module: auto_backup -#: field:db.backup,autoremove:0 -msgid "Auto. Remove Backups" -msgstr "Auto. backups verwijderen" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "Automatische backups van de database kunnen als volgend gepland worden:" - -#. module: auto_backup -#: field:db.backup,bkp_dir:0 -msgid "Backup Directory" -msgstr "Backup folder" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "Backups" - -#. module: auto_backup -#: help:db.backup,daystokeepsftp:0 -msgid "Choose after how many days the backup should be deleted from the FTP server. For example:\n" -"If you fill in 5 the backups will be removed after 5 days from the FTP server." -msgstr "Kies na hoeveel dagen de backups verwijderd moeten worden van de FTP server. Bijvoorbeeld:\n" -"Als u 5 invult zal de backup na 5 dagen verwijderd worden van de FTP server." - -#. module: auto_backup -#: help:db.backup,daystokeep:0 -msgid "Choose after how many days the backup should be deleted. For example:\n" -"If you fill in 5 the backups will be removed after 5 days." -msgstr "Kies na hoeveel dagen de backup verwijderd moet worden. Bijvoorbeeld:\n" -"Als u 5 invult zal de backup verwijderd worden na 5 dagen." - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Configure Backup" -msgstr "Configureer backup" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Contact us!" -msgstr "Contacteer ons!" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "Gemaakt door" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "Gemaakt op" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Database" -msgstr "Database" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Database you want to schedule backups for" -msgstr "Database waar u backups voor wilt plannen" - -#. module: auto_backup -#: field:db.backup,emailtonotify:0 -msgid "E-mail to notify" -msgstr "E-mail om te verwittigen" - -#. module: auto_backup -#: code:addons/auto_backup/backup_scheduler.py:106 -#: constraint:db.backup:0 -#, python-format -msgid "Error ! No such database exists!" -msgstr "Error! Deze database bestaat niet!" - -#. module: auto_backup -#: help:db.backup,emailtonotify:0 -msgid "Fill in the e-mail where you want to be notified that the backup failed on the FTP." -msgstr "Vul de e-mail in waarop u wilt verwittigd worden als de backup mislukt op de FTP." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "For example: /odoo/backups/" -msgstr "Bijvoorbeeld: /odoo/backups/" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "Ga naar Instellingen / Technsich / Automatisering / Geplande acties" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "Help" - -#. module: auto_backup -#: field:db.backup,host:0 -msgid "Host" -msgstr "Host" - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "ID" - -#. module: auto_backup -#: field:db.backup,sftpip:0 -msgid "IP Address SFTP Server" -msgstr "IP adres SFTP server" - -#. module: auto_backup -#: help:db.backup,sendmailsftpfail:0 -msgid "If you check this option you can choose to automaticly get e-mailed when the backup to the external server failed." -msgstr "Als u deze optie aanvinkt kan u kiezen om automatisch een e-mail aan te krijgen als de backup -naar de externe server mislukt." - -#. module: auto_backup -#: help:db.backup,autoremove:0 -msgid "If you check this option you can choose to automaticly remove the backup after xx days" -msgstr "Als u deze optie aanvinkt kan u kiezen om automatisch backups te verwijderen na xx dagen" - -#. module: auto_backup -#: help:db.backup,sftpwrite:0 -msgid "If you check this option you can specify the details needed to write to a remote server with SFTP." -msgstr "Als u deze optie aanvinkt kan u de details invullen die nodig zijn om te connecteren met de externe SFTP server." - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "Laatst bijgewerkt door" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "Laatst bijgewerkt op" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Local backup configuration" -msgstr "Lokale backup configuratie" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Need more help?" -msgstr "Meer hulp nodig?" - -#. module: auto_backup -#: field:db.backup,sftppassword:0 -msgid "Password User SFTP Server" -msgstr "Wachtwoord gebruiker SFTP server" - -#. module: auto_backup -#: field:db.backup,sftppath:0 -msgid "Path external server" -msgstr "Pad externe server" - -#. module: auto_backup -#: field:db.backup,port:0 -msgid "Port" -msgstr "Poort" - -#. module: auto_backup -#: field:db.backup,daystokeepsftp:0 -msgid "Remove SFTP after x days" -msgstr "SFTP verwijderen na x dagen" - -#. module: auto_backup -#: field:db.backup,daystokeep:0 -msgid "Remove after x days" -msgstr "Verwijderen na x dagen" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP" -msgstr "SFTP" - -#. module: auto_backup -#: field:db.backup,sftpport:0 -msgid "SFTP Port" -msgstr "SFTP poort" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "Zoekopties" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "Zoek de actie genaamd 'Backup scheduler'." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Set the scheduler to active and fill in how often you want backups generated." -msgstr "Zet de planner op actief en vul in hoe vaak de backup moet gemaakt worden." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test" -msgstr "Test" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "Test SFTP Connectie" - -#. module: auto_backup -#: help:db.backup,sftpip:0 -msgid "The IP address from your remote server. For example 192.168.0.1" -msgstr "Het IP adres van uw externe server. Bijvoorbeeld: 192.168.0.1" - -#. module: auto_backup -#: help:db.backup,sftppath:0 -msgid "The location to the folder where the dumps should be written to. For example /odoo/backups/.\n" -"Files will then be written to /odoo/backups/ on your remote server." -msgstr "De locatie naar de folder waar de backup naar toe moet geschreven worden. Bijvoorbeeld odoo/backups/\n" -"Bestanden worden dan naar /odoo/backups/ geschreven op de externe server" - -#. module: auto_backup -#: help:db.backup,sftppassword:0 -msgid "The password from the user where the SFTP connection should be made with. This is the password from the user on the external server." -msgstr "Het wachtwoord van de gebruiker waar de SFTP connectie mee moet gemaakt worden. Dit is het wachtwoord van de gebruiker op de externe server." - -#. module: auto_backup -#: help:db.backup,sftpport:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "De poort op de FTP server die SSH/SFTP accepteert." - -#. module: auto_backup -#: help:db.backup,sftpusername:0 -msgid "The username where the SFTP connection should be made with. This is the user on the external server." -msgstr "De gebruikersnaam waar de SFTP connectie mee gemaakt moet worden. Dit is de gebruiker op de externe server." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "This configures the scheduler for automatic backup of the given database running on given host at given port on regular intervals." -msgstr "Dit configureert de planner voor automatische backups op de ingegeven database waar de host, poort en database op zijn ingegeven voor reguliere intervallen." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Use SFTP with caution! This writes files to external servers under the path you specify." -msgstr "Gebruik SFTP voorzichtig! Dit schrijft bestanden naar externe servers onder het pad dat u opgeeft." - -#. module: auto_backup -#: field:db.backup,sftpusername:0 -msgid "Username SFTP Server" -msgstr "Gebruikersnaam SFTP Server" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "Waarschuwing:" - -#. module: auto_backup -#: field:db.backup,sftpwrite:0 -msgid "Write to external server with sftp" -msgstr "Schrijf naar externe server met SFTP" diff --git a/auto_backup/i18n/pt_BR.po b/auto_backup/i18n/pt_BR.po deleted file mode 100644 index 35b6b4e0346..00000000000 --- a/auto_backup/i18n/pt_BR.po +++ /dev/null @@ -1,369 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -# Translators: -# Paulo Ricardo , 2016 -msgid "" -msgstr "" -"Project-Id-Version: server-tools (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-05-12 14:33+0000\n" -"PO-Revision-Date: 2016-05-11 16:49+0000\n" -"Last-Translator: Paulo Ricardo \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/pt_BR/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: pt_BR\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "/home/odoo/.ssh/id_rsa" -msgstr "" - -#. module: auto_backup -#: help:db.backup,folder:0 -msgid "Absolute path for storing the backups" -msgstr "Caminho absoluto para armazenar os backups" - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Automated Backups" -msgstr "Backups Automáticos" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.failure -msgid "Backup failed" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.success -msgid "Backup successful" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "" - -#. module: auto_backup -#: help:db.backup,days_to_keep:0 -msgid "" -"Backups older than this will be deleted automatically. Set 0 to disable " -"autodeletion." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Basic backup configuration" -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "Cannot duplicate a configuration." -msgstr "" - -#. module: auto_backup -#: help:db.backup,method:0 -msgid "Choose the storage method for this backup." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:249 -#, python-format -msgid "Cleanup of old database backups failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:132 -#, python-format -msgid "Connection Test Failed!" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:129 -#, python-format -msgid "Connection Test Succeeded!" -msgstr "" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "Criado por" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "Criado em" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:208 -#: model:mail.message.subtype,description:auto_backup.failure -#, python-format -msgid "Database backup failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:213 -#: model:mail.message.subtype,description:auto_backup.success -#, python-format -msgid "Database backup succeeded." -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_last_post:0 -msgid "Date of the last message posted on the record." -msgstr "" - -#. module: auto_backup -#: field:db.backup,days_to_keep:0 -msgid "Days to keep" -msgstr "" - -#. module: auto_backup -#: field:db.backup,display_name:0 -msgid "Display Name" -msgstr "Nome para Mostrar" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:120 -#, python-format -msgid "" -"Do not save backups on your filestore, or you will backup your backups too!" -msgstr "" - -#. module: auto_backup -#: model:ir.model,name:auto_backup.model_db_backup -msgid "Email Thread" -msgstr "Processo Email" - -#. module: auto_backup -#: model:ir.actions.server,name:auto_backup.action_server_backup -msgid "Execute backup(s)" -msgstr "" - -#. module: auto_backup -#: field:db.backup,folder:0 -msgid "Folder" -msgstr "Pasta" - -#. module: auto_backup -#: field:db.backup,message_follower_ids:0 -msgid "Followers" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_summary:0 -msgid "" -"Holds the Chatter summary (number of messages, ...). This summary is " -"directly in html format in order to be inserted in kanban views." -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "I cannot remove backups from the future. Ask Doc for that." -msgstr "" - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "Identificação" - -#. module: auto_backup -#: help:db.backup,message_unread:0 -msgid "If checked new messages require your attention." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_is_follower:0 -msgid "Is a Follower" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_last_post:0 -msgid "Last Message Date" -msgstr "" - -#. module: auto_backup -#: field:db.backup,__last_update:0 -msgid "Last Modified on" -msgstr "Última atualização em" - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "Última atualização por" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "Última atualização em" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Local disk" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_ids:0 -msgid "Messages" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_ids:0 -msgid "Messages and communication history" -msgstr "" - -#. module: auto_backup -#: field:db.backup,method:0 -msgid "Method" -msgstr "Método" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Name" -msgstr "Nome" - -#. module: auto_backup -#: help:db.backup,sftp_private_key:0 -msgid "" -"Path to the private key file. Only the Odoo user should have read " -"permissions for that file." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_private_key:0 -msgid "Private key location" -msgstr "" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Remote SFTP server" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_password:0 -msgid "SFTP Password" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_port:0 -msgid "SFTP Port" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_host:0 -msgid "SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP Settings" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Set the scheduler to active and fill in how often you want backups " -"generated." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_summary:0 -msgid "Summary" -msgstr "" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Summary of this backup process" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_host:0 -msgid "" -"The host name or IP address from your remote server. For example 192.168.0.1" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_password:0 -msgid "" -"The password for the SFTP connection. If you specify a private key file, " -"then this is the password to decrypt it." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_port:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_user:0 -msgid "" -"The username where the SFTP connection should be made with. This is the user" -" on the external server." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_unread:0 -msgid "Unread Messages" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Use SFTP with caution! This writes files to external servers under the path " -"you specify." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_user:0 -msgid "Username in the SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "john" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "sftp.example.com" -msgstr "" diff --git a/auto_backup/i18n/ru.po b/auto_backup/i18n/ru.po deleted file mode 100644 index ce653712ece..00000000000 --- a/auto_backup/i18n/ru.po +++ /dev/null @@ -1,358 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: server-tools (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-14 07:02+0000\n" -"PO-Revision-Date: 2016-04-05 07:21+0000\n" -"Last-Translator: <>\n" -"Language-Team: Russian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/ru/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: ru\n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "/home/odoo/.ssh/id_rsa" -msgstr "" - -#. module: auto_backup -#: help:db.backup,folder:0 -msgid "Absolute path for storing the backups" -msgstr "" - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Automated Backups" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.failure -msgid "Backup failed" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.success -msgid "Backup successful" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "" - -#. module: auto_backup -#: help:db.backup,days_to_keep:0 -msgid "" -"Backups older than this will be deleted automatically. Set 0 to disable " -"autodeletion." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Basic backup configuration" -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "Cannot duplicate a configuration." -msgstr "" - -#. module: auto_backup -#: help:db.backup,method:0 -msgid "Choose the storage method for this backup." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:249 -#, python-format -msgid "Cleanup of old database backups failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:132 -#, python-format -msgid "Connection Test Failed!" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:129 -#, python-format -msgid "Connection Test Succeeded!" -msgstr "" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:208 -#: model:mail.message.subtype,description:auto_backup.failure -#, python-format -msgid "Database backup failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:213 -#: model:mail.message.subtype,description:auto_backup.success -#, python-format -msgid "Database backup succeeded." -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_last_post:0 -msgid "Date of the last message posted on the record." -msgstr "" - -#. module: auto_backup -#: field:db.backup,days_to_keep:0 -msgid "Days to keep" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:120 -#, python-format -msgid "" -"Do not save backups on your filestore, or you will backup your backups too!" -msgstr "" - -#. module: auto_backup -#: model:ir.model,name:auto_backup.model_db_backup -msgid "Email Thread" -msgstr "" - -#. module: auto_backup -#: model:ir.actions.server,name:auto_backup.action_server_backup -msgid "Execute backup(s)" -msgstr "" - -#. module: auto_backup -#: field:db.backup,folder:0 -msgid "Folder" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_follower_ids:0 -msgid "Followers" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_summary:0 -msgid "" -"Holds the Chatter summary (number of messages, ...). This summary is " -"directly in html format in order to be inserted in kanban views." -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "I cannot remove backups from the future. Ask Doc for that." -msgstr "" - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_unread:0 -msgid "If checked new messages require your attention." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_is_follower:0 -msgid "Is a Follower" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_last_post:0 -msgid "Last Message Date" -msgstr "" - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Local disk" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_ids:0 -msgid "Messages" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_ids:0 -msgid "Messages and communication history" -msgstr "" - -#. module: auto_backup -#: field:db.backup,method:0 -msgid "Method" -msgstr "" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Name" -msgstr "Название" - -#. module: auto_backup -#: help:db.backup,sftp_private_key:0 -msgid "" -"Path to the private key file. Only the Odoo user should have read " -"permissions for that file." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_private_key:0 -msgid "Private key location" -msgstr "" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Remote SFTP server" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_password:0 -msgid "SFTP Password" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_port:0 -msgid "SFTP Port" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_host:0 -msgid "SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP Settings" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Set the scheduler to active and fill in how often you want backups " -"generated." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_summary:0 -msgid "Summary" -msgstr "" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Summary of this backup process" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_host:0 -msgid "" -"The host name or IP address from your remote server. For example 192.168.0.1" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_password:0 -msgid "" -"The password for the SFTP connection. If you specify a private key file, " -"then this is the password to decrypt it." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_port:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_user:0 -msgid "" -"The username where the SFTP connection should be made with. This is the user" -" on the external server." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_unread:0 -msgid "Unread Messages" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Use SFTP with caution! This writes files to external servers under the path " -"you specify." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_user:0 -msgid "Username in the SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "john" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "sftp.example.com" -msgstr "" diff --git a/auto_backup/i18n/sl.po b/auto_backup/i18n/sl.po deleted file mode 100644 index dfeb6cac37d..00000000000 --- a/auto_backup/i18n/sl.po +++ /dev/null @@ -1,369 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -# Translators: -# Matjaž Mozetič , 2016 -msgid "" -msgstr "" -"Project-Id-Version: server-tools (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-05-28 02:41+0000\n" -"PO-Revision-Date: 2016-05-05 05:57+0000\n" -"Last-Translator: Matjaž Mozetič \n" -"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/sl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "/home/odoo/.ssh/id_rsa" -msgstr "/home/odoo/.ssh/id_rsa" - -#. module: auto_backup -#: help:db.backup,folder:0 -msgid "Absolute path for storing the backups" -msgstr "Absolutna pot za shranjevanje varnostnih kopij" - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Automated Backups" -msgstr "Samodejne varnostne kopije" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "Samodejne varnostne kopije podatkovne baze se lahko razporedi na:" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.failure -msgid "Backup failed" -msgstr "Varnostno kopiranje neuspešno" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.success -msgid "Backup successful" -msgstr "Varnostno kopiranje uspešno" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "Varnostne kopije" - -#. module: auto_backup -#: help:db.backup,days_to_keep:0 -msgid "" -"Backups older than this will be deleted automatically. Set 0 to disable " -"autodeletion." -msgstr "Varnostne kopije starejše od tega bodo samodejno izbrisane. Nastavite 0, da bi onemogočili samodejno brisanje." - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Basic backup configuration" -msgstr "Osnove nastavitve varnostnega kopiranja" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "Cannot duplicate a configuration." -msgstr "Nastavitev ne morete podvojiti." - -#. module: auto_backup -#: help:db.backup,method:0 -msgid "Choose the storage method for this backup." -msgstr "Izberite metodo shranjevanja za to varnostno kopiranje." - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:247 -#, python-format -msgid "Cleanup of old database backups failed." -msgstr "Brisanje starih varnostnih kopij podatkovnih baz neuspešno." - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:131 -#, python-format -msgid "Connection Test Failed!" -msgstr "Test povezave neuspešen!" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:128 -#, python-format -msgid "Connection Test Succeeded!" -msgstr "Test povezave uspel!" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "Ustvaril" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "Ustvarjeno" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:206 -#: model:mail.message.subtype,description:auto_backup.failure -#, python-format -msgid "Database backup failed." -msgstr "Varnostno kopiranje podatkovne baze neuspešno." - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:211 -#: model:mail.message.subtype,description:auto_backup.success -#, python-format -msgid "Database backup succeeded." -msgstr "Varnostno kopiranje podatkovne baze uspešno." - -#. module: auto_backup -#: help:db.backup,message_last_post:0 -msgid "Date of the last message posted on the record." -msgstr "Datum zadnjega sporočila objavljenega na zapisu." - -#. module: auto_backup -#: field:db.backup,days_to_keep:0 -msgid "Days to keep" -msgstr "Dni za hranjenje" - -#. module: auto_backup -#: field:db.backup,display_name:0 -msgid "Display Name" -msgstr "Prikazni naziv" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:119 -#, python-format -msgid "" -"Do not save backups on your filestore, or you will backup your backups too!" -msgstr "Ne hranite varnostnih kopij v 'filestore', saj boste tako kopirali tudi same varnostne kopije!" - -#. module: auto_backup -#: model:ir.model,name:auto_backup.model_db_backup -msgid "Email Thread" -msgstr "E-poštna nit" - -#. module: auto_backup -#: model:ir.actions.server,name:auto_backup.action_server_backup -msgid "Execute backup(s)" -msgstr "Izvedi varnostno/a kopiranje(a)" - -#. module: auto_backup -#: field:db.backup,folder:0 -msgid "Folder" -msgstr "Mapa" - -#. module: auto_backup -#: field:db.backup,message_follower_ids:0 -msgid "Followers" -msgstr "Sledilci" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "Pojdi na Nastavitve / Tehnično / Avtomatizacija / Planirana dejanja" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "Pomoč" - -#. module: auto_backup -#: help:db.backup,message_summary:0 -msgid "" -"Holds the Chatter summary (number of messages, ...). This summary is " -"directly in html format in order to be inserted in kanban views." -msgstr "Povzetek (število sporočil,..) v html formatu, da se lahko neposredno vstavi v poglede tipa kanban." - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "I cannot remove backups from the future. Ask Doc for that." -msgstr "Varnostnih kopij iz prihodnosti ne morete odstraniti." - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "ID" - -#. module: auto_backup -#: help:db.backup,message_unread:0 -msgid "If checked new messages require your attention." -msgstr "Če označeno, zahtevajo nova sporočila vašo pozornost." - -#. module: auto_backup -#: field:db.backup,message_is_follower:0 -msgid "Is a Follower" -msgstr "Je sledilec" - -#. module: auto_backup -#: field:db.backup,message_last_post:0 -msgid "Last Message Date" -msgstr "Datum zadnjega sporočila" - -#. module: auto_backup -#: field:db.backup,__last_update:0 -msgid "Last Modified on" -msgstr "Zadnjič spremenjeno" - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "Zadnji posodobil" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "Zadnjič posodobljeno" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Local disk" -msgstr "Lokalni disk" - -#. module: auto_backup -#: field:db.backup,message_ids:0 -msgid "Messages" -msgstr "Sporočila" - -#. module: auto_backup -#: help:db.backup,message_ids:0 -msgid "Messages and communication history" -msgstr "Komunikacije in kronologija komunikacij" - -#. module: auto_backup -#: field:db.backup,method:0 -msgid "Method" -msgstr "Metoda" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Name" -msgstr "Naziv" - -#. module: auto_backup -#: help:db.backup,sftp_private_key:0 -msgid "" -"Path to the private key file. Only the Odoo user should have read " -"permissions for that file." -msgstr "Pot do datoteke privatnega ključa. Le Odoo uporabnik naj ima dovoljenje za branje te datoteke." - -#. module: auto_backup -#: field:db.backup,sftp_private_key:0 -msgid "Private key location" -msgstr "Lokacija privatnega ključa" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Remote SFTP server" -msgstr "Oddaljeni SFTP strežnik" - -#. module: auto_backup -#: field:db.backup,sftp_password:0 -msgid "SFTP Password" -msgstr "SFTP geslo" - -#. module: auto_backup -#: field:db.backup,sftp_port:0 -msgid "SFTP Port" -msgstr "SFTP port" - -#. module: auto_backup -#: field:db.backup,sftp_host:0 -msgid "SFTP Server" -msgstr "SFTP strežnik" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP Settings" -msgstr "SFTP nastavitve" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "Iskalne opcije" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "Iskanje dejanja z nazivom 'Razporejevalnik varnostnih kopiranj'" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Set the scheduler to active and fill in how often you want backups " -"generated." -msgstr "Nastavite razporejevalnik kot aktiven in izpolnite, kako pogosto želite ustvarjati varnostne kopije." - -#. module: auto_backup -#: field:db.backup,message_summary:0 -msgid "Summary" -msgstr "Povzetek" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Summary of this backup process" -msgstr "Povzetek procesa tega varnostnega kopiranja" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "Test SFTP povezave" - -#. module: auto_backup -#: help:db.backup,sftp_host:0 -msgid "" -"The host name or IP address from your remote server. For example 192.168.0.1" -msgstr "IP naslov ali 'hostname' oddaljenega strežnika. Npr. 192.168.0.1" - -#. module: auto_backup -#: help:db.backup,sftp_password:0 -msgid "" -"The password for the SFTP connection. If you specify a private key file, " -"then this is the password to decrypt it." -msgstr "Geslo za SFTP povezavo. Če določite datoteko privatnega ključa, je to geslo za dešifriranje ključa." - -#. module: auto_backup -#: help:db.backup,sftp_port:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "Vrata FTP strežnika, ki sprejema SSH/SFTP klice." - -#. module: auto_backup -#: help:db.backup,sftp_user:0 -msgid "" -"The username where the SFTP connection should be made with. This is the user" -" on the external server." -msgstr "Uporabniško ime SFTP povezave. To je uporabnik zunanjega strežnika." - -#. module: auto_backup -#: field:db.backup,message_unread:0 -msgid "Unread Messages" -msgstr "Neprebrana sporočila" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Use SFTP with caution! This writes files to external servers under the path " -"you specify." -msgstr "SFTP uporabljajte previdno! Datoteke se bodo zapisovale na zunanje strežnike v pot, ki jo sami določite." - -#. module: auto_backup -#: field:db.backup,sftp_user:0 -msgid "Username in the SFTP Server" -msgstr "Uporabniško ime za SFTP strežnik" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "Opozorilo:" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "john" -msgstr "john" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "sftp.example.com" -msgstr "sftp.example.com" diff --git a/auto_backup/i18n/tr.po b/auto_backup/i18n/tr.po deleted file mode 100644 index 340469b5999..00000000000 --- a/auto_backup/i18n/tr.po +++ /dev/null @@ -1,358 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: server-tools (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-14 07:02+0000\n" -"PO-Revision-Date: 2016-04-05 07:21+0000\n" -"Last-Translator: <>\n" -"Language-Team: Turkish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/tr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: tr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "/home/odoo/.ssh/id_rsa" -msgstr "" - -#. module: auto_backup -#: help:db.backup,folder:0 -msgid "Absolute path for storing the backups" -msgstr "" - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Automated Backups" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.failure -msgid "Backup failed" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.success -msgid "Backup successful" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "" - -#. module: auto_backup -#: help:db.backup,days_to_keep:0 -msgid "" -"Backups older than this will be deleted automatically. Set 0 to disable " -"autodeletion." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Basic backup configuration" -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "Cannot duplicate a configuration." -msgstr "" - -#. module: auto_backup -#: help:db.backup,method:0 -msgid "Choose the storage method for this backup." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:249 -#, python-format -msgid "Cleanup of old database backups failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:132 -#, python-format -msgid "Connection Test Failed!" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:129 -#, python-format -msgid "Connection Test Succeeded!" -msgstr "" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "Oluşturan" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "Oluşturuldu" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:208 -#: model:mail.message.subtype,description:auto_backup.failure -#, python-format -msgid "Database backup failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:213 -#: model:mail.message.subtype,description:auto_backup.success -#, python-format -msgid "Database backup succeeded." -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_last_post:0 -msgid "Date of the last message posted on the record." -msgstr "Kayıda eklenen son mesajın tarihi." - -#. module: auto_backup -#: field:db.backup,days_to_keep:0 -msgid "Days to keep" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:120 -#, python-format -msgid "" -"Do not save backups on your filestore, or you will backup your backups too!" -msgstr "" - -#. module: auto_backup -#: model:ir.model,name:auto_backup.model_db_backup -msgid "Email Thread" -msgstr "Eposta konuşması" - -#. module: auto_backup -#: model:ir.actions.server,name:auto_backup.action_server_backup -msgid "Execute backup(s)" -msgstr "" - -#. module: auto_backup -#: field:db.backup,folder:0 -msgid "Folder" -msgstr "Klasör" - -#. module: auto_backup -#: field:db.backup,message_follower_ids:0 -msgid "Followers" -msgstr "Takipçiler" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_summary:0 -msgid "" -"Holds the Chatter summary (number of messages, ...). This summary is " -"directly in html format in order to be inserted in kanban views." -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "I cannot remove backups from the future. Ask Doc for that." -msgstr "" - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "ID" - -#. module: auto_backup -#: help:db.backup,message_unread:0 -msgid "If checked new messages require your attention." -msgstr "Eğer işaretlenirse yeni mesajlar dikkatinizi ister." - -#. module: auto_backup -#: field:db.backup,message_is_follower:0 -msgid "Is a Follower" -msgstr "Takip ediyor" - -#. module: auto_backup -#: field:db.backup,message_last_post:0 -msgid "Last Message Date" -msgstr "Son mesaj tarihi" - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "Son güncelleyen" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "Son güncellenme" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Local disk" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_ids:0 -msgid "Messages" -msgstr "Mesajlar" - -#. module: auto_backup -#: help:db.backup,message_ids:0 -msgid "Messages and communication history" -msgstr "" - -#. module: auto_backup -#: field:db.backup,method:0 -msgid "Method" -msgstr "Method" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Name" -msgstr "Adı" - -#. module: auto_backup -#: help:db.backup,sftp_private_key:0 -msgid "" -"Path to the private key file. Only the Odoo user should have read " -"permissions for that file." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_private_key:0 -msgid "Private key location" -msgstr "" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Remote SFTP server" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_password:0 -msgid "SFTP Password" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_port:0 -msgid "SFTP Port" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_host:0 -msgid "SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP Settings" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Set the scheduler to active and fill in how often you want backups " -"generated." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_summary:0 -msgid "Summary" -msgstr "Özet" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Summary of this backup process" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_host:0 -msgid "" -"The host name or IP address from your remote server. For example 192.168.0.1" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_password:0 -msgid "" -"The password for the SFTP connection. If you specify a private key file, " -"then this is the password to decrypt it." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_port:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_user:0 -msgid "" -"The username where the SFTP connection should be made with. This is the user" -" on the external server." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_unread:0 -msgid "Unread Messages" -msgstr "Okunmamış mesajlar" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Use SFTP with caution! This writes files to external servers under the path " -"you specify." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_user:0 -msgid "Username in the SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "john" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "sftp.example.com" -msgstr "" diff --git a/auto_backup/i18n/zh_CN.po b/auto_backup/i18n/zh_CN.po deleted file mode 100644 index 591d600c150..00000000000 --- a/auto_backup/i18n/zh_CN.po +++ /dev/null @@ -1,358 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * auto_backup -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: server-tools (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-14 07:02+0000\n" -"PO-Revision-Date: 2016-04-05 07:21+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/zh_CN/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "/home/odoo/.ssh/id_rsa" -msgstr "" - -#. module: auto_backup -#: help:db.backup,folder:0 -msgid "Absolute path for storing the backups" -msgstr "备份绝对路径" - -#. module: auto_backup -#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form -#: model:ir.ui.menu,name:auto_backup.backup_conf_menu -msgid "Automated Backups" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Automatic backups of the database can be scheduled as follows:" -msgstr "数据库的自动备份时间安排如下:" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.failure -msgid "Backup failed" -msgstr "" - -#. module: auto_backup -#: model:mail.message.subtype,name:auto_backup.success -msgid "Backup successful" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_tree -msgid "Backups" -msgstr "备份" - -#. module: auto_backup -#: help:db.backup,days_to_keep:0 -msgid "" -"Backups older than this will be deleted automatically. Set 0 to disable " -"autodeletion." -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Basic backup configuration" -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "Cannot duplicate a configuration." -msgstr "" - -#. module: auto_backup -#: help:db.backup,method:0 -msgid "Choose the storage method for this backup." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:249 -#, python-format -msgid "Cleanup of old database backups failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:132 -#, python-format -msgid "Connection Test Failed!" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:129 -#, python-format -msgid "Connection Test Succeeded!" -msgstr "" - -#. module: auto_backup -#: field:db.backup,create_uid:0 -msgid "Created by" -msgstr "创建者" - -#. module: auto_backup -#: field:db.backup,create_date:0 -msgid "Created on" -msgstr "创建时间" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:208 -#: model:mail.message.subtype,description:auto_backup.failure -#, python-format -msgid "Database backup failed." -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:213 -#: model:mail.message.subtype,description:auto_backup.success -#, python-format -msgid "Database backup succeeded." -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_last_post:0 -msgid "Date of the last message posted on the record." -msgstr "" - -#. module: auto_backup -#: field:db.backup,days_to_keep:0 -msgid "Days to keep" -msgstr "" - -#. module: auto_backup -#: code:addons/auto_backup/models/db_backup.py:120 -#, python-format -msgid "" -"Do not save backups on your filestore, or you will backup your backups too!" -msgstr "" - -#. module: auto_backup -#: model:ir.model,name:auto_backup.model_db_backup -msgid "Email Thread" -msgstr "" - -#. module: auto_backup -#: model:ir.actions.server,name:auto_backup.action_server_backup -msgid "Execute backup(s)" -msgstr "" - -#. module: auto_backup -#: field:db.backup,folder:0 -msgid "Folder" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_follower_ids:0 -msgid "Followers" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Go to Settings / Technical / Automation / Scheduled Actions." -msgstr "点击 设置 / 技术 / 自动化 / 计划的动作" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Help" -msgstr "帮助" - -#. module: auto_backup -#: help:db.backup,message_summary:0 -msgid "" -"Holds the Chatter summary (number of messages, ...). This summary is " -"directly in html format in order to be inserted in kanban views." -msgstr "" - -#. module: auto_backup -#: sql_constraint:db.backup:0 -msgid "I cannot remove backups from the future. Ask Doc for that." -msgstr "" - -#. module: auto_backup -#: field:db.backup,id:0 -msgid "ID" -msgstr "ID" - -#. module: auto_backup -#: help:db.backup,message_unread:0 -msgid "If checked new messages require your attention." -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_is_follower:0 -msgid "Is a Follower" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_last_post:0 -msgid "Last Message Date" -msgstr "" - -#. module: auto_backup -#: field:db.backup,write_uid:0 -msgid "Last Updated by" -msgstr "最后更新者" - -#. module: auto_backup -#: field:db.backup,write_date:0 -msgid "Last Updated on" -msgstr "上次更新日期" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Local disk" -msgstr "" - -#. module: auto_backup -#: field:db.backup,message_ids:0 -msgid "Messages" -msgstr "" - -#. module: auto_backup -#: help:db.backup,message_ids:0 -msgid "Messages and communication history" -msgstr "" - -#. module: auto_backup -#: field:db.backup,method:0 -msgid "Method" -msgstr "" - -#. module: auto_backup -#: field:db.backup,name:0 -msgid "Name" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_private_key:0 -msgid "" -"Path to the private key file. Only the Odoo user should have read " -"permissions for that file." -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_private_key:0 -msgid "Private key location" -msgstr "" - -#. module: auto_backup -#: selection:db.backup,method:0 -msgid "Remote SFTP server" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_password:0 -msgid "SFTP Password" -msgstr "" - -#. module: auto_backup -#: field:db.backup,sftp_port:0 -msgid "SFTP Port" -msgstr "SFTP 端口" - -#. module: auto_backup -#: field:db.backup,sftp_host:0 -msgid "SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "SFTP Settings" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_search -msgid "Search options" -msgstr "搜索选项" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Search the action named 'Backup scheduler'." -msgstr "搜索计划备份调度程序“Backup scheduler”。" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Set the scheduler to active and fill in how often you want backups " -"generated." -msgstr "设置计划动作为有效,并填写备份间隔时间,间隔时间单位,间隔次数,执行时间等数据库具体备份方案。" - -#. module: auto_backup -#: field:db.backup,message_summary:0 -msgid "Summary" -msgstr "" - -#. module: auto_backup -#: help:db.backup,name:0 -msgid "Summary of this backup process" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Test SFTP Connection" -msgstr "测试 SFTP 连接" - -#. module: auto_backup -#: help:db.backup,sftp_host:0 -msgid "" -"The host name or IP address from your remote server. For example 192.168.0.1" -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_password:0 -msgid "" -"The password for the SFTP connection. If you specify a private key file, " -"then this is the password to decrypt it." -msgstr "" - -#. module: auto_backup -#: help:db.backup,sftp_port:0 -msgid "The port on the FTP server that accepts SSH/SFTP calls." -msgstr "接受 SSH/SFTP 使用的FTP 服务器上的端口。" - -#. module: auto_backup -#: help:db.backup,sftp_user:0 -msgid "" -"The username where the SFTP connection should be made with. This is the user" -" on the external server." -msgstr "SFTP 连接使用该用户名。这是在SFTP服务器上的用户。" - -#. module: auto_backup -#: field:db.backup,message_unread:0 -msgid "Unread Messages" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "" -"Use SFTP with caution! This writes files to external servers under the path " -"you specify." -msgstr "请注意你的 SFTP服务器网络安全!数据库备份文件将备份到你的SFTP服务器,文件保存在设置的目录下面。" - -#. module: auto_backup -#: field:db.backup,sftp_user:0 -msgid "Username in the SFTP Server" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "Warning:" -msgstr "警告:" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "john" -msgstr "" - -#. module: auto_backup -#: view:db.backup:auto_backup.view_backup_conf_form -msgid "sftp.example.com" -msgstr "" diff --git a/auto_backup/models/__init__.py b/auto_backup/models/__init__.py deleted file mode 100644 index 7c06b2f5ae3..00000000000 --- a/auto_backup/models/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2004-2009 Tiny SPRL (). -# © 2016 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html). - -from . import db_backup diff --git a/auto_backup/models/db_backup.py b/auto_backup/models/db_backup.py deleted file mode 100644 index a8786c16958..00000000000 --- a/auto_backup/models/db_backup.py +++ /dev/null @@ -1,283 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2004-2009 Tiny SPRL (). -# © 2015 Agile Business Group -# © 2016 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html). - -import os -import shutil -import traceback -from contextlib import contextmanager -from datetime import datetime, timedelta -from glob import iglob -from openerp import exceptions, models, fields, api, _, tools -from openerp.service import db -import logging -_logger = logging.getLogger(__name__) -try: - import pysftp -except ImportError: # pragma: no cover - _logger.debug('Cannot import pysftp') - - -class DbBackup(models.Model): - _name = 'db.backup' - _inherit = "mail.thread" - - _sql_constraints = [ - ("name_unique", "UNIQUE(name)", "Cannot duplicate a configuration."), - ("days_to_keep_positive", "CHECK(days_to_keep >= 0)", - "I cannot remove backups from the future. Ask Doc for that."), - ] - - name = fields.Char( - string="Name", - compute="_compute_name", - store=True, - help="Summary of this backup process", - ) - folder = fields.Char( - default=lambda self: self._default_folder(), - oldname="bkp_dir", - help='Absolute path for storing the backups', - required=True - ) - days_to_keep = fields.Integer( - oldname="daystokeep", - required=True, - default=0, - help="Backups older than this will be deleted automatically. " - "Set 0 to disable autodeletion.", - ) - method = fields.Selection( - selection=[("local", "Local disk"), ("sftp", "Remote SFTP server")], - default="local", - help="Choose the storage method for this backup.", - ) - sftp_host = fields.Char( - string='SFTP Server', - oldname="sftpip", - help=( - "The host name or IP address from your remote" - " server. For example 192.168.0.1" - ) - ) - sftp_port = fields.Integer( - string="SFTP Port", - default=22, - oldname="sftpport", - help="The port on the FTP server that accepts SSH/SFTP calls." - ) - sftp_user = fields.Char( - string='Username in the SFTP Server', - oldname="sftpusername", - help=( - "The username where the SFTP connection " - "should be made with. This is the user on the external server." - ) - ) - sftp_password = fields.Char( - string="SFTP Password", - oldname="sftppassword", - help="The password for the SFTP connection. If you specify a private " - "key file, then this is the password to decrypt it.", - ) - sftp_private_key = fields.Char( - string="Private key location", - help="Path to the private key file. Only the Odoo user should have " - "read permissions for that file.", - ) - - @api.model - def _default_folder(self): - """Default to ``backups`` folder inside current server datadir.""" - return os.path.join( - tools.config["data_dir"], - "backups", - self.env.cr.dbname) - - @api.multi - @api.depends("folder", "method", "sftp_host", "sftp_port", "sftp_user") - def _compute_name(self): - """Get the right summary for this job.""" - for rec in self: - if rec.method == "local": - rec.name = "%s @ localhost" % rec.folder - elif rec.method == "sftp": - rec.name = "sftp://%s@%s:%d%s" % ( - rec.sftp_user, rec.sftp_host, rec.sftp_port, rec.folder) - - @api.multi - @api.constrains("folder", "method") - def _check_folder(self): - """Do not use the filestore or you will backup your backups.""" - for s in self: - if (s.method == "local" and - s.folder.startswith( - tools.config.filestore(self.env.cr.dbname))): - raise exceptions.ValidationError( - _("Do not save backups on your filestore, or you will " - "backup your backups too!")) - - @api.multi - def action_sftp_test_connection(self): - """Check if the SFTP settings are correct.""" - try: - # Just open and close the connection - with self.sftp_connection(): - raise exceptions.Warning(_("Connection Test Succeeded!")) - except (pysftp.CredentialException, pysftp.ConnectionException): - _logger.info("Connection Test Failed!", exc_info=True) - raise exceptions.Warning(_("Connection Test Failed!")) - - @api.multi - def action_backup(self): - """Run selected backups.""" - backup = None - filename = self.filename(datetime.now()) - successful = self.browse() - - # Start with local storage - for rec in self.filtered(lambda r: r.method == "local"): - with rec.backup_log(): - # Directory must exist - try: - os.makedirs(rec.folder) - except OSError: - pass - - with open(os.path.join(rec.folder, filename), - 'wb') as destiny: - # Copy the cached backup - if backup: - with open(backup) as cached: - shutil.copyfileobj(cached, destiny) - # Generate new backup - else: - db.dump_db(self.env.cr.dbname, destiny) - backup = backup or destiny.name - successful |= rec - - # Ensure a local backup exists if we are going to write it remotely - sftp = self.filtered(lambda r: r.method == "sftp") - if sftp: - if backup: - cached = open(backup) - else: - cached = db.dump_db(self.env.cr.dbname, None) - - with cached: - for rec in sftp: - with rec.backup_log(): - with rec.sftp_connection() as remote: - # Directory must exist - try: - remote.makedirs(rec.folder) - except pysftp.ConnectionException: - pass - - # Copy cached backup to remote server - with remote.open( - os.path.join(rec.folder, filename), - "wb") as destiny: - shutil.copyfileobj(cached, destiny) - successful |= rec - - # Remove old files for successful backups - successful.cleanup() - - @api.model - def action_backup_all(self): - """Run all scheduled backups.""" - return self.search([]).action_backup() - - @api.multi - @contextmanager - def backup_log(self): - """Log a backup result.""" - try: - _logger.info("Starting database backup: %s", self.name) - yield - except: - _logger.exception("Database backup failed: %s", self.name) - escaped_tb = tools.html_escape(traceback.format_exc()) - self.message_post( - "

%s

%s
" % ( - _("Database backup failed."), - escaped_tb), - subtype=self.env.ref("auto_backup.failure")) - else: - _logger.info("Database backup succeeded: %s", self.name) - self.message_post(_("Database backup succeeded.")) - - @api.multi - def cleanup(self): - """Clean up old backups.""" - now = datetime.now() - for rec in self.filtered("days_to_keep"): - with rec.cleanup_log(): - oldest = self.filename(now - timedelta(days=rec.days_to_keep)) - - if rec.method == "local": - for name in iglob(os.path.join(rec.folder, - "*.dump.zip")): - if os.path.basename(name) < oldest: - os.unlink(name) - - elif rec.method == "sftp": - with rec.sftp_connection() as remote: - for name in remote.listdir(rec.folder): - if (name.endswith(".dump.zip") and - os.path.basename(name) < oldest): - remote.unlink(name) - - @api.multi - @contextmanager - def cleanup_log(self): - """Log a possible cleanup failure.""" - self.ensure_one() - try: - _logger.info("Starting cleanup process after database backup: %s", - self.name) - yield - except: - _logger.exception("Cleanup of old database backups failed: %s") - escaped_tb = tools.html_escape(traceback.format_exc()) - self.message_post( - "

%s

%s
" % ( - _("Cleanup of old database backups failed."), - escaped_tb), - subtype=self.env.ref("auto_backup.failure")) - else: - _logger.info("Cleanup of old database backups succeeded: %s", - self.name) - - @api.model - def filename(self, when): - """Generate a file name for a backup. - - :param datetime.datetime when: - Use this datetime instead of :meth:`datetime.datetime.now`. - """ - return "{:%Y_%m_%d_%H_%M_%S}.dump.zip".format(when) - - @api.multi - def sftp_connection(self): - """Return a new SFTP connection with found parameters.""" - self.ensure_one() - params = { - "host": self.sftp_host, - "username": self.sftp_user, - "port": self.sftp_port, - } - _logger.debug( - "Trying to connect to sftp://%(username)s@%(host)s:%(port)d", - extra=params) - if self.sftp_private_key: - params["private_key"] = self.sftp_private_key - if self.sftp_password: - params["private_key_pass"] = self.sftp_password - else: - params["password"] = self.sftp_password - - return pysftp.Connection(**params) diff --git a/auto_backup/security/ir.model.access.csv b/auto_backup/security/ir.model.access.csv deleted file mode 100644 index ded4108f419..00000000000 --- a/auto_backup/security/ir.model.access.csv +++ /dev/null @@ -1,3 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_db_backup_read,Read db.backup,model_db_backup,base.group_erp_manager,1,0,0,0 -access_db_backup_write,Write db.backup,model_db_backup,base.group_system,1,1,1,1 diff --git a/auto_backup/static/description/icon.png b/auto_backup/static/description/icon.png deleted file mode 100644 index 24c59d3f524ce8088277cea5691c18684b9d92db..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6074 zcmV;r7e(laP)rPd7b$3;FC**t1JGH&7?(e;OfA{zO{(cV*<1h}RJhX{Eff(w5 zB#;8^*sDSo@JhTMQWy_|GywB~xxkUY9H6=Ic{VT)+4!SHH}EH5H_!^a6?=UXc!7h+ zaMd)31{?=01{MN~fKz~D%N;2mm1jQ4|q|p%6lp z`!50TBCrd17WiG^b#GPvb(JwzgB$_87g$|bX2pNhbzLM93C%Q3Ow&ZybqvG6FbtFt zss$kgVHgsIp)wLd5a9bhK@gNO*h|1ez%PKukX_(}V>B(Y0Qe|y9`bI`K{kFenbZ=A z1g2?{NF*=}ql%|GHpGmB=XrRZ7dMgzJOTV1_zAKLoDfuMkUHR#z^8#z3*QOLvNYSa zNhXsd5{a6eV67m8!1Fv@*Tr>ReBW0;g}^U?{{}Vz(RiNMa0Y1r{vP;SU>YE7+tyO4 z6t-egNW{tDPq>tmNP$W-7*z=fKoiF7)xrPJv{>TakMVHnce+eRRMMoun&U-jb@Uh9E9x~@0Onl(#%JB}BXA_xN7+uH%21eR5M|Ef=#4>YDy zsl&z?2Bv9ZSr)*%fT~ZvltJbIhX?QqQD`R<862%D^g*wOF)~!W-3}XKlHssHCK(PJ zWRl^qK_(fLL4pZAi-Q+cZ#QL-*FjEt4r6!}+R3E`G_W$r3&5UyJ}(qseHf+Td7dJ( z9;OE5m6{1gfDc^Y`#z~u>TMZr9}ZCz(b?H4gj8ExfmF6s74fP04&d}K3{UWV|Bzz@ z$BG~b==+#<52K4HKe2SGoB zljXW@Tr}5)9I(F+ygbA%&H!Ek_E+<~)Ja@|)E<2q_%DW5RiuIUBbAG*kiuzzqGC}k zrfE(JBgIvVzVB1u#^bB}0V(eIIdXn6)C{=+xE}ax;2ppl)jZd@LGCWR--#T&epBK0 z3z53sbAhEum17Y~-y7HT4t_rt#01yH*ZAW5ekomVCsNP*3#7ic(nkFt@`9aH_B>AFzdaVZr%FhBtxQ^KqMz8nJN z)vpxqzbh=eNARBjRv^dG3kv6}+UXc-X^_UoMoiPBr>940kOc4m@Li-tNR0A0X=ENq zGxF*>l7YD*Y2>(+EWFwbOx97zA%)SsNEf}gu{IfgCbGCpF1J?kj0a%tr zQ&W>tH9`#xa=@(5wryh5SR|KP15PK5;xQoWvAh(REkt8h39!>vsoO+IYtQaMc|7_Z|q*+QKXE& zvqtBaFD$jhJfH<>hz}s8wCK7n>gwvKudg3h$7I;Jh-Fz=mW2>Pb6uBwK9A!#bA=F} z13riJ*PjO-2c80+LuM>Z#x$}tQu4G2si|r~b~}KaW7)P%DwV>rtO*I^RUD|&G);A9 z2qCmW(hHvF>7M5;5JD^j{-&^cfK>H8S9pCL+1I{_?AQGgho}}($VQ$A99?*SGSV9y zkY1B=B~gz8hcD%rD4KvDxq`lv-^*~T+& zg%Ag1<*N6(t``@^C&e2;1s(H97rUxZ26+*9EuYUH)6meMji*-;YtVxNj^n5c_kLJ!xacs2TOMH;($&=^gb*Qc88x^=;;sxXAOo!xZiy_`XkPXQv9){2lOr zwK&e;zG*XXY#4@%a=Dx^3`09qIFHdn2thWRrMtUZDRRC5+*qsQ4K_%GOx4N=Ayzt$ zW4f+8X~O8^jeI`O{{8z!KA+cscHmOr)>+28su1w{t_x1HD zg-HP1419&!g@}r%q-9%>q381eP1kjiN~JX0wy`YhkT6aZMYyhu<2X2uqxcgK*a-X^ zBcmY31l5|SAg_eyhgkPy;4guXQ7AH_X_~Mst4QGP0k5Gh`G9BG6{fJ_C4(vTvLe?`X9paup}xC9WUX$s^dQ2;+>bZNg+fwO_n0zW`X zRP(X@mR)pRk91uZhG7WPG({qjC@zL!2*WUhuIrJeX;CHnLspx69La-!8mSZ+!1-4I z1KB>?0ikJHWEh6p|Is6Fo}qC7g=<+BnM@{Lu4o7H7QLIX1=Ef|X058yen-(y>Dov` z>Od2+5t@+QV;Xq{3uHuCHFQ+?zK;W`+dmbSO0N8JXhI6AKTCl#v2B~CrY3rNdTK`D z9$=7kIt@@{3iJ8AD6H3woH*Wvywyj`RZnKrA(_JuA={)*(==h*w${+lfYLed-@kwS zICTXTPH$*v&%!avlR!GN&TN3?@kSFquqZ z+qR}@T5*hm{+f@#S-?AoI93+vwN)&pD|?5Og6DaP!c~(dg;x40++BsGz0#8yC!}>< zzh2k%tD`8gnwpv-21P1H;tdvP0f!;P9**N^xm?b+ZF`&JIG;zh&yX0ALE=zS%z{5( zN*~ohe}R@a=%;YspaxOW0u1DsG!IGF&O>%9i!94p(%jsvUwP$~%%4Ah+(JQ_OosdJ zyDz-=-g~1$5A(l6tv_mm3`Sh0sooEgYsTTxPus?6T$h28pI+pIHA%mBqzW$A(@)>3 zWhw{8=ddh`6Hh#m>#n86{)haZ0U zmyY9{TW%XQsJ{xtUEQicP5OoisSKcTOHsIk_ZNS!Xk3Pf$@TX3a?UyD6phi^+R8Q8 zT!Z5{qmCdb87l)t7zZGVBKyJ%FAT4^;tC63&6+jF{rBJhUSzjgvJ|Z{$nSv{9LM>y zAPB}ijjfh6uIsuiU%tHfdBcVcXqv_mM;tM#{S`v;0JkGc=MIIVH*MPV>gv_2nKNe& z)2C18xZ{q?zxwK{9|XQvY6H~@0=QNPp%rrJMs>224T{T|KYu~6p9FV zp2yOqON$=W&Ye3k3}aMLY1egCN;JS#R9N26ahy9Id+f1duy)z9WjKzrgfg|Z2KN)6 z1J(sWpmlU~h-`LJltUjiJkJ}@U2WaEm63MGLI`?#dg$!zB$8dnr;y!MrMP$Z?%j54 ztMv3|%$UKvdGj2kj`#o!Hb{gd@GlcW^kgy_+S}WOVg1er{Rwzf8*f@_o6IKJ<* zV#SK$=dD|}mK{5SARwE~vTxr$+S=Oa?d>Isq70JzI3Bo;VO-o{@YB~{f8Flr=m4O( zxtZCsXSwv<86KnBW6VHeW9I|f)Qg!sL3{aRaF>FDU7r>6(kbxY12CIX)45k(P; z7cU0nRlj}v_F{JxMG=nUpf0fX_I5Iv44&r+U@MY4ISTkE%2)jPIFeGR1Z}o$Kl9X6 z{h_S0&ptb4+x7w7mNLjZWYqR13JEJEum|btos5i({xk5X@B4mVUmu;FowT;LijIyB zy1TpS>+4fRhbuhi>cMqgmMmFP?4EY*+Eu&@+S}V{ZEdBitBY(lOBjZINa@pOkWt_j zNMfy=M{_)qe%Qze9@Ui3=Wid>ZE2q8wE&Ir_2MpvhRnXb2syC-c!>S~wy=B)8B90n(U#gr3;^*q9}?MdY;!ziNIeeXqqMp#wl7y zNKi=%gK3(acG_ubJGO1x7KCAVJyK2bS|#TYLmhBA@;NHU7vg54$rRXa+xBzYw{Kr~ z{`uzv(9+V9+Pr!5$MgAoX@e9V)S~tD^x!zoS;%qakI0%Qw^A7;s^mn^Gw?1mkcthJ zd3zN7lx{t-D6SB~5<;YrNthNg`s>i2bLhlg_anR0KOy`33r{`u)XQz#P69mt{PQ@D z<08A;k)+wpMT$MH0;Xx2CQ_*sjg5_3CX*Re>P9}Fzy0yYAHVMW^UtpX*=^l(&poRO z|33>Q7(>%EnKo@&vCqxra>oiG)**A&pF&c&KW5|vRETW2JtO`nBYswk{ie2Ut zPdpLox_&Q}8DlQ8bjXK*cLTbnX`-&Kj&wR*jWmtBUwrY!Z)GwWnwpw8?zrQaGG$8G z+1Ys>a1RXO_L``~E6qtrL*l$2R00^gCp-=Sz%pwNqW! z*DPAJ$g8WXO98y}(o6L9^=U}$RSKDbtDdpA49TGvTe`rZlS-v(7Jc?SZ{wCNTh^{x zwJHU$bm>xk)22-qARPr~M1dXCG-+sPprN6msD~|3xTzor-UGZRwz`iTM-+vt=-bzk zvYnnW|GPo3EbEgiR;(zxqE9~gBw-lZRG90oq@|fm#pVSLi_7f7M@ox2>8EgW^y{tEI(R3MAx`58Ares(&5WXG##m@vMc)b`IO(L5XlQ6C{x)aMoFTTHJXp4DnepI* z4_*XV${;TTgH_;Fftmykfg+6?54{YY;g@paoQK9nFPd~l*-R-yE&I1oTQ1w*r*hLdD2B&5A?AgKEwQK8| zo14)zjU`K#=v%gIc~5){`4`~lU0q$wm@#8qQ=`XHSw+4h5Ry&bFMpcAum1&wkZE9-LbGe)m zMbRHz*F6U*p#@l+NF*Mrudh!BL7@4*-|o8Zdl|aYY1z=pgGk=v+hG{`-QC@^wY7=f z-rk|)p@#$t<3#cQ3L!d?Ps@Hc{l-Wo5{bL6y6UR*Ew|iKw{hdf_GzJ2@1X0wOP z^F}<+qqn!0_V#ul`in2VI4Oisp`@9v z>mGl}C70+*UAbn>8q;x{GmsJOvZ!RH{w9(O_$sm}Y@(j9AcQET${#H7evAJ4 zy$>UMhT-srWm%iou3fwO(n~M3J3BksxN)QBd7gS|f@c`Ue}4VzU;oVImtSuCzR#_< z-s*&5_>JLqJldApjjZeYL!{fb1et|z?Gm4BXks zXl*6jCbem(x2W|O}xYN zye|YnfN7e{m@$LK#zxn5-QQ@MHYo+lQ4}pa`Q(#}p^%=Q9(><#KUAJ)^qOg!nP;DU zcFO6epH3o?VBNZP$!DHTR0lSDTxgzj)(~ zH`)`GM>twM^2j5sU%$S`_x-sCPe^wdL{apV>$)G6x}OAo z3FBDncARk(Qr>#xM4!kI$RpkGtsH(9@#Mw-1A$BQiO%}0761SM07*qoM6N<$g4H*z AdjJ3c diff --git a/auto_backup/static/description/icon.svg b/auto_backup/static/description/icon.svg deleted file mode 100644 index b28b182e116..00000000000 --- a/auto_backup/static/description/icon.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - - - - diff --git a/auto_backup/tests/__init__.py b/auto_backup/tests/__init__.py deleted file mode 100644 index e803c71af86..00000000000 --- a/auto_backup/tests/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2015 Agile Business Group -# © 2015 Alessio Gerace -# © 2016 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from . import test_db_backup diff --git a/auto_backup/tests/test_db_backup.py b/auto_backup/tests/test_db_backup.py deleted file mode 100644 index 8671c0cb471..00000000000 --- a/auto_backup/tests/test_db_backup.py +++ /dev/null @@ -1,232 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2015 Agile Business Group -# © 2015 Alessio Gerace -# © 2016 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis -# Copyright 2016 LasLabs Inc. -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -import os -import mock - -from datetime import datetime -from contextlib import contextmanager - -from openerp.tests import common -from openerp import exceptions, tools - -try: - import pysftp -except ImportError: - pass - - -model = 'openerp.addons.auto_backup.models.db_backup' - - -class TestConnectionException(pysftp.ConnectionException): - def __init__(self): - super(TestConnectionException, self).__init__('test', 'test') - - -class TestDbBackup(common.TransactionCase): - - def setUp(self): - super(TestDbBackup, self).setUp() - self.Model = self.env["db.backup"] - - @contextmanager - def mock_assets(self): - """ It provides mocked core assets """ - self.path_join_val = '/this/is/a/path' - with mock.patch('%s.db' % model) as db: - with mock.patch('%s.os' % model) as os: - with mock.patch('%s.shutil' % model) as shutil: - os.path.join.return_value = self.path_join_val - yield { - 'db': db, - 'os': os, - 'shutil': shutil, - } - - @contextmanager - def patch_filtered_sftp(self, record, mocks=None): - """ It patches filtered record and provides a mock """ - if mocks is None: - mocks = ['sftp_connection'] - mocks = {m: mock.DEFAULT for m in mocks} - with mock.patch.object(record, 'filtered') as filtered: - with mock.patch.object(record, 'backup_log'): - with mock.patch.multiple(record, **mocks): - filtered.side_effect = [], [record] - yield filtered - - def new_record(self, method='sftp'): - vals = { - 'name': u'Têst backup', - 'method': method, - } - if method == 'sftp': - vals.update({ - 'sftp_host': 'test_host', - 'sftp_port': '222', - 'sftp_user': 'tuser', - 'sftp_password': 'password', - 'folder': '/folder/', - }) - self.vals = vals - return self.Model.create(vals) - - def test_compute_name_sftp(self): - """ It should create proper SFTP URI """ - rec_id = self.new_record() - self.assertEqual( - 'sftp://%(user)s@%(host)s:%(port)s%(folder)s' % { - 'user': self.vals['sftp_user'], - 'host': self.vals['sftp_host'], - 'port': self.vals['sftp_port'], - 'folder': self.vals['folder'], - }, - rec_id.name, - ) - - def test_check_folder(self): - """ It should not allow recursive backups """ - rec_id = self.new_record('local') - with self.assertRaises(exceptions.ValidationError): - rec_id.write({ - 'folder': '%s/another/path' % tools.config.filestore( - self.env.cr.dbname - ), - }) - - @mock.patch('%s._' % model) - def test_action_sftp_test_connection_success(self, _): - """ It should raise connection succeeded warning """ - rec_id = self.new_record() - with mock.patch.object(rec_id, 'sftp_connection'): - with self.assertRaises(exceptions.Warning): - rec_id.action_sftp_test_connection() - _.assert_called_once_with("Connection Test Succeeded!") - - @mock.patch('%s._' % model) - def test_action_sftp_test_connection_fail(self, _): - """ It should raise connection fail warning """ - rec_id = self.new_record() - with mock.patch.object(rec_id, 'sftp_connection') as conn: - conn().__enter__.side_effect = TestConnectionException - with self.assertRaises(exceptions.Warning): - rec_id.action_sftp_test_connection() - _.assert_called_once_with("Connection Test Failed!") - - def test_action_backup_local(self): - """ It should backup local database """ - rec_id = self.new_record('local') - filename = rec_id.filename(datetime.now()) - rec_id.action_backup() - generated_backup = [f for f in os.listdir(rec_id.folder) - if f >= filename] - self.assertEqual(1, len(generated_backup)) - - def test_action_backup_sftp_mkdirs(self): - """ It should create remote dirs """ - rec_id = self.new_record() - with self.mock_assets(): - with self.patch_filtered_sftp(rec_id): - conn = rec_id.sftp_connection().__enter__() - rec_id.action_backup() - conn.makedirs.assert_called_once_with(rec_id.folder) - - def test_action_backup_sftp_mkdirs_conn_exception(self): - """ It should guard from ConnectionException on remote.mkdirs """ - rec_id = self.new_record() - with self.mock_assets(): - with self.patch_filtered_sftp(rec_id): - conn = rec_id.sftp_connection().__enter__() - conn.makedirs.side_effect = TestConnectionException - rec_id.action_backup() - # No error was raised, test pass - self.assertTrue(True) - - def test_action_backup_sftp_remote_open(self): - """ It should open remote file w/ proper args """ - rec_id = self.new_record() - with self.mock_assets() as assets: - with self.patch_filtered_sftp(rec_id): - conn = rec_id.sftp_connection().__enter__() - rec_id.action_backup() - conn.open.assert_called_once_with( - assets['os'].path.join(), - 'wb' - ) - - def test_action_backup_sftp_remote_open(self): - """ It should open remote file w/ proper args """ - rec_id = self.new_record() - with self.mock_assets() as assets: - with self.patch_filtered_sftp(rec_id): - conn = rec_id.sftp_connection().__enter__() - rec_id.action_backup() - conn.open.assert_called_once_with( - assets['os'].path.join(), - 'wb' - ) - - def test_action_backup_all_search(self): - """ It should search all records """ - rec_id = self.new_record() - with mock.patch.object(rec_id, 'search'): - rec_id.action_backup_all() - rec_id.search.assert_called_once_with([]) - - def test_action_backup_all_return(self): - """ It should return result of backup operation """ - rec_id = self.new_record() - with mock.patch.object(rec_id, 'search'): - res = rec_id.action_backup_all() - self.assertEqual( - rec_id.search().action_backup(), res - ) - - @mock.patch('%s.pysftp' % model) - def test_sftp_connection_init_passwd(self, pysftp): - """ It should initiate SFTP connection w/ proper args and pass """ - rec_id = self.new_record() - rec_id.sftp_connection() - pysftp.Connection.assert_called_once_with( - host=rec_id.sftp_host, - username=rec_id.sftp_user, - port=rec_id.sftp_port, - password=rec_id.sftp_password, - ) - - @mock.patch('%s.pysftp' % model) - def test_sftp_connection_init_key(self, pysftp): - """ It should initiate SFTP connection w/ proper args and key """ - rec_id = self.new_record() - rec_id.write({ - 'sftp_private_key': 'pkey', - 'sftp_password': 'pkeypass', - }) - rec_id.sftp_connection() - pysftp.Connection.assert_called_once_with( - host=rec_id.sftp_host, - username=rec_id.sftp_user, - port=rec_id.sftp_port, - private_key=rec_id.sftp_private_key, - private_key_pass=rec_id.sftp_password, - ) - - @mock.patch('%s.pysftp' % model) - def test_sftp_connection_return(self, pysftp): - """ It should return new sftp connection """ - rec_id = self.new_record() - res = rec_id.sftp_connection() - self.assertEqual( - pysftp.Connection(), res, - ) - - def test_filename(self): - """ It should not error and should return a .dump.zip file str """ - now = datetime.now() - res = self.Model.filename(now) - self.assertTrue(res.endswith(".dump.zip")) diff --git a/auto_backup/view/db_backup_view.xml b/auto_backup/view/db_backup_view.xml deleted file mode 100644 index 00d6012f53d..00000000000 --- a/auto_backup/view/db_backup_view.xml +++ /dev/null @@ -1,107 +0,0 @@ - - - - - Automated Backups - db.backup - form - -
-

- - - - - - -
-
-

Warning:

- Use SFTP with caution! This writes files to external servers under the path you specify. -
- - - - - - -
- -
- Automatic backups of the database can be scheduled as follows: -
    -
  1. Go to Settings / Technical / Automation / Scheduled Actions.
  2. -
  3. Search the action named 'Backup scheduler'.
  4. -
  5. Set the scheduler to active and fill in how often you want backups generated.
  6. -
-
- -
-
- - - Automated Backups - db.backup - tree - - - - - - - - - - - Automated Backups - db.backup - search - - - - - - - - - - - - - - - - Execute backup(s) - - - object.action_backup() - - - - - Execute backup(s) - - - action - - db.backup - client_action_multi - - -
diff --git a/requirements.txt b/requirements.txt index a604e65fdaa..c8cb7e172c5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,3 @@ unidecode acme_tiny IPy validate_email -pysftp From 2bb2cf16041e2f4d0ea157ea1b2cd06d66b39bd8 Mon Sep 17 00:00:00 2001 From: Yenthe Date: Thu, 26 Mar 2015 15:35:50 +0100 Subject: [PATCH 02/54] Update english pot file Added all the new fields and sentences. This will be the template for translations. --- auto_backup/i18n/auto_backup.pot | 141 +++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 auto_backup/i18n/auto_backup.pot diff --git a/auto_backup/i18n/auto_backup.pot b/auto_backup/i18n/auto_backup.pot new file mode 100644 index 00000000000..c560ff6eed9 --- /dev/null +++ b/auto_backup/i18n/auto_backup.pot @@ -0,0 +1,141 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * auto_backup +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 5.0.6\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2009-11-24 13:49:51+0000\n" +"PO-Revision-Date: 2009-11-24 13:49:51+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: auto_backup +#: help:db.backup,name:0 +msgid "Database you want to schedule backups for" +msgstr "" + +#. module: auto_backup +#: constraint:ir.model:0 +msgid "The Object name must start with x_ and not contain any special character !" +msgstr "" + +#. module: auto_backup +#: constraint:ir.actions.act_window:0 +msgid "Invalid model name in the action definition." +msgstr "" + +#. module: auto_backup +#: model:ir.model,name:auto_backup.model_db_backup +msgid "db.backup" +msgstr "" + +#. module: auto_backup +#: view:db.backup:0 +msgid "1) Go to Administration / Configuration / Scheduler / Scheduled Actions" +msgstr "" + +#. module: auto_backup +#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form +#: model:ir.ui.menu,name:auto_backup.backup_conf_menu +msgid "Configure Backup" +msgstr "" + +#. module: auto_backup +#: view:db.backup:0 +msgid "Test" +msgstr "" + +#. module: auto_backup +#: view:db.backup:0 +msgid "IP Configuration" +msgstr "" + +#. module: auto_backup +#: help:db.backup,bkp_dir:0 +msgid "Absolute path for storing the backups" +msgstr "" + +#. module: auto_backup +#: model:ir.module.module,shortdesc:auto_backup.module_meta_information +msgid "Database Auto-Backup" +msgstr "" + +#. module: auto_backup +#: view:db.backup:0 +msgid "Database Configuration" +msgstr "" + +#. module: auto_backup +#: view:db.backup:0 +msgid "4) Set other values as per your preference" +msgstr "" + +#. module: auto_backup +#: field:db.backup,host:0 +msgid "Host" +msgstr "" + +#. module: auto_backup +#: view:db.backup:0 +msgid "Automatic backup of all the databases under this can be scheduled as follows: " +msgstr "" + +#. module: auto_backup +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: auto_backup +#: field:db.backup,bkp_dir:0 +msgid "Backup Directory" +msgstr "" + +#. module: auto_backup +#: field:db.backup,name:0 +msgid "Database" +msgstr "" + +#. module: auto_backup +#: view:db.backup:0 +msgid "2) Schedule new action(create a new record)" +msgstr "" + +#. module: auto_backup +#: model:ir.module.module,description:auto_backup.module_meta_information +msgid "The generic Open ERP Database Auto-Backup system enables the user to make configurations for the automatic backup of the database.\n" +"User simply requires to specify host & port under IP Configuration & database(on specified host running at specified port) and backup directory(in which all the backups of the specified database will be stored) under Database Configuration.\n" +"\n" +"Automatic backup for all such configured databases under this can then be scheduled as follows: \n" +" \n" +"1) Go to Administration / Configuration / Scheduler / Scheduled Actions\n" +"2) Schedule new action(create a new record)\n" +"3) Set 'Object' to 'db.backup' and 'Function' to 'schedule_backup' under page 'Technical Data'\n" +"4) Set other values as per your preference" +msgstr "" + +#. module: auto_backup +#: view:db.backup:0 +msgid "3) Set 'Object' to 'db.backup' and 'Function' to 'schedule_backup' under page 'Technical Data'" +msgstr "" + +#. module: auto_backup +#: view:db.backup:0 +msgid "Help" +msgstr "" + +#. module: auto_backup +#: view:db.backup:0 +msgid "This configures the scheduler for automatic backup of the given database running on given host at given port on regular intervals." +msgstr "" + +#. module: auto_backup +#: field:db.backup,port:0 +msgid "Port" +msgstr "" + From a24ceb21738b085401cb6a8efe35cfc0c87beec9 Mon Sep 17 00:00:00 2001 From: Yenthe Date: Thu, 26 Mar 2015 15:56:06 +0100 Subject: [PATCH 03/54] Dutch translations Full translation of the module to Dutch --- auto_backup/i18n/nl.po | 292 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 292 insertions(+) create mode 100644 auto_backup/i18n/nl.po diff --git a/auto_backup/i18n/nl.po b/auto_backup/i18n/nl.po new file mode 100644 index 00000000000..8d739798b29 --- /dev/null +++ b/auto_backup/i18n/nl.po @@ -0,0 +1,292 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * auto_backup +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-03-26 14:17+0000\n" +"PO-Revision-Date: 2015-03-26 14:17+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: auto_backup +#: code:addons/auto_backup/backup_scheduler.py:137 +#, python-format +msgid "%s" +msgstr "%s" + +#. module: auto_backup +#: help:db.backup,bkp_dir:0 +msgid "Absolute path for storing the backups" +msgstr "Absoluut pad om backups te bewaren" + +#. module: auto_backup +#: field:db.backup,sendmailsftpfail:0 +msgid "Auto. E-mail on backup fail" +msgstr "Auto. e-mailen wanneer backup mislukt" + +#. module: auto_backup +#: field:db.backup,autoremove:0 +msgid "Auto. Remove Backups" +msgstr "Auto. backups verwijderen" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Automatic backups of the database can be scheduled as follows:" +msgstr "Automatische backups van de database kunnen als volgend gepland worden:" + +#. module: auto_backup +#: field:db.backup,bkp_dir:0 +msgid "Backup Directory" +msgstr "Backup folder" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_tree +msgid "Backups" +msgstr "Backups" + +#. module: auto_backup +#: help:db.backup,daystokeepsftp:0 +msgid "Choose after how many days the backup should be deleted from the FTP server. For example:\n" +"If you fill in 5 the backups will be removed after 5 days from the FTP server." +msgstr "Kies na hoeveel dagen de backups verwijderd moeten worden van de FTP server. Bijvoorbeeld:\n" +"Als u 5 invult zal de backup na 5 dagen verwijderd worden van de FTP server." + +#. module: auto_backup +#: help:db.backup,daystokeep:0 +msgid "Choose after how many days the backup should be deleted. For example:\n" +"If you fill in 5 the backups will be removed after 5 days." +msgstr "Kies na hoeveel dagen de backup verwijderd moet worden. Bijvoorbeeld:\n" +"Als u 5 invult zal de backup verwijderd worden na 5 dagen." + +#. module: auto_backup +#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form +#: model:ir.ui.menu,name:auto_backup.backup_conf_menu +msgid "Configure Backup" +msgstr "Configureer backup" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Contact us!" +msgstr "Contacteer ons!" + +#. module: auto_backup +#: field:db.backup,create_uid:0 +msgid "Created by" +msgstr "Gemaakt door" + +#. module: auto_backup +#: field:db.backup,create_date:0 +msgid "Created on" +msgstr "Gemaakt op" + +#. module: auto_backup +#: field:db.backup,name:0 +msgid "Database" +msgstr "Database" + +#. module: auto_backup +#: help:db.backup,name:0 +msgid "Database you want to schedule backups for" +msgstr "Database waar u backups voor wilt plannen" + +#. module: auto_backup +#: field:db.backup,emailtonotify:0 +msgid "E-mail to notify" +msgstr "E-mail om te verwittigen" + +#. module: auto_backup +#: code:addons/auto_backup/backup_scheduler.py:106 +#: constraint:db.backup:0 +#, python-format +msgid "Error ! No such database exists!" +msgstr "Error! Deze database bestaat niet!" + +#. module: auto_backup +#: help:db.backup,emailtonotify:0 +msgid "Fill in the e-mail where you want to be notified that the backup failed on the FTP." +msgstr "Vul de e-mail in waarop u wilt verwittigd worden als de backup mislukt op de FTP." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "For example: /odoo/backups/" +msgstr "Bijvoorbeeld: /odoo/backups/" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Go to Settings / Technical / Automation / Scheduled Actions." +msgstr "Ga naar Instellingen / Technsich / Automatisering / Geplande acties" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Help" +msgstr "Help" + +#. module: auto_backup +#: field:db.backup,host:0 +msgid "Host" +msgstr "Host" + +#. module: auto_backup +#: field:db.backup,id:0 +msgid "ID" +msgstr "ID" + +#. module: auto_backup +#: field:db.backup,sftpip:0 +msgid "IP Address SFTP Server" +msgstr "IP adres SFTP server" + +#. module: auto_backup +#: help:db.backup,sendmailsftpfail:0 +msgid "If you check this option you can choose to automaticly get e-mailed when the backup to the external server failed." +msgstr "Als u deze optie aanvinkt kan u kiezen om automatisch een e-mail aan te krijgen als de backup +naar de externe server mislukt." + +#. module: auto_backup +#: help:db.backup,autoremove:0 +msgid "If you check this option you can choose to automaticly remove the backup after xx days" +msgstr "Als u deze optie aanvinkt kan u kiezen om automatisch backups te verwijderen na xx dagen" + +#. module: auto_backup +#: help:db.backup,sftpwrite:0 +msgid "If you check this option you can specify the details needed to write to a remote server with SFTP." +msgstr "Als u deze optie aanvinkt kan u de details invullen die nodig zijn om te connecteren met de externe SFTP server." + +#. module: auto_backup +#: field:db.backup,write_uid:0 +msgid "Last Updated by" +msgstr "Laatst bijgewerkt door" + +#. module: auto_backup +#: field:db.backup,write_date:0 +msgid "Last Updated on" +msgstr "Laatst bijgewerkt op" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Local backup configuration" +msgstr "Lokale backup configuratie" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Need more help?" +msgstr "Meer hulp nodig?" + +#. module: auto_backup +#: field:db.backup,sftppassword:0 +msgid "Password User SFTP Server" +msgstr "Wachtwoord gebruiker SFTP server" + +#. module: auto_backup +#: field:db.backup,sftppath:0 +msgid "Path external server" +msgstr "Pad externe server" + +#. module: auto_backup +#: field:db.backup,port:0 +msgid "Port" +msgstr "Poort" + +#. module: auto_backup +#: field:db.backup,daystokeepsftp:0 +msgid "Remove SFTP after x days" +msgstr "SFTP verwijderen na x dagen" + +#. module: auto_backup +#: field:db.backup,daystokeep:0 +msgid "Remove after x days" +msgstr "Verwijderen na x dagen" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "SFTP" +msgstr "SFTP" + +#. module: auto_backup +#: field:db.backup,sftpport:0 +msgid "SFTP Port" +msgstr "SFTP poort" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_search +msgid "Search options" +msgstr "Zoekopties" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Search the action named 'Backup scheduler'." +msgstr "Zoek de actie genaamd 'Backup scheduler'." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Set the scheduler to active and fill in how often you want backups generated." +msgstr "Zet de planner op actief en vul in hoe vaak de backup moet gemaakt worden." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Test" +msgstr "Test" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Test SFTP Connection" +msgstr "Test SFTP Connectie" + +#. module: auto_backup +#: help:db.backup,sftpip:0 +msgid "The IP address from your remote server. For example 192.168.0.1" +msgstr "Het IP adres van uw externe server. Bijvoorbeeld: 192.168.0.1" + +#. module: auto_backup +#: help:db.backup,sftppath:0 +msgid "The location to the folder where the dumps should be written to. For example /odoo/backups/.\n" +"Files will then be written to /odoo/backups/ on your remote server." +msgstr "De locatie naar de folder waar de backup naar toe moet geschreven worden. Bijvoorbeeld odoo/backups/\n" +"Bestanden worden dan naar /odoo/backups/ geschreven op de externe server" + +#. module: auto_backup +#: help:db.backup,sftppassword:0 +msgid "The password from the user where the SFTP connection should be made with. This is the password from the user on the external server." +msgstr "Het wachtwoord van de gebruiker waar de SFTP connectie mee moet gemaakt worden. Dit is het wachtwoord van de gebruiker op de externe server." + +#. module: auto_backup +#: help:db.backup,sftpport:0 +msgid "The port on the FTP server that accepts SSH/SFTP calls." +msgstr "De poort op de FTP server die SSH/SFTP accepteert." + +#. module: auto_backup +#: help:db.backup,sftpusername:0 +msgid "The username where the SFTP connection should be made with. This is the user on the external server." +msgstr "De gebruikersnaam waar de SFTP connectie mee gemaakt moet worden. Dit is de gebruiker op de externe server." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "This configures the scheduler for automatic backup of the given database running on given host at given port on regular intervals." +msgstr "Dit configureert de planner voor automatische backups op de ingegeven database waar de host, poort en database op zijn ingegeven voor reguliere intervallen." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Use SFTP with caution! This writes files to external servers under the path you specify." +msgstr "Gebruik SFTP voorzichtig! Dit schrijft bestanden naar externe servers onder het pad dat u opgeeft." + +#. module: auto_backup +#: field:db.backup,sftpusername:0 +msgid "Username SFTP Server" +msgstr "Gebruikersnaam SFTP Server" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Warning:" +msgstr "Waarschuwing:" + +#. module: auto_backup +#: field:db.backup,sftpwrite:0 +msgid "Write to external server with sftp" +msgstr "Schrijf naar externe server met SFTP" From ac87e0f6216f035e363a152b299877e98c83aa92 Mon Sep 17 00:00:00 2001 From: Yenthe Date: Fri, 27 Mar 2015 08:13:21 +0100 Subject: [PATCH 04/54] Chinese translations Add Chinese translations to the module. Written by talway. --- auto_backup/i18n/zh_CN.po | 298 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 298 insertions(+) create mode 100644 auto_backup/i18n/zh_CN.po diff --git a/auto_backup/i18n/zh_CN.po b/auto_backup/i18n/zh_CN.po new file mode 100644 index 00000000000..352a1e6749c --- /dev/null +++ b/auto_backup/i18n/zh_CN.po @@ -0,0 +1,298 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * auto_backup +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-03-26 14:17+0000\n" +"PO-Revision-Date: 2015-03-27 00:16+0800\n" +"Last-Translator: <>\n" +"Language-Team: Talway <1473162392@qq.com>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Language: zh_CN\n" +"X-Generator: Poedit 1.7.5\n" + +#. module: auto_backup +#: code:addons/auto_backup/backup_scheduler.py:137 +#, python-format +msgid "%s" +msgstr "%s" + +#. module: auto_backup +#: help:db.backup,bkp_dir:0 +msgid "Absolute path for storing the backups" +msgstr "备份据对路径" + +#. module: auto_backup +#: field:db.backup,sendmailsftpfail:0 +msgid "Auto. E-mail on backup fail" +msgstr "自动。电子邮件备份失败" + +#. module: auto_backup +#: field:db.backup,autoremove:0 +msgid "Auto. Remove Backups" +msgstr "自动 删除备份" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Automatic backups of the database can be scheduled as follows:" +msgstr "数据库的自动备份时间安排如下:" + +#. module: auto_backup +#: field:db.backup,bkp_dir:0 +msgid "Backup Directory" +msgstr "备份目录" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_tree +msgid "Backups" +msgstr "备份" + +#. module: auto_backup +#: help:db.backup,daystokeepsftp:0 +msgid "" +"Choose after how many days the backup should be deleted from the FTP server. For example:\n" +"If you fill in 5 the backups will be removed after 5 days from the FTP server." +msgstr "" +"选择后多少天备份应被删除从 FTP 服务器。例如: \n" +"如果你填写 5, 将5 天后 从FTP 服务器 删除备份文件。" + +#. module: auto_backup +#: help:db.backup,daystokeep:0 +msgid "" +"Choose after how many days the backup should be deleted. For example:\n" +"If you fill in 5 the backups will be removed after 5 days." +msgstr "" +"选择后多少天备份应被删除。例如: \n" +"如果 你填写 5 ,将 5 天后删除备份。" + +#. module: auto_backup +#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form +#: model:ir.ui.menu,name:auto_backup.backup_conf_menu +msgid "Configure Backup" +msgstr "数据库备份" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Contact us!" +msgstr "联系我们!" + +#. module: auto_backup +#: field:db.backup,create_uid:0 +msgid "Created by" +msgstr "创建者" + +#. module: auto_backup +#: field:db.backup,create_date:0 +msgid "Created on" +msgstr "创建时间" + +#. module: auto_backup +#: field:db.backup,name:0 +msgid "Database" +msgstr "数据库" + +#. module: auto_backup +#: help:db.backup,name:0 +msgid "Database you want to schedule backups for" +msgstr "计划备份的数据库" + +#. module: auto_backup +#: field:db.backup,emailtonotify:0 +msgid "E-mail to notify" +msgstr "邮件通知" + +#. module: auto_backup +#: code:addons/auto_backup/backup_scheduler.py:106 constraint:db.backup:0 +#, python-format +msgid "Error ! No such database exists!" +msgstr "错误 !这个数据库不存在 !" + +#. module: auto_backup +#: help:db.backup,emailtonotify:0 +msgid "Fill in the e-mail where you want to be notified that the backup failed on the FTP." +msgstr "FTP备份失败时,邮件通知你详细信息" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "For example: /odoo/backups/" +msgstr "例如: /odoo/backups/" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Go to Settings / Technical / Automation / Scheduled Actions." +msgstr "点击 设置 / 技术 / 自动化 / 计划的动作" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Help" +msgstr "帮助" + +#. module: auto_backup +#: field:db.backup,host:0 +msgid "Host" +msgstr "服务器" + +#. module: auto_backup +#: field:db.backup,id:0 +msgid "ID" +msgstr "ID" + +#. module: auto_backup +#: field:db.backup,sftpip:0 +msgid "IP Address SFTP Server" +msgstr " SFTP 服务器 IP 地址" + +#. module: auto_backup +#: help:db.backup,sendmailsftpfail:0 +msgid "If you check this option you can choose to automaticly get e-mailed when the backup to the external server failed." +msgstr "如果您选中此选项,您可以选择自动收到通过邮件发送到外部服务器备份失败的信息。" + +#. module: auto_backup +#: help:db.backup,autoremove:0 +msgid "If you check this option you can choose to automaticly remove the backup after xx days" +msgstr "如果您选中此选项,您可以选择 xx 天后自动删除备份" + +#. module: auto_backup +#: help:db.backup,sftpwrite:0 +msgid "If you check this option you can specify the details needed to write to a remote server with SFTP." +msgstr "如果您选中此选项,您可以指定需要写入 sftp 的远程服务器的详细信息。" + +#. module: auto_backup +#: field:db.backup,write_uid:0 +msgid "Last Updated by" +msgstr "最后更新者" + +#. module: auto_backup +#: field:db.backup,write_date:0 +msgid "Last Updated on" +msgstr "上次更新日期" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Local backup configuration" +msgstr "本地备份配置" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Need more help?" +msgstr "需要更多帮助吗?" + +#. module: auto_backup +#: field:db.backup,sftppassword:0 +msgid "Password User SFTP Server" +msgstr " SFTP服务器密码" + +#. module: auto_backup +#: field:db.backup,sftppath:0 +msgid "Path external server" +msgstr "服务器目录" + +#. module: auto_backup +#: field:db.backup,port:0 +msgid "Port" +msgstr "端口" + +#. module: auto_backup +#: field:db.backup,daystokeepsftp:0 +msgid "Remove SFTP after x days" +msgstr "多少天后从服务器删除" + +#. module: auto_backup +#: field:db.backup,daystokeep:0 +msgid "Remove after x days" +msgstr "多少天后删除" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "SFTP" +msgstr "SFTP" + +#. module: auto_backup +#: field:db.backup,sftpport:0 +msgid "SFTP Port" +msgstr "SFTP 端口" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_search +msgid "Search options" +msgstr "搜索选项" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Search the action named 'Backup scheduler'." +msgstr "搜索计划备份调度程序“Backup scheduler”。" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Set the scheduler to active and fill in how often you want backups generated." +msgstr "设置计划动作为有效,并填写备份间隔时间,间隔时间单位,间隔次数,执行时间等数据库具体备份方案。" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Test" +msgstr "测试" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Test SFTP Connection" +msgstr "测试 SFTP 连接" + +#. module: auto_backup +#: help:db.backup,sftpip:0 +msgid "The IP address from your remote server. For example 192.168.0.1" +msgstr "远程服务器的 IP 地址。例如: 192.168.0.1" + +#. module: auto_backup +#: help:db.backup,sftppath:0 +msgid "" +"The location to the folder where the dumps should be written to. For example /odoo/backups/.\n" +"Files will then be written to /odoo/backups/ on your remote server." +msgstr "" +"转储应将写入的文件夹位置。例如 /odoo/backups/远程服务器上,然后将写入 /odoo/backups/.\n" +"Files。" + +#. module: auto_backup +#: help:db.backup,sftppassword:0 +msgid "The password from the user where the SFTP connection should be made with. This is the password from the user on the external server." +msgstr "从 SFTP 服务器连接该用户的密码。这是SFTP服务器上的用户密码。" + +#. module: auto_backup +#: help:db.backup,sftpport:0 +msgid "The port on the FTP server that accepts SSH/SFTP calls." +msgstr "接受 SSH/SFTP 使用的FTP 服务器上的端口。" + +#. module: auto_backup +#: help:db.backup,sftpusername:0 +msgid "The username where the SFTP connection should be made with. This is the user on the external server." +msgstr "SFTP 连接使用该用户名。这是在SFTP服务器上的用户。" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "This configures the scheduler for automatic backup of the given database running on given host at given port on regular intervals." +msgstr "配置适用指定数据库备份 在设置服务器端口定期运行" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Use SFTP with caution! This writes files to external servers under the path you specify." +msgstr "请注意你的 SFTP服务器网络安全!数据库备份文件将备份到你的SFTP服务器,文件保存在设置的目录下面。" + +#. module: auto_backup +#: field:db.backup,sftpusername:0 +msgid "Username SFTP Server" +msgstr "SFTP 服务器 用户名" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Warning:" +msgstr "警告:" + +#. module: auto_backup +#: field:db.backup,sftpwrite:0 +msgid "Write to external server with sftp" +msgstr "备份到外部 sftp 服务器" From d9dc4b1f3e7be6576d3a485e550aa4e89a021fcc Mon Sep 17 00:00:00 2001 From: Yenthe Date: Fri, 27 Mar 2015 13:21:14 +0100 Subject: [PATCH 05/54] Changes chinese translation Changed some translations --- auto_backup/i18n/zh_CN.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/auto_backup/i18n/zh_CN.po b/auto_backup/i18n/zh_CN.po index 352a1e6749c..8178604fc1f 100644 --- a/auto_backup/i18n/zh_CN.po +++ b/auto_backup/i18n/zh_CN.po @@ -26,17 +26,17 @@ msgstr "%s" #. module: auto_backup #: help:db.backup,bkp_dir:0 msgid "Absolute path for storing the backups" -msgstr "备份据对路径" +msgstr "备份绝对路径" #. module: auto_backup #: field:db.backup,sendmailsftpfail:0 msgid "Auto. E-mail on backup fail" -msgstr "自动。电子邮件备份失败" +msgstr "FTP备份失败自动邮件通知你" #. module: auto_backup #: field:db.backup,autoremove:0 msgid "Auto. Remove Backups" -msgstr "自动 删除备份" +msgstr "自动删除备份" #. module: auto_backup #: view:db.backup:auto_backup.view_backup_conf_form @@ -69,7 +69,7 @@ msgid "" "If you fill in 5 the backups will be removed after 5 days." msgstr "" "选择后多少天备份应被删除。例如: \n" -"如果 你填写 5 ,将 5 天后删除备份。" +"如果你填写5,将 5 天后删除备份。" #. module: auto_backup #: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form @@ -80,7 +80,7 @@ msgstr "数据库备份" #. module: auto_backup #: view:db.backup:auto_backup.view_backup_conf_form msgid "Contact us!" -msgstr "联系我们!" +msgstr "邮件联系我们!" #. module: auto_backup #: field:db.backup,create_uid:0 @@ -105,7 +105,7 @@ msgstr "计划备份的数据库" #. module: auto_backup #: field:db.backup,emailtonotify:0 msgid "E-mail to notify" -msgstr "邮件通知" +msgstr "E-mail邮件地址" #. module: auto_backup #: code:addons/auto_backup/backup_scheduler.py:106 constraint:db.backup:0 @@ -246,7 +246,7 @@ msgstr "测试 SFTP 连接" #. module: auto_backup #: help:db.backup,sftpip:0 msgid "The IP address from your remote server. For example 192.168.0.1" -msgstr "远程服务器的 IP 地址。例如: 192.168.0.1" +msgstr "SFTP服务器的 IP 地址。例如: 192.168.0.1" #. module: auto_backup #: help:db.backup,sftppath:0 @@ -285,7 +285,7 @@ msgstr "请注意你的 SFTP服务器网络安全!数据库备份文件将备 #. module: auto_backup #: field:db.backup,sftpusername:0 msgid "Username SFTP Server" -msgstr "SFTP 服务器 用户名" +msgstr "SFTP服务器用户名" #. module: auto_backup #: view:db.backup:auto_backup.view_backup_conf_form From fdc592bb56af82c1c291c34ae370ad8b02b35cba Mon Sep 17 00:00:00 2001 From: Yenthe Date: Mon, 20 Apr 2015 09:27:04 +0200 Subject: [PATCH 06/54] Full German translations Thanks to Martin Schmid! --- auto_backup/i18n/de.po | 299 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 299 insertions(+) create mode 100644 auto_backup/i18n/de.po diff --git a/auto_backup/i18n/de.po b/auto_backup/i18n/de.po new file mode 100644 index 00000000000..7320d2875e4 --- /dev/null +++ b/auto_backup/i18n/de.po @@ -0,0 +1,299 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * auto_backup +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-03-26 14:17+0000\n" +"PO-Revision-Date: 2015-04-17 11:24+0100\n" +"Last-Translator: Martin Schmid \n" +"Language-Team: Equitania Software GmbH \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.7.5\n" +"Language: de\n" +"X-Poedit-SourceCharset: UTF-8\n" + +#. module: auto_backup +#: code:addons/auto_backup/backup_scheduler.py:137 +#, python-format +msgid "%s" +msgstr "%s" + +#. module: auto_backup +#: help:db.backup,bkp_dir:0 +msgid "Absolute path for storing the backups" +msgstr "Absoluter Pfad zum Speichern der Sicherungen" + +#. module: auto_backup +#: field:db.backup,sendmailsftpfail:0 +msgid "Auto. E-mail on backup fail" +msgstr "Auto. E-Mail, wenn Datensicherung fehlschlägt" + +#. module: auto_backup +#: field:db.backup,autoremove:0 +msgid "Auto. Remove Backups" +msgstr "Auto. Entfernen von Sicherungen" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Automatic backups of the database can be scheduled as follows:" +msgstr "Automatische Sicherungen der Datenbank können wie folgt geplant werden:" + +#. module: auto_backup +#: field:db.backup,bkp_dir:0 +msgid "Backup Directory" +msgstr "Sicherungs-Verzeichnis" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_tree +msgid "Backups" +msgstr "Sicherungen" + +#. module: auto_backup +#: help:db.backup,daystokeepsftp:0 +msgid "" +"Choose after how many days the backup should be deleted from the FTP server. For example:\n" +"If you fill in 5 the backups will be removed after 5 days from the FTP server." +msgstr "" +"Wählen Sie, nach wie vielen Tagen die Sicherung vom FTP-Server gelöscht werden soll. Beispiel: \n" +"Wenn Sie \"5\" angeben, werden die Sicherungen nach 5 Tagen vom FTP-Server entfernt." + +#. module: auto_backup +#: help:db.backup,daystokeep:0 +msgid "" +"Choose after how many days the backup should be deleted. For example:\n" +"If you fill in 5 the backups will be removed after 5 days." +msgstr "" +"Wählen Sie, nach wie vielen Tagen die Sicherung vom FTP-Server gelöscht werden soll. Beispiel: \n" +"Wenn Sie \"5\" angeben, werden die Sicherungen nach 5 Tagen vom FTP-Server entfernt." + +#. module: auto_backup +#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form +#: model:ir.ui.menu,name:auto_backup.backup_conf_menu +msgid "Configure Backup" +msgstr "Backup einstellen" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Contact us!" +msgstr "Sprechen Sie uns an!" + +#. module: auto_backup +#: field:db.backup,create_uid:0 +msgid "Created by" +msgstr "Erstellt von" + +#. module: auto_backup +#: field:db.backup,create_date:0 +msgid "Created on" +msgstr "Erstellt am:" + +#. module: auto_backup +#: field:db.backup,name:0 +msgid "Database" +msgstr "Datenbank" + +#. module: auto_backup +#: help:db.backup,name:0 +msgid "Database you want to schedule backups for" +msgstr "Datenbank Sicherungen einplanen für" + +#. module: auto_backup +#: field:db.backup,emailtonotify:0 +msgid "E-mail to notify" +msgstr "E-Mail Benachrichtigen" + +#. module: auto_backup +#: code:addons/auto_backup/backup_scheduler.py:106 constraint:db.backup:0 +#, python-format +msgid "Error ! No such database exists!" +msgstr "Fehler! Keine solche Datenbank vorhanden!" + +#. module: auto_backup +#: help:db.backup,emailtonotify:0 +msgid "Fill in the e-mail where you want to be notified that the backup failed on the FTP." +msgstr "Geben Sie die E-Mail-Adresse an, die bei Sicherungsfehlern auf dem FTP verwendet werden soll." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "For example: /odoo/backups/" +msgstr "Zum Beispiel: /odoo/Backups /" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Go to Settings / Technical / Automation / Scheduled Actions." +msgstr "Gehen Sie zu Einstellungen / Technisch / Automation / Geplante Vorgänge" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Help" +msgstr "Hilfe" + +#. module: auto_backup +#: field:db.backup,host:0 +msgid "Host" +msgstr "Host" + +#. module: auto_backup +#: field:db.backup,id:0 +msgid "ID" +msgstr "ID" + +#. module: auto_backup +#: field:db.backup,sftpip:0 +msgid "IP Address SFTP Server" +msgstr "IP-Adresse SFTP-Server" + +#. module: auto_backup +#: help:db.backup,sendmailsftpfail:0 +msgid "If you check this option you can choose to automaticly get e-mailed when the backup to the external server failed." +msgstr "Wenn Sie diese Option aktivieren, erhalten Sie automatisch eine e-Mail, wenn die Sicherung mit dem externen Server fehlgeschlagen ist." + +#. module: auto_backup +#: help:db.backup,autoremove:0 +msgid "If you check this option you can choose to automaticly remove the backup after xx days" +msgstr "Wenn Sie diese Option aktivieren, können Sie die Sicherung automatisch nach Xx Tagen entfernen" + +#. module: auto_backup +#: help:db.backup,sftpwrite:0 +msgid "If you check this option you can specify the details needed to write to a remote server with SFTP." +msgstr "Wenn Sie diese Option aktivieren, können Sie Details für einen entfernten SFTP-Server angeben." + +#. module: auto_backup +#: field:db.backup,write_uid:0 +msgid "Last Updated by" +msgstr "Zuletzt aktualisiert von" + +#. module: auto_backup +#: field:db.backup,write_date:0 +msgid "Last Updated on" +msgstr "Zuletzt aktualisiert am" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Local backup configuration" +msgstr "Lokale Sicherungs-Konfiguration" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Need more help?" +msgstr "Benötigen Sie weitere Hilfe?" + +#. module: auto_backup +#: field:db.backup,sftppassword:0 +msgid "Password User SFTP Server" +msgstr "Passwort Benutzer SFTP-Server" + +#. module: auto_backup +#: field:db.backup,sftppath:0 +msgid "Path external server" +msgstr "Externen Server Pfad" + +#. module: auto_backup +#: field:db.backup,port:0 +msgid "Port" +msgstr "Port" + +#. module: auto_backup +#: field:db.backup,daystokeepsftp:0 +msgid "Remove SFTP after x days" +msgstr "SFTP nach x Tagen entfernen" + +#. module: auto_backup +#: field:db.backup,daystokeep:0 +msgid "Remove after x days" +msgstr "Entfernen nach x Tagen" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "SFTP" +msgstr "SFTP" + +#. module: auto_backup +#: field:db.backup,sftpport:0 +msgid "SFTP Port" +msgstr "SFTP-Port" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_search +msgid "Search options" +msgstr "Suchkriterien" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Search the action named 'Backup scheduler'." +msgstr "Suchen Sie die Aktion mit dem Namen \"Backup Scheduler\"." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Set the scheduler to active and fill in how often you want backups generated." +msgstr "Setzen Sie die Aktion auf aktiv und geben Sie an wie oft die Sicherungen erstellt werden soll." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Test" +msgstr "Test" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Test SFTP Connection" +msgstr "Verbindung testen" + +#. module: auto_backup +#: help:db.backup,sftpip:0 +msgid "The IP address from your remote server. For example 192.168.0.1" +msgstr "Die IP-Adresse Ihres entfernten Servers. Zum Beispiel 192.168.0.1" + +#. module: auto_backup +#: help:db.backup,sftppath:0 +msgid "" +"The location to the folder where the dumps should be written to. For example /odoo/backups/.\n" +"Files will then be written to /odoo/backups/ on your remote server." +msgstr "" +"Der Speicherort für den Ordner an dem die Sicherungen in gespeichert werden sollen. Zum Beispiel wird /odoo/backups/.\n" +"Files geschrieben zu /odoo/backups / / auf dem remote Server." + +#. module: auto_backup +#: help:db.backup,sftppassword:0 +msgid "The password from the user where the SFTP connection should be made with. This is the password from the user on the external server." +msgstr "Das Kennwort des Benutzers mit dem die SFTP-Verbindung mit hergestellt werden soll. Dies ist das Kennwort des Benutzers auf dem externen Server." + +#. module: auto_backup +#: help:db.backup,sftpport:0 +msgid "The port on the FTP server that accepts SSH/SFTP calls." +msgstr "Der Port auf dem FTP-Server, der SSH/SFTP Anfragen annimmt." + +#. module: auto_backup +#: help:db.backup,sftpusername:0 +msgid "The username where the SFTP connection should be made with. This is the user on the external server." +msgstr "Der Benutzername mit dem die SFTP-Verbindung mit hergestellt werden soll. Dies ist der Benutzer auf dem externen Server." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "This configures the scheduler for automatic backup of the given database running on given host at given port on regular intervals." +msgstr "Dies ist Konfiguration der Aktion automatisierte Backups der Datenbank auf dem angegebenen Server durchzuführen." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Use SFTP with caution! This writes files to external servers under the path you specify." +msgstr "Verwenden Sie SFTP mit Vorsicht! Dies schreibt Dateien auf externen Servern unter dem Pfad, den Sie angeben." + +#. module: auto_backup +#: field:db.backup,sftpusername:0 +msgid "Username SFTP Server" +msgstr "Benutzername SFTP-Server" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Warning:" +msgstr "Warnung:" + +#. module: auto_backup +#: field:db.backup,sftpwrite:0 +msgid "Write to external server with sftp" +msgstr "Auf externen Server mit SFTP schreiben" From 4a2e29dbda4c6efeaca9bb55c79b99597fa48f60 Mon Sep 17 00:00:00 2001 From: Yenthe Date: Thu, 7 May 2015 15:54:08 +0200 Subject: [PATCH 07/54] Typo fix could'nt > couldn't --- auto_backup/backup_scheduler.py | 267 ++++++++++++++++++++++++++++++++ 1 file changed, 267 insertions(+) create mode 100644 auto_backup/backup_scheduler.py diff --git a/auto_backup/backup_scheduler.py b/auto_backup/backup_scheduler.py new file mode 100644 index 00000000000..6ec77a90318 --- /dev/null +++ b/auto_backup/backup_scheduler.py @@ -0,0 +1,267 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). All Rights Reserved +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + +import xmlrpclib +import socket +import os +import time +import datetime +import base64 +import re +try: + import pysftp +except ImportError: + raise ImportError('This module needs pysftp to automaticly write backups to the FTP through SFTP.Please install pysftp on your system.(sudo pip install pysftp)') +from openerp.osv import fields,osv,orm +from openerp import tools +from openerp import netsvc +from openerp import tools, _ +import logging +_logger = logging.getLogger(__name__) + +def execute(connector, method, *args): + res = False + try: + res = getattr(connector,method)(*args) + except socket.error,e: + raise e + return res + +addons_path = tools.config['addons_path'] + '/auto_backup/DBbackups' + +class db_backup(osv.Model): + _name = 'db.backup' + + def get_db_list(self, cr, user, ids, host, port, context={}): + print("Host: " + host) + print("Port: " + port) + uri = 'http://' + host + ':' + port + conn = xmlrpclib.ServerProxy(uri + '/xmlrpc/db') + db_list = execute(conn, 'list') + return db_list + + def _get_db_name(self,cr,uid, vals,context=None): + attach_pool = self.pool.get("ir.logging") + dbName = cr.dbname + return dbName + + _columns = { + #Columns local server + 'host' : fields.char('Host', size=100, required='True'), + 'port' : fields.char('Port', size=10, required='True'), + 'name' : fields.char('Database', size=100, required='True',help='Database you want to schedule backups for'), + 'bkp_dir' : fields.char('Backup Directory', size=100, help='Absolute path for storing the backups', required='True'), + 'autoremove': fields.boolean('Auto. Remove Backups', help="If you check this option you can choose to automaticly remove the backup after xx days"), + 'daystokeep': fields.integer('Remove after x days', + help="Choose after how many days the backup should be deleted. For example:\nIf you fill in 5 the backups will be removed after 5 days.",required=True), + #Columns for external server (SFTP) + 'sftpwrite': fields.boolean('Write to external server with sftp', help="If you check this option you can specify the details needed to write to a remote server with SFTP."), + 'sftppath': fields.char('Path external server', help="The location to the folder where the dumps should be written to. For example /odoo/backups/.\nFiles will then be written to /odoo/backups/ on your remote server."), + 'sftpip': fields.char('IP Address SFTP Server', help="The IP address from your remote server. For example 192.168.0.1"), + 'sftpport': fields.integer("SFTP Port", help="The port on the FTP server that accepts SSH/SFTP calls."), + 'sftpusername': fields.char('Username SFTP Server', help="The username where the SFTP connection should be made with. This is the user on the external server."), + 'sftppassword': fields.char('Password User SFTP Server', help="The password from the user where the SFTP connection should be made with. This is the password from the user on the external server."), + 'daystokeepsftp': fields.integer('Remove SFTP after x days', help="Choose after how many days the backup should be deleted from the FTP server. For example:\nIf you fill in 5 the backups will be removed after 5 days from the FTP server."), + 'sendmailsftpfail': fields.boolean('Auto. E-mail on backup fail', help="If you check this option you can choose to automaticly get e-mailed when the backup to the external server failed."), + 'emailtonotify': fields.char('E-mail to notify', help="Fill in the e-mail where you want to be notified that the backup failed on the FTP."), + } + + _defaults = { + #'bkp_dir' : lambda *a : addons_path, + 'bkp_dir' : '/odoo/backups', + 'host' : lambda *a : 'localhost', + 'port' : lambda *a : '8069', + 'name': _get_db_name, + 'daystokeepsftp': 30, + 'sftpport': 22, + } + + def _check_db_exist(self, cr, user, ids): + for rec in self.browse(cr,user,ids): + db_list = self.get_db_list(cr, user, ids, rec.host, rec.port) + if rec.name in db_list: + return True + return False + + _constraints = [ + (_check_db_exist, _('Error ! No such database exists!'), []) + ] + + + def test_sftp_connection(self, cr, uid, ids, context=None): + conf_ids= self.search(cr, uid, []) + confs = self.browse(cr,uid,conf_ids) + #Check if there is a success or fail and write messages + messageTitle = "" + messageContent = "" + for rec in confs: + db_list = self.get_db_list(cr, uid, [], rec.host, rec.port) + try: + pathToWriteTo = rec.sftppath + ipHost = rec.sftpip + portHost = rec.sftpport + usernameLogin = rec.sftpusername + passwordLogin = rec.sftppassword + #Connect with external server over SFTP, so we know sure that everything works. + srv = pysftp.Connection(host=ipHost, username=usernameLogin, +password=passwordLogin,port=portHost) + srv.close() + #We have a success. + messageTitle = "Connection Test Succeeded!" + messageContent = "Everything seems properly set up for FTP back-ups!" + except Exception, e: + messageTitle = "Connection Test Failed!" + if len(rec.sftpip) < 8: + messageContent += "\nYour IP address seems to be too short.\n" + messageContent += "Here is what we got instead:\n" + if "Failed" in messageTitle: + raise osv.except_osv(_(messageTitle), _(messageContent + "%s") % tools.ustr(e)) + else: + raise osv.except_osv(_(messageTitle), _(messageContent)) + + def schedule_backup(self, cr, user, context={}): + conf_ids= self.search(cr, user, []) + confs = self.browse(cr,user,conf_ids) + for rec in confs: + db_list = self.get_db_list(cr, user, [], rec.host, rec.port) + if rec.name in db_list: + try: + if not os.path.isdir(rec.bkp_dir): + os.makedirs(rec.bkp_dir) + except: + raise + #Create name for dumpfile. + bkp_file='%s_%s.dump' % (time.strftime('%d_%m_%Y_%H_%M_%S'),rec.name) + file_path = os.path.join(rec.bkp_dir,bkp_file) + fp = open(file_path,'wb') + uri = 'http://' + rec.host + ':' + rec.port + conn = xmlrpclib.ServerProxy(uri + '/xmlrpc/db') + bkp='' + try: + bkp = execute(conn, 'dump', tools.config['admin_passwd'], rec.name) + except: + logger.notifyChannel('backup', netsvc.LOG_INFO, "Could'nt backup database %s. Bad database administrator password for server running at http://%s:%s" %(rec.name, rec.host, rec.port)) + continue + bkp = base64.decodestring(bkp) + fp.write(bkp) + fp.close() + else: + logger.notifyChannel('backup', netsvc.LOG_INFO, "database %s doesn't exist on http://%s:%s" %(rec.name, rec.host, rec.port)) + + #Check if user wants to write to SFTP or not. + if rec.sftpwrite is True: + try: + #Store all values in variables + dir = rec.bkp_dir + pathToWriteTo = rec.sftppath + ipHost = rec.sftpip + portHost = rec.sftpport + usernameLogin = rec.sftpusername + passwordLogin = rec.sftppassword + #Connect with external server over SFTP + srv = pysftp.Connection(host=ipHost, username=usernameLogin, +password=passwordLogin, port=portHost) + #Move to the correct directory on external server. If the user made a typo in his path with multiple slashes (/odoo//backups/) it will be fixed by this regex. + pathToWriteTo = re.sub('([/]{2,5})+','/',pathToWriteTo) + print(pathToWriteTo) + try: + srv.chdir(pathToWriteTo) + except IOError: + #Create directory and subdirs if they do not exist. + currentDir = '' + for dirElement in pathToWriteTo.split('/'): + currentDir += dirElement + '/' + try: + srv.chdir(currentDir) + except: + print('(Part of the) path didn\'t exist. Creating it now at ' + currentDir) + #Make directory and then navigate into it + srv.mkdir(currentDir, mode=777) + srv.chdir(currentDir) + pass + srv.chdir(pathToWriteTo) + #Loop over all files in the directory. + for f in os.listdir(dir): + fullpath = os.path.join(dir, f) + if os.path.isfile(fullpath): + print(fullpath) + srv.put(fullpath) + + #Navigate in to the correct folder. + srv.chdir(pathToWriteTo) + + #Loop over all files in the directory from the back-ups. + #We will check the creation date of every back-up. + for file in srv.listdir(pathToWriteTo): + #Get the full path + fullpath = os.path.join(pathToWriteTo,file) + #Get the timestamp from the file on the external server + timestamp = srv.stat(fullpath).st_atime + createtime = datetime.datetime.fromtimestamp(timestamp) + now = datetime.datetime.now() + delta = now - createtime + #If the file is older than the daystokeepsftp (the days to keep that the user filled in on the Odoo form it will be removed. + if delta.days >= rec.daystokeepsftp: + #Only delete files, no directories! + if srv.isfile(fullpath) and ".dump" in file: + print("Delete: " + file) + srv.unlink(file) + #Close the SFTP session. + srv.close() + except Exception, e: + _logger.debug('Exception! We couldn\'t back up to the FTP server..') + #At this point the SFTP backup failed. We will now check if the user wants + #an e-mail notification about this. + if rec.sendmailsftpfail: + try: + ir_mail_server = self.pool.get('ir.mail_server') + message = "Dear,\n\nThe backup for the server " + rec.host + " (IP: " + rec.sftpip + ") failed.Please check the following details:\n\nIP address SFTP server: " + rec.sftpip + "\nUsername: " + rec.sftpusername + "\nPassword: " + rec.sftppassword + "\n\nError details: " + tools.ustr(e) + "\n\nWith kind regards" + msg = ir_mail_server.build_email("auto_backup@" + rec.name + ".com", [rec.emailtonotify], "Backup from " + rec.host + "(" + rec.sftpip + ") failed", message) + ir_mail_server.send_email(cr, user, msg) + except Exception: + pass + + """Remove all old files (on local server) in case this is configured.. + This is done after the SFTP writing to prevent unusual behaviour: + If the user would set local back-ups to be kept 0 days and the SFTP + to keep backups xx days there wouldn't be any new back-ups added to the + SFTP. + If we'd remove the dump files before they're writen to the SFTP there willbe nothing to write. Meaning that if an user doesn't want to keep back-ups locally and only wants them on the SFTP (NAS for example) there wouldn't be any writing to the remote server if this if statement was before the SFTP write method right above this comment. + """ + if rec.autoremove is True: + dir = rec.bkp_dir + #Loop over all files in the directory. + for f in os.listdir(dir): + fullpath = os.path.join(dir, f) + timestamp = os.stat(fullpath).st_ctime + createtime = datetime.datetime.fromtimestamp(timestamp) + now = datetime.datetime.now() + delta = now - createtime + if delta.days >= rec.daystokeep: + #Only delete files (which are .dump), no directories. + if os.path.isfile(fullpath) and ".dump" in f: + print("Delete: " + fullpath) + os.remove(fullpath) + +db_backup() + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file From f79437ad9ad2c8a3c0268526b2f682c1a9a85996 Mon Sep 17 00:00:00 2001 From: Yenthe Date: Mon, 11 May 2015 14:26:39 +0200 Subject: [PATCH 08/54] Flemish translations Flemish translations are identical to Dutch. --- auto_backup/i18n/nl_BE.po | 292 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 292 insertions(+) create mode 100644 auto_backup/i18n/nl_BE.po diff --git a/auto_backup/i18n/nl_BE.po b/auto_backup/i18n/nl_BE.po new file mode 100644 index 00000000000..8d739798b29 --- /dev/null +++ b/auto_backup/i18n/nl_BE.po @@ -0,0 +1,292 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * auto_backup +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-03-26 14:17+0000\n" +"PO-Revision-Date: 2015-03-26 14:17+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: auto_backup +#: code:addons/auto_backup/backup_scheduler.py:137 +#, python-format +msgid "%s" +msgstr "%s" + +#. module: auto_backup +#: help:db.backup,bkp_dir:0 +msgid "Absolute path for storing the backups" +msgstr "Absoluut pad om backups te bewaren" + +#. module: auto_backup +#: field:db.backup,sendmailsftpfail:0 +msgid "Auto. E-mail on backup fail" +msgstr "Auto. e-mailen wanneer backup mislukt" + +#. module: auto_backup +#: field:db.backup,autoremove:0 +msgid "Auto. Remove Backups" +msgstr "Auto. backups verwijderen" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Automatic backups of the database can be scheduled as follows:" +msgstr "Automatische backups van de database kunnen als volgend gepland worden:" + +#. module: auto_backup +#: field:db.backup,bkp_dir:0 +msgid "Backup Directory" +msgstr "Backup folder" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_tree +msgid "Backups" +msgstr "Backups" + +#. module: auto_backup +#: help:db.backup,daystokeepsftp:0 +msgid "Choose after how many days the backup should be deleted from the FTP server. For example:\n" +"If you fill in 5 the backups will be removed after 5 days from the FTP server." +msgstr "Kies na hoeveel dagen de backups verwijderd moeten worden van de FTP server. Bijvoorbeeld:\n" +"Als u 5 invult zal de backup na 5 dagen verwijderd worden van de FTP server." + +#. module: auto_backup +#: help:db.backup,daystokeep:0 +msgid "Choose after how many days the backup should be deleted. For example:\n" +"If you fill in 5 the backups will be removed after 5 days." +msgstr "Kies na hoeveel dagen de backup verwijderd moet worden. Bijvoorbeeld:\n" +"Als u 5 invult zal de backup verwijderd worden na 5 dagen." + +#. module: auto_backup +#: model:ir.actions.act_window,name:auto_backup.action_backup_conf_form +#: model:ir.ui.menu,name:auto_backup.backup_conf_menu +msgid "Configure Backup" +msgstr "Configureer backup" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Contact us!" +msgstr "Contacteer ons!" + +#. module: auto_backup +#: field:db.backup,create_uid:0 +msgid "Created by" +msgstr "Gemaakt door" + +#. module: auto_backup +#: field:db.backup,create_date:0 +msgid "Created on" +msgstr "Gemaakt op" + +#. module: auto_backup +#: field:db.backup,name:0 +msgid "Database" +msgstr "Database" + +#. module: auto_backup +#: help:db.backup,name:0 +msgid "Database you want to schedule backups for" +msgstr "Database waar u backups voor wilt plannen" + +#. module: auto_backup +#: field:db.backup,emailtonotify:0 +msgid "E-mail to notify" +msgstr "E-mail om te verwittigen" + +#. module: auto_backup +#: code:addons/auto_backup/backup_scheduler.py:106 +#: constraint:db.backup:0 +#, python-format +msgid "Error ! No such database exists!" +msgstr "Error! Deze database bestaat niet!" + +#. module: auto_backup +#: help:db.backup,emailtonotify:0 +msgid "Fill in the e-mail where you want to be notified that the backup failed on the FTP." +msgstr "Vul de e-mail in waarop u wilt verwittigd worden als de backup mislukt op de FTP." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "For example: /odoo/backups/" +msgstr "Bijvoorbeeld: /odoo/backups/" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Go to Settings / Technical / Automation / Scheduled Actions." +msgstr "Ga naar Instellingen / Technsich / Automatisering / Geplande acties" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Help" +msgstr "Help" + +#. module: auto_backup +#: field:db.backup,host:0 +msgid "Host" +msgstr "Host" + +#. module: auto_backup +#: field:db.backup,id:0 +msgid "ID" +msgstr "ID" + +#. module: auto_backup +#: field:db.backup,sftpip:0 +msgid "IP Address SFTP Server" +msgstr "IP adres SFTP server" + +#. module: auto_backup +#: help:db.backup,sendmailsftpfail:0 +msgid "If you check this option you can choose to automaticly get e-mailed when the backup to the external server failed." +msgstr "Als u deze optie aanvinkt kan u kiezen om automatisch een e-mail aan te krijgen als de backup +naar de externe server mislukt." + +#. module: auto_backup +#: help:db.backup,autoremove:0 +msgid "If you check this option you can choose to automaticly remove the backup after xx days" +msgstr "Als u deze optie aanvinkt kan u kiezen om automatisch backups te verwijderen na xx dagen" + +#. module: auto_backup +#: help:db.backup,sftpwrite:0 +msgid "If you check this option you can specify the details needed to write to a remote server with SFTP." +msgstr "Als u deze optie aanvinkt kan u de details invullen die nodig zijn om te connecteren met de externe SFTP server." + +#. module: auto_backup +#: field:db.backup,write_uid:0 +msgid "Last Updated by" +msgstr "Laatst bijgewerkt door" + +#. module: auto_backup +#: field:db.backup,write_date:0 +msgid "Last Updated on" +msgstr "Laatst bijgewerkt op" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Local backup configuration" +msgstr "Lokale backup configuratie" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Need more help?" +msgstr "Meer hulp nodig?" + +#. module: auto_backup +#: field:db.backup,sftppassword:0 +msgid "Password User SFTP Server" +msgstr "Wachtwoord gebruiker SFTP server" + +#. module: auto_backup +#: field:db.backup,sftppath:0 +msgid "Path external server" +msgstr "Pad externe server" + +#. module: auto_backup +#: field:db.backup,port:0 +msgid "Port" +msgstr "Poort" + +#. module: auto_backup +#: field:db.backup,daystokeepsftp:0 +msgid "Remove SFTP after x days" +msgstr "SFTP verwijderen na x dagen" + +#. module: auto_backup +#: field:db.backup,daystokeep:0 +msgid "Remove after x days" +msgstr "Verwijderen na x dagen" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "SFTP" +msgstr "SFTP" + +#. module: auto_backup +#: field:db.backup,sftpport:0 +msgid "SFTP Port" +msgstr "SFTP poort" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_search +msgid "Search options" +msgstr "Zoekopties" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Search the action named 'Backup scheduler'." +msgstr "Zoek de actie genaamd 'Backup scheduler'." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Set the scheduler to active and fill in how often you want backups generated." +msgstr "Zet de planner op actief en vul in hoe vaak de backup moet gemaakt worden." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Test" +msgstr "Test" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Test SFTP Connection" +msgstr "Test SFTP Connectie" + +#. module: auto_backup +#: help:db.backup,sftpip:0 +msgid "The IP address from your remote server. For example 192.168.0.1" +msgstr "Het IP adres van uw externe server. Bijvoorbeeld: 192.168.0.1" + +#. module: auto_backup +#: help:db.backup,sftppath:0 +msgid "The location to the folder where the dumps should be written to. For example /odoo/backups/.\n" +"Files will then be written to /odoo/backups/ on your remote server." +msgstr "De locatie naar de folder waar de backup naar toe moet geschreven worden. Bijvoorbeeld odoo/backups/\n" +"Bestanden worden dan naar /odoo/backups/ geschreven op de externe server" + +#. module: auto_backup +#: help:db.backup,sftppassword:0 +msgid "The password from the user where the SFTP connection should be made with. This is the password from the user on the external server." +msgstr "Het wachtwoord van de gebruiker waar de SFTP connectie mee moet gemaakt worden. Dit is het wachtwoord van de gebruiker op de externe server." + +#. module: auto_backup +#: help:db.backup,sftpport:0 +msgid "The port on the FTP server that accepts SSH/SFTP calls." +msgstr "De poort op de FTP server die SSH/SFTP accepteert." + +#. module: auto_backup +#: help:db.backup,sftpusername:0 +msgid "The username where the SFTP connection should be made with. This is the user on the external server." +msgstr "De gebruikersnaam waar de SFTP connectie mee gemaakt moet worden. Dit is de gebruiker op de externe server." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "This configures the scheduler for automatic backup of the given database running on given host at given port on regular intervals." +msgstr "Dit configureert de planner voor automatische backups op de ingegeven database waar de host, poort en database op zijn ingegeven voor reguliere intervallen." + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Use SFTP with caution! This writes files to external servers under the path you specify." +msgstr "Gebruik SFTP voorzichtig! Dit schrijft bestanden naar externe servers onder het pad dat u opgeeft." + +#. module: auto_backup +#: field:db.backup,sftpusername:0 +msgid "Username SFTP Server" +msgstr "Gebruikersnaam SFTP Server" + +#. module: auto_backup +#: view:db.backup:auto_backup.view_backup_conf_form +msgid "Warning:" +msgstr "Waarschuwing:" + +#. module: auto_backup +#: field:db.backup,sftpwrite:0 +msgid "Write to external server with sftp" +msgstr "Schrijf naar externe server met SFTP" From fae703d6164ad8539c29897421dd2317f8ddfd35 Mon Sep 17 00:00:00 2001 From: Alessio Gerace Date: Mon, 11 May 2015 14:50:32 +0200 Subject: [PATCH 09/54] 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. --- auto_backup/backup_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_backup/backup_scheduler.py b/auto_backup/backup_scheduler.py index 6ec77a90318..cf23b402cf3 100644 --- a/auto_backup/backup_scheduler.py +++ b/auto_backup/backup_scheduler.py @@ -152,7 +152,6 @@ def schedule_backup(self, cr, user, context={}): #Create name for dumpfile. bkp_file='%s_%s.dump' % (time.strftime('%d_%m_%Y_%H_%M_%S'),rec.name) file_path = os.path.join(rec.bkp_dir,bkp_file) - fp = open(file_path,'wb') uri = 'http://' + rec.host + ':' + rec.port conn = xmlrpclib.ServerProxy(uri + '/xmlrpc/db') bkp='' @@ -162,6 +161,7 @@ def schedule_backup(self, cr, user, context={}): logger.notifyChannel('backup', netsvc.LOG_INFO, "Could'nt backup database %s. Bad database administrator password for server running at http://%s:%s" %(rec.name, rec.host, rec.port)) continue bkp = base64.decodestring(bkp) + fp = open(file_path,'wb') fp.write(bkp) fp.close() else: From 7c9aed126fe6bece104c9035876d240347de7227 Mon Sep 17 00:00:00 2001 From: Alessio Gerace Date: Tue, 14 Jul 2015 11:22:24 +0200 Subject: [PATCH 10/54] Porting module to OCA 8.0 --- auto_backup/README.rst | 99 ++++++++++++ auto_backup/__openerp__.py | 40 +++++ auto_backup/backup_data.xml | 18 +++ auto_backup/bkp_conf_view.xml | 112 +++++++++++++ auto_backup/data/backup_data.xml | 18 +++ auto_backup/i18n/ca.po | 157 +++++++++++++++++++ auto_backup/i18n/fr_BE.po | 141 +++++++++++++++++ auto_backup/{ => model}/backup_scheduler.py | 0 auto_backup/static/description/index.html | 100 ++++++++++++ auto_backup/static/description/no_index.html | 100 ++++++++++++ auto_backup/view/bkp_conf_view.xml | 112 +++++++++++++ 11 files changed, 897 insertions(+) create mode 100644 auto_backup/README.rst create mode 100644 auto_backup/__openerp__.py create mode 100644 auto_backup/backup_data.xml create mode 100644 auto_backup/bkp_conf_view.xml create mode 100644 auto_backup/data/backup_data.xml create mode 100644 auto_backup/i18n/ca.po create mode 100644 auto_backup/i18n/fr_BE.po rename auto_backup/{ => model}/backup_scheduler.py (100%) create mode 100644 auto_backup/static/description/index.html create mode 100644 auto_backup/static/description/no_index.html create mode 100644 auto_backup/view/bkp_conf_view.xml diff --git a/auto_backup/README.rst b/auto_backup/README.rst new file mode 100644 index 00000000000..123008f4c28 --- /dev/null +++ b/auto_backup/README.rst @@ -0,0 +1,99 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :alt: License: AGPL-3 + +Automated backups +=========== + +A tool for all your back-ups, internal and external! + +Installation +============ + +Before to install this module, you need to: + +instal pysftp via pip. + +Configuration +============= + +To configure this module, you need to: + +* go to ... + +Usage +===== + + +Keep your Odoo data safe with this module. Take automated back-ups, +remove them automatically and even write them to an external server +through an encrypted tunnel. You can even specify how long local backups +and external backups should be kept, automatically! + + +Connect with an FTP Server +-------------------------- + +#### Keep your data safe, through an SSH tunnel! + +Want to go even further and write your backups to an external server? +You can with this module! Specify the credentials to the server, specify +a path and everything will be backed up automatically. This is done +through an SSH (encrypted) tunnel, thanks to pysftp, so your data is +safe! + +Test connection +--------------- + +#### Checks your credentials in one click + +Want to make sure if the connection details are correct and if Odoo can +automatically write them to the remote server? Simply click on the ‘Test +SFTP Connection’ button and you will get message telling you if +everything is OK, or what is wrong! + +E-mail on backup failure +------------------------ + +#### Stay informed of problems, automatically! + +Do you want to know if the database backup failed? Check the checkbox 'Auto. E-mail on backup fail' and fill in your e-mail. +Every time a backup fails you will get an e-mail in your mailbox with technical details. + + +Known issues / Roadmap +====================== + +* ... + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed feedback +`here `_. + + +Credits +======= + +Contributors +------------ + +* Yenthe Van Ginneken +* Alessio Gerace + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit http://odoo-community.org. \ No newline at end of file diff --git a/auto_backup/__openerp__.py b/auto_backup/__openerp__.py new file mode 100644 index 00000000000..a72d57c43b2 --- /dev/null +++ b/auto_backup/__openerp__.py @@ -0,0 +1,40 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). All Rights Reserved +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + +{ + "name" : "Database Auto-Backup", + "version" : "1.0", + "author" : "VanRoey.be - Yenthe Van Ginneken, Agile Business Group", + "website" : "http://www.vanroey.be/applications/bedrijfsbeheer/odoo", + "category" : "Tools", + "summary": "Backups data base", + "depends" : ['base'], + "init_xml" : [], + "demo_xml" : [], + "update_xml" : [ + "view/bkp_conf_view.xml", + "data/backup_data.xml" + ], + "active": False, + "installable": True +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/auto_backup/backup_data.xml b/auto_backup/backup_data.xml new file mode 100644 index 00000000000..0ab3c103149 --- /dev/null +++ b/auto_backup/backup_data.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/auto_backup/bkp_conf_view.xml b/auto_backup/bkp_conf_view.xml new file mode 100644 index 00000000000..27e56937e61 --- /dev/null +++ b/auto_backup/bkp_conf_view.xml @@ -0,0 +1,112 @@ + + + + + Configure Backup + db.backup + form + +
+ + + + + + + + + + + + + + + +
Warning: Use SFTP with caution! This writes files to external servers under the path you specify.
+ + + + + + + + + + +