= t2("Gallery has caught %count spam for you since you installed spam filtering.",
"Gallery has caught %count spam for you since you installed spam filtering.",
$spam_caught) ?>
- endif ?>
+
- if ($counts->spam): ?>
+ spam): ?>
= t2("There is currently one comment in your spam queue. You can delete it with a single click, but there is no undo operation so you may want to check the message first to make sure that it really is spam.",
"There are currently %count comments in your spam queue. You can delete them all with a single click, but there is no undo operation so you may want to check the messages first to make sure that they really are spam. All spam messages will be deleted after 7 days automatically.",
$counts->spam) ?>
@@ -21,20 +21,20 @@
href="= url::site("admin/manage_comments/delete_all_spam?csrf=$csrf") ?>">
= t("Delete all spam") ?>
- else: ?>
+
= t("Your spam queue is empty!") ?>
- endif ?>
+
- endif ?>
+
- if ($state == "deleted"): ?>
+
= t("These are messages that have been recently deleted. They will be permanently erased automatically after 7 days.") ?>
- if ($comment->state == "unpublished"): ?>
+ state == "unpublished"): ?>
= t("Your comment is held for moderation. The site moderator will review and publish it.") ?>
- endif ?>
+
= t("The GD graphics library is an extension to PHP commonly installed most webservers. Please refer to the GD website for more information.",
array("url" => "http://www.boutell.com/gd")) ?>
= t("GraphicsMagick is a standalone graphics program available on most Linux systems. Please refer to the GraphicsMagick website for more information.",
array("url" => "http://www.graphicsmagick.org")) ?>
- if ($tk->installed): ?>
+ installed): ?>
= t("GraphicsMagick version %version is available in %dir", array("version" => $tk->version, "dir" => $tk->dir)) ?>
= t("ImageMagick is a standalone graphics program available on most Linux systems. Please refer to the ImageMagick website for more information.",
array("url" => "http://www.imagemagick.org")) ?>
- if ($tk->installed): ?>
+ installed): ?>
= t("ImageMagick version %version is available in %dir", array("version" => $tk->version, "dir" => $tk->dir)) ?>
diff --git a/modules/gallery/views/admin_maintenance.html.php b/modules/gallery/views/admin_maintenance.html.php
index 230e9353..936dde82 100644
--- a/modules/gallery/views/admin_maintenance.html.php
+++ b/modules/gallery/views/admin_maintenance.html.php
@@ -7,15 +7,15 @@
= t("When you're performing maintenance on your Gallery, you can enable maintenance mode which prevents any non-admin from accessing your Gallery. Some of the tasks below will automatically put your Gallery in maintenance mode for you.") ?>
- if (module::get_var("gallery", "maintenance_mode")): ?>
+
= t("Maintenance mode is on. Non admins cannot access your Gallery. Turn off maintenance mode", array("enable_maintenance_mode_url" => url::site("admin/maintenance/maintenance_mode/0?csrf=$csrf"))) ?>
- else: ?>
+
= t("Maintenance mode is off. User access is permitted. Turn on maintenance mode", array("enable_maintenance_mode_url" => url::site("admin/maintenance/maintenance_mode/1?csrf=$csrf"))) ?>
');
$("#g-dialog").dialog({
@@ -46,11 +46,11 @@
= t("Power up your Gallery by adding more modules! Each module provides new cool features.", array("url" => "http://codex.galleryproject.org/Category:Gallery_3:Modules")) ?>
- if ($obsolete_modules_message): ?>
+
= t("FFmpeg is a cross-platform standalone audio/video program.") ?>
= t("Please refer to the FFmpeg website for more information.", array("url" => "http://ffmpeg.org")) ?>
- if ($ffmpeg_dir): ?>
- if ($ffmpeg_version): ?>
+
+
= t("FFmpeg version %version was found in %dir", array("version" => $ffmpeg_version, "dir" => $ffmpeg_dir)) ?>
- else: ?>
+
= t("FFmpeg (of unknown version) was found in %dir", array("dir" => $ffmpeg_dir)) ?>
- endif ?>
- else: ?>
+
+
= t("We could not locate FFmpeg on your system.") ?>
diff --git a/modules/gallery/views/menu.html.php b/modules/gallery/views/menu.html.php
index 17a249dd..bdaed6b3 100644
--- a/modules/gallery/views/menu.html.php
+++ b/modules/gallery/views/menu.html.php
@@ -1,24 +1,24 @@
- if (!$menu->is_empty()): // Don't show the menu if it has no choices ?>
- if ($menu->is_root): ?>
+is_empty()): // Don't show the menu if it has no choices ?>
+is_root): ?>
css_id ? "id='$menu->css_id'" : "" ?> class="= $menu->css_class ?>">
- foreach ($menu->elements as $element): ?>
+ elements as $element): ?>
= $element->render() ?>
- endforeach ?>
+
= t("Oh no! Your server needs a configuration change in order for you to hide photos! Ask your server administrator to enable mod_rewrite and set AllowOverride FileInfo Options to fix this.",
@@ -33,22 +33,22 @@
"apache_attrs" => html::mark_clean('href="http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride" target="_blank"'))) ?>
- if ($item->is_album()): ?>
+ is_album()): ?>
= t("Delete the album %title? All photos and movies in the album will also be deleted.",
array("title" => html::purify($item->title))) ?>
- else: ?>
+
= t("Are you sure you want to delete %title?", array("title" => html::purify($item->title))) ?>
- endif ?>
+
- if (gallery::RELEASE_CHANNEL == "release"): ?>
+
= t("You are using the official Gallery %version release, code named %code_name.", array("version" => gallery::VERSION, "code_name" => gallery::CODE_NAME)) ?>
- elseif (isset($build_number)): ?>
+
= t("You are using an experimental snapshot of Gallery %version (build %build_number on branch %branch).", array("version" => gallery::VERSION, "branch" => gallery::RELEASE_BRANCH, "build_number" => $build_number)) ?>
- else: ?>
+
= t("You are using an experimental snapshot of Gallery %version (branch %branch) but your gallery3/.build_number file is missing so we don't know what build you have. You should probably upgrade so that you have that file.", array("version" => gallery::VERSION, "branch" => gallery::RELEASE_BRANCH, "build_number" => $build_number)) ?>
- endif ?>
+
">
= t("The following modules are inactive and don't require an upgrade.") ?>
">
- foreach ($available as $module): ?>
- if (!$module->active): ?>
+
+ active): ?>
= t($module->name) ?>
- endif ?>
- endforeach ?>
+
+
- endif ?>
- else: // can_upgrade ?>
+
+
= t("Who are you?") ?>
= t("You're not logged in as an administrator, so we have to verify you to make sure it's ok for you to do an upgrade. To prove you can run an upgrade, create a file called %name in your %tmp_dir_path directory.",
@@ -147,7 +147,7 @@
"tmp_dir_path" => "gallery3/var/tmp")) ?>