~openerp-commiter/openobject-addons/extra-6.0

« back to all changes in this revision

Viewing changes to product_icecat/i18n/es.po

  • Committer: Jordi Esteve
  • Date: 2010-12-20 08:34:37 UTC
  • Revision ID: jesteve@zikzakmedia.com-20101220083437-b7motey64o4p8h07
[ADD] Product Icecat: Import XML from icecat.biz to products

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Translation of OpenERP Server.
 
2
# This file contains the translation of the following modules:
 
3
#       * product_icecat
 
4
#
 
5
msgid ""
 
6
msgstr ""
 
7
"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
 
8
"Report-Msgid-Bugs-To: support@openerp.com\n"
 
9
"POT-Creation-Date: 2010-12-20 08:03:10+0000\n"
 
10
"PO-Revision-Date: 2010-12-20 09:18+0100\n"
 
11
"Last-Translator: Raimon Esteve Cusiné <resteve@zikzakmedia.com>\n"
 
12
"Language-Team: \n"
 
13
"MIME-Version: 1.0\n"
 
14
"Content-Type: text/plain; charset=UTF-8\n"
 
15
"Content-Transfer-Encoding: 8bit\n"
 
16
"Plural-Forms: \n"
 
17
 
 
18
#. module: product_icecat
 
19
#: constraint:ir.model:0
 
20
msgid "The Object name must start with x_ and not contain any special character !"
 
21
msgstr "El nombre del objecto debe empezar con x_ y no contener ningún carácter especial!"
 
22
 
 
23
#. module: product_icecat
 
24
#: constraint:ir.actions.act_window:0
 
25
msgid "Invalid model name in the action definition."
 
26
msgstr "Nombre del modelo inválido en la definición de la acción."
 
27
 
 
28
#. module: product_icecat
 
29
#: code:addons/product_icecat/wizard/wizard_product_icecat.py:0
 
30
#, python-format
 
31
msgid "No"
 
32
msgstr "No"
 
33
 
 
34
#. module: product_icecat
 
35
#: code:addons/product_icecat/product_icecat.py:0
 
36
#, python-format
 
37
msgid "Ok !"
 
38
msgstr "Ok !"
 
39
 
 
40
#. module: product_icecat
 
41
#: field:product.icecat.wizard,description_sale:0
 
42
msgid "Description Śale"
 
43
msgstr "Descripción de venta"
 
44
 
 
45
#. module: product_icecat
 
46
#: field:product.icecat.wizard,state:0
 
47
msgid "State"
 
48
msgstr "Estado"
 
49
 
 
50
#. module: product_icecat
 
51
#: code:addons/product_icecat/product_icecat.py:0
 
52
#, python-format
 
53
msgid "They are other icecat configuration with \"Active\" field checked. Only one configuration is avaible for active field."
 
54
msgstr "Hay otra configuración de icecat como \"Activo\". Sólo una configuración puede contener este campo activo."
 
55
 
 
56
#. module: product_icecat
 
57
#: view:product.icecat:0
 
58
msgid "icecat"
 
59
msgstr "icecat"
 
60
 
 
61
#. module: product_icecat
 
62
#: constraint:ir.ui.menu:0
 
63
msgid "Error ! You can not create recursive Menu."
 
64
msgstr "Error ! No puede crear un menú recursivo."
 
65
 
 
66
#. module: product_icecat
 
67
#: view:product.icecat.wizard:0
 
68
msgid "Are you sure to import from icecat values to product?"
 
69
msgstr "Está seguro de importar el catálogo de icecat a los productos?"
 
70
 
 
71
#. module: product_icecat
 
72
#: model:ir.model,name:product_icecat.model_product_icecat_wizard
 
73
msgid "product.icecat.wizard"
 
74
msgstr "product.icecat.wizard"
 
75
 
 
76
#. module: product_icecat
 
77
#: code:addons/product_icecat/wizard/wizard_product_icecat.py:0
 
78
#, python-format
 
