From 744bfb8cc170cad94895a93409916c4624f36eec Mon Sep 17 00:00:00 2001 From: Numerigraphe - Lionel Sausin Date: Wed, 24 Mar 2010 17:37:24 +0100 Subject: [IMP] wording: "children" intead of "childs" lp bug: https://launchpad.net/bugs/327259 fixed bzr revid: ls@numerigraphe.fr-20100324163724-q1xe1ozomk23k17j --- addons/document_webdav/DAV/davcmd.py | 2 +- addons/document_webdav/DAV/iface.py | 2 +- addons/document_webdav/DAV/propfind.py | 4 ++-- addons/document_webdav/DAV/utils.py | 12 ++++++------ addons/document_webdav/dav_fs.py | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) (limited to 'addons/document_webdav') diff --git a/addons/document_webdav/DAV/davcmd.py b/addons/document_webdav/DAV/davcmd.py index 5c6be3ff9f7..397e5e50aa3 100644 --- a/addons/document_webdav/DAV/davcmd.py +++ b/addons/document_webdav/DAV/davcmd.py @@ -39,7 +39,7 @@ def deltree(dc,uri,exclude={}): # test here, if an element is a prefix of an uri which # generated an error before. - # note that we walk here from childs to parents, thus + # note that we walk here from children to parents, thus # we cannot delete a parent if a child made a problem. # (see example in 8.6.2.1) ok=1 diff --git a/addons/document_webdav/DAV/iface.py b/addons/document_webdav/DAV/iface.py index c8f5fe2594d..a365aba3e46 100644 --- a/addons/document_webdav/DAV/iface.py +++ b/addons/document_webdav/DAV/iface.py @@ -199,7 +199,7 @@ class dav_interface: To decide which approach is the best you have to decide if your application is able to generate errors inside a tree. E.g. a function which completely - fails on a tree if one of the tree's childs fail is not what we need. Then + fails on a tree if one of the tree's children fail is not what we need. Then 2) would be your way of doing it. Actually usually 2) is the better solution and should only be replaced by 1) if you really need it. diff --git a/addons/document_webdav/DAV/propfind.py b/addons/document_webdav/DAV/propfind.py index 0fb9c229c03..dff90f739c7 100755 --- a/addons/document_webdav/DAV/propfind.py +++ b/addons/document_webdav/DAV/propfind.py @@ -131,7 +131,7 @@ class PROPFIND: re=self.mk_propname_response(self.__uri,pnames,doc) ms.appendChild(re) - for newuri in dc.get_childs(self.__uri): + for newuri in dc.get_children(self.__uri): pnames=dc.get_propnames(newuri) re=self.mk_propname_response(newuri,pnames,doc) ms.appendChild(re) @@ -193,7 +193,7 @@ class PROPFIND: ms.appendChild(res) try: - for newuri in self.__dataclass.get_childs(self.__uri): + for newuri in self.__dataclass.get_children(self.__uri): gp,bp=self.get_propvalues(newuri) res=self.mk_prop_response(newuri,gp,bp,doc) ms.appendChild(res) diff --git a/addons/document_webdav/DAV/utils.py b/addons/document_webdav/DAV/utils.py index c4bb4d1a4c0..d66cf18dc92 100755 --- a/addons/document_webdav/DAV/utils.py +++ b/addons/document_webdav/DAV/utils.py @@ -88,15 +88,15 @@ def create_treelist(dataclass,uri): while len(queue): element=queue[-1] if dataclass.is_collection(element): - childs=dataclass.get_childs(element) + children=dataclass.get_children(element) else: - childs=[] - if len(childs): - list=list+childs + children=[] + if len(children): + list=list+children # update queue del queue[-1] - if len(childs): - queue=queue+childs + if len(children): + queue=queue+children return list def is_prefix(uri1,uri2): diff --git a/addons/document_webdav/dav_fs.py b/addons/document_webdav/dav_fs.py index 1acbfd7d5ec..312f1b42db2 100644 --- a/addons/document_webdav/dav_fs.py +++ b/addons/document_webdav/dav_fs.py @@ -142,9 +142,9 @@ class tinydav_handler(dav_interface): cr.close() return self.db_name_list - def get_childs(self,uri): + def get_children(self,uri): """ return the child objects as self.baseuris for the given URI """ - self.parent.log_message('get childs: %s' % uri) + self.parent.log_message('get children: %s' % uri) if uri[-1]=='/':uri=uri[:-1] cr, uid, pool, dbname, uri2 = self.get_cr(uri) @@ -160,7 +160,7 @@ class tinydav_handler(dav_interface): else: fp = node.full_path() if fp and len(fp): - self.parent.log_message('childs: @%s' % fp) + self.parent.log_message('children: @%s' % fp) fp = '/'.join(fp) else: fp = None -- cgit v1.2.3 From c1cb4b70d0b9c8df7dffa8706070ae682b5004f4 Mon Sep 17 00:00:00 2001 From: Numerigraphe - Lionel Sausin Date: Mon, 25 Oct 2010 10:48:51 +0200 Subject: [IMP] wording: children intead of childs (again) bzr revid: ls@numerigraphe.fr-20101025084851-3ri17e8ct5x7lue0 --- addons/document_webdav/dav_fs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/document_webdav') diff --git a/addons/document_webdav/dav_fs.py b/addons/document_webdav/dav_fs.py index 5d7fa2b5ec6..6b2a204b12f 100644 --- a/addons/document_webdav/dav_fs.py +++ b/addons/document_webdav/dav_fs.py @@ -307,7 +307,7 @@ class openerp_dav_handler(dav_interface): fp = node.full_path() if fp and len(fp): fp = '/'.join(fp) - self.parent.log_message('childs for: %s' % fp) + self.parent.log_message('children for: %s' % fp) else: fp = None domain = None @@ -345,7 +345,7 @@ class openerp_dav_handler(dav_interface): except DAV_Error: raise except Exception, e: - self.parent.log_error("cannot get_childs: "+ str(e)) + self.parent.log_error("cannot get_children: "+ str(e)) raise finally: if cr: cr.close() -- cgit v1.2.3 From 635e68beff475b41825921fcb5fa97a562b52446 Mon Sep 17 00:00:00 2001 From: Launchpad Translations on behalf of openerp <> Date: Tue, 28 Dec 2010 04:43:49 +0000 Subject: Launchpad automatic translations update. bzr revid: launchpad_translations_on_behalf_of_openerp-20101228043943-yn9g7d3fwe9zzqi1 bzr revid: launchpad_translations_on_behalf_of_openerp-20101228044349-82c2r8qkjdh917at --- addons/document_webdav/i18n/pl.po | 158 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 addons/document_webdav/i18n/pl.po (limited to 'addons/document_webdav') diff --git a/addons/document_webdav/i18n/pl.po b/addons/document_webdav/i18n/pl.po new file mode 100644 index 00000000000..29a50798fd1 --- /dev/null +++ b/addons/document_webdav/i18n/pl.po @@ -0,0 +1,158 @@ +# Polish translation for openobject-addons +# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2010-12-21 19:44+0000\n" +"PO-Revision-Date: 2010-12-27 14:21+0000\n" +"Last-Translator: Grzegorz Grzelak (Cirrus.pl) \n" +"Language-Team: Polish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2010-12-28 04:43+0000\n" +"X-Generator: Launchpad (build Unknown)\n" + +#. module: document_webdav +#: constraint:document.directory:0 +msgid "Error! You can not create recursive Directories." +msgstr "Błąd! Nie możesz tworzyć rekurencyjnych katalogów." + +#. module: document_webdav +#: view:document.webdav.dir.property:0 +#: field:document.webdav.dir.property,namespace:0 +msgid "Namespace" +msgstr "Przestrzeń nazw" + +#. module: document_webdav +#: field:document.directory,dav_prop_ids:0 +msgid "DAV properties" +msgstr "Właściwiości DAV" + +#. module: document_webdav +#: view:document.webdav.dir.property:0 +msgid "Group By..." +msgstr "Grupuj wg..." + +#. module: document_webdav +#: view:document.directory:0 +msgid "These properties will be added to WebDAV requests" +msgstr "Te właściwości zostaną dodane do zgłoszeń WebDAV" + +#. module: document_webdav +#: code:addons/document_webdav/webdav.py:0 +#, python-format +msgid "PyWebDAV Import Error!" +msgstr "Błąd importu PyWebDAV" + +#. module: document_webdav +#: model:ir.module.module,description:document_webdav.module_meta_information +msgid "" +" With this module, the WebDAV server for the documents is activated.\n" +" You can then use any compatible browser to remotely see the " +"attachments of OpenObject.\n" +"\n" +" After installation, the webDAV server can be controlled by a " +"[webdav] section in the server's config.\n" +" Server Configuration Parameter:\n" +" [webdav]\n" +" ; enable = True ; Serve webdav over the http(s) servers\n" +" ; vdir = webdav ; the directory that webdav will be served at\n" +" ; this default val means that webdav will be\n" +" ; on \"http://localhost:8069/webdav/\n" +" ; verbose = True ; Turn on the verbose messages of webdav\n" +" ; debug = True ; Turn on the debugging messages of webdav\n" +" ; since the messages are routed to the python logging, with\n" +" ; levels \"debug\" and \"debug_rpc\" respectively, you can leave\n" +" ; these options on\n" +msgstr "" + +#. module: document_webdav +#: sql_constraint:document.directory:0 +msgid "Directory cannot be parent of itself!" +msgstr "Katalog nie może być nadrzędny dla samego siebie !" + +#. module: document_webdav +#: view:document.directory:0 +msgid "Dynamic context" +msgstr "Dynamiczny kontekst" + +#. module: document_webdav +#: view:document.directory:0 +msgid "WebDAV properties" +msgstr "Właściwości WebDAV" + +#. module: document_webdav +#: sql_constraint:document.directory:0 +msgid "The directory name must be unique !" +msgstr "Nazwa katalogu musi być unikalna !" + +#. module: document_webdav +#: code:addons/document_webdav/webdav.py:0 +#, python-format +msgid "" +"Please install PyWebDAV from " +"http://code.google.com/p/pywebdav/downloads/detail?name=PyWebDAV-" +"0.9.4.tar.gz&can=2&q=/" +msgstr "" + +#. module: document_webdav +#: model:ir.ui.menu,name:document_webdav.menu_dir_props +msgid "DAV properties for folders" +msgstr "Właściwości DAV dla katalogów" + +#. module: document_webdav +#: view:document.directory:0 +#: view:document.webdav.dir.property:0 +msgid "Properties" +msgstr "Właściwości" + +#. module: document_webdav +#: field:document.webdav.dir.property,name:0 +msgid "Name" +msgstr "Nazwa" + +#. module: document_webdav +#: model:ir.model,name:document_webdav.model_document_webdav_dir_property +msgid "document.webdav.dir.property" +msgstr "" + +#. module: document_webdav +#: field:document.webdav.dir.property,value:0 +msgid "Value" +msgstr "Wartość" + +#. module: document_webdav +#: field:document.webdav.dir.property,dir_id:0 +#: model:ir.model,name:document_webdav.model_document_directory +msgid "Directory" +msgstr "Katalog" + +#. module: document_webdav +#: view:document.webdav.dir.property:0 +msgid "Dir" +msgstr "Kat" + +#. module: document_webdav +#: model:ir.module.module,shortdesc:document_webdav.module_meta_information +msgid "WebDAV server for Document Management" +msgstr "Serwer WebDAV do Zarządzania dokumentami" + +#. module: document_webdav +#: sql_constraint:document.directory:0 +msgid "Directory must have a parent or a storage" +msgstr "Katalog musi mieć katalog nadrzędny lub nazwę napędu." + +#. module: document_webdav +#: view:document.webdav.dir.property:0 +msgid "Search Document storage" +msgstr "Przeszukaj przestrzeń dokumentów" + +#. module: document_webdav +#: field:document.webdav.dir.property,do_subst:0 +msgid "Substitute" +msgstr "Subsytut" -- cgit v1.2.3 From 67e8c91c3b1ba8758be277d654180e31d1a61442 Mon Sep 17 00:00:00 2001 From: Launchpad Translations on behalf of openerp <> Date: Wed, 29 Dec 2010 04:58:41 +0000 Subject: Launchpad automatic translations update. bzr revid: launchpad_translations_on_behalf_of_openerp-20101229044038-xv05sco0rtuoe3cm bzr revid: launchpad_translations_on_behalf_of_openerp-20101229045841-67lol5w1iaobouap --- addons/document_webdav/i18n/de.po | 27 +++++++++++++++++++++++++-- addons/document_webdav/i18n/it.po | 33 +++++++++++++++++++++++++++------ addons/document_webdav/i18n/pl.po | 6 +++--- 3 files changed, 55 insertions(+), 11 deletions(-) (limited to 'addons/document_webdav') diff --git a/addons/document_webdav/i18n/de.po b/addons/document_webdav/i18n/de.po index 5fbc5df4b12..a56a43021eb 100644 --- a/addons/document_webdav/i18n/de.po +++ b/addons/document_webdav/i18n/de.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2010-12-21 19:44+0000\n" -"PO-Revision-Date: 2010-11-30 15:15+0000\n" +"PO-Revision-Date: 2010-12-28 13:04+0000\n" "Last-Translator: Thorsten Vocks (OpenBig.org) \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-12-24 05:51+0000\n" +"X-Launchpad-Export-Date: 2010-12-29 04:57+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: document_webdav @@ -71,6 +71,26 @@ msgid "" " ; levels \"debug\" and \"debug_rpc\" respectively, you can leave\n" " ; these options on\n" msgstr "" +" Durch dieses Modul wird der WebDAV Server für gemeinsame Dokumente " +"aktiviert.\n" +" Verwenden Sie einfach einen beliebigen Browser, um Remote auf " +"Dokumentenanhänge zuzugreifen.\n" +"\n" +" Nach der Installation kann der WebDAV Server durch eine [webdav] " +"Sektion in der Server Konfiguration gesteuert werden.\n" +" Folgendermassen kann dann eine Konfiguration aussehen:\n" +" [webdav]\n" +" ; enable = True ; Bereitstellung von WebDAV über den http(s) " +"servers\n" +" ; vdir = webdav ; Verzeichnis für WebDAV auf dem Server\n" +" ; dieser Standard Eintrag bedeutet dass WebDAV über\n" +" ; \"http://localhost:8069/webdav/\" erreicht werden kann\n" +" ; verbose = True ; Aktivieren von \"verbose messages of webdav\"\n" +" ; debug = True ; Aktivieren von \"debugging messages of webdav\"\n" +" ; Hinweis: since the messages are routed to the python logging, " +"with\n" +" ; levels \"debug\" and \"debug_rpc\" respectively, you can leave\n" +" ; these options on\n" #. module: document_webdav #: sql_constraint:document.directory:0 @@ -100,6 +120,9 @@ msgid "" "http://code.google.com/p/pywebdav/downloads/detail?name=PyWebDAV-" "0.9.4.tar.gz&can=2&q=/" msgstr "" +"Bitte installieren Sie PyWebDAV von hier: " +"http://code.google.com/p/pywebdav/downloads/detail?name=PyWebDAV-" +"0.9.4.tar.gz&can=2&q=/" #. module: document_webdav #: model:ir.ui.menu,name:document_webdav.menu_dir_props diff --git a/addons/document_webdav/i18n/it.po b/addons/document_webdav/i18n/it.po index d0b69abe463..14bbf6f7235 100644 --- a/addons/document_webdav/i18n/it.po +++ b/addons/document_webdav/i18n/it.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2010-12-21 19:44+0000\n" -"PO-Revision-Date: 2010-11-24 09:31+0000\n" -"Last-Translator: OpenERP Administrators \n" +"PO-Revision-Date: 2010-12-28 12:56+0000\n" +"Last-Translator: Nicola Riolini - Micronaet \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-12-24 05:51+0000\n" +"X-Launchpad-Export-Date: 2010-12-29 04:57+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: document_webdav @@ -47,7 +47,7 @@ msgstr "Queste proprietà verranno aggiunte alle richieste WebDAV" #: code:addons/document_webdav/webdav.py:0 #, python-format msgid "PyWebDAV Import Error!" -msgstr "" +msgstr "PyWebDAV: errore importazione!" #. module: document_webdav #: model:ir.module.module,description:document_webdav.module_meta_information @@ -70,6 +70,24 @@ msgid "" " ; levels \"debug\" and \"debug_rpc\" respectively, you can leave\n" " ; these options on\n" msgstr "" +" Con questo modulo, il server WebDAV per i documenti è attivato.\n" +" E' possibile usare qualsiasi browser compatibile per vedere da " +"remoto gli allegati di OpenERP.\n" +"\n" +" Dopo l'installazione, il server WebDAV può essere controllato da una " +"sezione [webdav] nella configurazione del server.\n" +" Parametri configurazione server:\n" +" [webdav]\n" +" ; enable = True ; Server webdav sui server http(s) \n" +" ; vdir = webdav ; la directory alla quale il server si appoggia\n" +" ; questo valore di default significa che il server è\n" +" ; su \"http://localhost:8069/webdav/\n" +" ; verbose = True ; Abilita la messaggistica dettagliata di webdav\n" +" ; debug = True ; Attiva la modalità di debug di webdav\n" +" ; così i messaggi verranno girati al log di python, con \n" +" ; levello: \"debug\" e \"debug_rpc\" rispettivamente, è possibile " +"lasciare\n" +" ; questa opzione attiva\n" #. module: document_webdav #: sql_constraint:document.directory:0 @@ -99,6 +117,9 @@ msgid "" "http://code.google.com/p/pywebdav/downloads/detail?name=PyWebDAV-" "0.9.4.tar.gz&can=2&q=/" msgstr "" +"Per favore installare PyWebDAV dall'indirizzo: " +"http://code.google.com/p/pywebdav/downloads/detail?name=PyWebDAV-" +"0.9.4.tar.gz&can=2&q=/" #. module: document_webdav #: model:ir.ui.menu,name:document_webdav.menu_dir_props @@ -145,12 +166,12 @@ msgstr "server WebDAV per Gestione Documentale" #. module: document_webdav #: sql_constraint:document.directory:0 msgid "Directory must have a parent or a storage" -msgstr "" +msgstr "La Cartella deve avere un padre o uno storage" #. module: document_webdav #: view:document.webdav.dir.property:0 msgid "Search Document storage" -msgstr "" +msgstr "Ricerca deposito documenti" #. module: document_webdav #: field:document.webdav.dir.property,do_subst:0 diff --git a/addons/document_webdav/i18n/pl.po b/addons/document_webdav/i18n/pl.po index 29a50798fd1..c9ced487dab 100644 --- a/addons/document_webdav/i18n/pl.po +++ b/addons/document_webdav/i18n/pl.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2010-12-21 19:44+0000\n" -"PO-Revision-Date: 2010-12-27 14:21+0000\n" -"Last-Translator: Grzegorz Grzelak (Cirrus.pl) \n" +"PO-Revision-Date: 2010-12-28 09:13+0000\n" +"Last-Translator: OpenERP Administrators \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-12-28 04:43+0000\n" +"X-Launchpad-Export-Date: 2010-12-29 04:57+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: document_webdav -- cgit v1.2.3