diff --git a/component/admin/models/package.php b/component/admin/models/package.php
index 4bedccee..7de99af4 100644
--- a/component/admin/models/package.php
+++ b/component/admin/models/package.php
@@ -789,6 +789,19 @@ public function download($data)
$site_txt .= "\t\t" . 'js/calendar-setup.js' . "\n";
}
+ $path = JPATH_ROOT . '/media/' . $data['language'] . '/js/calendar-setup-uncompressed.js';
+
+ if (JFile::exists($path))
+ {
+ $file_data = file_get_contents($path);
+ }
+
+ if (JFile::exists($path) && !empty($file_data))
+ {
+ $site_package_files[] = array('name' => 'js/calendar-setup-uncompressed.js','data' => $file_data);
+ $site_txt .= "\t\t" . 'js/calendar-setup-uncompressed' . "\n";
+ }
+
$path = JPATH_ROOT . '/media/' . $data['language'] . '/js/index.html';
if (JFile::exists($path))
@@ -815,6 +828,19 @@ public function download($data)
$site_txt .= "\t\t" . 'js/calendar.js' . "\n";
}
+ $path = JPATH_ROOT . '/media/' . $data['language'] . '/js/calendar-uncompressed.js';
+
+ if (JFile::exists($path))
+ {
+ $file_data = file_get_contents($path);
+ }
+
+ if (JFile::exists($path) && !empty($file_data))
+ {
+ $site_package_files[] = array('name' => 'js/calendar-uncompressed.js','data' => $file_data);
+ $site_txt .= "\t\t" . 'js/calendar-uncompressed.js' . "\n";
+ }
+
$site_txt .= "\t" . '' . "\n";
}
diff --git a/component/admin/models/translation.php b/component/admin/models/translation.php
index 7bd906e1..f7bfaa31 100644
--- a/component/admin/models/translation.php
+++ b/component/admin/models/translation.php
@@ -900,7 +900,7 @@ public function saveFile($data)
}
$contents2 .= "; @note Client " . ucfirst($client) . "\n";
- $contents2 .= "; @note All ini files need to be saved as UTF-8 - No BOM\n\n";
+ $contents2 .= "; @note All ini files need to be saved as UTF-8\n\n";
$contents = array();
$stream = new JStream;
diff --git a/localise.xml b/localise.xml
index 9996a226..1b6fd02f 100644
--- a/localise.xml
+++ b/localise.xml
@@ -9,7 +9,7 @@
(C) 2015 Open Source Matters. All rights reserved.
admin@joomla.org
https://github.com/joomla-projects/com_localise
- 4.0.11-dev
+ 4.0.12-dev
http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
COM_LOCALISE_XML_DESCRIPTION
install.php
diff --git a/update-server.xml b/update-server.xml
index c918c4ba..bb8c5c99 100644
--- a/update-server.xml
+++ b/update-server.xml
@@ -5,10 +5,10 @@
Localise - nice and easy management of languages and translation files.
com_localise
component
- 4.0.11-dev
+ 4.0.12-dev
https://github.com/joomla-projects/com_localise/
- https://github.com/joomla-projects/com_localise/releases/download/4.0.11-dev/com_localise-4.0.11-dev.zip
+ https://github.com/joomla-projects/com_localise/releases/download/4.0.12-dev/com_localise-4.0.12-dev.zip