79
msgid "EAN not avaible"
 
80
msgstr "EAN no disponible"
 
81
 
 
82
#. module: product_icecat
 
83
#: field:product.icecat,name:0
 
84
#: field:product.icecat.wizard,name:0
 
85
msgid "Name"
 
86
msgstr "Nombre"
 
87
 
 
88
#. module: product_icecat
 
89
#: field:product.icecat,ftpusername:0
 
90
msgid "Username"
 
91
msgstr "Usuario"
 
92
 
 
93
#. module: product_icecat
 
94
#: field:product.icecat.wizard,html:0
 
95
msgid "HTML Code"
 
96
msgstr "Código HTML"
 
97
 
 
98
#. module: product_icecat
 
99
#: code:addons/product_icecat/product_icecat.py:0
 
100
#, python-format
 
101
msgid "Error !"
 
102
msgstr "Error !"
 
103
 
 
104
#. module: product_icecat
 
105
#: field:product.icecat.wizard,description:0
 
106
msgid "Description"
 
107
msgstr "Descripción"
 
108
 
 
109
#. module: product_icecat
 
110
#: code:addons/product_icecat/product_icecat.py:0
 
111
#, python-format
 
112
msgid "Username/password FTP connection was not successfully!"
 
113
msgstr "El usuario/password de la conexión FTP no se ha podido realizar!"
 
114
 
 
115
#. module: product_icecat
 
116
#: field:product.icecat,username:0
 
117
msgid "User Name"
 
118
msgstr "Usuario"
 
119
 
 
120
#. module: product_icecat
 
121
#: code:addons/product_icecat/product_icecat.py:0
 
122
#, python-format
 
123
msgid "FTP connection was successfully!"
 
124
msgstr "La conexión FTP se ha realizado correctamente!"
 
125
 
 
126
#. module: product_icecat
 
127
#: help:product.icecat,ftpdirectory:0
 
128
msgid "If not use directory, insert . (point). If use directory, path FTP dir"
 
129
msgstr "Si no utiliza ningún directorio, inserte un . (punto). Si utiliza un directorio, la ruta del directorio"
 
130
 
 
131
#. module: product_icecat
 
132
#: field:product.icecat.mapline,field_id:0
 
133
msgid "OpenERP Field"
 
134
msgstr "Campo OpenERP"
 
135
 
 
136
#. module: product_icecat
 
137
#: model:ir.actions.act_window,name:product_icecat.act_product_icecat
 
138
msgid "Import Icecat"
 
139
msgstr "Importar Icecat"
 
140
 
 
141
#. module: product_icecat
 
142
#: field:product.icecat,active:0
 
143
#: field:product.icecat,ftp:0
 
144
msgid "Active"
 
145
msgstr "Activo"
 
146
 
 
147
#. module: product_icecat
 
148
#: code:addons/product_icecat/wizard/wizard_product_icecat.py:0
 
149
#, python-format
 
150
msgid "Product %s XML Import successfully"
 
151
msgstr "La importación del XML del producto %s se ha realizado correctamente"
 
152
 
 
153
#. module: product_icecat
 
154
#: selection:product.icecat.wizard,state:0
 
155
msgid "First"
 
156
msgstr "Primero"
 
157
 
 
158
#. module: product_icecat
 
159
#: view:product.icecat:0
 
160
msgid "Icecat to OpenERP fields"
 
161
msgstr "Campos de Icecat a OpenERP"
 
162
 
 
163
#. module: product_icecat
 
164
#: field:product.icecat.wizard,result:0
 
165
msgid "Result"
 
166
msgstr "Resultado"
 
167
 
 
168
#. module: product_icecat
 
169
#: view:product.icecat:0
 
170
msgid "FTP"
 
171
msgstr "FTP"
 
172
 
 
173
#. module: product_icecat
 
174
#: constraint:ir.ui.view:0
 
175
msgid "Invalid XML for View Architecture!"
 
176
msgstr "XML inválido para la vista de arquitectura!"
 
177
 
 
178
#. module: product_icecat
 
179
#: field:product.icecat,mapline_ids:0
 
180
msgid "Mapline"
 
181
msgstr "Líneas de mapeo"
 
182
 
 
183
#. module: product_icecat
 
184
#: model:ir.model,name:product_icecat.model_product_icecat_mapline
 
185
msgid "Icecat Mapline Configuration"
 
186
msgstr "Configuración líneas de mapeo Icecat"
 
187
 
 
188
#. module: product_icecat
 
189
#: field:product.icecat.wizard,language_id:0
 
190
msgid "Language"
 
191
msgstr "Lengua"
 
192
 
 
193
#. module: product_icecat
 
194
#: code:addons/product_icecat/wizard/wizard_product_icecat.py:0
 
195
#, python-format
 
196
msgid "Not exist %s image"
 
197
msgstr "Not exist %s image"
 
198
 
 
199
#. module: product_icecat
 
200
#: field:product.icecat,ftpurl:0
 
201
msgid "URL"
 
202
msgstr "URL"
 
203
 
 
204
#. module: product_icecat
 
205
#: field:product.icecat,ftpip:0
 
206
msgid "IP"
 
207
msgstr "IP"
 
208
 
 
209
#. module: product_icecat
 
210
#: view:product.icecat.wizard:0
 
211
msgid "update"
 
212
msgstr "actualizar"
 
213
 
 
214
#. module: product_icecat
 
215
#: code:addons/product_icecat/product_icecat.py:0
 
216
#, python-format
 
217
msgid "Error!"
 
218
msgstr "Error!"
 
219
 
 
220
#. module: product_icecat
 
221
#: code:addons/product_icecat/product_icecat.py:0
 
222
#, python-format
 
223
msgid "IP FTP connection was not successfully!"
 
224
msgstr "No se ha podido conectar con FTP con la IP especificada!"
 
225
 
 
226
#. module: product_icecat
 
227
#: field:product.icecat,ftpdirectory:0
 
228
msgid "Directory"
 
229
msgstr "Directorio"
 
230
 
 
231
#. module: product_icecat
 
232
#: field:product.icecat.mapline,name:0
 
233
msgid "XML Field"
 
234
msgstr "Campo XML"
 
235
 
 
236
#. module: product_icecat
 
237
#: model:ir.actions.act_window,name:product_icecat.action_product_icecat
 
238
#: model:ir.model,name:product_icecat.model_product_icecat
 
239
#: model:ir.ui.menu,name:product_icecat.product_icecat
 
240
msgid "Icecat Configuration"
 
241
msgstr "Configuración Icecat"
 
242
 
 
243
#. module: product_icecat
 
244
#: field:product.icecat.mapline,model_id:0
 
245
msgid "OpenERP Model"
 
246
msgstr "Modelo OpenERP"
 
247
 
 
248
#. module: product_icecat
 
249
#: code:addons/product_icecat/wizard/wizard_product_icecat.py:0
 
250
#, python-format
 
251
msgid "Import image not avaible"
 
252
msgstr "La importación de la imagen no está disponible"
 
253
 
 
254
#. module: product_icecat
 
255
#: field:product.icecat,ftppassword:0
 
256
#: field:product.icecat,password:0
 
257
msgid "Password"
 
258
msgstr "Password"
 
259
 
 
260
#. module: product_icecat
 
261
#: field:product.icecat.wizard,image:0
 
262
#: field:product.icecat.wizard,resimg:0
 
263
msgid "Image"
 
264
msgstr "Imagen"
 
265
 
 
266
#. module: product_icecat
 
267
#: view:product.icecat:0
 
268
msgid "Maping Lines"
 
269
msgstr "Líneas de mapeo"
 
270
 
 
271
#. module: product_icecat
 
272
#: view:product.icecat.wizard:0
 
273
msgid "Import icecat XML"
 
274
msgstr "Importación XML icecat"
 
275
 
 
276
#. module: product_icecat
 
