Skip to content
This repository was archived by the owner on May 5, 2022. It is now read-only.

Commit 352291a

Browse files
updated translation
1 parent bd55ea4 commit 352291a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

unzipper.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public static function extract($archive, $destination) {
118118
public static function extractZipArchive($archive, $destination) {
119119
// Check if webserver supports unzipping.
120120
if (!class_exists('ZipArchive')) {
121-
$GLOBALS['status'] = array('error' => 'Error: Your PHP version does not support unzip functionality.');
121+
$GLOBALS['status'] = array('error' => 'Error: Ihre PHP-Version unterstützt die Fähigkeit zum entpacken von Archiven nicht.');
122122
return;
123123
}
124124

@@ -130,14 +130,14 @@ public static function extractZipArchive($archive, $destination) {
130130
if (is_writeable($destination . '/')) {
131131
$zip->extractTo($destination);
132132
$zip->close();
133-
$GLOBALS['status'] = array('success' => 'Files unzipped successfully');
133+
$GLOBALS['status'] = array('success' => 'Dateien erfolgreich entpackt.');
134134
}
135135
else {
136-
$GLOBALS['status'] = array('error' => 'Error: Directory not writeable by webserver.');
136+
$GLOBALS['status'] = array('error' => 'Error: Verzeichnis vom Webserver nicht beschreibbar.');
137137
}
138138
}
139139
else {
140-
$GLOBALS['status'] = array('error' => 'Error: Cannot read .zip archive.');
140+
$GLOBALS['status'] = array('error' => 'Error: Das .zip-Archiv ist nicht lesbar.');
141141
}
142142
}
143143

@@ -150,7 +150,7 @@ public static function extractZipArchive($archive, $destination) {
150150
public static function extractGzipFile($archive, $destination) {
151151
// Check if zlib is enabled
152152
if (!function_exists('gzopen')) {
153-
$GLOBALS['status'] = array('error' => 'Error: Your PHP has no zlib support enabled.');
153+
$GLOBALS['status'] = array('error' => 'Error: Ihr PHP hat keine zlib-Unterstützung aktiviert!');
154154
return;
155155
}
156156

@@ -183,7 +183,7 @@ public static function extractGzipFile($archive, $destination) {
183183
public static function extractRarArchive($archive, $destination) {
184184
// Check if webserver supports unzipping.
185185
if (!class_exists('RarArchive')) {
186-
$GLOBALS['status'] = array('error' => 'Error: Your PHP version does not support .rar archive functionality. <a class="info" href="http://php.net/manual/en/rar.installation.php" target="_blank">How to install RarArchive</a>');
186+
$GLOBALS['status'] = array('error' => 'Error: Ihre PHP-Version unterstützt keine .rar-Funktionalitäten <a class="info" href="http://php.net/manual/en/rar.installation.php" target="_blank">How to install RarArchive</a>');
187187
return;
188188
}
189189
// Check if archive is readable.
@@ -195,14 +195,14 @@ public static function extractRarArchive($archive, $destination) {
195195
$entry->extract($destination);
196196
}
197197
$rar->close();
198-
$GLOBALS['status'] = array('success' => 'Files extracted successfully.');
198+
$GLOBALS['status'] = array('success' => 'Dateien erfolgreich extrahiert.');
199199
}
200200
else {
201-
$GLOBALS['status'] = array('error' => 'Error: Directory not writeable by webserver.');
201+
$GLOBALS['status'] = array('error' => 'Error: Verzeichnis vom Webserver nicht beschreibbar.');
202202
}
203203
}
204204
else {
205-
$GLOBALS['status'] = array('error' => 'Error: Cannot read .rar archive.');
205+
$GLOBALS['status'] = array('error' => 'Error: Das .rar-Archiv kann nicht gelesen werden!');
206206
}
207207
}
208208

@@ -283,7 +283,7 @@ public static function zipDir($sourcePath, $outZipPath) {
283283
?>
284284

285285
<!DOCTYPE html>
286-
<html>
286+
<html lang="de">
287287
<head>
288288
<title>File Unzipper + Zipper</title>
289289
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

0 commit comments

Comments
 (0)