Version Notes
# Installation
We STRONGLY recommend installing and testing the plugin in a test environment before going live. Please back up your database before installing.
Further information can be found at http://eurotext.screenstepslive.com/s/translationmanager
# Update
Only install once all ongoing projects have been completed / successfully imported.
We STRONGLY recommend installing and testing the update in a test environment before going live. Please back up your database before installing.
Further information can be found at http://eurotext.screenstepslive.com/s/translationmanager
# General terms & conditions for Eurotext AG software applications
Download this release
Release Info
Developer | Eurotext AG |
Extension | eurotext_translationMANAGER |
Version | 3.2.18 |
Comparing to | |
See all releases |
Code changes from version 3.2.17 to 3.2.18
- app/code/community/Eurotext/TranslationManager/.DS_Store +0 -0
- app/code/community/Eurotext/TranslationManager/Block/Adminhtml/Eurotext/Project/Edit.php +2 -1
- app/code/community/Eurotext/TranslationManager/Block/Adminhtml/Eurotext/Project/Edit/Tab/Products.php +6 -4
- app/code/community/Eurotext/TranslationManager/Block/Status.php +11 -0
- app/code/community/Eurotext/TranslationManager/Helper/String.php +10 -1
- app/code/community/Eurotext/TranslationManager/Model/.DS_Store +0 -0
- app/code/community/Eurotext/TranslationManager/Model/Export/Project/Category.php +14 -28
- app/code/community/Eurotext/TranslationManager/Model/Export/Project/CmsBlock.php +7 -15
- app/code/community/Eurotext/TranslationManager/Model/Export/Project/CmsPage.php +7 -15
- app/code/community/Eurotext/TranslationManager/Model/Export/Project/CreateControlFile.php +1 -1
- app/code/community/Eurotext/TranslationManager/Model/Export/Project/EmailDatabaseTemplates.php +4 -6
- app/code/community/Eurotext/TranslationManager/Model/Export/Project/EmailFileTemplates.php +2 -21
- app/code/community/Eurotext/TranslationManager/Model/Export/Project/Product.php +18 -32
- app/code/community/Eurotext/TranslationManager/Model/ProductLoader.php +2 -1
- app/code/community/Eurotext/TranslationManager/Model/Project.php +0 -50
- app/code/community/Eurotext/TranslationManager/Model/Resource/Csv/Collection.php +15 -17
- app/code/community/Eurotext/TranslationManager/Model/Resource/Filesystem/Collection.php +11 -0
- app/code/community/Eurotext/TranslationManager/controllers/.DS_Store +0 -0
- app/code/community/Eurotext/TranslationManager/controllers/Adminhtml/.DS_Store +0 -0
- app/code/community/Eurotext/TranslationManager/controllers/Adminhtml/Eurotext/.DS_Store +0 -0
- app/code/community/Eurotext/TranslationManager/controllers/Adminhtml/Eurotext/Project/ExportController.php +9 -0
- app/code/community/Eurotext/TranslationManager/controllers/Adminhtml/Eurotext/Project/ImportController.php +9 -0
- app/code/community/Eurotext/TranslationManager/controllers/Adminhtml/Eurotext/ProjectController.php +2 -4
- app/code/community/Eurotext/TranslationManager/etc/adminhtml.xml +11 -3
- app/code/community/Eurotext/TranslationManager/etc/config.xml +1 -1
- app/code/community/Eurotext/TranslationManager/sql/eurotext_translationmanager_setup/upgrade-3.2.17-3.2.18.php +14 -0
- app/design/adminhtml/base/default/layout/eurotext/translationmanager.xml +2 -2
- app/design/adminhtml/base/default/template/eurotext/translationmanager/help.phtml +19 -122
- app/locale/de_DE/Eurotext_TranslationManager.csv +1 -0
- app/locale/en_US/Eurotext_TranslationManager.csv +1 -0
- package.xml +6 -20
- skin/adminhtml/base/default/eurotext/translationmanager/css/help.css +3 -13
- skin/adminhtml/base/default/eurotext/translationmanager/js/eurotext_project.js +23 -25
app/code/community/Eurotext/TranslationManager/.DS_Store
DELETED
Binary file
|
app/code/community/Eurotext/TranslationManager/Block/Adminhtml/Eurotext/Project/Edit.php
CHANGED
@@ -11,6 +11,8 @@ class Eurotext_TranslationManager_Block_Adminhtml_Eurotext_Project_Edit
|
|
11 |
|
12 |
parent::__construct();
|
13 |
|
|
|
|
|
14 |
$this->_controller = 'adminhtml_eurotext_project';
|
15 |
$this->_blockGroup = 'eurotext_translationmanager';
|
16 |
|
@@ -34,7 +36,6 @@ class Eurotext_TranslationManager_Block_Adminhtml_Eurotext_Project_Edit
|
|
34 |
if (!$project->isEditable()) {
|
35 |
$this->_removeButton('save');
|
36 |
$this->_removeButton('export');
|
37 |
-
$this->_removeButton('reset');
|
38 |
|
39 |
$url = $this->getUrl('*/eurotext_project/reset', ['project_id' => $projectId]);
|
40 |
$this->_addButton(
|
11 |
|
12 |
parent::__construct();
|
13 |
|
14 |
+
$this->_removeButton('reset');
|
15 |
+
|
16 |
$this->_controller = 'adminhtml_eurotext_project';
|
17 |
$this->_blockGroup = 'eurotext_translationmanager';
|
18 |
|
36 |
if (!$project->isEditable()) {
|
37 |
$this->_removeButton('save');
|
38 |
$this->_removeButton('export');
|
|
|
39 |
|
40 |
$url = $this->getUrl('*/eurotext_project/reset', ['project_id' => $projectId]);
|
41 |
$this->_addButton(
|
app/code/community/Eurotext/TranslationManager/Block/Adminhtml/Eurotext/Project/Edit/Tab/Products.php
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
|
3 |
/**
|
4 |
* @method int[] getSelectedProducts()
|
5 |
-
* @method setSelectedProducts(int[] $ids)
|
6 |
* @method Mage_Catalog_Model_Resource_Product_Collection getCollection()
|
7 |
-
* @method setSelected(int[] $ids)
|
8 |
*/
|
9 |
class Eurotext_TranslationManager_Block_Adminhtml_Eurotext_Project_Edit_Tab_Products
|
10 |
extends Mage_Adminhtml_Block_Catalog_Product_Grid
|
@@ -296,6 +296,7 @@ class Eurotext_TranslationManager_Block_Adminhtml_Eurotext_Project_Edit_Tab_Prod
|
|
296 |
*/
|
297 |
private function createCollection()
|
298 |
{
|
|
|
299 |
$collection = Mage::getModel('catalog/product')->getCollection();
|
300 |
|
301 |
$category = Mage::getModel('catalog/category')->load($this->getRequest()->getParam('category_id'));
|
@@ -310,8 +311,9 @@ class Eurotext_TranslationManager_Block_Adminhtml_Eurotext_Project_Edit_Tab_Prod
|
|
310 |
->addPathFilter("^{$category->getPath()}/[0-9]*$");
|
311 |
$categories = $categoryCollection->getAllIds();
|
312 |
$categories[] = $category->getId();
|
313 |
-
$collection->
|
314 |
-
->
|
|
|
315 |
|
316 |
return $collection;
|
317 |
}
|
2 |
|
3 |
/**
|
4 |
* @method int[] getSelectedProducts()
|
5 |
+
* @method setSelectedProducts(int [] $ids)
|
6 |
* @method Mage_Catalog_Model_Resource_Product_Collection getCollection()
|
7 |
+
* @method setSelected(int [] $ids)
|
8 |
*/
|
9 |
class Eurotext_TranslationManager_Block_Adminhtml_Eurotext_Project_Edit_Tab_Products
|
10 |
extends Mage_Adminhtml_Block_Catalog_Product_Grid
|
296 |
*/
|
297 |
private function createCollection()
|
298 |
{
|
299 |
+
/** @var $collection Mage_Catalog_Model_Resource_Product_Collection */
|
300 |
$collection = Mage::getModel('catalog/product')->getCollection();
|
301 |
|
302 |
$category = Mage::getModel('catalog/category')->load($this->getRequest()->getParam('category_id'));
|
311 |
->addPathFilter("^{$category->getPath()}/[0-9]*$");
|
312 |
$categories = $categoryCollection->getAllIds();
|
313 |
$categories[] = $category->getId();
|
314 |
+
$collection->joinTable('catalog/category_product', 'product_id=entity_id', ['product_id'])
|
315 |
+
->addFilter('category_id', ['in' => $categories], 'public')
|
316 |
+
->distinct(true);
|
317 |
|
318 |
return $collection;
|
319 |
}
|
app/code/community/Eurotext/TranslationManager/Block/Status.php
CHANGED
@@ -254,6 +254,17 @@ class Eurotext_TranslationManager_Block_Status extends Mage_Adminhtml_Block_Widg
|
|
254 |
]
|
255 |
);
|
256 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
}
|
258 |
|
259 |
/**
|
254 |
]
|
255 |
);
|
256 |
}
|
257 |
+
if(is_link(Mage::getBaseDir('var'))) {
|
258 |
+
$fieldset->addField(
|
259 |
+
'Symlink',
|
260 |
+
'note',
|
261 |
+
[
|
262 |
+
'label' => 'Symlink',
|
263 |
+
'text' => Mage::getBaseDir('var'),
|
264 |
+
]
|
265 |
+
);
|
266 |
+
|
267 |
+
}
|
268 |
}
|
269 |
|
270 |
/**
|
app/code/community/Eurotext/TranslationManager/Helper/String.php
CHANGED
@@ -8,6 +8,15 @@ class Eurotext_TranslationManager_Helper_String
|
|
8 |
*/
|
9 |
public function replaceMagentoBlockDirectives($content)
|
10 |
{
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
}
|
13 |
}
|
8 |
*/
|
9 |
public function replaceMagentoBlockDirectives($content)
|
10 |
{
|
11 |
+
preg_match_all('#(\{{2}.*?\}{2})#', $content, $matches);
|
12 |
+
$replace = [];
|
13 |
+
foreach ($matches[0] as $m) {
|
14 |
+
if ($m === []) {
|
15 |
+
continue;
|
16 |
+
}
|
17 |
+
$replace[$m] = str_replace('"', "'", $m);
|
18 |
+
}
|
19 |
+
|
20 |
+
return strtr($content, $replace);
|
21 |
}
|
22 |
}
|
app/code/community/Eurotext/TranslationManager/Model/.DS_Store
DELETED
Binary file
|
app/code/community/Eurotext/TranslationManager/Model/Export/Project/Category.php
CHANGED
@@ -55,20 +55,14 @@ class Eurotext_TranslationManager_Model_Export_Project_Category
|
|
55 |
|
56 |
$maxItems = $this->configHelper->getCategoriesPerFile();
|
57 |
|
58 |
-
$manualSelected = false;
|
59 |
-
|
60 |
$categorySrcCollection = $this->getCategoryCollectionFor($project->getStoreviewSrc(), $page, $maxItems);
|
61 |
$categoryDstCollection = $this->getCategoryCollectionFor($project->getStoreviewDst(), $page, $maxItems);
|
62 |
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
$categoryDstCollection->addIdFilter($project->getCategories());
|
67 |
-
}
|
68 |
|
69 |
-
if ($page > $categorySrcCollection->getLastPageNumber() ||
|
70 |
-
(!count($project->getCategories()) && !$project->isExportingAllCategories())
|
71 |
-
) {
|
72 |
$emulator->stopEnvironmentEmulation($emulation);
|
73 |
|
74 |
return [
|
@@ -96,15 +90,15 @@ class Eurotext_TranslationManager_Model_Export_Project_Category
|
|
96 |
|
97 |
$catNode = $this->doc->createElement('category');
|
98 |
|
99 |
-
$this->createDefaultAttributeNodes($catNode, $catDst, $catSrc
|
100 |
-
$this->createCustomCategoryAttributeNodes($catNode, $catDst, $catSrc
|
101 |
|
102 |
if ($project->isExportingUrlKeys()) {
|
103 |
-
$this->createUrlKeyNode($catSrc, $catDst, $
|
104 |
}
|
105 |
|
106 |
if ($project->isExportingMetaAttributes()) {
|
107 |
-
$this->createSeoNodes($catSrc, $catDst, $
|
108 |
}
|
109 |
|
110 |
if ($catNode->hasChildNodes()) {
|
@@ -188,19 +182,17 @@ class Eurotext_TranslationManager_Model_Export_Project_Category
|
|
188 |
* @param DOMElement $catNode
|
189 |
* @param Mage_Catalog_Model_Category $catDst
|
190 |
* @param Mage_Catalog_Model_Category $catSrc
|
191 |
-
* @param bool $manualSelected
|
192 |
*/
|
193 |
private function createDefaultAttributeNodes(
|
194 |
DOMElement $catNode,
|
195 |
Mage_Catalog_Model_Category $catDst,
|
196 |
-
Mage_Catalog_Model_Category $catSrc
|
197 |
-
$manualSelected
|
198 |
) {
|
199 |
foreach ($this->attributesToExportAlwaysWithMapping as $attr => $nodeName) {
|
200 |
$valueSrc = $catSrc->getDataUsingMethod($attr);
|
201 |
$valueDst = $catDst->getDataUsingMethod($attr);
|
202 |
|
203 |
-
if ($valueSrc != '' && ($valueSrc == $valueDst || $valueDst == ''
|
204 |
$item = $this->doc->createElement($nodeName);
|
205 |
Mage::helper('eurotext_translationmanager/xml')->appendTextChild($this->doc, $item, $valueSrc);
|
206 |
$catNode->appendChild($item);
|
@@ -212,13 +204,11 @@ class Eurotext_TranslationManager_Model_Export_Project_Category
|
|
212 |
* @param DOMElement $catNode
|
213 |
* @param Mage_Catalog_Model_Category $catDst
|
214 |
* @param Mage_Catalog_Model_Category $catSrc
|
215 |
-
* @param bool $manualSelected
|
216 |
*/
|
217 |
private function createCustomCategoryAttributeNodes(
|
218 |
DOMElement $catNode,
|
219 |
Mage_Catalog_Model_Category $catDst,
|
220 |
-
Mage_Catalog_Model_Category $catSrc
|
221 |
-
$manualSelected
|
222 |
) {
|
223 |
if (!$this->configHelper->getCustomCategoryAttributesForExport()) {
|
224 |
return;
|
@@ -229,7 +219,7 @@ class Eurotext_TranslationManager_Model_Export_Project_Category
|
|
229 |
$valueSrc = $catSrc->getDataUsingMethod($customCategoryAttribute);
|
230 |
$valueDst = $catDst->getDataUsingMethod($customCategoryAttribute);
|
231 |
|
232 |
-
if ($valueSrc != '' && ($valueSrc == $valueDst || $valueDst == ''
|
233 |
Mage::helper('eurotext_translationmanager/xml')->appendTextNode(
|
234 |
$this->doc,
|
235 |
(string)$customCategoryAttribute,
|
@@ -247,18 +237,16 @@ class Eurotext_TranslationManager_Model_Export_Project_Category
|
|
247 |
/**
|
248 |
* @param Mage_Catalog_Model_Category $catSrc
|
249 |
* @param Mage_Catalog_Model_Category $catDst
|
250 |
-
* @param bool $manualSelected
|
251 |
* @param DOMElement $catNode
|
252 |
*/
|
253 |
private function createUrlKeyNode(
|
254 |
Mage_Catalog_Model_Category $catSrc,
|
255 |
Mage_Catalog_Model_Category $catDst,
|
256 |
-
$manualSelected,
|
257 |
DOMElement $catNode
|
258 |
) {
|
259 |
$srcUrlKey = $catSrc->getUrlKey();
|
260 |
$dstUrlKey = $catDst->getUrlKey();
|
261 |
-
if ($srcUrlKey != '' && (
|
262 |
$item = $this->doc->createElement('UrlKey');
|
263 |
Mage::helper('eurotext_translationmanager/xml')->appendTextChild(
|
264 |
$this->doc,
|
@@ -272,20 +260,18 @@ class Eurotext_TranslationManager_Model_Export_Project_Category
|
|
272 |
/**
|
273 |
* @param Mage_Catalog_Model_Category $catSrc
|
274 |
* @param Mage_Catalog_Model_Category $catDst
|
275 |
-
* @param bool $manualSelected
|
276 |
* @param DOMElement $catNode
|
277 |
*/
|
278 |
private function createSeoNodes(
|
279 |
Mage_Catalog_Model_Category $catSrc,
|
280 |
Mage_Catalog_Model_Category $catDst,
|
281 |
-
$manualSelected,
|
282 |
DOMElement $catNode
|
283 |
) {
|
284 |
foreach ($this->seoAttributesWithMapping as $attr => $nodeName) {
|
285 |
$valueSrc = $catSrc->getDataUsingMethod($attr);
|
286 |
$valueDst = $catDst->getDataUsingMethod($attr);
|
287 |
|
288 |
-
if ($valueSrc != '' && ($valueSrc == $valueDst || $valueDst == ''
|
289 |
$item = $this->doc->createElement($nodeName);
|
290 |
Mage::helper('eurotext_translationmanager/xml')->appendTextChild($this->doc, $item, $valueSrc);
|
291 |
$catNode->appendChild($item);
|
55 |
|
56 |
$maxItems = $this->configHelper->getCategoriesPerFile();
|
57 |
|
|
|
|
|
58 |
$categorySrcCollection = $this->getCategoryCollectionFor($project->getStoreviewSrc(), $page, $maxItems);
|
59 |
$categoryDstCollection = $this->getCategoryCollectionFor($project->getStoreviewDst(), $page, $maxItems);
|
60 |
|
61 |
+
$categorySrcCollection->addIdFilter($project->getCategories());
|
62 |
+
$categoryDstCollection->addIdFilter($project->getCategories());
|
63 |
+
|
|
|
|
|
64 |
|
65 |
+
if ($page > $categorySrcCollection->getLastPageNumber() || !count($project->getCategories())) {
|
|
|
|
|
66 |
$emulator->stopEnvironmentEmulation($emulation);
|
67 |
|
68 |
return [
|
90 |
|
91 |
$catNode = $this->doc->createElement('category');
|
92 |
|
93 |
+
$this->createDefaultAttributeNodes($catNode, $catDst, $catSrc);
|
94 |
+
$this->createCustomCategoryAttributeNodes($catNode, $catDst, $catSrc);
|
95 |
|
96 |
if ($project->isExportingUrlKeys()) {
|
97 |
+
$this->createUrlKeyNode($catSrc, $catDst, $catNode);
|
98 |
}
|
99 |
|
100 |
if ($project->isExportingMetaAttributes()) {
|
101 |
+
$this->createSeoNodes($catSrc, $catDst, $catNode);
|
102 |
}
|
103 |
|
104 |
if ($catNode->hasChildNodes()) {
|
182 |
* @param DOMElement $catNode
|
183 |
* @param Mage_Catalog_Model_Category $catDst
|
184 |
* @param Mage_Catalog_Model_Category $catSrc
|
|
|
185 |
*/
|
186 |
private function createDefaultAttributeNodes(
|
187 |
DOMElement $catNode,
|
188 |
Mage_Catalog_Model_Category $catDst,
|
189 |
+
Mage_Catalog_Model_Category $catSrc
|
|
|
190 |
) {
|
191 |
foreach ($this->attributesToExportAlwaysWithMapping as $attr => $nodeName) {
|
192 |
$valueSrc = $catSrc->getDataUsingMethod($attr);
|
193 |
$valueDst = $catDst->getDataUsingMethod($attr);
|
194 |
|
195 |
+
if ($valueSrc != '' && ($valueSrc == $valueDst || $valueDst == '')) {
|
196 |
$item = $this->doc->createElement($nodeName);
|
197 |
Mage::helper('eurotext_translationmanager/xml')->appendTextChild($this->doc, $item, $valueSrc);
|
198 |
$catNode->appendChild($item);
|
204 |
* @param DOMElement $catNode
|
205 |
* @param Mage_Catalog_Model_Category $catDst
|
206 |
* @param Mage_Catalog_Model_Category $catSrc
|
|
|
207 |
*/
|
208 |
private function createCustomCategoryAttributeNodes(
|
209 |
DOMElement $catNode,
|
210 |
Mage_Catalog_Model_Category $catDst,
|
211 |
+
Mage_Catalog_Model_Category $catSrc
|
|
|
212 |
) {
|
213 |
if (!$this->configHelper->getCustomCategoryAttributesForExport()) {
|
214 |
return;
|
219 |
$valueSrc = $catSrc->getDataUsingMethod($customCategoryAttribute);
|
220 |
$valueDst = $catDst->getDataUsingMethod($customCategoryAttribute);
|
221 |
|
222 |
+
if ($valueSrc != '' && ($valueSrc == $valueDst || $valueDst == '')) {
|
223 |
Mage::helper('eurotext_translationmanager/xml')->appendTextNode(
|
224 |
$this->doc,
|
225 |
(string)$customCategoryAttribute,
|
237 |
/**
|
238 |
* @param Mage_Catalog_Model_Category $catSrc
|
239 |
* @param Mage_Catalog_Model_Category $catDst
|
|
|
240 |
* @param DOMElement $catNode
|
241 |
*/
|
242 |
private function createUrlKeyNode(
|
243 |
Mage_Catalog_Model_Category $catSrc,
|
244 |
Mage_Catalog_Model_Category $catDst,
|
|
|
245 |
DOMElement $catNode
|
246 |
) {
|
247 |
$srcUrlKey = $catSrc->getUrlKey();
|
248 |
$dstUrlKey = $catDst->getUrlKey();
|
249 |
+
if ($srcUrlKey != '' && ($srcUrlKey == $dstUrlKey || $dstUrlKey == '')) {
|
250 |
$item = $this->doc->createElement('UrlKey');
|
251 |
Mage::helper('eurotext_translationmanager/xml')->appendTextChild(
|
252 |
$this->doc,
|
260 |
/**
|
261 |
* @param Mage_Catalog_Model_Category $catSrc
|
262 |
* @param Mage_Catalog_Model_Category $catDst
|
|
|
263 |
* @param DOMElement $catNode
|
264 |
*/
|
265 |
private function createSeoNodes(
|
266 |
Mage_Catalog_Model_Category $catSrc,
|
267 |
Mage_Catalog_Model_Category $catDst,
|
|
|
268 |
DOMElement $catNode
|
269 |
) {
|
270 |
foreach ($this->seoAttributesWithMapping as $attr => $nodeName) {
|
271 |
$valueSrc = $catSrc->getDataUsingMethod($attr);
|
272 |
$valueDst = $catDst->getDataUsingMethod($attr);
|
273 |
|
274 |
+
if ($valueSrc != '' && ($valueSrc == $valueDst || $valueDst == '')) {
|
275 |
$item = $this->doc->createElement($nodeName);
|
276 |
Mage::helper('eurotext_translationmanager/xml')->appendTextChild($this->doc, $item, $valueSrc);
|
277 |
$catNode->appendChild($item);
|
app/code/community/Eurotext/TranslationManager/Model/Export/Project/CmsBlock.php
CHANGED
@@ -46,22 +46,15 @@ class Eurotext_TranslationManager_Model_Export_Project_CmsBlock
|
|
46 |
$project->addAllRelationalData();
|
47 |
$helper = Mage::helper('eurotext_translationmanager');
|
48 |
|
49 |
-
$manualSelected = false;
|
50 |
-
|
51 |
/** @var Mage_Cms_Model_Resource_Block_Collection $blockSrcCollection */
|
52 |
$blockSrcCollection = $this->getCmsBlockCollectionFor($project->getStoreviewSrc());
|
53 |
/** @var Mage_Cms_Model_Resource_Block_Collection $blockDstCollection */
|
54 |
$blockDstCollection = $this->getCmsBlockCollectionFor($project->getStoreviewDst());
|
55 |
|
56 |
-
|
57 |
-
|
58 |
-
$blockDstCollection->addFieldToFilter('main_table.block_id', ['in' => $project->getBlocks()]);
|
59 |
-
$manualSelected = true;
|
60 |
-
}
|
61 |
|
62 |
-
if ($offset > $blockSrcCollection->getLastPageNumber() ||
|
63 |
-
(!$project->isExportingAllCmsContent() && !count($project->getBlocks()))
|
64 |
-
) {
|
65 |
return [
|
66 |
'status_msg' => $helper->__('Exported CMS Blocks.'),
|
67 |
'step' => ProjectExporter::STEP_COLLECT_TEMPLATES_FILES,
|
@@ -95,12 +88,12 @@ class Eurotext_TranslationManager_Model_Export_Project_CmsBlock
|
|
95 |
$this->addBasicInformation($project, $blockSrc, $blockDst);
|
96 |
|
97 |
foreach ($this->attributes as $attr => $nodeName) {
|
98 |
-
$this->addAttributeToXml($attr, $nodeName, $blockSrc, $blockDst
|
99 |
}
|
100 |
|
101 |
if ($project->isExportingMetaAttributes()) {
|
102 |
foreach ($this->metAttributes as $attr => $nodeName) {
|
103 |
-
$this->addAttributeToXml($attr, $nodeName, $blockSrc, $blockDst
|
104 |
}
|
105 |
}
|
106 |
|
@@ -131,13 +124,12 @@ class Eurotext_TranslationManager_Model_Export_Project_CmsBlock
|
|
131 |
* @param string $nodeName
|
132 |
* @param Mage_Cms_Model_Block $blockSrc
|
133 |
* @param Mage_Cms_Model_Block $blockDst
|
134 |
-
* @param bool $manualSelected
|
135 |
*/
|
136 |
-
private function addAttributeToXml($attr, $nodeName, $blockSrc, $blockDst
|
137 |
{
|
138 |
$srcValue = $blockSrc->getDataUsingMethod($attr);
|
139 |
$dstValue = $blockDst->getDataUsingMethod($attr);
|
140 |
-
if ($srcValue != '' && (
|
141 |
$item = $this->doc->createElement($nodeName);
|
142 |
Mage::helper('eurotext_translationmanager/xml')
|
143 |
->appendTextChild($this->doc, $item, $srcValue);
|
46 |
$project->addAllRelationalData();
|
47 |
$helper = Mage::helper('eurotext_translationmanager');
|
48 |
|
|
|
|
|
49 |
/** @var Mage_Cms_Model_Resource_Block_Collection $blockSrcCollection */
|
50 |
$blockSrcCollection = $this->getCmsBlockCollectionFor($project->getStoreviewSrc());
|
51 |
/** @var Mage_Cms_Model_Resource_Block_Collection $blockDstCollection */
|
52 |
$blockDstCollection = $this->getCmsBlockCollectionFor($project->getStoreviewDst());
|
53 |
|
54 |
+
$blockSrcCollection->addFieldToFilter('main_table.block_id', ['in' => $project->getBlocks()]);
|
55 |
+
$blockDstCollection->addFieldToFilter('main_table.block_id', ['in' => $project->getBlocks()]);
|
|
|
|
|
|
|
56 |
|
57 |
+
if ($offset > $blockSrcCollection->getLastPageNumber() || !count($project->getBlocks())) {
|
|
|
|
|
58 |
return [
|
59 |
'status_msg' => $helper->__('Exported CMS Blocks.'),
|
60 |
'step' => ProjectExporter::STEP_COLLECT_TEMPLATES_FILES,
|
88 |
$this->addBasicInformation($project, $blockSrc, $blockDst);
|
89 |
|
90 |
foreach ($this->attributes as $attr => $nodeName) {
|
91 |
+
$this->addAttributeToXml($attr, $nodeName, $blockSrc, $blockDst);
|
92 |
}
|
93 |
|
94 |
if ($project->isExportingMetaAttributes()) {
|
95 |
foreach ($this->metAttributes as $attr => $nodeName) {
|
96 |
+
$this->addAttributeToXml($attr, $nodeName, $blockSrc, $blockDst);
|
97 |
}
|
98 |
}
|
99 |
|
124 |
* @param string $nodeName
|
125 |
* @param Mage_Cms_Model_Block $blockSrc
|
126 |
* @param Mage_Cms_Model_Block $blockDst
|
|
|
127 |
*/
|
128 |
+
private function addAttributeToXml($attr, $nodeName, $blockSrc, $blockDst)
|
129 |
{
|
130 |
$srcValue = $blockSrc->getDataUsingMethod($attr);
|
131 |
$dstValue = $blockDst->getDataUsingMethod($attr);
|
132 |
+
if ($srcValue != '' && ($srcValue == $dstValue || $dstValue == '')) {
|
133 |
$item = $this->doc->createElement($nodeName);
|
134 |
Mage::helper('eurotext_translationmanager/xml')
|
135 |
->appendTextChild($this->doc, $item, $srcValue);
|
app/code/community/Eurotext/TranslationManager/Model/Export/Project/CmsPage.php
CHANGED
@@ -41,22 +41,15 @@ class Eurotext_TranslationManager_Model_Export_Project_CmsPage
|
|
41 |
$project->addAllRelationalData();
|
42 |
$helper = Mage::helper('eurotext_translationmanager');
|
43 |
|
44 |
-
$manualSelected = false;
|
45 |
-
|
46 |
/** @var Mage_Cms_Model_Resource_page_Collection $pageSrcCollection */
|
47 |
$pageSrcCollection = $this->getCmsPageCollectionFor($project->getStoreviewSrc());
|
48 |
/** @var Mage_Cms_Model_Resource_page_Collection $pageDstCollection */
|
49 |
$pageDstCollection = $this->getCmsPageCollectionFor($project->getStoreviewDst());
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
$pageDstCollection->addFieldToFilter('main_table.page_id', ['in' => $project->getPages()]);
|
54 |
-
$manualSelected = true;
|
55 |
-
}
|
56 |
|
57 |
-
if ($offset > $pageSrcCollection->getLastPageNumber() ||
|
58 |
-
(!$project->isExportingAllCmsContent() && !count($project->getPages()))
|
59 |
-
) {
|
60 |
return [
|
61 |
'status_msg' => $helper->__('Exported CMS Pages.'),
|
62 |
'step' => ProjectExporter::STEP_COLLECT_CMSBLOCKS,
|
@@ -89,12 +82,12 @@ class Eurotext_TranslationManager_Model_Export_Project_CmsPage
|
|
89 |
$this->addBasicInformation($project, $pageSrc, $pageDst);
|
90 |
|
91 |
foreach ($this->attributes as $attr => $nodeName) {
|
92 |
-
$this->addAttributeToXml($attr, $nodeName, $pageSrc, $pageDst
|
93 |
}
|
94 |
|
95 |
if ($project->isExportingMetaAttributes()) {
|
96 |
foreach ($this->metAttributes as $attr => $nodeName) {
|
97 |
-
$this->addAttributeToXml($attr, $nodeName, $pageSrc, $pageDst
|
98 |
}
|
99 |
}
|
100 |
|
@@ -125,13 +118,12 @@ class Eurotext_TranslationManager_Model_Export_Project_CmsPage
|
|
125 |
* @param string $nodeName
|
126 |
* @param Mage_Cms_Model_Page $pageSrc
|
127 |
* @param Mage_Cms_Model_Page $pageDst
|
128 |
-
* @param bool $manualSelected
|
129 |
*/
|
130 |
-
private function addAttributeToXml($attr, $nodeName, $pageSrc, $pageDst
|
131 |
{
|
132 |
$srcValue = $pageSrc->getDataUsingMethod($attr);
|
133 |
$dstValue = $pageDst->getDataUsingMethod($attr);
|
134 |
-
if ($srcValue != '' && (
|
135 |
$item = $this->doc->createElement($nodeName);
|
136 |
Mage::helper('eurotext_translationmanager/xml')
|
137 |
->appendTextChild($this->doc, $item, $srcValue);
|
41 |
$project->addAllRelationalData();
|
42 |
$helper = Mage::helper('eurotext_translationmanager');
|
43 |
|
|
|
|
|
44 |
/** @var Mage_Cms_Model_Resource_page_Collection $pageSrcCollection */
|
45 |
$pageSrcCollection = $this->getCmsPageCollectionFor($project->getStoreviewSrc());
|
46 |
/** @var Mage_Cms_Model_Resource_page_Collection $pageDstCollection */
|
47 |
$pageDstCollection = $this->getCmsPageCollectionFor($project->getStoreviewDst());
|
48 |
|
49 |
+
$pageSrcCollection->addFieldToFilter('main_table.page_id', ['in' => $project->getPages()]);
|
50 |
+
$pageDstCollection->addFieldToFilter('main_table.page_id', ['in' => $project->getPages()]);
|
|
|
|
|
|
|
51 |
|
52 |
+
if ($offset > $pageSrcCollection->getLastPageNumber() || !count($project->getPages())) {
|
|
|
|
|
53 |
return [
|
54 |
'status_msg' => $helper->__('Exported CMS Pages.'),
|
55 |
'step' => ProjectExporter::STEP_COLLECT_CMSBLOCKS,
|
82 |
$this->addBasicInformation($project, $pageSrc, $pageDst);
|
83 |
|
84 |
foreach ($this->attributes as $attr => $nodeName) {
|
85 |
+
$this->addAttributeToXml($attr, $nodeName, $pageSrc, $pageDst);
|
86 |
}
|
87 |
|
88 |
if ($project->isExportingMetaAttributes()) {
|
89 |
foreach ($this->metAttributes as $attr => $nodeName) {
|
90 |
+
$this->addAttributeToXml($attr, $nodeName, $pageSrc, $pageDst);
|
91 |
}
|
92 |
}
|
93 |
|
118 |
* @param string $nodeName
|
119 |
* @param Mage_Cms_Model_Page $pageSrc
|
120 |
* @param Mage_Cms_Model_Page $pageDst
|
|
|
121 |
*/
|
122 |
+
private function addAttributeToXml($attr, $nodeName, $pageSrc, $pageDst)
|
123 |
{
|
124 |
$srcValue = $pageSrc->getDataUsingMethod($attr);
|
125 |
$dstValue = $pageDst->getDataUsingMethod($attr);
|
126 |
+
if ($srcValue != '' && ($srcValue == $dstValue || $dstValue == '')) {
|
127 |
$item = $this->doc->createElement($nodeName);
|
128 |
Mage::helper('eurotext_translationmanager/xml')
|
129 |
->appendTextChild($this->doc, $item, $srcValue);
|
app/code/community/Eurotext/TranslationManager/Model/Export/Project/CreateControlFile.php
CHANGED
@@ -267,7 +267,7 @@ COMMENT;
|
|
267 |
);
|
268 |
$allFilesWithoutXmlDir = array_map(
|
269 |
function (SplFileInfo $entry) use ($xmlDir) {
|
270 |
-
return str_replace($xmlDir . '/', '', $entry->
|
271 |
},
|
272 |
$directoryFiltered
|
273 |
);
|
267 |
);
|
268 |
$allFilesWithoutXmlDir = array_map(
|
269 |
function (SplFileInfo $entry) use ($xmlDir) {
|
270 |
+
return str_replace($xmlDir . '/', '', $entry->getPathname());
|
271 |
},
|
272 |
$directoryFiltered
|
273 |
);
|
app/code/community/Eurotext/TranslationManager/Model/Export/Project/EmailDatabaseTemplates.php
CHANGED
@@ -41,12 +41,10 @@ class Eurotext_TranslationManager_Model_Export_Project_EmailDatabaseTemplates
|
|
41 |
$templateCollection->setPageSize(self::PAGE_SIZE);
|
42 |
$templateCollection->setCurPage($this->offset);
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
);
|
49 |
-
}
|
50 |
|
51 |
if (!$templateCollection->getSize()) {
|
52 |
return [
|
41 |
$templateCollection->setPageSize(self::PAGE_SIZE);
|
42 |
$templateCollection->setCurPage($this->offset);
|
43 |
|
44 |
+
$templateCollection->addFieldToFilter(
|
45 |
+
'template_id',
|
46 |
+
['in' => $this->project->getTransactionEmailDatabase()]
|
47 |
+
);
|
|
|
|
|
48 |
|
49 |
if (!$templateCollection->getSize()) {
|
50 |
return [
|
app/code/community/Eurotext/TranslationManager/Model/Export/Project/EmailFileTemplates.php
CHANGED
@@ -2,11 +2,6 @@
|
|
2 |
|
3 |
class Eurotext_TranslationManager_Model_Export_Project_EmailFileTemplates
|
4 |
{
|
5 |
-
/**
|
6 |
-
* @var bool
|
7 |
-
*/
|
8 |
-
private $filesManuallySelected = false;
|
9 |
-
|
10 |
/**
|
11 |
* @var string
|
12 |
*/
|
@@ -34,7 +29,7 @@ class Eurotext_TranslationManager_Model_Export_Project_EmailFileTemplates
|
|
34 |
{
|
35 |
$this->project = $project;
|
36 |
$emailTemplates = $this->createTemplateCollection($project);
|
37 |
-
$this->
|
38 |
|
39 |
$numberOfEmailTemplatesExported = $emailTemplates->count();
|
40 |
|
@@ -179,20 +174,6 @@ class Eurotext_TranslationManager_Model_Export_Project_EmailFileTemplates
|
|
179 |
return $emailTemplates;
|
180 |
}
|
181 |
|
182 |
-
/**
|
183 |
-
* @param Eurotext_TranslationManager_Model_Project $project
|
184 |
-
* @param Eurotext_TranslationManager_Model_Resource_Emailtemplate_Filesystem_Collection $emailTemplates
|
185 |
-
*/
|
186 |
-
private function filterTemplatesByProjectSetting(
|
187 |
-
Eurotext_TranslationManager_Model_Project $project,
|
188 |
-
$emailTemplates
|
189 |
-
) {
|
190 |
-
if (!$project->isExportingAllEmailTemplates()) {
|
191 |
-
$this->filesManuallySelected = true;
|
192 |
-
$this->filterTemplatesByProject($project, $emailTemplates);
|
193 |
-
}
|
194 |
-
}
|
195 |
-
|
196 |
/**
|
197 |
* @param Eurotext_TranslationManager_Model_Project $project
|
198 |
* @param Eurotext_TranslationManager_Model_Resource_Emailtemplate_Filesystem_Collection $emailTemplates
|
@@ -218,6 +199,6 @@ class Eurotext_TranslationManager_Model_Export_Project_EmailFileTemplates
|
|
218 |
*/
|
219 |
private function isTranslationNeeded($destination)
|
220 |
{
|
221 |
-
return
|
222 |
}
|
223 |
}
|
2 |
|
3 |
class Eurotext_TranslationManager_Model_Export_Project_EmailFileTemplates
|
4 |
{
|
|
|
|
|
|
|
|
|
|
|
5 |
/**
|
6 |
* @var string
|
7 |
*/
|
29 |
{
|
30 |
$this->project = $project;
|
31 |
$emailTemplates = $this->createTemplateCollection($project);
|
32 |
+
$this->filterTemplatesByProject($project, $emailTemplates);
|
33 |
|
34 |
$numberOfEmailTemplatesExported = $emailTemplates->count();
|
35 |
|
174 |
return $emailTemplates;
|
175 |
}
|
176 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
/**
|
178 |
* @param Eurotext_TranslationManager_Model_Project $project
|
179 |
* @param Eurotext_TranslationManager_Model_Resource_Emailtemplate_Filesystem_Collection $emailTemplates
|
199 |
*/
|
200 |
private function isTranslationNeeded($destination)
|
201 |
{
|
202 |
+
return !file_exists($destination);
|
203 |
}
|
204 |
}
|
app/code/community/Eurotext/TranslationManager/Model/Export/Project/Product.php
CHANGED
@@ -73,22 +73,15 @@ class Eurotext_TranslationManager_Model_Export_Project_Product
|
|
73 |
|
74 |
$maxItems = $this->configHelper->getProductsPerFile();
|
75 |
|
76 |
-
$manualSelected = false;
|
77 |
|
78 |
/** @var Mage_Catalog_Model_Resource_Product_Collection $productCollectionSrc */
|
79 |
$productCollectionSrc = $this->getProductCollectionFor($project->getStoreviewSrc(), $page, $maxItems);
|
80 |
$productCollectionDst = $this->getProductCollectionFor($project->getStoreviewDst(), $page, $maxItems);
|
81 |
|
82 |
-
|
83 |
-
|
84 |
|
85 |
-
|
86 |
-
$productCollectionDst->addIdFilter($project->getProducts());
|
87 |
-
}
|
88 |
-
|
89 |
-
if ($page > $productCollectionSrc->getLastPageNumber() ||
|
90 |
-
(!count($project->getProducts()) && !$project->isExportingAllProducts())
|
91 |
-
) {
|
92 |
$emulator->stopEnvironmentEmulation($emulation);
|
93 |
|
94 |
return [
|
@@ -124,12 +117,12 @@ class Eurotext_TranslationManager_Model_Export_Project_Product
|
|
124 |
->setAttribute($productCollectionSrc->getResource()->getAttribute('media_gallery'))
|
125 |
->afterLoad($productDst);
|
126 |
|
127 |
-
$this->exportDefaultAttributes($productSrc, $productDst
|
128 |
-
$this->exportCustomProductAttributes($productSrc, $productDst
|
129 |
-
$this->exportImageLabels($productSrc, $productDst
|
130 |
$this->exportOptions($productSrc);
|
131 |
-
$this->exportUrlKeys($project, $productSrc, $productDst
|
132 |
-
$this->exportMetaAttributes($project, $productSrc, $productDst
|
133 |
|
134 |
if ($this->nodeArticle->hasChildNodes()) {
|
135 |
$firstChildNode = $this->nodeArticle->childNodes->item(0);
|
@@ -193,9 +186,8 @@ class Eurotext_TranslationManager_Model_Export_Project_Product
|
|
193 |
/**
|
194 |
* @param Mage_Catalog_Model_Product $productSrc
|
195 |
* @param Mage_Catalog_Model_Product $productDst
|
196 |
-
* @param bool $manualSelected
|
197 |
*/
|
198 |
-
private function exportImageLabels($productSrc, $productDst
|
199 |
{
|
200 |
$imagesOrig = [];
|
201 |
$imagesOrigUrl = [];
|
@@ -231,7 +223,7 @@ class Eurotext_TranslationManager_Model_Export_Project_Product
|
|
231 |
$imagesDstLabel[$imgValueId] = '';
|
232 |
}
|
233 |
|
234 |
-
$needsUpdate =
|
235 |
if (trim($imagesDstLabel[$imgValueId]) === '') {
|
236 |
$needsUpdate = true;
|
237 |
}
|
@@ -278,9 +270,8 @@ class Eurotext_TranslationManager_Model_Export_Project_Product
|
|
278 |
/**
|
279 |
* @param Mage_Catalog_Model_Product $productSrc
|
280 |
* @param Mage_Catalog_Model_Product $productDst
|
281 |
-
* @param boolean $manualSelected
|
282 |
*/
|
283 |
-
private function exportCustomProductAttributes($productSrc, $productDst
|
284 |
{
|
285 |
if (!$this->configHelper->getCustomProductAttributesForExport()) {
|
286 |
return;
|
@@ -290,7 +281,7 @@ class Eurotext_TranslationManager_Model_Export_Project_Product
|
|
290 |
foreach ($this->configHelper->getCustomProductAttributesForExport() as $customProductAttribute) {
|
291 |
$srcValue = $productSrc->getDataUsingMethod($customProductAttribute);
|
292 |
$dstValue = $productDst->getDataUsingMethod($customProductAttribute);
|
293 |
-
if ($srcValue && ($srcValue == $dstValue || $dstValue == ''
|
294 |
Mage::helper('eurotext_translationmanager/xml')->appendTextNode(
|
295 |
$this->doc,
|
296 |
(string)$customProductAttribute,
|
@@ -309,15 +300,14 @@ class Eurotext_TranslationManager_Model_Export_Project_Product
|
|
309 |
/**
|
310 |
* @param Mage_Catalog_Model_Product $productSrc
|
311 |
* @param Mage_Catalog_Model_Product $productDst
|
312 |
-
* @param bool $manualSelected
|
313 |
*/
|
314 |
-
private function exportDefaultAttributes($productSrc, $productDst
|
315 |
{
|
316 |
$xmlHelper = Mage::helper('eurotext_translationmanager/xml');
|
317 |
foreach ($this->attributesToExportAlways as $attribute => $xmlNode) {
|
318 |
$srcValue = $productSrc->getDataUsingMethod($attribute);
|
319 |
$dstValue = $productDst->getDataUsingMethod($attribute);
|
320 |
-
if ($srcValue && ($srcValue == $dstValue || $dstValue == ''
|
321 |
$xmlHelper->appendTextNode($this->doc, $xmlNode, $srcValue, $this->nodeArticle);
|
322 |
}
|
323 |
}
|
@@ -402,20 +392,18 @@ class Eurotext_TranslationManager_Model_Export_Project_Product
|
|
402 |
* @param Eurotext_TranslationManager_Model_Project $project
|
403 |
* @param Mage_Catalog_Model_Product $productSrc
|
404 |
* @param Mage_Catalog_Model_Product $productDst
|
405 |
-
* @param bool $manualSelected
|
406 |
*/
|
407 |
private function exportUrlKeys(
|
408 |
Eurotext_TranslationManager_Model_Project $project,
|
409 |
Mage_Catalog_Model_Product $productSrc,
|
410 |
-
Mage_Catalog_Model_Product $productDst
|
411 |
-
$manualSelected
|
412 |
) {
|
413 |
if (!$project->isExportingUrlKeys()) {
|
414 |
return;
|
415 |
}
|
416 |
$valueSrc = $productSrc->getUrlKey();
|
417 |
$valueDst = $productDst->getUrlKey();
|
418 |
-
if ($valueSrc != '' && ($valueSrc == $valueDst || $valueDst == ''
|
419 |
$item = $this->doc->createElement('UrlKey');
|
420 |
Mage::helper('eurotext_translationmanager/xml')
|
421 |
->appendTextChild($this->doc, $item, $productSrc->getUrlKey());
|
@@ -428,13 +416,11 @@ class Eurotext_TranslationManager_Model_Export_Project_Product
|
|
428 |
* @param Eurotext_TranslationManager_Model_Project $project
|
429 |
* @param Mage_Catalog_Model_Product $productSrc
|
430 |
* @param Mage_Catalog_Model_Product $productDst
|
431 |
-
* @param bool $manualSelected
|
432 |
*/
|
433 |
private function exportMetaAttributes(
|
434 |
Eurotext_TranslationManager_Model_Project $project,
|
435 |
Mage_Catalog_Model_Product $productSrc,
|
436 |
-
Mage_Catalog_Model_Product $productDst
|
437 |
-
$manualSelected
|
438 |
) {
|
439 |
if (!$project->isExportingMetaAttributes()) {
|
440 |
return;
|
@@ -443,7 +429,7 @@ class Eurotext_TranslationManager_Model_Export_Project_Product
|
|
443 |
foreach ($this->seoAttributes as $attribute => $xmlNode) {
|
444 |
$srcValue = $productSrc->getDataUsingMethod($attribute);
|
445 |
$dstValue = $productDst->getDataUsingMethod($attribute);
|
446 |
-
if ($srcValue && ($srcValue == $dstValue || $dstValue == ''
|
447 |
$item = $this->doc->createElement($xmlNode);
|
448 |
Mage::helper('eurotext_translationmanager/xml')
|
449 |
->appendTextChild($this->doc, $item, $srcValue);
|
73 |
|
74 |
$maxItems = $this->configHelper->getProductsPerFile();
|
75 |
|
|
|
76 |
|
77 |
/** @var Mage_Catalog_Model_Resource_Product_Collection $productCollectionSrc */
|
78 |
$productCollectionSrc = $this->getProductCollectionFor($project->getStoreviewSrc(), $page, $maxItems);
|
79 |
$productCollectionDst = $this->getProductCollectionFor($project->getStoreviewDst(), $page, $maxItems);
|
80 |
|
81 |
+
$productCollectionSrc->addIdFilter($project->getProducts());
|
82 |
+
$productCollectionDst->addIdFilter($project->getProducts());
|
83 |
|
84 |
+
if ($page > $productCollectionSrc->getLastPageNumber() || !count($project->getProducts())) {
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
$emulator->stopEnvironmentEmulation($emulation);
|
86 |
|
87 |
return [
|
117 |
->setAttribute($productCollectionSrc->getResource()->getAttribute('media_gallery'))
|
118 |
->afterLoad($productDst);
|
119 |
|
120 |
+
$this->exportDefaultAttributes($productSrc, $productDst);
|
121 |
+
$this->exportCustomProductAttributes($productSrc, $productDst);
|
122 |
+
$this->exportImageLabels($productSrc, $productDst);
|
123 |
$this->exportOptions($productSrc);
|
124 |
+
$this->exportUrlKeys($project, $productSrc, $productDst);
|
125 |
+
$this->exportMetaAttributes($project, $productSrc, $productDst);
|
126 |
|
127 |
if ($this->nodeArticle->hasChildNodes()) {
|
128 |
$firstChildNode = $this->nodeArticle->childNodes->item(0);
|
186 |
/**
|
187 |
* @param Mage_Catalog_Model_Product $productSrc
|
188 |
* @param Mage_Catalog_Model_Product $productDst
|
|
|
189 |
*/
|
190 |
+
private function exportImageLabels($productSrc, $productDst)
|
191 |
{
|
192 |
$imagesOrig = [];
|
193 |
$imagesOrigUrl = [];
|
223 |
$imagesDstLabel[$imgValueId] = '';
|
224 |
}
|
225 |
|
226 |
+
$needsUpdate = false;
|
227 |
if (trim($imagesDstLabel[$imgValueId]) === '') {
|
228 |
$needsUpdate = true;
|
229 |
}
|
270 |
/**
|
271 |
* @param Mage_Catalog_Model_Product $productSrc
|
272 |
* @param Mage_Catalog_Model_Product $productDst
|
|
|
273 |
*/
|
274 |
+
private function exportCustomProductAttributes($productSrc, $productDst)
|
275 |
{
|
276 |
if (!$this->configHelper->getCustomProductAttributesForExport()) {
|
277 |
return;
|
281 |
foreach ($this->configHelper->getCustomProductAttributesForExport() as $customProductAttribute) {
|
282 |
$srcValue = $productSrc->getDataUsingMethod($customProductAttribute);
|
283 |
$dstValue = $productDst->getDataUsingMethod($customProductAttribute);
|
284 |
+
if ($srcValue && ($srcValue == $dstValue || $dstValue == '')) {
|
285 |
Mage::helper('eurotext_translationmanager/xml')->appendTextNode(
|
286 |
$this->doc,
|
287 |
(string)$customProductAttribute,
|
300 |
/**
|
301 |
* @param Mage_Catalog_Model_Product $productSrc
|
302 |
* @param Mage_Catalog_Model_Product $productDst
|
|
|
303 |
*/
|
304 |
+
private function exportDefaultAttributes($productSrc, $productDst)
|
305 |
{
|
306 |
$xmlHelper = Mage::helper('eurotext_translationmanager/xml');
|
307 |
foreach ($this->attributesToExportAlways as $attribute => $xmlNode) {
|
308 |
$srcValue = $productSrc->getDataUsingMethod($attribute);
|
309 |
$dstValue = $productDst->getDataUsingMethod($attribute);
|
310 |
+
if ($srcValue && ($srcValue == $dstValue || $dstValue == '')) {
|
311 |
$xmlHelper->appendTextNode($this->doc, $xmlNode, $srcValue, $this->nodeArticle);
|
312 |
}
|
313 |
}
|
392 |
* @param Eurotext_TranslationManager_Model_Project $project
|
393 |
* @param Mage_Catalog_Model_Product $productSrc
|
394 |
* @param Mage_Catalog_Model_Product $productDst
|
|
|
395 |
*/
|
396 |
private function exportUrlKeys(
|
397 |
Eurotext_TranslationManager_Model_Project $project,
|
398 |
Mage_Catalog_Model_Product $productSrc,
|
399 |
+
Mage_Catalog_Model_Product $productDst
|
|
|
400 |
) {
|
401 |
if (!$project->isExportingUrlKeys()) {
|
402 |
return;
|
403 |
}
|
404 |
$valueSrc = $productSrc->getUrlKey();
|
405 |
$valueDst = $productDst->getUrlKey();
|
406 |
+
if ($valueSrc != '' && ($valueSrc == $valueDst || $valueDst == '')) {
|
407 |
$item = $this->doc->createElement('UrlKey');
|
408 |
Mage::helper('eurotext_translationmanager/xml')
|
409 |
->appendTextChild($this->doc, $item, $productSrc->getUrlKey());
|
416 |
* @param Eurotext_TranslationManager_Model_Project $project
|
417 |
* @param Mage_Catalog_Model_Product $productSrc
|
418 |
* @param Mage_Catalog_Model_Product $productDst
|
|
|
419 |
*/
|
420 |
private function exportMetaAttributes(
|
421 |
Eurotext_TranslationManager_Model_Project $project,
|
422 |
Mage_Catalog_Model_Product $productSrc,
|
423 |
+
Mage_Catalog_Model_Product $productDst
|
|
|
424 |
) {
|
425 |
if (!$project->isExportingMetaAttributes()) {
|
426 |
return;
|
429 |
foreach ($this->seoAttributes as $attribute => $xmlNode) {
|
430 |
$srcValue = $productSrc->getDataUsingMethod($attribute);
|
431 |
$dstValue = $productDst->getDataUsingMethod($attribute);
|
432 |
+
if ($srcValue && ($srcValue == $dstValue || $dstValue == '')) {
|
433 |
$item = $this->doc->createElement($xmlNode);
|
434 |
Mage::helper('eurotext_translationmanager/xml')
|
435 |
->appendTextChild($this->doc, $item, $srcValue);
|
app/code/community/Eurotext/TranslationManager/Model/ProductLoader.php
CHANGED
@@ -43,7 +43,8 @@ class Eurotext_TranslationManager_Model_ProductLoader
|
|
43 |
}
|
44 |
|
45 |
$productAttributes = Mage::getResourceModel('catalog/product_attribute_collection')
|
46 |
-
->addFieldToFilter('backend_type', ['neq' => 'static'])
|
|
|
47 |
|
48 |
foreach ($productAttributes as $a) {
|
49 |
/** @var $a Mage_Eav_Model_Attribute */
|
43 |
}
|
44 |
|
45 |
$productAttributes = Mage::getResourceModel('catalog/product_attribute_collection')
|
46 |
+
->addFieldToFilter('backend_type', ['neq' => 'static'])
|
47 |
+
->addFieldToFilter('is_global', Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE);
|
48 |
|
49 |
foreach ($productAttributes as $a) {
|
50 |
/** @var $a Mage_Eav_Model_Attribute */
|
app/code/community/Eurotext/TranslationManager/Model/Project.php
CHANGED
@@ -9,14 +9,9 @@
|
|
9 |
* @method int getStoreviewSrc()
|
10 |
* @method int getStoreviewDst()
|
11 |
* @method int getProjectStatus()
|
12 |
-
* @method int getLangfilesmode()
|
13 |
* @method int getExportSeo()
|
14 |
-
* @method int getProductmode()
|
15 |
-
* @method int getCategorymode()
|
16 |
-
* @method int getCmsmode()
|
17 |
* @method string getZipFilename()
|
18 |
* @method int getExportAttributes()
|
19 |
-
* @method int getTemplatemode()
|
20 |
* @method int getExportUrlkeys()
|
21 |
* @method int getFilterStatus()
|
22 |
* @method int getFilterStock()
|
@@ -25,14 +20,9 @@
|
|
25 |
* @method setDeleted(bool $deleted)
|
26 |
* @method setCreateId(int $created)
|
27 |
* @method setUpatedAt(int $timestamp)
|
28 |
-
* @method setLangfilesmode(int $mode)
|
29 |
* @method setExportSeo(int $seo)
|
30 |
-
* @method setProductmode(int $mode)
|
31 |
-
* @method setCategorymode(int $mode)
|
32 |
-
* @method setCmsmode(int $mode)
|
33 |
* @method setZipFilename(string $name)
|
34 |
* @method setExportAttributes(int $attributes)
|
35 |
-
* @method setTemplatemode(int $mode)
|
36 |
* @method setExportUrlkeys(int $keys)
|
37 |
* @method setFilterStatus(int $status)
|
38 |
* @method setFilterStock(int $stock)
|
@@ -264,46 +254,6 @@ class Eurotext_TranslationManager_Model_Project extends Mage_Core_Model_Abstract
|
|
264 |
return parent::_afterLoad();
|
265 |
}
|
266 |
|
267 |
-
/**
|
268 |
-
* @return bool
|
269 |
-
*/
|
270 |
-
public function isExportingAllCategories()
|
271 |
-
{
|
272 |
-
return (bool)$this->getCategorymode();
|
273 |
-
}
|
274 |
-
|
275 |
-
/**
|
276 |
-
* @return bool
|
277 |
-
*/
|
278 |
-
public function isExportingAllProducts()
|
279 |
-
{
|
280 |
-
return (bool)$this->getProductmode();
|
281 |
-
}
|
282 |
-
|
283 |
-
/**
|
284 |
-
* @return bool
|
285 |
-
*/
|
286 |
-
public function isExportingAllEmailTemplates()
|
287 |
-
{
|
288 |
-
return (bool)$this->getTemplatemode();
|
289 |
-
}
|
290 |
-
|
291 |
-
/**
|
292 |
-
* @return bool
|
293 |
-
*/
|
294 |
-
public function isExportingAllCmsContent()
|
295 |
-
{
|
296 |
-
return (bool)$this->getCmsmode();
|
297 |
-
}
|
298 |
-
|
299 |
-
/**
|
300 |
-
* @return bool
|
301 |
-
*/
|
302 |
-
public function isExportingAllLanguageFiles()
|
303 |
-
{
|
304 |
-
return (bool)$this->getLangfilesmode();
|
305 |
-
}
|
306 |
-
|
307 |
/**
|
308 |
* @return bool
|
309 |
*/
|
9 |
* @method int getStoreviewSrc()
|
10 |
* @method int getStoreviewDst()
|
11 |
* @method int getProjectStatus()
|
|
|
12 |
* @method int getExportSeo()
|
|
|
|
|
|
|
13 |
* @method string getZipFilename()
|
14 |
* @method int getExportAttributes()
|
|
|
15 |
* @method int getExportUrlkeys()
|
16 |
* @method int getFilterStatus()
|
17 |
* @method int getFilterStock()
|
20 |
* @method setDeleted(bool $deleted)
|
21 |
* @method setCreateId(int $created)
|
22 |
* @method setUpatedAt(int $timestamp)
|
|
|
23 |
* @method setExportSeo(int $seo)
|
|
|
|
|
|
|
24 |
* @method setZipFilename(string $name)
|
25 |
* @method setExportAttributes(int $attributes)
|
|
|
26 |
* @method setExportUrlkeys(int $keys)
|
27 |
* @method setFilterStatus(int $status)
|
28 |
* @method setFilterStock(int $stock)
|
254 |
return parent::_afterLoad();
|
255 |
}
|
256 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
/**
|
258 |
* @return bool
|
259 |
*/
|
app/code/community/Eurotext/TranslationManager/Model/Resource/Csv/Collection.php
CHANGED
@@ -14,23 +14,21 @@ class Eurotext_TranslationManager_Model_Resource_Csv_Collection
|
|
14 |
*/
|
15 |
public function filterByProject(Eurotext_TranslationManager_Model_Project $project)
|
16 |
{
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
$
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
);
|
33 |
-
}
|
34 |
|
35 |
$this->setTargetPathByLanguageAndStore($project->getStoreviewSrcLocale(), $project->getStoreviewSrc());
|
36 |
|
14 |
*/
|
15 |
public function filterByProject(Eurotext_TranslationManager_Model_Project $project)
|
16 |
{
|
17 |
+
$project->addAllRelationalData();
|
18 |
+
|
19 |
+
$localeFilesWithBasePath = array_map(
|
20 |
+
function ($fileWithoutBasePath) {
|
21 |
+
return Mage::getBaseDir('app') . $fileWithoutBasePath;
|
22 |
+
},
|
23 |
+
$project->getTranslationFiles()
|
24 |
+
);
|
25 |
+
|
26 |
+
$this->addFieldToFilter(
|
27 |
+
'filename',
|
28 |
+
[
|
29 |
+
'in' => $localeFilesWithBasePath
|
30 |
+
]
|
31 |
+
);
|
|
|
|
|
32 |
|
33 |
$this->setTargetPathByLanguageAndStore($project->getStoreviewSrcLocale(), $project->getStoreviewSrc());
|
34 |
|
app/code/community/Eurotext/TranslationManager/Model/Resource/Filesystem/Collection.php
CHANGED
@@ -39,4 +39,15 @@ class Eurotext_TranslationManager_Model_Resource_Filesystem_Collection extends V
|
|
39 |
|
40 |
return $file;
|
41 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
}
|
39 |
|
40 |
return $file;
|
41 |
}
|
42 |
+
|
43 |
+
public function filterCallbackLike($field, $filterValue, $row)
|
44 |
+
{
|
45 |
+
if (!($filterValue instanceof Zend_Db_Expr)) {
|
46 |
+
return parent::filterCallbackLike($field, $filterValue, $row);
|
47 |
+
}
|
48 |
+
$filterValue = substr((string)$filterValue, 1, -1);
|
49 |
+
$filterValueRegex = str_replace('%', '(.*?)', preg_quote($filterValue, '/'));
|
50 |
+
|
51 |
+
return (bool)preg_match("/^{$filterValueRegex}$/i", $row[$field]);
|
52 |
+
}
|
53 |
}
|
app/code/community/Eurotext/TranslationManager/controllers/.DS_Store
DELETED
Binary file
|
app/code/community/Eurotext/TranslationManager/controllers/Adminhtml/.DS_Store
DELETED
Binary file
|
app/code/community/Eurotext/TranslationManager/controllers/Adminhtml/Eurotext/.DS_Store
DELETED
Binary file
|
app/code/community/Eurotext/TranslationManager/controllers/Adminhtml/Eurotext/Project/ExportController.php
CHANGED
@@ -56,6 +56,15 @@ class Eurotext_TranslationManager_Adminhtml_Eurotext_Project_ExportController ex
|
|
56 |
$response->setBody($block->toJson());
|
57 |
}
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
/**
|
60 |
* @param int $projectId
|
61 |
* @return Eurotext_TranslationManager_Model_Project
|
56 |
$response->setBody($block->toJson());
|
57 |
}
|
58 |
|
59 |
+
/**
|
60 |
+
* @return bool
|
61 |
+
*/
|
62 |
+
protected function _isAllowed()
|
63 |
+
{
|
64 |
+
return Mage::getSingleton('admin/session')
|
65 |
+
->isAllowed('eurotext_translationmanager/export');
|
66 |
+
}
|
67 |
+
|
68 |
/**
|
69 |
* @param int $projectId
|
70 |
* @return Eurotext_TranslationManager_Model_Project
|
app/code/community/Eurotext/TranslationManager/controllers/Adminhtml/Eurotext/Project/ImportController.php
CHANGED
@@ -190,6 +190,15 @@ class Eurotext_TranslationManager_Adminhtml_Eurotext_Project_ImportController ex
|
|
190 |
$this->createHtaccessFile($directory);
|
191 |
}
|
192 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
/**
|
194 |
* @return Eurotext_TranslationManager_Helper_Eurotext
|
195 |
*/
|
190 |
$this->createHtaccessFile($directory);
|
191 |
}
|
192 |
|
193 |
+
/**
|
194 |
+
* @return bool
|
195 |
+
*/
|
196 |
+
protected function _isAllowed()
|
197 |
+
{
|
198 |
+
return Mage::getSingleton('admin/session')
|
199 |
+
->isAllowed('eurotext_translationmanager/import');
|
200 |
+
}
|
201 |
+
|
202 |
/**
|
203 |
* @return Eurotext_TranslationManager_Helper_Eurotext
|
204 |
*/
|
app/code/community/Eurotext/TranslationManager/controllers/Adminhtml/Eurotext/ProjectController.php
CHANGED
@@ -188,9 +188,6 @@ class Eurotext_TranslationManager_Adminhtml_Eurotext_ProjectController extends M
|
|
188 |
|
189 |
$this->loadLayout();
|
190 |
|
191 |
-
$transactionEmailDatabase = $this->getRequest()->getPost('transactionEmailsDatabase', null);
|
192 |
-
$this->renderTransactionEmailDatabaseGrid($transactionEmailDatabase);
|
193 |
-
|
194 |
$transactionEmailFiles = $this->getRequest()->getPost('transactionEmailFiles', null);
|
195 |
$this->renderTransactionEmailFilesGrid($transactionEmailFiles);
|
196 |
|
@@ -205,6 +202,7 @@ class Eurotext_TranslationManager_Adminhtml_Eurotext_ProjectController extends M
|
|
205 |
|
206 |
$transactionEmailFiles = $this->getRequest()->getPost('transactionEmailsDatabase', null);
|
207 |
$this->renderTransactionEmailDatabaseGrid($transactionEmailFiles);
|
|
|
208 |
$this->renderLayout();
|
209 |
}
|
210 |
|
@@ -229,7 +227,7 @@ class Eurotext_TranslationManager_Adminhtml_Eurotext_ProjectController extends M
|
|
229 |
protected function _isAllowed()
|
230 |
{
|
231 |
return Mage::getSingleton('admin/session')
|
232 |
-
->isAllowed('eurotext_translationmanager/
|
233 |
}
|
234 |
|
235 |
/**
|
188 |
|
189 |
$this->loadLayout();
|
190 |
|
|
|
|
|
|
|
191 |
$transactionEmailFiles = $this->getRequest()->getPost('transactionEmailFiles', null);
|
192 |
$this->renderTransactionEmailFilesGrid($transactionEmailFiles);
|
193 |
|
202 |
|
203 |
$transactionEmailFiles = $this->getRequest()->getPost('transactionEmailsDatabase', null);
|
204 |
$this->renderTransactionEmailDatabaseGrid($transactionEmailFiles);
|
205 |
+
|
206 |
$this->renderLayout();
|
207 |
}
|
208 |
|
227 |
protected function _isAllowed()
|
228 |
{
|
229 |
return Mage::getSingleton('admin/session')
|
230 |
+
->isAllowed('eurotext_translationmanager/project');
|
231 |
}
|
232 |
|
233 |
/**
|
app/code/community/Eurotext/TranslationManager/etc/adminhtml.xml
CHANGED
@@ -16,11 +16,11 @@
|
|
16 |
<sort_order>20</sort_order>
|
17 |
<action>adminhtml/eurotext_status</action>
|
18 |
</status>
|
19 |
-
<
|
20 |
<title>Projects</title>
|
21 |
<sort_order>30</sort_order>
|
22 |
<action>adminhtml/eurotext_project</action>
|
23 |
-
</
|
24 |
<help translate="title" module="eurotext_translationmanager">
|
25 |
<title>Help</title>
|
26 |
<sort_order>40</sort_order>
|
@@ -40,10 +40,18 @@
|
|
40 |
<title>Status</title>
|
41 |
<sort_order>20</sort_order>
|
42 |
</status>
|
43 |
-
<
|
44 |
<title>Projects</title>
|
45 |
<sort_order>30</sort_order>
|
|
|
|
|
|
|
|
|
46 |
</export>
|
|
|
|
|
|
|
|
|
47 |
<help translate="title" module="eurotext_translationmanager">
|
48 |
<title>Help</title>
|
49 |
<sort_order>40</sort_order>
|
16 |
<sort_order>20</sort_order>
|
17 |
<action>adminhtml/eurotext_status</action>
|
18 |
</status>
|
19 |
+
<project translate="title" module="eurotext_translationmanager">
|
20 |
<title>Projects</title>
|
21 |
<sort_order>30</sort_order>
|
22 |
<action>adminhtml/eurotext_project</action>
|
23 |
+
</project>
|
24 |
<help translate="title" module="eurotext_translationmanager">
|
25 |
<title>Help</title>
|
26 |
<sort_order>40</sort_order>
|
40 |
<title>Status</title>
|
41 |
<sort_order>20</sort_order>
|
42 |
</status>
|
43 |
+
<project translate="title" module="eurotext_translationmanager">
|
44 |
<title>Projects</title>
|
45 |
<sort_order>30</sort_order>
|
46 |
+
</project>
|
47 |
+
<export translate="title" module="eurotext_translationmanager">
|
48 |
+
<title>Export</title>
|
49 |
+
<sort_order>30</sort_order>
|
50 |
</export>
|
51 |
+
<import translate="title" module="eurotext_translationmanager">
|
52 |
+
<title>Import</title>
|
53 |
+
<sort_order>30</sort_order>
|
54 |
+
</import>
|
55 |
<help translate="title" module="eurotext_translationmanager">
|
56 |
<title>Help</title>
|
57 |
<sort_order>40</sort_order>
|
app/code/community/Eurotext/TranslationManager/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Eurotext_TranslationManager>
|
5 |
-
<version>3.2.
|
6 |
</Eurotext_TranslationManager>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Eurotext_TranslationManager>
|
5 |
+
<version>3.2.18</version>
|
6 |
</Eurotext_TranslationManager>
|
7 |
</modules>
|
8 |
<global>
|
app/code/community/Eurotext/TranslationManager/sql/eurotext_translationmanager_setup/upgrade-3.2.17-3.2.18.php
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/** @var $this Mage_Core_Model_Resource_Setup */
|
4 |
+
|
5 |
+
$this->startSetup();
|
6 |
+
|
7 |
+
$connection = $this->getConnection();
|
8 |
+
$connection->dropColumn($this->getTable('eurotext_translationmanager/project'), 'productmode');
|
9 |
+
$connection->dropColumn($this->getTable('eurotext_translationmanager/project'), 'categorymode');
|
10 |
+
$connection->dropColumn($this->getTable('eurotext_translationmanager/project'), 'cmsmode');
|
11 |
+
$connection->dropColumn($this->getTable('eurotext_translationmanager/project'), 'langfilesmode');
|
12 |
+
$connection->dropColumn($this->getTable('eurotext_translationmanager/project'), 'templatemode');
|
13 |
+
|
14 |
+
$this->endSetup();
|
app/design/adminhtml/base/default/layout/eurotext/translationmanager.xml
CHANGED
@@ -200,12 +200,12 @@
|
|
200 |
</block>
|
201 |
</adminhtml_eurotext_project_transactionemailfilesgrid>
|
202 |
|
203 |
-
<
|
204 |
<block type="core/text_list" name="root" output="toHtml">
|
205 |
<block type="eurotext_translationmanager/adminhtml_eurotext_project_edit_tab_transactionEmailsDatabase"
|
206 |
name="project_edit.project.tab.transactionemailsdatabase"/>
|
207 |
</block>
|
208 |
-
</
|
209 |
|
210 |
<adminhtml_eurotext_project_translatefilestab>
|
211 |
<block type="core/text_list" name="root" output="toHtml">
|
200 |
</block>
|
201 |
</adminhtml_eurotext_project_transactionemailfilesgrid>
|
202 |
|
203 |
+
<adminhtml_eurotext_project_transactionmailsdatabasegrid>
|
204 |
<block type="core/text_list" name="root" output="toHtml">
|
205 |
<block type="eurotext_translationmanager/adminhtml_eurotext_project_edit_tab_transactionEmailsDatabase"
|
206 |
name="project_edit.project.tab.transactionemailsdatabase"/>
|
207 |
</block>
|
208 |
+
</adminhtml_eurotext_project_transactionmailsdatabasegrid>
|
209 |
|
210 |
<adminhtml_eurotext_project_translatefilestab>
|
211 |
<block type="core/text_list" name="root" output="toHtml">
|
app/design/adminhtml/base/default/template/eurotext/translationmanager/help.phtml
CHANGED
@@ -1,122 +1,19 @@
|
|
1 |
-
<
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
<div style="font-weight:bold;font-size:11pt;"><?php echo $this->__('Registration'); ?></div>
|
21 |
-
<div><?php echo $this->__(
|
22 |
-
'Make sure to complete the registration process and enter your access information before submitting your first translation project. Fill out all fields of the registration form and click <b><i>Save and send</i> </b>. Eurotext will send your connection credentials.'
|
23 |
-
); ?></div>
|
24 |
-
</div>
|
25 |
-
|
26 |
-
<div style="margin-top:15px;margin-left:20px;">
|
27 |
-
<div style="font-weight:bold;font-size:11pt;"><?php echo $this->__('Settings'); ?></div>
|
28 |
-
<div><?php echo $this->__('You will receive your connection credentials from your customer service representative at Eurotext AG as soon as you have completed your registration. Please enter your user name, password and customer number in "Settings".<br/><span style="font-style:italic;"><sp'); ?></div>
|
29 |
-
</div>
|
30 |
-
|
31 |
-
<div style="margin-top:15px;margin-left:20px;">
|
32 |
-
<div style="font-weight:bold;font-size:11pt;"><?php echo $this->__('Projects'); ?></div>
|
33 |
-
<div><?php echo $this->__('Create a new project for each translation order.'); ?></div>
|
34 |
-
<ul style="margin-left:20px;">
|
35 |
-
<li style="list-style-type:disc;"><?php echo $this->__(
|
36 |
-
'Each project must have a name assigned (we recommend something unique and distinguishable).'
|
37 |
-
); ?></li>
|
38 |
-
<li style="list-style-type:disc;"><?php echo $this->__(
|
39 |
-
'Specify a <b>Source StoreView</b> and <b>Target StoreView</b> for the requested translation.'
|
40 |
-
); ?></li>
|
41 |
-
</ul>
|
42 |
-
|
43 |
-
<div style="margin-top:10px;"><?php echo $this->__(
|
44 |
-
'Select the products, categories, CMS Pages or Email Templates you need translated'
|
45 |
-
); ?>:</div>
|
46 |
-
<ul style="margin-left:20px;">
|
47 |
-
<li style="list-style-type:disc;"><?php echo $this->__(
|
48 |
-
'Products, categories, CMS Pages, or Email Templates can be selected individually (<b>Select […]</b>), or alternatively:'
|
49 |
-
); ?></li>
|
50 |
-
<li style="list-style-type:disc;"><?php echo $this->__(
|
51 |
-
'<b>Select all [...] without existing translation:</b> The plugin will automatically select all products, categories, CMS pages and email templates for which no translated text exists in the target language.'
|
52 |
-
); ?>
|
53 |
-
<br/><?php echo $this->__("<i><span style='color:red;'>Important:</span> All previous assignments will be deleted!</i>"); ?>
|
54 |
-
</li>
|
55 |
-
</ul>
|
56 |
-
|
57 |
-
<div style="margin-top:10px;"><?php echo $this->__(
|
58 |
-
'Clicking <b>Select language files</b> will allow you to manually select specific shop system texts in the selection window for translation.'
|
59 |
-
); ?></div>
|
60 |
-
|
61 |
-
<div style="margin-top:10px;"><?php echo $this->__(
|
62 |
-
'Clicking <b>Select all entries in language files without existing translations</b> will automatically select all files and check for missing translations. All entries without an existing translation will be exported.'
|
63 |
-
); ?></div>
|
64 |
-
<div><?php echo $this->__("<i><span style='color:red;'>Important:</span> We recommend using this setting only for the initial translation of a new online shop, as it will trigger a translation of ALL language files for the selected target language!</i>"); ?></div>
|
65 |
-
|
66 |
-
<div style="margin-top:10px;"><?php echo $this->__(
|
67 |
-
'Select the check box <b>Export SEO content?</b> if you would like to have the SEO content (e.g. keywords, search terms, meta tags, etc.) translated.'
|
68 |
-
); ?></div>
|
69 |
-
|
70 |
-
<div style="margin-top:10px;"><?php echo $this->__(
|
71 |
-
'Select the check box <b>Export attributes and attribute options?</b> if you would like to have the product attributes and associated values translated.'
|
72 |
-
); ?></div>
|
73 |
-
|
74 |
-
<div style="margin-top:10px;"><?php echo $this->__(
|
75 |
-
'Select the check box <b>Export URL keys?</b> if you would like to have URLs of products and categories translated.'
|
76 |
-
); ?></div>
|
77 |
-
|
78 |
-
<div style="margin-top:20px;"><?php echo $this->__(
|
79 |
-
'Clicking the button <b>Request free quotation now</b> will transmit your texts for translation to the translation portal, and you will receive a detailed quote for your translation project within the next 24 hours (weekdays).'
|
80 |
-
); ?>
|
81 |
-
|
82 |
-
<div style="margin-top:10px;"><?php echo $this->__(
|
83 |
-
'Your Eurotext customer service representative will send your translations in a ZIP file. This zip file can be uploaded and imported to the relevant project.'
|
84 |
-
); ?></div>
|
85 |
-
|
86 |
-
<div style="margin-top:10px;"><?php echo $this->__(
|
87 |
-
'<b>Please note:</b> For safety reasons, we recommend testing the import on a staging system first. Make sure to back up all your data before importing.'
|
88 |
-
); ?></div>
|
89 |
-
|
90 |
-
<div style="margin-top:10px;"><?php echo $this->__(
|
91 |
-
'Please read the translationMANAGER documentation for more information.'
|
92 |
-
); ?></div>
|
93 |
-
|
94 |
-
<div> </div>
|
95 |
-
<div style="border:1px solid black;padding:20px;display:inline-block;">
|
96 |
-
<table width="900" border="0">
|
97 |
-
<tr>
|
98 |
-
<td width="445" class="edittext"><p align="left">
|
99 |
-
<strong><?php echo $this->__('Contact'); ?> Eurotext AG </strong></td>
|
100 |
-
</tr>
|
101 |
-
<tr>
|
102 |
-
<td height="135" class="edittext">
|
103 |
-
<p class="edittext" align="left">
|
104 |
-
<span class="logo_eurotext"></span><br>
|
105 |
-
Eurotext AG<br>
|
106 |
-
Schürerstraße 3<br>
|
107 |
-
97080 Würzburg<br>
|
108 |
-
Deutschland<br><br>
|
109 |
-
<?php echo $this->__('Phone'); ?>: +49 (0)931 35 40 50<br>
|
110 |
-
<?php echo $this->__('Telefax'); ?>: +49 (0)931 35 40 580<br>
|
111 |
-
E-Mail: <a href="mailto:>info@eurotext.de">info@eurotext.de</a><br>
|
112 |
-
Web: <a href="http://www.eurotext.de" target="_blank">www.eurotext.de</a>
|
113 |
-
</p>
|
114 |
-
<p class="edittext" align="left"> </p>
|
115 |
-
</td>
|
116 |
-
</tr>
|
117 |
-
</table>
|
118 |
-
</div>
|
119 |
-
|
120 |
-
</td>
|
121 |
-
</tr>
|
122 |
-
</table>
|
1 |
+
<a href="http://www.eurotext.de/" target="_blank"><span class="eurotext_logo"></span></a>
|
2 |
+
|
3 |
+
<div style="margin:10px 0"><button class="btn button" type="button" onclick="window.open('https://eurotext-ecommerce.com/translationmanager-dokumentation-support/','_blank');"><span><span><?php echo $this->__('Open Help & Support'); ?></span></span></button></div>
|
4 |
+
|
5 |
+
<div style="border:1px solid black;padding:20px;display:inline-block;">
|
6 |
+
<strong><?php echo $this->__('Contact'); ?> Eurotext AG </strong>
|
7 |
+
|
8 |
+
<p class="edittext" align="left">
|
9 |
+
<span class="eurotext_logo"></span><br>
|
10 |
+
Eurotext AG<br>
|
11 |
+
Schürerstraße 3<br>
|
12 |
+
97080 Würzburg<br>
|
13 |
+
Deutschland<br><br>
|
14 |
+
<?php echo $this->__('Phone'); ?>: +49 (0)931 35 40 50<br>
|
15 |
+
<?php echo $this->__('Telefax'); ?>: +49 (0)931 35 40 580<br>
|
16 |
+
E-Mail: <a href="mailto:>info@eurotext.de">info@eurotext.de</a><br>
|
17 |
+
Web: <a href="http://www.eurotext.de" target="_blank">www.eurotext.de</a>
|
18 |
+
</p>
|
19 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/locale/de_DE/Eurotext_TranslationManager.csv
CHANGED
@@ -98,6 +98,7 @@
|
|
98 |
"No file was selected, or the file selected is not a ZIP file","Es wurde keine Datei ausgewählt oder die Datei ist keine ZIP-Datei"
|
99 |
"of %s pages","von %s Seiten"
|
100 |
"Only data is exported, which is not translated yet.","Es wurden nur Daten exportiert, für die noch keine Übersetzung vorliegt."
|
|
|
101 |
"Out of Stock","Nicht auf Lager"
|
102 |
"Page","Seite"
|
103 |
"Password","Passwort"
|
98 |
"No file was selected, or the file selected is not a ZIP file","Es wurde keine Datei ausgewählt oder die Datei ist keine ZIP-Datei"
|
99 |
"of %s pages","von %s Seiten"
|
100 |
"Only data is exported, which is not translated yet.","Es wurden nur Daten exportiert, für die noch keine Übersetzung vorliegt."
|
101 |
+
"Open Help & Support","Hilfe & Support öffnen"
|
102 |
"Out of Stock","Nicht auf Lager"
|
103 |
"Page","Seite"
|
104 |
"Password","Passwort"
|
app/locale/en_US/Eurotext_TranslationManager.csv
CHANGED
@@ -97,6 +97,7 @@
|
|
97 |
"No file was selected, or the file selected is not a ZIP file","No file was selected, or the file selected is not a ZIP file"
|
98 |
"of %s pages","of %s pages"
|
99 |
"Only data is exported, which is not translated yet.","Only data is exported, which is not translated yet."
|
|
|
100 |
"Out of Stock","Out of Stock"
|
101 |
"Page","Page"
|
102 |
"Password","Password"
|
97 |
"No file was selected, or the file selected is not a ZIP file","No file was selected, or the file selected is not a ZIP file"
|
98 |
"of %s pages","of %s pages"
|
99 |
"Only data is exported, which is not translated yet.","Only data is exported, which is not translated yet."
|
100 |
+
"Open Help & Support","Open Help & Support"
|
101 |
"Out of Stock","Out of Stock"
|
102 |
"Page","Page"
|
103 |
"Password","Password"
|
package.xml
CHANGED
@@ -1,32 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>eurotext_translationMANAGER</name>
|
4 |
-
<version>3.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="https://eurotext-ecommerce.com/agb/">Nutzungsbedingungen für Softwareanwendungen der Eurotext AG</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Start your translation projects with native translation professionals.</summary>
|
10 |
-
<description>Website & Online Shop Translations Made Easy. The translationMANAGER allows you to export all text content from your online shop with just a few mouse clicks and then send it to the Eurotext translation portal. All types of content, including product descriptions, SEO content, framework or any other texts, are automatically included
|
11 |
-
|
12 |
-
Our translations are created where our customers have their marketplace. We absolutely emphasize that our over 4,000 professional translators create translations only into the language they grew up with. That is how we will always be able to guarantee that the translations are not only correct and authentic, but that they also take into account regional and cultural peculiarities.
|
13 |
-

|
14 |
-
A good translation must be more than just linguistically correct; it must comply with technical guidelines to ensure an optimized workflow across all instances of the quality assurance process, the elimination of errors, and keeping costs low. That is why we offer periodic workshops for our professional translators to support them in their daily work.</description>
|
15 |
-
<notes># Installation
|
16 |
-
We STRONGLY recommend installing and testing the plugin in a test environment before going live. Please back up your database before installing.
|
17 |
-
Further information can be found at http://eurotext.screenstepslive.com/s/translationmanager
|
18 |
-

|
19 |
-
# Update
|
20 |
-
Only install once all ongoing projects have been completed / successfully imported. 
|
21 |
-
We STRONGLY recommend installing and testing the update in a test environment before going live. Please back up your database before installing.
|
22 |
-
Further information can be found at http://eurotext.screenstepslive.com/s/translationmanager
|
23 |
-

|
24 |
-
# General terms & conditions for Eurotext AG software applications
|
25 |
-
http://eurotext.de/en/contact/terms-and-conditions/</notes>
|
26 |
<authors><author><name>Eurotext AG</name><user>eurotext</user><email>info@eurotext.de</email></author></authors>
|
27 |
-
<date>2017-
|
28 |
-
<time>
|
29 |
-
<contents><target name="magecommunity"><dir name="Eurotext"><dir name="TranslationManager"><dir name="Block"><dir name="Adminhtml"><dir name="Eurotext"><dir name="Export"><file name="Overview.php" hash="fefd3dc416377f0796233d4ae4a5629b"/></dir><dir name="Grid"><file name="OverwriteCheckboxRenderer.php" hash="602066f890b3ac64a6916161b1c658c3"/><dir name="Renderer"><file name="Checkbox.php" hash="c1f85f5830ff53322dab7a5c1d508072"/><file name="StoreviewWithLocale.php" hash="9b9ca817cd22834274d47f1609feec1e"/></dir></dir><dir name="Import"><file name="Overview.php" hash="f57e709deabcea28c7c9b91130adfb40"/></dir><dir name="Project"><dir name="Edit"><file name="Form.php" hash="5fd8a6e124a3ad3f70a67f166eec0473"/><dir name="Tab"><file name="Categories.php" hash="cff581961884ee839a4dff23c512cb61"/><file name="CmsBlock.php" hash="f0207afed8f58cf715d3ef5b91432b1a"/><file name="CmsPage.php" hash="e1cbffb562cbd97eeba4addc1eef131e"/><dir name="Emails"><file name="Note.php" hash="f0491208842f17d8cb73ec849542f31f"/></dir><dir name="Grid"><file name="Massaction.php" hash="472f252d52b62f9b0da475336b40bc1c"/></dir><dir name="Main"><file name="Single.php" hash="44eb8988afe846e83ff944233fc16764"/><file name="Uploader.php" hash="2a7b906a104315c60189133a40a619c3"/></dir><file name="Main.php" hash="f71cc6cacda7a56a717b9dede32e0645"/><dir name="Products"><file name="CategoryTree.php" hash="8f30da7c0c9d4c55958b83d46c61c220"/><file name="CategoryTreeAjax.php" hash="e351352e4a67510f0a5b61486cc7e76e"/><file name="Script.php" hash="d352799ffe1174b0e962f419abd726bb"/></dir><file name="Products.php" hash="1e10b7c263ea723e1deb9a9a18408956"/><file name="TransactionEmailFiles.php" hash="2dc4c29f6aa7397b888a7c3cb896681d"/><file name="TransactionEmailsDatabase.php" hash="bdf80aae0f475f119317531c7f8c7b7e"/><file name="TranslateFiles.php" hash="6e0c8a2fa3968aa7bdaa439ff5e4d774"/></dir><file name="Tabs.php" hash="7d2b96b63e1099e7221c8d78cf798e3e"/></dir><file name="Edit.php" hash="2501621acc283552519d8b4fe852acf2"/><file name="Grid.php" hash="2f5e6308b7189f0471c55813e00a3a6a"/></dir><file name="Project.php" hash="ff6bb0a8ac38ad3cf2f0c29d549b840c"/></dir><dir name="Grid"><dir name="Renderer"><file name="StoreviewWithLocale.php" hash="a651d215586f38e58fe8c0a7da3aaa8d"/></dir></dir></dir><file name="Help.php" hash="ca61b416958f9a5304a94a9ce69df7da"/><dir name="Response"><file name="Ajax.php" hash="59613d25a1ffc960cc7a3ae29d24e6ec"/></dir><file name="Status.php" hash="80d6933a456971a3a77bd1f21fb5607c"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><dir name="Registration"><file name="Status.php" hash="4f8317f73c695e5af3ee0dfeeb4196ee"/></dir><file name="Text.php" hash="f5fb0b1cf7e3d794a398ede74cf17133"/></dir></dir></dir></dir></dir><dir name="Exception"><file name="FtpException.php" hash="60c1ff48c554f9532eb8d332317d215d"/></dir><dir name="Helper"><file name="Category.php" hash="70cd77b9e06caf7ea3a4486815d64836"/><file name="Config.php" hash="35dbc25466bf03a3046317d6f0891447"/><file name="Data.php" hash="b72b345dd1db925138f00d23b2fdaeee"/><file name="Eurotext.php" hash="4ad797703c20d66b9c758b3aa27e1d82"/><file name="Filesystem.php" hash="ae921fc9b3284907eecf99929511c713"/><file name="Project.php" hash="01c2204aafbec11cd07520d430da5b91"/><file name="String.php" hash="dffd96b1157655c01e092d60a0435e99"/><file name="Xml.php" hash="5523724d86ee6f78a79266f8b565e4be"/></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><dir name="Attribute"><dir name="Backend"><dir name="Media"><file name="OnlyStoreValues.php" hash="ed8ea13152310f8e3ae0df3dfe4fc38c"/></dir></dir></dir></dir></dir><dir name="Controller"><file name="Exception.php" hash="d8ac30e2db57fd25bf1c848425741acd"/></dir><dir name="Eav"><dir name="Attribute"><file name="Label.php" hash="3cc63ed47cdcc3cda59f4d9d93518150"/><dir name="Option"><file name="Value.php" hash="69ec30b12d3724365473b5510da664cd"/></dir></dir></dir><file name="EurotextLanguages.php" hash="da62fbf9448208ae22a26da9b55bc880"/><dir name="Export"><dir name="Project"><file name="Attribute.php" hash="2f72f55b0d514ff6e205e0703c3a2182"/><file name="Category.php" hash="8f93bbad5882db2f5f8a06b6e20acee1"/><file name="CmsBlock.php" hash="ea19d50c3fd644b4a833083131c0c3c1"/><file name="CmsPage.php" hash="d532806b17c7f2e5d878f761c69bbc94"/><file name="CreateControlFile.php" hash="c9730640dea5f23dda030e24956d0aa2"/><file name="EmailDatabaseTemplates.php" hash="4431408f51baeefd8da0701efbbffdc4"/><file name="EmailFileTemplates.php" hash="cbd4f3410d52c036d71839f1c3426b16"/><file name="Exporter.php" hash="451fb2d540fcf210c4de0014961c0eb9"/><file name="FtpUpload.php" hash="126b70a963466c38e11184957471e841"/><file name="LocaleCsvFiles.php" hash="37d43b46715f151ba79c09a03fa079f2"/><file name="Product.php" hash="ea2e49c3f46d074dcb9e556158428766"/></dir><file name="Project.php" hash="f333f0da464ca6221f60d99c28476b93"/></dir><file name="Extractor.php" hash="1ba85afc3fdf1078c15a4298b5d0585a"/><file name="Factory.php" hash="433a4237864b60ba71ff3af1f85feff6"/><dir name="Import"><dir name="Project"><file name="Attributes.php" hash="344b90e86067b7fd9999e79f5efa4d58"/><file name="Categories.php" hash="5ba5ca281466221348b849f4799efdd5"/><file name="CmsBlocks.php" hash="d73f4b9c5d4514f17e12d9a81a607dfb"/><file name="CmsPages.php" hash="d4bfbd1be962a7640b155de0b58f8b59"/><file name="CollectSkipped.php" hash="3efd27b15b46b2befdcd01f8e03b17e7"/><file name="EmailTemplates.php" hash="5c8ecad5f60e5577492aea60b8c60120"/><dir name="Exception"><file name="MissingEntity.php" hash="55c8d26331cf9e7090c6fec482cf3b3e"/></dir><file name="Importer.php" hash="2ecac21104fab2e7929932d12cc5b799"/><file name="LocaleCsvFiles.php" hash="065ce0d9b42a39a993ab026c141e409d"/><file name="Product.php" hash="6e392b533680af8b8b5881c8c8f0c61e"/></dir><file name="Project.php" hash="faf305f7407fa07d2a44080b77dfbcd0"/><file name="Queue.php" hash="c998e994059b84a9ed2624c3e3704d59"/><file name="Validator.php" hash="795fa7dd6ad2e826be6daabe5c59c0c7"/></dir><file name="Observer.php" hash="604a1768e35b5d900a72905e6be8135a"/><file name="ProductLoader.php" hash="6d83343265e129aa7566fbd411029236"/><dir name="Project"><file name="Category.php" hash="8dd0af28d2889d8eb5ea4aa5fb7b2b5b"/><file name="Cmsblock.php" hash="2b0c4601a0021d5f7d06f98e2b7ab0e2"/><file name="Cmspage.php" hash="3a5642ff3770b3ad09424880b20949c9"/><file name="Csv.php" hash="4fd06e795a31a53ef4fc5106c0ffa28c"/><file name="EmailtemplateDatabase.php" hash="c6978dfc5846d3f470e0b8536178f344"/><file name="EmailtemplateFile.php" hash="c0ba504eaf050ad39acd6e90f47854f3"/><file name="Import.php" hash="a8ef441cd37ee562d8b38755359cd694"/><file name="Product.php" hash="8b5e14407f1449d3df0204274d03320a"/><dir name="Source"><file name="Status.php" hash="6890bab36d251ee47ca2836fbeb41603"/></dir></dir><file name="Project.php" hash="997be271e349bdaa355ed2dd617698b2"/><dir name="Renderer"><dir name="Filesystem"><file name="RelativeToAppDirectory.php" hash="725289dc9ed79898eab27b2ccb5c6d91"/><file name="RelativeToLocaleTemplateDirectory.php" hash="14f6a546f84a48d822179bb353b46351"/></dir><file name="Filesystem.php" hash="5c56c1e04db25584ac6a1ad48c0d4a9d"/></dir><dir name="Resource"><dir name="Catalog"><dir name="Product"><dir name="Attribute"><dir name="Backend"><dir name="Media"><file name="OnlyStoreValues.php" hash="ae4d43376d24cbae4ed19632794f51ba"/></dir></dir></dir><dir name="Option"><file name="Title.php" hash="ee3eabb5995eb327e2de31b248e285be"/><dir name="Type"><file name="Title.php" hash="c49656683099b75ccd6642c61d7a22bc"/></dir></dir></dir></dir><dir name="Csv"><file name="Collection.php" hash="ede1c332dddf9a6ea7bb4b311854cf61"/></dir><dir name="Eav"><dir name="Attribute"><dir name="Label"><file name="Collection.php" hash="6eff56981825b462b78897a1dd0f7248"/></dir><file name="Label.php" hash="65ba1673abc5ed1731d0e911b9b5e4b7"/><dir name="Option"><dir name="Value"><file name="Collection.php" hash="23ebc81f087b31723b175ae46e7eb4e2"/></dir><file name="Value.php" hash="3352674505656df6d51774444ab59fa5"/></dir></dir></dir><dir name="Emailtemplate"><dir name="Filesystem"><file name="Collection.php" hash="a8f0dc8367a2ee12846d89b272037db1"/></dir></dir><dir name="Filesystem"><file name="Collection.php" hash="8b84ee3193ad45484c251336d64cf71c"/></dir><dir name="Project"><dir name="Category"><file name="Collection.php" hash="134968856c66296fe418151a7dfdc8a5"/></dir><file name="Category.php" hash="55d87ff56d171e1daf4f42a2b8808d1b"/><dir name="Cmsblock"><file name="Collection.php" hash="d126952fba4c57de3277ac83bbafe61b"/></dir><file name="Cmsblock.php" hash="05e85b8142a95424ddd45884999a6c6c"/><dir name="Cmspage"><file name="Collection.php" hash="7fd97c6a893d2e365e1035e934f5be5d"/></dir><file name="Cmspage.php" hash="58e59ec888b52973b01b98e0fc19f50f"/><file name="Collection.php" hash="0b068f00639795627c7e2576ca3feaa4"/><dir name="Csv"><file name="Collection.php" hash="0d10dfdedae29b70f1fc2e3b19f160e4"/></dir><file name="Csv.php" hash="f283f1bd37fecb222bedf46d9cde3f18"/><dir name="EmailtemplateDatabase"><file name="Collection.php" hash="e63d7568db40281040ef984326100658"/></dir><file name="EmailtemplateDatabase.php" hash="eb787be577d4341d5324d159f9a66afd"/><dir name="EmailtemplateFile"><file name="Collection.php" hash="8d83aa3abce2e076d387ac3ba3a12cb3"/></dir><file name="EmailtemplateFile.php" hash="43d1baa459bf00fead85fa9e22979502"/><dir name="Import"><file name="Collection.php" hash="7ac0c91738130e32b97e4dc3f7ae6e68"/></dir><file name="Import.php" hash="9d71d42dfc91c16fa83a26ae76b79339"/><dir name="Product"><file name="Collection.php" hash="cafc0c7dbda6f9733a7dbf158a03c88b"/></dir><file name="Product.php" hash="8fbd6ffee43f8094c90d52f97e425d50"/></dir><file name="Project.php" hash="d964e9890f77119ceb343692d98a27d7"/><file name="Setup.php" hash="992b5dbedd9dc6d669ff7a7949c790ab"/></dir><dir name="Source"><file name="StoreViewWithLocale.php" hash="a97b6ef2d0521da72fcad45c7ab8b1df"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Salutation.php" hash="1de509321f9050e3f4c30c004e9b0310"/></dir></dir></dir><dir name="Updater"><file name="MediaGalleryValue.php" hash="8c38ccb08dab63701882e4dbf79f0bc7"/></dir><dir name="Xml"><dir name="Import"><dir name="Cms"><file name="Block.php" hash="ee5853195c38dcc699a663bbe70a510e"/><file name="BlockReader.php" hash="014777bc903da0127027952e32ae425a"/></dir></dir></dir><file name=".DS_Store" hash="7c3522d12f27b1bc414fac586a4b971f"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Eurotext"><file name="HelpController.php" hash="cf5a275aef3ed8d5b57cecf7e336fc9d"/><dir name="Project"><file name="ExportController.php" hash="63a5912395a6192b84da0b228671a983"/><file name="ImportController.php" hash="4a5237e5957113734a8f0a0b2721b082"/></dir><file name="ProjectController.php" hash="c931338c46fb24ee18f1daf159885bb9"/><file name="StatusController.php" hash="fa4bad31a7259d73eb4e8d63f8a8baad"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="af0a7d68dfc1505f5fd04c55baff3727"/></dir><file name=".DS_Store" hash="9d6e9b7cea3d170ee9c8cfccccc4ee80"/></dir><dir name="data"><dir name="eurotext_translationmanager_setup"><file name="data-install-3.0.0.php" hash="fa9de480b2d6d32ec1530c51914607d7"/><file name="data-upgrade-1.2.0.4-1.2.1.php" hash="40c403ee7e379d83e3f76ce1d6809b4e"/><file name="data-upgrade-1.2.1-1.2.2.php" hash="d6a7a1c4e525f552cc463393398737e1"/><file name="data-upgrade-3.1.1-3.1.2.php" hash="ea833f0234b35f910623f0434d78e8e9"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="af3f9f6b2b6ed681f4ebe8651ae4ad33"/><file name="config.xml" hash="ae3d3c4a85023dc81de9fe65af84c18c"/><file name="jstranslator.xml" hash="96c99f45202c522b98b01e792308954b"/><file name="system.xml" hash="30c104492c31a647fe7d05af8a7ec52a"/></dir><dir name="sql"><dir name="eurotext_translationmanager_setup"><file name="install-3.0.0.php" hash="a83ab8f94563a9cbe221edbfc0ceb500"/><file name="mysql4-install-1.0.0.0.php" hash="cd7bed4f7a7afce245992512c6a1933b"/><file name="mysql4-upgrade-1.0.0.5-1.0.0.6.php" hash="548230adb75f3d7799855fc2eb2f9c4c"/><file name="mysql4-upgrade-1.0.0.7-1.0.0.8.php" hash="4de6534c12eb4a82a948485c9d6b8e86"/><file name="upgrade-1.1.2.1-1.2.0.0.php" hash="ea022950a6af9bbba834537b1b5bedb3"/><file name="upgrade-1.2.0.0-1.2.0.1.php" hash="40e90210f3194928c38b8d47accafb96"/><file name="upgrade-1.2.0.1-1.2.0.2.php" hash="a67c4bcf3cbc13baca9bf827ac733c7a"/><file name="upgrade-1.2.0.2-1.2.0.3.php" hash="1e0a0185fd8d3a464c25cf093e939ea3"/><file name="upgrade-1.2.1-1.2.2.php" hash="dc9228eb14fc43830ed6e606b088b3eb"/><file name="upgrade-1.2.2-2.0.0.php" hash="d398a69e69e749d134a565673eadedb9"/><file name="upgrade-2.0.0-2.0.1.php" hash="abe68877c883a4184d11b753fa00cbf9"/><file name="upgrade-2.0.1-2.0.2.php" hash="31a83ad241332f4f42cccd639ac8d8a1"/><file name="upgrade-2.0.10-3.0.0.php" hash="3c247bf1573b192c431fecf1a97ea41e"/><file name="upgrade-2.0.3-2.0.4.php" hash="808861b1ef6079517feb94ae9afb7bc4"/><file name="upgrade-2.0.4-2.0.5.php" hash="29082ded381bd975bf8e9de9ee1aab74"/><file name="upgrade-2.0.5-2.0.6.php" hash="be2d23c6c0b877db0ac3bfa75a15b3c2"/><file name="upgrade-2.0.6-2.0.7.php" hash="4a789cf110e0e98270e635a7df85706e"/><file name="upgrade-2.0.7-2.0.8.php" hash="64a538428c0ebadcbb942a218814411a"/><file name="upgrade-2.0.8-2.0.9.php" hash="f2fd21608a2b91aeed69a28a1fb22b7a"/><file name="upgrade-2.0.9-2.0.10.php" hash="99d8c357714dfad0c44878a19ced4bab"/><file name="upgrade-3.0.0-3.0.1.php" hash="8a1ba3c8d8ca015c9e47d075ecea63dc"/><file name="upgrade-3.0.1-3.0.2.php" hash="9a6333481ccf99cbc851ae904067d91a"/><file name="upgrade-3.0.2-3.1.1.php" hash="656613ebca52ae1581d41cc2cdf58d83"/><file name="upgrade-3.1.5-3.1.6.php" hash="529cb0c4c7f7f5f3b15e53dcc025c0f7"/><file name="upgrade-3.1.6-3.1.7.php" hash="a3e58f601ca6fbf534bb14d031c19d39"/><file name="upgrade-3.1.7-3.1.8.php" hash="937e0052ee352a2f0fd1f548d65e61ef"/></dir></dir><file name=".DS_Store" hash="a747456783fab7a1190bb4bb3c45424a"/></dir><dir name="Uploader"><dir name="Block"><file name="Abstract.php" hash="8cf19faab951ce77597d5c08f7f1d72d"/><file name="Single.php" hash="98267d16076c3d556fb60d36c4e98252"/></dir><dir name="Helper"><file name="Data.php" hash="c142374acaef347046b43812adf919bf"/><file name="File.php" hash="72ce04aec06d51501c7813b35f3888ed"/></dir><dir name="Model"><dir name="Config"><file name="Abstract.php" hash="ac2ee98d14729d0ac3d7fd01fb72c579"/><file name="Browsebutton.php" hash="bce1ef6db09e535473c085dd6b5f580c"/><file name="Misc.php" hash="e0a89ff017cd74531448f9f295bb327b"/><file name="Uploader.php" hash="41152324c956fbe9cc9473044c139201"/></dir></dir><dir name="etc"><file name="config.xml" hash="a76f635b80aa9f9ad87fba966d560e11"/><file name="jstranslator.xml" hash="5de25b97a70ec60134a47c3c6bc9212a"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="layout"><dir name="eurotext"><file name="translationmanager.xml" hash="fe0cacbe5fedd5ac0abccb3009879d1a"/></dir></dir><dir name="template"><dir name="eurotext"><dir name="translationmanager"><dir name="export"><file name="overview.phtml" hash="5005c03af44e03864fb45a82a0954657"/></dir><file name="help.phtml" hash="6af23ed7ce809aec6f871273461649e4"/><dir name="import"><file name="overview.phtml" hash="6c90bdd842e3b03c8697c337b388e798"/></dir><dir name="project"><dir name="email"><file name="note.phtml" hash="f39644edf9dc77c92206961f46dc08b8"/></dir><dir name="products"><file name="bulk_sku.phtml" hash="d150c3b522378c2810947b8f877eccef"/><file name="category_tree.phtml" hash="02d25a4b18772ac2541f7be067ed1c0f"/><file name="script.phtml" hash="44956e903e1f2751da6d6464214b047f"/></dir></dir></dir><dir name="uploader"><dir name="media"><file name="uploader.phtml" hash="8f37a11c24df77615aaaba3e81cebbaa"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Eurotext_TranslationManager.csv" hash="dd91805d1358e4eb64969d321e558f7b"/><file name="Eurotext_Uploader.csv" hash="52a262b495f24074825b07a15080e264"/></dir><dir name="de_DE"><file name="Eurotext_TranslationManager.csv" hash="259290a914e033ac623e8018ad3051fa"/><file name="Eurotext_Uploader.csv" hash="0009959270fc7f3d5256250c97f5b4c8"/></dir></target><target name="mageetc"><dir name="modules"><file name="Eurotext_TranslationManager.xml" hash="0eb43d3e4d41bebb069074d1d9eed7df"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="eurotext"><dir name="translationmanager"><dir name="css"><file name="help.css" hash="38e92dee1ed607b981203e315eb26c86"/><file name="project.css" hash="4a959f8858e91c2b1b49e3ca927b9447"/><file name="status.css" hash="893a736b4a043eb5b801d7a639d92d03"/></dir><dir name="images"><file name="btt_suche.png" hash="9b74d62b9840cafb6990352c52a39458"/><file name="cat-minus.png" hash="d092af81ca37c821e13f27cc9bc44378"/><file name="cat-none.png" hash="88805f6b1ed90aa66db3cc6f89c83db0"/><file name="cat-plus.png" hash="16d73e360bebbeb16c4115ceea771b56"/><file name="eurotext_logo.png" hash="87120ee2d376e3195e2e7cd8b9661ba7"/><file name="eurotext_table_head.png" hash="36583e9470155c585304e305133e13ec"/><file name="logo_dixeno.png" hash="dd23f387d0eee8a9494724a470d8742e"/><file name="logo_eurotext.png" hash="7a8627f728f203823fbee1575d223131"/><file name="pager_arrow_left.gif" hash="6e44f608dac8eb8be1d1ebee5a3285aa"/><file name="pager_arrow_left_off.gif" hash="30f5e56195ab3546b36f4016db5254be"/><file name="pager_arrow_right.gif" hash="cc79526156b7e0c8abce61fad3d53f77"/><file name="pager_arrow_right_off.gif" hash="f01b7dad9acf0180b5c62edbd7ea9939"/></dir><dir name="js"><file name="eurotext_project.js" hash="9812165e4e8193a227503583d8423331"/><file name="export.js" hash="78b560ca40a66a6180a4ad8bb7dad933"/><file name="system_config.js" hash="d773e2a2896b917ca4f793da3fb4f9d3"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="eurotext"><dir name="uploader"><file name="flow.min.js" hash="a82a557db407b53d5909fa4e1833a596"/><file name="fusty-flow-factory.js" hash="b3f49be0f28be74e8b8bb76496c52bc3"/><file name="fusty-flow.js" hash="302f440908837093fd4e9b6e76ec01e0"/><file name="instance.js" hash="3a4f8bbbb500a1224eba194f93afe437"/></dir></dir></dir></target></contents>
|
30 |
<compatible/>
|
31 |
<dependencies><required><php><min>5.5.0</min><max>8.0.0</max></php></required></dependencies>
|
32 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>eurotext_translationMANAGER</name>
|
4 |
+
<version>3.2.18</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="https://eurotext-ecommerce.com/agb/">Nutzungsbedingungen für Softwareanwendungen der Eurotext AG</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Start your translation projects with native translation professionals.</summary>
|
10 |
+
<description>Website & Online Shop Translations Made Easy. The translationMANAGER allows you to export all text content from your online shop with just a few mouse clicks and then send it to the Eurotext translation portal. All types of content, including product descriptions, SEO content, framework or any other texts, are automatically included.&#xD;&#xD;Our translations are created where our customers have their marketplace. We absolutely emphasize that our over 4,000 professional translators create translations only into the language they grew up with. That is how we will always be able to guarantee that the translations are not only correct and authentic, but that they also take into account regional and cultural peculiarities.&#xD;&#xD;A good translation must be more than just linguistically correct; it must comply with technical guidelines to ensure an optimized workflow across all instances of the quality assurance process, the elimination of errors, and keeping costs low. That is why we offer periodic workshops for our professional translators to support them in their daily work.</description>
|
11 |
+
<notes># Installation&#xD;We STRONGLY recommend installing and testing the plugin in a test environment before going live. Please back up your database before installing.&#xD;Further information can be found at http://eurotext.screenstepslive.com/s/translationmanager&#xD;&#xD;# Update&#xD;Only install once all ongoing projects have been completed / successfully imported. &#xD;We STRONGLY recommend installing and testing the update in a test environment before going live. Please back up your database before installing.&#xD;Further information can be found at http://eurotext.screenstepslive.com/s/translationmanager&#xD;&#xD;# General terms & conditions for Eurotext AG software applications&#xD;</notes>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
<authors><author><name>Eurotext AG</name><user>eurotext</user><email>info@eurotext.de</email></author></authors>
|
13 |
+
<date>2017-05-31</date>
|
14 |
+
<time>10:09:05</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Eurotext"><dir name="TranslationManager"><dir name="Block"><dir name="Adminhtml"><dir name="Eurotext"><dir name="Export"><file name="Overview.php" hash="fefd3dc416377f0796233d4ae4a5629b"/></dir><dir name="Grid"><file name="OverwriteCheckboxRenderer.php" hash="602066f890b3ac64a6916161b1c658c3"/><dir name="Renderer"><file name="Checkbox.php" hash="c1f85f5830ff53322dab7a5c1d508072"/><file name="StoreviewWithLocale.php" hash="9b9ca817cd22834274d47f1609feec1e"/></dir></dir><dir name="Import"><file name="Overview.php" hash="f57e709deabcea28c7c9b91130adfb40"/></dir><dir name="Project"><dir name="Edit"><file name="Form.php" hash="5fd8a6e124a3ad3f70a67f166eec0473"/><dir name="Tab"><file name="Categories.php" hash="cff581961884ee839a4dff23c512cb61"/><file name="CmsBlock.php" hash="f0207afed8f58cf715d3ef5b91432b1a"/><file name="CmsPage.php" hash="e1cbffb562cbd97eeba4addc1eef131e"/><dir name="Emails"><file name="Note.php" hash="f0491208842f17d8cb73ec849542f31f"/></dir><dir name="Grid"><file name="Massaction.php" hash="472f252d52b62f9b0da475336b40bc1c"/></dir><dir name="Main"><file name="Single.php" hash="44eb8988afe846e83ff944233fc16764"/><file name="Uploader.php" hash="2a7b906a104315c60189133a40a619c3"/></dir><file name="Main.php" hash="f71cc6cacda7a56a717b9dede32e0645"/><dir name="Products"><file name="CategoryTree.php" hash="8f30da7c0c9d4c55958b83d46c61c220"/><file name="CategoryTreeAjax.php" hash="e351352e4a67510f0a5b61486cc7e76e"/><file name="Script.php" hash="d352799ffe1174b0e962f419abd726bb"/></dir><file name="Products.php" hash="c527896ffdda4fdb720691e8ffe06644"/><file name="TransactionEmailFiles.php" hash="2dc4c29f6aa7397b888a7c3cb896681d"/><file name="TransactionEmailsDatabase.php" hash="bdf80aae0f475f119317531c7f8c7b7e"/><file name="TranslateFiles.php" hash="6e0c8a2fa3968aa7bdaa439ff5e4d774"/></dir><file name="Tabs.php" hash="7d2b96b63e1099e7221c8d78cf798e3e"/></dir><file name="Edit.php" hash="74875018deb2aeb22e61b61d76ff14cf"/><file name="Grid.php" hash="2f5e6308b7189f0471c55813e00a3a6a"/></dir><file name="Project.php" hash="ff6bb0a8ac38ad3cf2f0c29d549b840c"/></dir><dir name="Grid"><dir name="Renderer"><file name="StoreviewWithLocale.php" hash="a651d215586f38e58fe8c0a7da3aaa8d"/></dir></dir></dir><file name="Help.php" hash="ca61b416958f9a5304a94a9ce69df7da"/><dir name="Response"><file name="Ajax.php" hash="59613d25a1ffc960cc7a3ae29d24e6ec"/></dir><file name="Status.php" hash="144b62322d8e4784bb712f14fa035049"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><dir name="Registration"><file name="Status.php" hash="4f8317f73c695e5af3ee0dfeeb4196ee"/></dir><file name="Text.php" hash="f5fb0b1cf7e3d794a398ede74cf17133"/></dir></dir></dir></dir></dir><dir name="Exception"><file name="FtpException.php" hash="60c1ff48c554f9532eb8d332317d215d"/></dir><dir name="Helper"><file name="Category.php" hash="70cd77b9e06caf7ea3a4486815d64836"/><file name="Config.php" hash="35dbc25466bf03a3046317d6f0891447"/><file name="Data.php" hash="b72b345dd1db925138f00d23b2fdaeee"/><file name="Eurotext.php" hash="4ad797703c20d66b9c758b3aa27e1d82"/><file name="Filesystem.php" hash="ae921fc9b3284907eecf99929511c713"/><file name="Project.php" hash="01c2204aafbec11cd07520d430da5b91"/><file name="String.php" hash="981a7ae7081efdc90cf4c7b0f284ed19"/><file name="Xml.php" hash="5523724d86ee6f78a79266f8b565e4be"/></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><dir name="Attribute"><dir name="Backend"><dir name="Media"><file name="OnlyStoreValues.php" hash="ed8ea13152310f8e3ae0df3dfe4fc38c"/></dir></dir></dir></dir></dir><dir name="Controller"><file name="Exception.php" hash="d8ac30e2db57fd25bf1c848425741acd"/></dir><dir name="Eav"><dir name="Attribute"><file name="Label.php" hash="3cc63ed47cdcc3cda59f4d9d93518150"/><dir name="Option"><file name="Value.php" hash="69ec30b12d3724365473b5510da664cd"/></dir></dir></dir><file name="EurotextLanguages.php" hash="da62fbf9448208ae22a26da9b55bc880"/><dir name="Export"><dir name="Project"><file name="Attribute.php" hash="2f72f55b0d514ff6e205e0703c3a2182"/><file name="Category.php" hash="dcd5f317955785908c565a29be032056"/><file name="CmsBlock.php" hash="b40f7a6258547211517ef749f2e41265"/><file name="CmsPage.php" hash="7767fe181905333292003766f2596016"/><file name="CreateControlFile.php" hash="f3cf7d2c1a00653e3aa1e8f0db2d1c88"/><file name="EmailDatabaseTemplates.php" hash="97c821f18317a7846e171c6163fc777b"/><file name="EmailFileTemplates.php" hash="17ebb9c980bae8655286989763894d9a"/><file name="Exporter.php" hash="451fb2d540fcf210c4de0014961c0eb9"/><file name="FtpUpload.php" hash="126b70a963466c38e11184957471e841"/><file name="LocaleCsvFiles.php" hash="37d43b46715f151ba79c09a03fa079f2"/><file name="Product.php" hash="4bc0d39c0963bcaf9a50b7dfb573a06b"/></dir><file name="Project.php" hash="f333f0da464ca6221f60d99c28476b93"/></dir><file name="Extractor.php" hash="1ba85afc3fdf1078c15a4298b5d0585a"/><file name="Factory.php" hash="433a4237864b60ba71ff3af1f85feff6"/><dir name="Import"><dir name="Project"><file name="Attributes.php" hash="344b90e86067b7fd9999e79f5efa4d58"/><file name="Categories.php" hash="5ba5ca281466221348b849f4799efdd5"/><file name="CmsBlocks.php" hash="d73f4b9c5d4514f17e12d9a81a607dfb"/><file name="CmsPages.php" hash="d4bfbd1be962a7640b155de0b58f8b59"/><file name="CollectSkipped.php" hash="3efd27b15b46b2befdcd01f8e03b17e7"/><file name="EmailTemplates.php" hash="5c8ecad5f60e5577492aea60b8c60120"/><dir name="Exception"><file name="MissingEntity.php" hash="55c8d26331cf9e7090c6fec482cf3b3e"/></dir><file name="Importer.php" hash="2ecac21104fab2e7929932d12cc5b799"/><file name="LocaleCsvFiles.php" hash="065ce0d9b42a39a993ab026c141e409d"/><file name="Product.php" hash="6e392b533680af8b8b5881c8c8f0c61e"/></dir><file name="Project.php" hash="faf305f7407fa07d2a44080b77dfbcd0"/><file name="Queue.php" hash="c998e994059b84a9ed2624c3e3704d59"/><file name="Validator.php" hash="795fa7dd6ad2e826be6daabe5c59c0c7"/></dir><file name="Observer.php" hash="604a1768e35b5d900a72905e6be8135a"/><file name="ProductLoader.php" hash="327794e41b7e279bf8b221c11765a89a"/><dir name="Project"><file name="Category.php" hash="8dd0af28d2889d8eb5ea4aa5fb7b2b5b"/><file name="Cmsblock.php" hash="2b0c4601a0021d5f7d06f98e2b7ab0e2"/><file name="Cmspage.php" hash="3a5642ff3770b3ad09424880b20949c9"/><file name="Csv.php" hash="4fd06e795a31a53ef4fc5106c0ffa28c"/><file name="EmailtemplateDatabase.php" hash="c6978dfc5846d3f470e0b8536178f344"/><file name="EmailtemplateFile.php" hash="c0ba504eaf050ad39acd6e90f47854f3"/><file name="Import.php" hash="a8ef441cd37ee562d8b38755359cd694"/><file name="Product.php" hash="8b5e14407f1449d3df0204274d03320a"/><dir name="Source"><file name="Status.php" hash="6890bab36d251ee47ca2836fbeb41603"/></dir></dir><file name="Project.php" hash="965de702184f15e9c62691e3b505713c"/><dir name="Renderer"><dir name="Filesystem"><file name="RelativeToAppDirectory.php" hash="725289dc9ed79898eab27b2ccb5c6d91"/><file name="RelativeToLocaleTemplateDirectory.php" hash="14f6a546f84a48d822179bb353b46351"/></dir><file name="Filesystem.php" hash="5c56c1e04db25584ac6a1ad48c0d4a9d"/></dir><dir name="Resource"><dir name="Catalog"><dir name="Product"><dir name="Attribute"><dir name="Backend"><dir name="Media"><file name="OnlyStoreValues.php" hash="ae4d43376d24cbae4ed19632794f51ba"/></dir></dir></dir><dir name="Option"><file name="Title.php" hash="ee3eabb5995eb327e2de31b248e285be"/><dir name="Type"><file name="Title.php" hash="c49656683099b75ccd6642c61d7a22bc"/></dir></dir></dir></dir><dir name="Csv"><file name="Collection.php" hash="eb6da912effb9c3e1559a8279f18af5d"/></dir><dir name="Eav"><dir name="Attribute"><dir name="Label"><file name="Collection.php" hash="6eff56981825b462b78897a1dd0f7248"/></dir><file name="Label.php" hash="65ba1673abc5ed1731d0e911b9b5e4b7"/><dir name="Option"><dir name="Value"><file name="Collection.php" hash="23ebc81f087b31723b175ae46e7eb4e2"/></dir><file name="Value.php" hash="3352674505656df6d51774444ab59fa5"/></dir></dir></dir><dir name="Emailtemplate"><dir name="Filesystem"><file name="Collection.php" hash="a8f0dc8367a2ee12846d89b272037db1"/></dir></dir><dir name="Filesystem"><file name="Collection.php" hash="69c8704fb860028c904dd87e71b5d2fe"/></dir><dir name="Project"><dir name="Category"><file name="Collection.php" hash="134968856c66296fe418151a7dfdc8a5"/></dir><file name="Category.php" hash="55d87ff56d171e1daf4f42a2b8808d1b"/><dir name="Cmsblock"><file name="Collection.php" hash="d126952fba4c57de3277ac83bbafe61b"/></dir><file name="Cmsblock.php" hash="05e85b8142a95424ddd45884999a6c6c"/><dir name="Cmspage"><file name="Collection.php" hash="7fd97c6a893d2e365e1035e934f5be5d"/></dir><file name="Cmspage.php" hash="58e59ec888b52973b01b98e0fc19f50f"/><file name="Collection.php" hash="0b068f00639795627c7e2576ca3feaa4"/><dir name="Csv"><file name="Collection.php" hash="0d10dfdedae29b70f1fc2e3b19f160e4"/></dir><file name="Csv.php" hash="f283f1bd37fecb222bedf46d9cde3f18"/><dir name="EmailtemplateDatabase"><file name="Collection.php" hash="e63d7568db40281040ef984326100658"/></dir><file name="EmailtemplateDatabase.php" hash="eb787be577d4341d5324d159f9a66afd"/><dir name="EmailtemplateFile"><file name="Collection.php" hash="8d83aa3abce2e076d387ac3ba3a12cb3"/></dir><file name="EmailtemplateFile.php" hash="43d1baa459bf00fead85fa9e22979502"/><dir name="Import"><file name="Collection.php" hash="7ac0c91738130e32b97e4dc3f7ae6e68"/></dir><file name="Import.php" hash="9d71d42dfc91c16fa83a26ae76b79339"/><dir name="Product"><file name="Collection.php" hash="cafc0c7dbda6f9733a7dbf158a03c88b"/></dir><file name="Product.php" hash="8fbd6ffee43f8094c90d52f97e425d50"/></dir><file name="Project.php" hash="d964e9890f77119ceb343692d98a27d7"/><file name="Setup.php" hash="992b5dbedd9dc6d669ff7a7949c790ab"/></dir><dir name="Source"><file name="StoreViewWithLocale.php" hash="a97b6ef2d0521da72fcad45c7ab8b1df"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Salutation.php" hash="1de509321f9050e3f4c30c004e9b0310"/></dir></dir></dir><dir name="Updater"><file name="MediaGalleryValue.php" hash="8c38ccb08dab63701882e4dbf79f0bc7"/></dir><dir name="Xml"><dir name="Import"><dir name="Cms"><file name="Block.php" hash="ee5853195c38dcc699a663bbe70a510e"/><file name="BlockReader.php" hash="014777bc903da0127027952e32ae425a"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Eurotext"><file name="HelpController.php" hash="cf5a275aef3ed8d5b57cecf7e336fc9d"/><dir name="Project"><file name="ExportController.php" hash="42aff5572e51fdfc82d098edf73220dc"/><file name="ImportController.php" hash="58100208c8f78a2bf87b9ee6a6e1d466"/></dir><file name="ProjectController.php" hash="d6aef1b1528e1161e94163e751a97725"/><file name="StatusController.php" hash="fa4bad31a7259d73eb4e8d63f8a8baad"/></dir></dir></dir><dir name="data"><dir name="eurotext_translationmanager_setup"><file name="data-install-3.0.0.php" hash="fa9de480b2d6d32ec1530c51914607d7"/><file name="data-upgrade-1.2.0.4-1.2.1.php" hash="40c403ee7e379d83e3f76ce1d6809b4e"/><file name="data-upgrade-1.2.1-1.2.2.php" hash="d6a7a1c4e525f552cc463393398737e1"/><file name="data-upgrade-3.1.1-3.1.2.php" hash="ea833f0234b35f910623f0434d78e8e9"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="1ffde8d90ee17a9c7f74e93f5b01ecc6"/><file name="config.xml" hash="b176f8a6e4bdeaeaf6cd0d43fffedbce"/><file name="jstranslator.xml" hash="96c99f45202c522b98b01e792308954b"/><file name="system.xml" hash="30c104492c31a647fe7d05af8a7ec52a"/></dir><dir name="sql"><dir name="eurotext_translationmanager_setup"><file name="install-3.0.0.php" hash="a83ab8f94563a9cbe221edbfc0ceb500"/><file name="mysql4-install-1.0.0.0.php" hash="cd7bed4f7a7afce245992512c6a1933b"/><file name="mysql4-upgrade-1.0.0.5-1.0.0.6.php" hash="548230adb75f3d7799855fc2eb2f9c4c"/><file name="mysql4-upgrade-1.0.0.7-1.0.0.8.php" hash="4de6534c12eb4a82a948485c9d6b8e86"/><file name="upgrade-1.1.2.1-1.2.0.0.php" hash="ea022950a6af9bbba834537b1b5bedb3"/><file name="upgrade-1.2.0.0-1.2.0.1.php" hash="40e90210f3194928c38b8d47accafb96"/><file name="upgrade-1.2.0.1-1.2.0.2.php" hash="a67c4bcf3cbc13baca9bf827ac733c7a"/><file name="upgrade-1.2.0.2-1.2.0.3.php" hash="1e0a0185fd8d3a464c25cf093e939ea3"/><file name="upgrade-1.2.1-1.2.2.php" hash="dc9228eb14fc43830ed6e606b088b3eb"/><file name="upgrade-1.2.2-2.0.0.php" hash="d398a69e69e749d134a565673eadedb9"/><file name="upgrade-2.0.0-2.0.1.php" hash="abe68877c883a4184d11b753fa00cbf9"/><file name="upgrade-2.0.1-2.0.2.php" hash="31a83ad241332f4f42cccd639ac8d8a1"/><file name="upgrade-2.0.10-3.0.0.php" hash="3c247bf1573b192c431fecf1a97ea41e"/><file name="upgrade-2.0.3-2.0.4.php" hash="808861b1ef6079517feb94ae9afb7bc4"/><file name="upgrade-2.0.4-2.0.5.php" hash="29082ded381bd975bf8e9de9ee1aab74"/><file name="upgrade-2.0.5-2.0.6.php" hash="be2d23c6c0b877db0ac3bfa75a15b3c2"/><file name="upgrade-2.0.6-2.0.7.php" hash="4a789cf110e0e98270e635a7df85706e"/><file name="upgrade-2.0.7-2.0.8.php" hash="64a538428c0ebadcbb942a218814411a"/><file name="upgrade-2.0.8-2.0.9.php" hash="f2fd21608a2b91aeed69a28a1fb22b7a"/><file name="upgrade-2.0.9-2.0.10.php" hash="99d8c357714dfad0c44878a19ced4bab"/><file name="upgrade-3.0.0-3.0.1.php" hash="8a1ba3c8d8ca015c9e47d075ecea63dc"/><file name="upgrade-3.0.1-3.0.2.php" hash="9a6333481ccf99cbc851ae904067d91a"/><file name="upgrade-3.0.2-3.1.1.php" hash="656613ebca52ae1581d41cc2cdf58d83"/><file name="upgrade-3.1.5-3.1.6.php" hash="529cb0c4c7f7f5f3b15e53dcc025c0f7"/><file name="upgrade-3.1.6-3.1.7.php" hash="a3e58f601ca6fbf534bb14d031c19d39"/><file name="upgrade-3.1.7-3.1.8.php" hash="937e0052ee352a2f0fd1f548d65e61ef"/><file name="upgrade-3.2.17-3.2.18.php" hash="f1256ad4bcfa8bdb726fd510c27baf77"/></dir></dir></dir><dir name="Uploader"><dir name="Block"><file name="Abstract.php" hash="8cf19faab951ce77597d5c08f7f1d72d"/><file name="Single.php" hash="98267d16076c3d556fb60d36c4e98252"/></dir><dir name="Helper"><file name="Data.php" hash="c142374acaef347046b43812adf919bf"/><file name="File.php" hash="72ce04aec06d51501c7813b35f3888ed"/></dir><dir name="Model"><dir name="Config"><file name="Abstract.php" hash="ac2ee98d14729d0ac3d7fd01fb72c579"/><file name="Browsebutton.php" hash="bce1ef6db09e535473c085dd6b5f580c"/><file name="Misc.php" hash="e0a89ff017cd74531448f9f295bb327b"/><file name="Uploader.php" hash="41152324c956fbe9cc9473044c139201"/></dir></dir><dir name="etc"><file name="config.xml" hash="a76f635b80aa9f9ad87fba966d560e11"/><file name="jstranslator.xml" hash="5de25b97a70ec60134a47c3c6bc9212a"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="layout"><dir name="eurotext"><file name="translationmanager.xml" hash="e38c07c4722a336dd2911898edb1bd9b"/></dir></dir><dir name="template"><dir name="eurotext"><dir name="translationmanager"><dir name="export"><file name="overview.phtml" hash="5005c03af44e03864fb45a82a0954657"/></dir><file name="help.phtml" hash="8ff49ba10ae6a4119e14a1e9ecfdb8ef"/><dir name="import"><file name="overview.phtml" hash="6c90bdd842e3b03c8697c337b388e798"/></dir><dir name="project"><dir name="email"><file name="note.phtml" hash="f39644edf9dc77c92206961f46dc08b8"/></dir><dir name="products"><file name="bulk_sku.phtml" hash="d150c3b522378c2810947b8f877eccef"/><file name="category_tree.phtml" hash="02d25a4b18772ac2541f7be067ed1c0f"/><file name="script.phtml" hash="44956e903e1f2751da6d6464214b047f"/></dir></dir></dir><dir name="uploader"><dir name="media"><file name="uploader.phtml" hash="8f37a11c24df77615aaaba3e81cebbaa"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Eurotext_TranslationManager.csv" hash="a12bd9b9c3779b9f78afa8a7b7d7cc6d"/><file name="Eurotext_Uploader.csv" hash="52a262b495f24074825b07a15080e264"/></dir><dir name="de_DE"><file name="Eurotext_TranslationManager.csv" hash="0603d3118fad3d6815ebaf3bd6e1ee9f"/><file name="Eurotext_Uploader.csv" hash="0009959270fc7f3d5256250c97f5b4c8"/></dir></target><target name="mageetc"><dir name="modules"><file name="Eurotext_TranslationManager.xml" hash="0eb43d3e4d41bebb069074d1d9eed7df"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="eurotext"><dir name="translationmanager"><dir name="css"><file name="help.css" hash="5b50258f7dba292ce59a703b4b12a65a"/><file name="project.css" hash="4a959f8858e91c2b1b49e3ca927b9447"/><file name="status.css" hash="893a736b4a043eb5b801d7a639d92d03"/></dir><dir name="images"><file name="btt_suche.png" hash="9b74d62b9840cafb6990352c52a39458"/><file name="cat-minus.png" hash="d092af81ca37c821e13f27cc9bc44378"/><file name="cat-none.png" hash="88805f6b1ed90aa66db3cc6f89c83db0"/><file name="cat-plus.png" hash="16d73e360bebbeb16c4115ceea771b56"/><file name="eurotext_logo.png" hash="87120ee2d376e3195e2e7cd8b9661ba7"/><file name="eurotext_table_head.png" hash="36583e9470155c585304e305133e13ec"/><file name="logo_dixeno.png" hash="dd23f387d0eee8a9494724a470d8742e"/><file name="logo_eurotext.png" hash="7a8627f728f203823fbee1575d223131"/><file name="pager_arrow_left.gif" hash="6e44f608dac8eb8be1d1ebee5a3285aa"/><file name="pager_arrow_left_off.gif" hash="30f5e56195ab3546b36f4016db5254be"/><file name="pager_arrow_right.gif" hash="cc79526156b7e0c8abce61fad3d53f77"/><file name="pager_arrow_right_off.gif" hash="f01b7dad9acf0180b5c62edbd7ea9939"/></dir><dir name="js"><file name="eurotext_project.js" hash="77148ffb0beac445bb570feff0557c7e"/><file name="export.js" hash="78b560ca40a66a6180a4ad8bb7dad933"/><file name="system_config.js" hash="d773e2a2896b917ca4f793da3fb4f9d3"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="eurotext"><dir name="uploader"><file name="flow.min.js" hash="a82a557db407b53d5909fa4e1833a596"/><file name="fusty-flow-factory.js" hash="b3f49be0f28be74e8b8bb76496c52bc3"/><file name="fusty-flow.js" hash="302f440908837093fd4e9b6e76ec01e0"/><file name="instance.js" hash="3a4f8bbbb500a1224eba194f93afe437"/></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.5.0</min><max>8.0.0</max></php></required></dependencies>
|
18 |
</package>
|
skin/adminhtml/base/default/eurotext/translationmanager/css/help.css
CHANGED
@@ -1,17 +1,7 @@
|
|
1 |
.eurotext_logo {
|
2 |
background: url('../images/eurotext_logo.png');
|
3 |
-
|
4 |
-
|
|
|
5 |
display: inline-block;
|
6 |
}
|
7 |
-
|
8 |
-
.logo_eurotext {
|
9 |
-
background: url('../images/logo_eurotext.png');
|
10 |
-
width: 244px;
|
11 |
-
height: 69px;
|
12 |
-
display: inline-block;
|
13 |
-
}
|
14 |
-
|
15 |
-
.eurotext_grid table td {
|
16 |
-
padding: 15px;
|
17 |
-
}
|
1 |
.eurotext_logo {
|
2 |
background: url('../images/eurotext_logo.png');
|
3 |
+
background-size: 100%;
|
4 |
+
width: 226px;
|
5 |
+
height: 35px;
|
6 |
display: inline-block;
|
7 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
skin/adminhtml/base/default/eurotext/translationmanager/js/eurotext_project.js
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
document.observe('dom:loaded', function () {
|
2 |
-
hideTabWhenCheckboxIsChecked('productmode', 'project_tabs_products_section');
|
3 |
-
hideTabWhenCheckboxIsChecked('categorymode', 'project_tabs_categories_section');
|
4 |
-
hideTabWhenCheckboxIsChecked('cmsmode', 'project_tabs_cms_block_section');
|
5 |
-
hideTabWhenCheckboxIsChecked('cmsmode', 'project_tabs_cms_page_section');
|
6 |
-
hideTabWhenCheckboxIsChecked('templatemode', 'project_tabs_transaction_email_section');
|
7 |
-
hideTabWhenCheckboxIsChecked('langfilesmode', 'project_tabs_translate_file_section');
|
8 |
|
9 |
// disable export button on project change
|
10 |
new PeriodicalExecuter(function () {
|
@@ -28,24 +22,6 @@ document.observe('dom:loaded', function () {
|
|
28 |
);
|
29 |
});
|
30 |
|
31 |
-
function hideTabWhenCheckboxIsChecked(checkboxId, tabId) {
|
32 |
-
var elem = $(checkboxId);
|
33 |
-
if (elem.checked) {
|
34 |
-
$(tabId).up().hide();
|
35 |
-
} else {
|
36 |
-
$(tabId).up().show();
|
37 |
-
}
|
38 |
-
|
39 |
-
$(checkboxId).observe('click', function (event) {
|
40 |
-
var elem = event.element();
|
41 |
-
if (elem.checked) {
|
42 |
-
$(tabId).up().hide();
|
43 |
-
} else {
|
44 |
-
$(tabId).up().show();
|
45 |
-
}
|
46 |
-
});
|
47 |
-
}
|
48 |
-
|
49 |
serializerController.prototype.orig_initialize = serializerController.prototype.initialize;
|
50 |
serializerController.prototype.initialize = function (hiddenDataHolder, predefinedData, inputsToManage, grid, reloadParamName) {
|
51 |
this.orig_initialize(hiddenDataHolder, predefinedData, inputsToManage, grid, reloadParamName);
|
@@ -76,6 +52,26 @@ varienGridMassaction.prototype.selectVisible = function () {
|
|
76 |
return false;
|
77 |
};
|
78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
varienGridMassaction.prototype.oldCheckCheckboxes = varienGridMassaction.prototype.checkCheckboxes;
|
80 |
varienGridMassaction.prototype.checkCheckboxes = function () {
|
81 |
this.oldCheckCheckboxes();
|
@@ -88,6 +84,8 @@ varienGridMassaction.prototype.checkCheckboxes = function () {
|
|
88 |
};
|
89 |
|
90 |
varienGrid.prototype.resetFilter = function () {
|
91 |
-
|
|
|
|
|
92 |
this.reload(this.addVarToUrl(this.filterVar, ''));
|
93 |
};
|
1 |
document.observe('dom:loaded', function () {
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
// disable export button on project change
|
4 |
new PeriodicalExecuter(function () {
|
22 |
);
|
23 |
});
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
serializerController.prototype.orig_initialize = serializerController.prototype.initialize;
|
26 |
serializerController.prototype.initialize = function (hiddenDataHolder, predefinedData, inputsToManage, grid, reloadParamName) {
|
27 |
this.orig_initialize(hiddenDataHolder, predefinedData, inputsToManage, grid, reloadParamName);
|
52 |
return false;
|
53 |
};
|
54 |
|
55 |
+
varienGridMassaction.prototype.selectAll = function () {
|
56 |
+
this.gridIds.split(',').each(function (key) {
|
57 |
+
this.checkedString = varienStringArray.add(key, this.checkedString);
|
58 |
+
}.bind(this));
|
59 |
+
this.checkCheckboxes();
|
60 |
+
this.updateCount();
|
61 |
+
this.clearLastChecked();
|
62 |
+
return false;
|
63 |
+
};
|
64 |
+
|
65 |
+
varienGridMassaction.prototype.unselectAll = function () {
|
66 |
+
this.gridIds.split(',').each(function (key) {
|
67 |
+
this.checkedString = varienStringArray.remove(key, this.checkedString);
|
68 |
+
}.bind(this));
|
69 |
+
this.checkCheckboxes();
|
70 |
+
this.updateCount();
|
71 |
+
this.clearLastChecked();
|
72 |
+
return false;
|
73 |
+
};
|
74 |
+
|
75 |
varienGridMassaction.prototype.oldCheckCheckboxes = varienGridMassaction.prototype.checkCheckboxes;
|
76 |
varienGridMassaction.prototype.checkCheckboxes = function () {
|
77 |
this.oldCheckCheckboxes();
|
84 |
};
|
85 |
|
86 |
varienGrid.prototype.resetFilter = function () {
|
87 |
+
if (this.containerId == "productGrid") {
|
88 |
+
productGridJsObject.reloadParams.category_id = null;
|
89 |
+
}
|
90 |
this.reload(this.addVarToUrl(this.filterVar, ''));
|
91 |
};
|