277
#: view:product.icecat:0
 
278
msgid "Check FTP"
 
279
msgstr "Comprobar FTP"
 
280
 
 
281
#. module: product_icecat
 
282
#: selection:product.icecat.wizard,state:0
 
283
msgid "Done"
 
284
msgstr "Realizado"
 
285
 
 
286
#. module: product_icecat
 
287
#: view:product.icecat:0
 
288
#: field:product.icecat.mapline,icecat_id:0
 
289
msgid "Icecat"
 
290
msgstr "Icecat"
 
291
 
 
292
#. module: product_icecat
 
293
#: view:product.icecat.wizard:0
 
294
msgid "Cancel"
 
295
msgstr "Cancelar"
 
296
 
 
297
#. module: product_icecat
 
298
#: view:product.icecat.wizard:0
 
299
msgid "Close"
 
300
msgstr "Cerrar"
 
301
 
 
302
#. module: product_icecat
 
303
#: code:addons/product_icecat/wizard/wizard_product_icecat.py:0
 
304
#, python-format
 
305
msgid "Yes"
 
306
msgstr "Si"
 
307
 
 
308
#. module: product_icecat
 
309
#: help:product.icecat,ftpurl:0
 
310
msgid "URL FTP Dir: http://domain/directory/"
 
311
msgstr "URL FTP Dir: http://domain/directory/"
 
312
 
 
313
#. module: product_icecat
 
314
#: sql_constraint:ir.model.fields:0
 
315
msgid "Size of the field can never be less than 1 !"
 
316
msgstr "El tamaño del campo no puede ser inferior a 1!"
 
317
 
 
318
#. module: product_icecat
 
319
#: help:product.icecat.mapline,name:0
 
320
msgid "Insert ID Category from Icecat"
 
321
msgstr "Inserte el ID de la categoría de Icecat"
 
322
 
 
323
#~ msgid ""
 
324
#~ "Product %s XML Import successfully\" % name)\n"
 
325
#~ "\n"
 
326
#~ "        return result\n"
 
327
#~ "\n"
 
328
#~ "    # ==========================================\n"
 
329
#~ "    # Convert icecat values to OpenERP mapline\n"
 
330
#~ "    # ==========================================\n"
 
331
#~ "    def iceimg2oerpimg(self, cr, uid, form, product, icecat, pathxml, "
 
332
#~ "data, context):\n"
 
333
#~ "        doc = libxml2.parseFile(pathxml)\n"
 
334
#~ "\n"
 
335
#~ "        #product image\n"
 
336
#~ "        for prod in doc.xpathEval('//Product'):\n"
 
337
#~ "            if prod.xpathEval('@HighPic'):\n"
 
338
#~ "                image = prod.xpathEval('@HighPic')[0].content\n"
 
339
#~ "\n"
 
340
#~ "        if image:\n"
 
341
#~ "            fname = image.split('/')\n"
 
342
#~ "            fname = fname[len(fname)-1]\n"
 
343
#~ "\n"
 
344
#~ "            path = os.path.abspath( os.path.dirname(__file__) )\n"
 
345
#~ "            path += '/icecat/%s' % fname\n"
 
346
#~ "            path = re.sub('wizard/', '', path)\n"
 
347
#~ "\n"
 
348
#~ "            #download image\n"
 
349
#~ "            urllib.urlretrieve(image, path)\n"
 
350
#~ "\n"
 
351
#~ "            #send ftp server\n"
 
352
#~ "            ftp = FTP(icecat.ftpip)\n"
 
353
#~ "            ftp.login(icecat.ftpusername, icecat.ftppassword)\n"
 
354
#~ "            ftp.cwd(icecat.ftpdirectory)\n"
 
355
#~ "            f=file(path,'rb')\n"
 
356
#~ "            ftp.storbinary('STOR '+os.path.basename(path),f)\n"
 
357
#~ "            ftp.quit()\n"
 
358
#~ "\n"
 
359
#~ "            # add values into product_image\n"
 
