-echo " % ./configure.sh"
+echo " # $ROOT/configure.sh"
echo ""
---- gallery/setup/confirm.inc~ 2007-04-24 20:18:38.534227440 +0300
-+++ gallery/setup/confirm.inc 2007-04-24 20:35:35.067171720 +0300
+--- gallery/setup/confirm.inc~ 2007-08-21 09:25:22.650536464 +0300
++++ gallery/setup/confirm.inc 2007-08-21 09:28:17.384497289 +0300
@@ -53,7 +53,7 @@
${str_replace('.', '', $outfile) . '_file'} = 0;
} else {
$error++;
-- $viewheader .= '<br>'. gallery_error(sprintf(_("File %s in your Gallery mainfolder is not writable by the webserver. - chmod it 777 before proceeding. See %s for more details."), "<i><b>$outfile</b></i>", $docs)) . "</p>\n";
-+ $viewheader .= gallery_error(sprintf(_("File %s in your Gallery mainfolder is not writable by the webserver. - run %s before proceeding. See %s for more details."), "<i><b>$outfile</b></i>", "<tt>/usr/share/gallery/configure.sh</tt>", $docs)) . "</p>\n";
+- $viewheader .= '<br>'. gallery_error(sprintf(gTranslate('config', "File %s in your Gallery mainfolder is not writable by the webserver. - chmod it 777 before proceeding. See %s for more details."), "<i><b>$outfile</b></i>", $docs)) . "</p>\n";
++ $viewheader .= '<br>'. gallery_error(sprintf(gTranslate('config', "File %s in your Gallery mainfolder is not writable by the webserver. - run %s before proceeding. See %s for more details."), "<i><b>$outfile</b></i>", "<tt>/usr/share/gallery/configure.sh</tt>", $docs)) . "</p>\n";
${str_replace('.', '', $outfile) . '_file'} = 1;
}
}
---- gallery-1.5.2.orig/setup/write.inc
-+++ gallery-1.5.2/setup/write.inc
+--- gallery/setup/write.inc~ 2007-08-21 09:25:22.660536691 +0300
++++ gallery/setup/write.inc 2007-08-21 09:29:42.406424831 +0300
@@ -193,7 +193,7 @@
$message .= "<br><br>";
else
$message = "";
-- $message .= _("We highly suggest that you run 'secure.sh', or chmod your .htaccess and config.php to 644 for increased security.");
-+ $message .= _("We highly suggest that you run '/usr/share/gallery/secure.sh' for increased security.");
+- $message .= gTranslate('config', "We highly suggest that you run 'secure.sh', or chmod your .htaccess and config.php to 644 for increased security.");
++ $message .= gTranslate('config', "We highly suggest that you run '/usr/share/gallery/secure.sh' for increased security.");
}
// Inform the user that their gallery is not secure until they remove the 'resetadmin' file
Summary: Web based photo album viewer and creator
Summary(pl): Przegl±darka i generator albumów zdjêæ w postaci stron WWW
Name: gallery
-Version: 1.5.6
+Version: 1.5.7
Release: 1
License: GPL
Group: Applications/Publishing
Source0: http://dl.sourceforge.net/gallery/%{name}-%{version}.tar.gz
-# Source0-md5: 76d10d3596534c616cf6e9ac6c50b93d
+# Source0-md5: ff6ca5652e1c4007775bfc905b1a3b55
Source1: http://dl.sourceforge.net/gallery/pl_PL-1.5.2.tar.gz
# Source1-md5: 1dd07a63d96299d8f5e4cc03342d318e
Source2: %{name}-apache.conf