Commit 30d11079 authored by Florent Delmotte's avatar Florent Delmotte Committed by Cédric Houbart
Browse files

add traduction for productsManagement

parent af5d8b34
......@@ -111,7 +111,7 @@ if (isset($_FILES['csv'])) {
}
?>
<h1><?php \pi18n("Import category from csv", PLUGIN_NAME); ?></h1>
<h1><?php \pi18n("Import category from csv file", PLUGIN_NAME); ?></h1>
<form method="post" action="<?php echo \Pasteque\get_module_url_action(PLUGIN_NAME, 'categoriesManagement');?>" enctype="multipart/form-data">
<?php \pi18n("File", PLUGIN_NAME) ?>: <input type="file" name="csv">
<input type="submit" name="envoyer" value=<?php \pi18n("send", PLUGIN_NAME)?>>
......
......@@ -42,7 +42,7 @@ $products = \Pasteque\ProductsService::getAll(FALSE, TRUE);
<?php \Pasteque\tpl_btn('btn', \Pasteque\get_module_url_action(PLUGIN_NAME, "product_edit"),
\i18n('Add a product', PLUGIN_NAME), 'img/btn_add.png');?>
<?php \Pasteque\tpl_btn('btn', \Pasteque\get_module_url_action(PLUGIN_NAME, "productsManagement"),
\i18n('Import product from csv', PLUGIN_NAME), 'img/btn_add.png');?>
\i18n('Import products', PLUGIN_NAME), 'img/btn_add.png');?>
<p><?php \pi18n("%d products", PLUGIN_NAME, count($products)); ?></p>
......
......@@ -44,7 +44,7 @@
"Import products": "Import products",
"Import products from csv": "Import products from csv",
"Import products from csv file": "Import products from csv file",
"On line %d: Cannot create product: '%s'": "On line %d: Cannot create product: '%s'",
"On line %d: Cannot update update: '%s'": "On line %d: Cannot update update: '%s'",
"On line %d: Tax category: '%s' doesn't exist": "On line %d: Tax category: '%s' doesn't exist",
......
......@@ -41,6 +41,8 @@
"On line %d: Cannot create product: '%s'": "À la ligne %d: Impossible de créer le produit: '%s'",
"On line %d: Category parent doesn't exist": "À la ligne %d: La categorie parent n'existe pas",
"Import products": "Importer des produits",
"Import products from csv file": "Importer des produits à partir d'un fichier csv",
"On line %d: Cannot create product: '%s'": "À la ligne %d: Impossible de créer le produit: '%s'",
"On line %d: Cannot update update: '%s'": "À la ligne %d: Impossible de mettre a jour le produit: '%s'",
"On line %d: Category parent doesn't exist": "À la ligne %d: La categorie parent n'existe pas",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment