[evolvis-commits] r6518: - Optimized download.class. php and additional translation to the optimized class.

papel at evolvis.org papel at evolvis.org
Thu Apr 8 09:31:18 CEST 2010


Author: papel
Date: 2010-04-08 07:31:18 +0000 (Thu, 08 Apr 2010)
New Revision: 6518

Modified:
   trunk/gforge_base/gforge-4.8.1+evolvis/translations/de.po
   trunk/gforge_base/gforge-4.8.1+evolvis/www/frs/download.class.php
Log:
- Optimized download.class.php and additional translation to the optimized class.

Modified: trunk/gforge_base/gforge-4.8.1+evolvis/translations/de.po
===================================================================
--- trunk/gforge_base/gforge-4.8.1+evolvis/translations/de.po	2010-04-07 12:09:45 UTC (rev 6517)
+++ trunk/gforge_base/gforge-4.8.1+evolvis/translations/de.po	2010-04-08 07:31:18 UTC (rev 6518)
@@ -13252,3 +13252,7 @@
 msgid "Change week"
 msgstr "Woche wechseln"
 
+#: www/frs/download.class.php:88
+msgid "Can not open the file archiv."
+msgstr "Die Archivdatei kann nicht geöffnet werden."
+

Modified: trunk/gforge_base/gforge-4.8.1+evolvis/www/frs/download.class.php
===================================================================
--- trunk/gforge_base/gforge-4.8.1+evolvis/www/frs/download.class.php	2010-04-07 12:09:45 UTC (rev 6517)
+++ trunk/gforge_base/gforge-4.8.1+evolvis/www/frs/download.class.php	2010-04-08 07:31:18 UTC (rev 6518)
@@ -85,7 +85,7 @@
 		$filesToZipPath = $this->getNewestReleasePathAsString();
 
 		if ($zip->open($zipFilePlusPath, ZIPARCHIVE::OVERWRITE)!==TRUE) {
-    		exit("cannot open <$zipFilePlusPath>\n");
+			exit_error(_('Can not open the file archiv.').' '.$zipFilePlusPath.'.');
 		}
 
 		$files_ =& $release_->getFiles(); $intErgCount = count($files_);




More information about the evolvis-commits mailing list