360
#~ "            # product info\n"
 
361
#~ "            long_summary = doc.xpathEval('//SummaryDescription//"
 
362
#~ "LongSummaryDescription')\n"
 
363
#~ "            description = long_summary[0].content\n"
 
364
#~ "            name = description.split('.')[0]\n"
 
365
#~ "\n"
 
366
#~ "            values = {\n"
 
367
#~ "                'name': name,\n"
 
368
#~ "                'link': 1,\n"
 
369
#~ "                'filename': icecat.ftpurl+fname,\n"
 
370
#~ "                'product_id': product.id,\n"
 
371
#~ "            }\n"
 
372
#~ "            self.pool.get('product.images').create(cr, uid, values, "
 
373
#~ "context)\n"
 
374
#~ "            return icecat.ftpurl+fname\n"
 
375
#~ "        else:\n"
 
376
#~ "            return _(\"Not exist some image"
 
377
#~ msgstr ""
 
378
#~ "Product %s XML Import successfully\" % name)\n"
 
379
#~ "\n"
 
380
#~ "        return result\n"
 
381
#~ "\n"
 
382
#~ "    # ==========================================\n"
 
383
#~ "    # Convert icecat values to OpenERP mapline\n"
 
384
#~ "    # ==========================================\n"
 
385
#~ "    def iceimg2oerpimg(self, cr, uid, form, product, icecat, pathxml, "
 
386
#~ "data, context):\n"
 
387
#~ "        doc = libxml2.parseFile(pathxml)\n"
 
388
#~ "\n"
 
389
#~ "        #product image\n"
 
390
#~ "        for prod in doc.xpathEval('//Product'):\n"
 
391
#~ "            if prod.xpathEval('@HighPic'):\n"
 
392
#~ "                image = prod.xpathEval('@HighPic')[0].content\n"
 
393
#~ "\n"
 
394
#~ "        if image:\n"
 
395
#~ "            fname = image.split('/')\n"
 
396
#~ "            fname = fname[len(fname)-1]\n"
 
397
#~ "\n"
 
398
#~ "            path = os.path.abspath( os.path.dirname(__file__) )\n"
 
399
#~ "            path += '/icecat/%s' % fname\n"
 
400
#~ "            path = re.sub('wizard/', '', path)\n"
 
401
#~ "\n"
 
402
#~ "            #download image\n"
 
403
#~ "            urllib.urlretrieve(image, path)\n"
 
404
#~ "\n"
 
405
#~ "            #send ftp server\n"
 
406
#~ "            ftp = FTP(icecat.ftpip)\n"
 
407
#~ "            ftp.login(icecat.ftpusername, icecat.ftppassword)\n"
 
408
#~ "            ftp.cwd(icecat.ftpdirectory)\n"
 
409
#~ "            f=file(path,'rb')\n"
 
410
#~ "            ftp.storbinary('STOR '+os.path.basename(path),f)\n"
 
411
#~ "            ftp.quit()\n"
 
412
#~ "\n"
 
413
#~ "            # add values into product_image\n"
 
414
#~ "            # product info\n"
 
415
#~ "            long_summary = doc.xpathEval('//SummaryDescription//"
 
416
#~ "LongSummaryDescription')\n"
 
417
#~ "            description = long_summary[0].content\n"
 
418
#~ "            name = description.split('.')[0]\n"
 
419
#~ "\n"
 
420
#~ "            values = {\n"
 
421
#~ "                'name': name,\n"
 
422
#~ "                'link': 1,\n"
 
423
#~ "                'filename': icecat.ftpurl+fname,\n"
 
424
#~ "                'product_id': product.id,\n"
 
425
#~ "            }\n"
 
426
#~ "            self.pool.get('product.images').create(cr, uid, values, "
 
427
#~ "context)\n"
 
428
#~ "            return icecat.ftpurl+fname\n"
 
429
#~ "        else:\n"
 
430
#~ "            return _(\"Not exist some image"
 
431