[344764] Translation fragments discard the plug-in's directory structure
diff --git a/classes/export/generate1.php b/classes/export/generate1.php
index 6d28ee8..a589e86 100755
--- a/classes/export/generate1.php
+++ b/classes/export/generate1.php
@@ -239,7 +239,7 @@
if (preg_match( "/^(.*)\.properties$/", $filename, $matches)) {
$filename = $matches[1] . '_' . $language_iso . '.properties';
}
- echo "${leader}${leader}${leader}Generating properties file $filename (file_id=" . $properties_file['file_id'] . ")\n";
+ echo "${leader}${leader}${leader}Generating properties file " . $properties_file['dir_name'] . $filename . " (file_id=" . $properties_file['file_id'] . ")\n";
/*
* Create any needed sub-directories
*/
@@ -308,7 +308,7 @@
* Finish the properties file
*/
fclose($outp);
- echo "${leader}${leader}${leader}Completed properties file $filename\n";
+ echo "${leader}${leader}${leader}Completed properties file " . $properties_file['dir_name'] . $filename . "\n";
}
/*
* Copy in the various legal files