diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-28 12:15:52 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-28 12:15:52 -0700 |
commit | 7ea13b3869dee33804606a17488bb1cd26759bdb (patch) | |
tree | 39c98eb3b788e528003730894a3f897a579a3808 | |
parent | 8ef78de3f72f695225ac87223d0815235a630417 (diff) |
Normalize capitalization ticket #596
48 files changed, 137 insertions, 137 deletions
diff --git a/modules/akismet/views/admin_akismet.html.php b/modules/akismet/views/admin_akismet.html.php index d273be5b..399053d8 100644 --- a/modules/akismet/views/admin_akismet.html.php +++ b/modules/akismet/views/admin_akismet.html.php @@ -1,6 +1,6 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <div id="g-admin-akismet" class="g-block"> - <h1> <?= t("Akismet Spam Filtering") ?> </h1> + <h1> <?= t("Akismet spam filtering") ?> </h1> <p> <?= t("Akismet is a free, automated spam filtering service. In order to use it, you need to sign up for a <a href=\"%api_key_url\">Wordpress.com API Key</a>, which is also free. Your comments will be automatically relayed to <a href=\"%akismet_url\">Akismet.com</a> where they'll be scanned for spam. Spam messages will be flagged accordingly and hidden from your vistors until you approve or delete them.", array("api_key_url" => "http://wordpress.com/api-keys", @@ -9,7 +9,7 @@ <div class="g-block-content"> <? if ($valid_key): ?> <div class="g-module-status g-success"> - <?= t("Your API Key is valid. Your comments will be filtered!") ?> + <?= t("Your API key is valid. Your comments will be filtered!") ?> </div> <? endif ?> diff --git a/modules/comment/helpers/comment_block.php b/modules/comment/helpers/comment_block.php index c00c6c51..7cd5d429 100644 --- a/modules/comment/helpers/comment_block.php +++ b/modules/comment/helpers/comment_block.php @@ -19,7 +19,7 @@ */ class comment_block_Core { static function get_admin_list() { - return array("recent_comments" => t("Recent Comments")); + return array("recent_comments" => t("Recent comments")); } static function get($block_id) { @@ -27,7 +27,7 @@ class comment_block_Core { switch ($block_id) { case "recent_comments": $block->css_id = "g-recent-comments"; - $block->title = t("Recent Comments"); + $block->title = t("Recent comments"); $block->content = new View("admin_block_recent_comments.html"); $block->content->comments = ORM::factory("comment")->orderby("created", "DESC")->limit(5)->find_all(); diff --git a/modules/comment/helpers/comment_rss.php b/modules/comment/helpers/comment_rss.php index 4424981d..3692a30d 100644 --- a/modules/comment/helpers/comment_rss.php +++ b/modules/comment/helpers/comment_rss.php @@ -61,7 +61,7 @@ class comment_rss_Core { $feed->max_pages = ceil($comments->count_all() / $limit); $feed->title = htmlspecialchars(t("Recent Comments")); $feed->uri = url::abs_site("albums/" . (empty($id) ? "1" : $id)); - $feed->description = t("Recent Comments"); + $feed->description = t("Recent comments"); return $feed; } diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php index 82e071a8..f0f5ab1c 100644 --- a/modules/comment/views/admin_comments.html.php +++ b/modules/comment/views/admin_comments.html.php @@ -35,7 +35,7 @@ </script> <div id="g-admin-comments" class="g-block"> - <h1> <?= t("Manage Comments") ?> </h1> + <h1> <?= t("Manage comments") ?> </h1> <div class="g-block-content"> <!-- @todo: Highlight active menu option --> @@ -46,13 +46,13 @@ <!-- @todo: Remove after setting active option? --> <h2> <? if ($state == "published"): ?> - <?= t("Approved Comments") ?> + <?= t("Approved comments") ?> <? elseif ($state == "unpublished"): ?> - <?= t("Comments Awaiting Moderation") ?> + <?= t("Comments awaiting moderation") ?> <? elseif ($state == "spam"): ?> - <?= t("Spam Comments") ?> + <?= t("Spam comments") ?> <? elseif ($state == "deleted"): ?> - <?= t("Recently Deleted Comments") ?> + <?= t("Recently deleted comments") ?> <? endif ?> </h2> @@ -196,6 +196,6 @@ <div class="g-pager"> <?= $pager ?> </div> - + </div> </div> diff --git a/modules/exif/views/exif_dialog.html.php b/modules/exif/views/exif_dialog.html.php index b50eea1d..22744e2d 100644 --- a/modules/exif/views/exif_dialog.html.php +++ b/modules/exif/views/exif_dialog.html.php @@ -4,7 +4,7 @@ .g-odd { background: #bdd2ff; } .g-even { background: #dfeffc; } </style> -<h1 style="display: none;"><?= t("Photo Detail") ?></h1> +<h1 style="display: none;"><?= t("Photo detail") ?></h1> <div id="g-exif-data"> <table class="g-metadata" > <tbody> diff --git a/modules/exif/views/exif_sidebar.html.php b/modules/exif/views/exif_sidebar.html.php index 04f72b02..8af2eb12 100644 --- a/modules/exif/views/exif_sidebar.html.php +++ b/modules/exif/views/exif_sidebar.html.php @@ -1,5 +1,5 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> -<a id="g-exif-data-link" href="<?= url::site("exif/show/{$item->id}") ?>" title="<?= t("Photo Details")->for_html_attr() ?>" +<a id="g-exif-data-link" href="<?= url::site("exif/show/{$item->id}") ?>" title="<?= t("Photo details")->for_html_attr() ?>" class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all"> <span class="ui-icon ui-icon-info"></span> <?= t("View more information") ?> diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php index f55e7f32..248f8017 100644 --- a/modules/g2_import/helpers/g2_import.php +++ b/modules/g2_import/helpers/g2_import.php @@ -271,7 +271,7 @@ class g2_import_Core { if (g2(GalleryCoreApi::isAnonymousUser($g2_user_id))) { self::set_map($g2_user_id, identity::guest()->id); - return t("Skipping Anonymous User"); + return t("Skipping anonymous user"); } $g2_admin_group_id = diff --git a/modules/g2_import/views/admin_g2_import.html.php b/modules/g2_import/views/admin_g2_import.html.php index e1443aa7..b2665a5f 100644 --- a/modules/g2_import/views/admin_g2_import.html.php +++ b/modules/g2_import/views/admin_g2_import.html.php @@ -1,6 +1,6 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <div id="g-admin-g2-import" class="g-block"> - <h1> <?= t("Gallery 2 Import") ?> </h1> + <h1> <?= t("Gallery 2 import") ?> </h1> <p> <?= t("Import your Gallery 2 users, photos, movies, comments and tags into your new Gallery 3 installation.") ?> </p> diff --git a/modules/gallery/controllers/admin_languages.php b/modules/gallery/controllers/admin_languages.php index ccc631c7..27537c7f 100644 --- a/modules/gallery/controllers/admin_languages.php +++ b/modules/gallery/controllers/admin_languages.php @@ -115,7 +115,7 @@ class Admin_Languages_Controller extends Admin_Controller { ? t("This is a unique key that will allow you to send translations to the remote server. To get your API key go to %server-link.", array("server-link" => html::mark_clean(html::anchor($server_link)))) - : t("API Key")) + : t("API key")) ->value($api_key) ->error_messages("invalid", t("The API key you provided is invalid.")); $group->submit("save")->value(t("Save settings")); diff --git a/modules/gallery/helpers/gallery_block.php b/modules/gallery/helpers/gallery_block.php index 6c08d39a..0052affc 100644 --- a/modules/gallery/helpers/gallery_block.php +++ b/modules/gallery/helpers/gallery_block.php @@ -21,15 +21,15 @@ class gallery_block_Core { static function get_admin_list() { return array( "welcome" => t("Welcome to Gallery 3!"), - "photo_stream" => t("Photo Stream"), - "log_entries" => t("Log Entries"), - "stats" => t("Gallery Stats"), - "platform_info" => t("Platform Information"), - "project_news" => t("Gallery Project News")); + "photo_stream" => t("Photo stream"), + "log_entries" => t("Log entries"), + "stats" => t("Gallery stats"), + "platform_info" => t("Platform information"), + "project_news" => t("Gallery project news")); } static function get_site_list() { - return array("language" => t("Language Preference")); + return array("language" => t("Language preference")); } static function get($block_id) { @@ -43,7 +43,7 @@ class gallery_block_Core { case "photo_stream": $block->css_id = "g-photo-stream"; - $block->title = t("Photo Stream"); + $block->title = t("Photo stream"); $block->content = new View("admin_block_photo_stream.html"); $block->content->photos = ORM::factory("item")->where("type", "photo")->orderby("created", "DESC")->find_all(10); @@ -51,7 +51,7 @@ class gallery_block_Core { case "log_entries": $block->css_id = "g-log-entries"; - $block->title = t("Log Entries"); + $block->title = t("Log entries"); $block->content = new View("admin_block_log_entries.html"); $block->content->entries = ORM::factory("log") ->orderby(array("timestamp" => "DESC", "id" => "DESC"))->find_all(5); @@ -59,7 +59,7 @@ class gallery_block_Core { case "stats": $block->css_id = "g-stats"; - $block->title = t("Gallery Stats"); + $block->title = t("Gallery stats"); $block->content = new View("admin_block_stats.html"); $block->content->album_count = ORM::factory("item")->where("type", "album")->where("id <>", 1)->count_all(); @@ -68,7 +68,7 @@ class gallery_block_Core { case "platform_info": $block->css_id = "g-platform"; - $block->title = t("Platform Information"); + $block->title = t("Platform information"); $block->content = new View("admin_block_platform.html"); if (is_readable("/proc/loadavg")) { $block->content->load_average = @@ -80,14 +80,14 @@ class gallery_block_Core { case "project_news": $block->css_id = "g-project-news"; - $block->title = t("Gallery Project News"); + $block->title = t("Gallery project news"); $block->content = new View("admin_block_news.html"); $block->content->feed = feed::parse("http://gallery.menalto.com/node/feed", 3); break; case "block_adder": $block->css_id = "g-block-adder"; - $block->title = t("Dashboard Content"); + $block->title = t("Dashboard content"); $block->content = self::get_add_block_form(); break; @@ -99,7 +99,7 @@ class gallery_block_Core { } $block = new Block(); $block->css_id = "g-user-language-block"; - $block->title = t("Language Preference"); + $block->title = t("Language preference"); $block->content = new View("user_languages_block.html"); $block->content->installed_locales = array_merge(array("" => t("« none »")), $locales); diff --git a/modules/gallery/helpers/gallery_installer.php b/modules/gallery/helpers/gallery_installer.php index 01a213c8..5daf1016 100644 --- a/modules/gallery/helpers/gallery_installer.php +++ b/modules/gallery/helpers/gallery_installer.php @@ -199,12 +199,12 @@ class gallery_installer { } access::register_permission("view", "View"); - access::register_permission("view_full", "View Full Size"); + access::register_permission("view_full", "View full size"); access::register_permission("edit", "Edit"); access::register_permission("add", "Add"); // Mark for translation (must be the same strings as used above) - t("View Full Size"); + t("View full size"); t("View"); t("Edit"); t("Add"); diff --git a/modules/gallery/helpers/gallery_rss.php b/modules/gallery/helpers/gallery_rss.php index feeab88a..155edfb5 100644 --- a/modules/gallery/helpers/gallery_rss.php +++ b/modules/gallery/helpers/gallery_rss.php @@ -39,8 +39,8 @@ class gallery_rss_Core { ->orderby("created", "DESC"); $feed->max_pages = ceil($all_children->find_all()->count() / $limit); - $feed->title = t("Recent Updates"); - $feed->description = t("Recent Updates"); + $feed->title = t("Recent updates"); + $feed->description = t("Recent updates"); return $feed; case "album": diff --git a/modules/gallery/views/admin_advanced_settings.html.php b/modules/gallery/views/admin_advanced_settings.html.php index e3ae5f58..32fbc2c3 100644 --- a/modules/gallery/views/admin_advanced_settings.html.php +++ b/modules/gallery/views/admin_advanced_settings.html.php @@ -1,10 +1,10 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <div id="g-admin-advanced-settings" class="g-block"> - <h1> <?= t("Advanced Settings") ?> </h1> + <h1> <?= t("Advanced settings") ?> </h1> <p> <?= t("Here are internal Gallery configuration settings. Most of these settings are accessible elsewhere in the administrative console.") ?> </p> - + <ul id="g-action-status" class="g-message-block"> <li class="g-warning"><?= t("Change these values at your own risk!") ?></li> </ul> diff --git a/modules/gallery/views/admin_block_platform.html.php b/modules/gallery/views/admin_block_platform.html.php index f27b9e7a..b1b8a2f9 100644 --- a/modules/gallery/views/admin_block_platform.html.php +++ b/modules/gallery/views/admin_block_platform.html.php @@ -4,7 +4,7 @@ <?= t("Host name: %host_name", array("host_name" => php_uname("n"))) ?> </li> <li> - <?= t("Operating System: %os %version", array("os" => php_uname("s"), "version" => php_uname("r"))) ?> + <?= t("Operating system: %os %version", array("os" => php_uname("s"), "version" => php_uname("r"))) ?> </li> <li> <?= t("Apache: %apache_version", array("apache_version" => function_exists("apache_get_version") ? apache_get_version() : t("Unknown"))) ?> diff --git a/modules/gallery/views/admin_graphics.html.php b/modules/gallery/views/admin_graphics.html.php index 0f4c0dd8..3a48e087 100644 --- a/modules/gallery/views/admin_graphics.html.php +++ b/modules/gallery/views/admin_graphics.html.php @@ -13,13 +13,13 @@ </script> <div id="g-admin-graphics" class="g-block ui-helper-clearfix"> - <h1> <?= t("Graphics Settings") ?> </h1> + <h1> <?= t("Graphics settings") ?> </h1> <p> <?= t("Gallery needs a graphics toolkit in order to manipulate your photos. Please choose one from the list below.") ?> </p> <div class="g-block-content"> - <h2> <?= t("Active Toolkit") ?> </h2> + <h2> <?= t("Active toolkit") ?> </h2> <? if ($active == "none"): ?> <?= new View("admin_graphics_none.html") ?> <? else: ?> @@ -27,7 +27,7 @@ <? endif ?> <div class="g-available"> - <h2> <?= t("Available Toolkits") ?> </h2> + <h2> <?= t("Available toolkits") ?> </h2> <? foreach (array_keys((array)$tk) as $id): ?> <? if ($id != $active): ?> <?= new View("admin_graphics_$id.html", array("tk" => $tk->$id, "is_active" => false)) ?> diff --git a/modules/gallery/views/admin_graphics_none.html.php b/modules/gallery/views/admin_graphics_none.html.php index 3ac6b4fb..e0fc4170 100644 --- a/modules/gallery/views/admin_graphics_none.html.php +++ b/modules/gallery/views/admin_graphics_none.html.php @@ -1,7 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <div id="none" class="g-module-status g-warning g-block"> - <h3> <?= t("No Active Toolkit") ?> </h3> + <h3> <?= t("No active toolkit") ?> </h3> <p> <?= t("We were unable to detect a graphics program. You must install one of the toolkits below in order to use many Gallery features.") ?> </p> diff --git a/modules/gallery/views/admin_identity.html.php b/modules/gallery/views/admin_identity.html.php index 358860cf..9a34dcc4 100644 --- a/modules/gallery/views/admin_identity.html.php +++ b/modules/gallery/views/admin_identity.html.php @@ -34,7 +34,7 @@ </script> <div id="g-modules"> - <h1> <?= t("Manage Identity Providers") ?> </h1> + <h1> <?= t("Manage identity providers") ?> </h1> <p> <?= t("Choose a different user/group management provider.") ?> </p> diff --git a/modules/gallery/views/admin_languages.html.php b/modules/gallery/views/admin_languages.html.php index 311672de..908cc892 100644 --- a/modules/gallery/views/admin_languages.html.php +++ b/modules/gallery/views/admin_languages.html.php @@ -26,7 +26,7 @@ </script> <div class="g-block"> - <h1> <?= t("Languages and Translation") ?> </h1> + <h1> <?= t("Languages and translation") ?> </h1> <div class="g-block-content"> @@ -107,6 +107,6 @@ <?= $share_translations_form ?> </div> </div> - + </div> </div> diff --git a/modules/gallery/views/admin_maintenance.html.php b/modules/gallery/views/admin_maintenance.html.php index 73a4bef8..107b35cc 100644 --- a/modules/gallery/views/admin_maintenance.html.php +++ b/modules/gallery/views/admin_maintenance.html.php @@ -1,13 +1,13 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <div id="g-admin-maintenance" class="g-block"> - <h1> <?= t("Maintenance Tasks") ?> </h1> + <h1> <?= t("Maintenance tasks") ?> </h1> <p> <?= t("Occasionally your Gallery will require some maintenance. Here are some tasks you can use to keep it running smoothly.") ?> </p> <div class="g-block-content"> <div id="g-available-tasks"> - <h2> <?= t("Available Tasks") ?> </h2> + <h2> <?= t("Available tasks") ?> </h2> <table> <tr> <th> @@ -43,11 +43,11 @@ <? if ($running_tasks->count()): ?> <div id="g-running-tasks"> - <h2> <?= t("Running Tasks") ?> </h2> + <h2> <?= t("Running tasks") ?> </h2> <table> <tr> <th> - <?= t("Last Updated") ?> + <?= t("Last updated") ?> </th> <th> <?= t("Name") ?> @@ -116,11 +116,11 @@ <? if ($finished_tasks->count()): ?> <div id="g-finished-tasks"> - <h2> <?= t("Finished Tasks") ?> </h2> + <h2> <?= t("Finished tasks") ?> </h2> <table> <tr> <th> - <?= t("Last Updated") ?> + <?= t("Last updated") ?> </th> <th> <?= t("Name") ?> diff --git a/modules/gallery/views/admin_sidebar.html.php b/modules/gallery/views/admin_sidebar.html.php index 7c97270c..b394aa19 100644 --- a/modules/gallery/views/admin_sidebar.html.php +++ b/modules/gallery/views/admin_sidebar.html.php @@ -36,7 +36,7 @@ </script> <div id="g-block-admin" class="g-block ui-helper-clearfix"> - <h1> <?= t("Manage Sidebar") ?> </h1> + <h1> <?= t("Manage sidebar") ?> </h1> <p> <?= t("Select and drag blocks from the available column to the active column to add to the sidebar; remove by dragging the other way.") ?> </p> @@ -44,7 +44,7 @@ <div class="g-block-content"> <div id="g-site-blocks" ref="<?= url::site("admin/sidebar/update?csrf={$csrf}__ACTIVE__") ?>"> <div class="g-admin-blocks-list"> - <div><h3><?= t("Available Blocks") ?></h3></div> + <div><h3><?= t("Available blocks") ?></h3></div> <div> <ul id="g-available-blocks" class="g-sortable-blocks"> <?= $available ?> @@ -52,7 +52,7 @@ </div> </div> <div class="g-admin-blocks-list"> - <div><h3><?= t("Active Blocks") ?></h3></div> + <div><h3><?= t("Active blocks") ?></h3></div> <div> <ul id="g-active-blocks" class="g-sortable-blocks"> <?= $active ?> diff --git a/modules/gallery/views/admin_themes.html.php b/modules/gallery/views/admin_themes.html.php index dda18265..d14e8bd4 100644 --- a/modules/gallery/views/admin_themes.html.php +++ b/modules/gallery/views/admin_themes.html.php @@ -8,7 +8,7 @@ </script> <div class="g-block ui-helper-clearfix"> - <h1> <?= t("Theme Choice") ?> </h1> + <h1> <?= t("Theme choice") ?> </h1> <p> <?= t("Gallery allows you to choose a theme for browsing your Gallery, as well as a special theme for the administration interface. Click a theme to preview and activate it.") ?> </p> @@ -89,6 +89,6 @@ <? endif ?> </div> </div> - + </div> </div>
\ No newline at end of file diff --git a/modules/gallery/views/l10n_client.html.php b/modules/gallery/views/l10n_client.html.php index f4da52dc..9d14bbb2 100644 --- a/modules/gallery/views/l10n_client.html.php +++ b/modules/gallery/views/l10n_client.html.php @@ -6,9 +6,9 @@ <a id="g-close-l10n" title="<?= t("Stop the translation mode")->for_html_attr() ?>" href="<?= html::clean_attribute(url::site("l10n_client/toggle_l10n_mode?csrf=".access::csrf_token())) ?>">X</a> </span> - <div class="label strings"><h2><?= t("Page Text") ?> + <div class="label strings"><h2><?= t("Page text") ?> <? if (!Input::instance()->get('show_all_l10n_messages')): ?> - <a style="background-color:#fff" href="<?= url::site("admin/languages?show_all_l10n_messages=1") ?>"><?= t("(Show All)") ?></a> + <a style="background-color:#fff" href="<?= url::site("admin/languages?show_all_l10n_messages=1") ?>"><?= t("(Show all)") ?></a> <? endif; ?> </h2></div> <div class="label source"><h2><?= t("Source") ?></div> @@ -73,7 +73,7 @@ </div> </div> <script type="text/javascript"> - var MSG_TRANSLATE_TEXT = <?= t("Translate Text")->for_js() ?>; + var MSG_TRANSLATE_TEXT = <?= t("Translate text")->for_js() ?>; var l10n_client_data = <?= json_encode($string_list) ?>; var plural_forms = <?= json_encode($plural_forms) ?>; var toggle_l10n_mode_url = <?= html::js_string(url::site("l10n_client/toggle_l10n_mode")) ?>; diff --git a/modules/gallery/views/login.html.php b/modules/gallery/views/login.html.php index 971d18b8..a7734369 100644 --- a/modules/gallery/views/login.html.php +++ b/modules/gallery/views/login.html.php @@ -11,7 +11,7 @@ <? if (identity::is_writable()): ?> <?= t('Logged in as %name', array('name' => html::mark_clean( '<a href="' . url::site("form/edit/users/{$user->id}") . - '" title="' . t("Edit Your Profile")->for_html_attr() . + '" title="' . t("Edit your profile")->for_html_attr() . '" id="g-user-profile-link" class="g-dialog-link">' . html::clean($user->display_name()) . '</a>'))) ?> <? else: ?> diff --git a/modules/gallery/views/login_ajax.html.php b/modules/gallery/views/login_ajax.html.php index a9a9ef11..9741db0c 100644 --- a/modules/gallery/views/login_ajax.html.php +++ b/modules/gallery/views/login_ajax.html.php @@ -6,7 +6,7 @@ url: "<?= url::site("password/reset") ?>", success: function(data) { $("#g-login").html(data); - $("#ui-dialog-title-g-dialog").html(<?= t("Reset Password")->for_js() ?>); + $("#ui-dialog-title-g-dialog").html(<?= t("Reset password")->for_js() ?>); $(".submit").addClass("g-button ui-state-default ui-corner-all"); $(".submit").gallery_hover_init(); ajaxify_login_reset_form(); @@ -38,7 +38,7 @@ </li> <? if (identity::is_writable()): ?> <li> - <a href="#" id="g-password-reset" class="g-right g-txt-small"><?= t("Forgot Your Password?") ?></a> + <a href="#" id="g-password-reset" class="g-right g-txt-small"><?= t("Forgot your password?") ?></a> </li> <? endif ?> </ul> diff --git a/modules/gallery/views/maintenance.html.php b/modules/gallery/views/maintenance.html.php index 55395b73..2fdc40a3 100644 --- a/modules/gallery/views/maintenance.html.php +++ b/modules/gallery/views/maintenance.html.php @@ -2,7 +2,7 @@ <html> <head> <title> - <?= t("Gallery - Maintenance Mode") ?> + <?= t("Gallery - maintenance mode") ?> </title> <style> body { @@ -38,7 +38,7 @@ </head> <body> <h1> - <?= t("Gallery - Maintenance Mode") ?> + <?= t("Gallery - maintenance mode") ?> </h1> <p> <?= t("This site is currently only accessible by site administrators.") ?> diff --git a/modules/gallery/views/simple_uploader.html.php b/modules/gallery/views/simple_uploader.html.php index 9285fffe..b9c33d32 100644 --- a/modules/gallery/views/simple_uploader.html.php +++ b/modules/gallery/views/simple_uploader.html.php @@ -34,7 +34,7 @@ </ul> <div id="g-uploadqueue-infobar"> - <?= t("Upload Queue") ?> + <?= t("Upload queue") ?> <span id="g-uploadstatus"></span> <a id="g-cancelupload" title="<?= t("Cancel all the pending uploads")->for_html_attr() ?>" onclick="swfu.cancelQueue();"><?= t("cancel") ?></a> </div> @@ -60,7 +60,7 @@ "csrf" => $csrf)) ?>, file_size_limit: <?= html::js_string(ini_get("upload_max_filesize") ? num::convert_to_bytes(ini_get("upload_max_filesize"))."B" : "100MB") ?>, file_types: "*.gif;*.jpg;*.jpeg;*.png;*.flv;*.mp4;*.GIF;*.JPG;*.JPEG;*.PNG;*.FLV;*.MP4", - file_types_description: <?= t("Photos and Movies")->for_js() ?>, + file_types_description: <?= t("Photos and movies")->for_js() ?>, file_upload_limit: 1000, file_queue_limit: 0, custom_settings: { }, diff --git a/modules/gallery/views/upgrader.html.php b/modules/gallery/views/upgrader.html.php index 8a01cd29..fb55c4b2 100644 --- a/modules/gallery/views/upgrader.html.php +++ b/modules/gallery/views/upgrader.html.php @@ -1,7 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <html> <head> - <title><?= t("Gallery 3 Upgrader") ?></title> + <title><?= t("Gallery 3 upgrader") ?></title> <link rel="stylesheet" type="text/css" href="<?= url::file("modules/gallery/css/upgrader.css") ?>" media="screen,print,projection" /> <script src="<?= url::file("lib/jquery.js") ?>" type="text/javascript"></script> diff --git a/modules/gallery/views/welcome_message.html.php b/modules/gallery/views/welcome_message.html.php index 4acdb156..b50163fa 100644 --- a/modules/gallery/views/welcome_message.html.php +++ b/modules/gallery/views/welcome_message.html.php @@ -16,10 +16,10 @@ <p> <a href="<?= url::site("form/edit/users/{$user->id}") ?>" - title="<?= t("Edit Your Profile")->for_html_attr() ?>" + title="<?= t("Edit your profile")->for_html_attr() ?>" id="g-after-install-change-password-link" class="g-button ui-state-default ui-corners-all"> - <?= t("Change Password Now") ?> + <?= t("Change password now") ?> </a> <script> $("#g-after-install-change-password-link").gallery_dialog(); diff --git a/modules/image_block/helpers/image_block_block.php b/modules/image_block/helpers/image_block_block.php index eb4f7aab..79bd92ba 100644 --- a/modules/image_block/helpers/image_block_block.php +++ b/modules/image_block/helpers/image_block_block.php @@ -19,7 +19,7 @@ */ class image_block_block_Core { static function get_site_list() { - return array("random_image" => t("Random Image")); + return array("random_image" => t("Random image")); } static function get($block_id, $theme) { @@ -28,7 +28,7 @@ class image_block_block_Core { case "random_image": $block = new Block(); $block->css_id = "g-image-block"; - $block->title = t("Random Image"); + $block->title = t("Random image"); $block->content = new View("image_block_block.html"); $random = ((float)mt_rand()) / (float)mt_getrandmax(); diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php index d28b02e7..a86bbec9 100644 --- a/modules/info/helpers/info_block.php +++ b/modules/info/helpers/info_block.php @@ -29,7 +29,7 @@ class info_block_Core { if ($theme->item()) { $block = new Block(); $block->css_id = "g-metadata"; - $block->title = $theme->item()->is_album() ? t("Album Info") : t("Photo Info"); + $block->title = $theme->item()->is_album() ? t("Album info") : t("Photo info"); $block->content = new View("info_block.html"); } break; diff --git a/modules/notification/views/comment_published.html.php b/modules/notification/views/comment_published.html.php index a8ca1899..ac36a2c1 100644 --- a/modules/notification/views/comment_published.html.php +++ b/modules/notification/views/comment_published.html.php @@ -11,11 +11,11 @@ <td><?= nl2br(html::purify($comment->text)) ?></td> </tr> <tr> - <td><?= t("Author Name:") ?></td> + <td><?= t("Author name:") ?></td> <td><?= html::clean($comment->author_name()) ?></td> </tr> <tr> - <td><?= t("Author Email:") ?></td> + <td><?= t("Author email:") ?></td> <td><?= html::clean($comment->author_email()) ?></td> </tr> <tr> diff --git a/modules/notification/views/item_updated.html.php b/modules/notification/views/item_updated.html.php index 9c200964..47856cab 100644 --- a/modules/notification/views/item_updated.html.php +++ b/modules/notification/views/item_updated.html.php @@ -8,7 +8,7 @@ <table> <tr> <? if ($item->original("title") != $item->title): ?> - <td><?= t("New Title:") ?></td> + <td><?= t("New title:") ?></td> <td><?= html::clean($item->title) ?></td> <? else: ?> <td><?= t("Title:") ?></td> @@ -21,7 +21,7 @@ </tr> <? if ($item->original("description") != $item->description): ?> <tr> - <td><?= t("New Description:") ?></td> + <td><?= t("New description:") ?></td> <td><?= html::clean($item->description) ?></td> </tr> <? elseif (!empty($item->description)): ?> diff --git a/modules/recaptcha/views/admin_recaptcha.html.php b/modules/recaptcha/views/admin_recaptcha.html.php index a0af3ba8..4f07fef0 100644 --- a/modules/recaptcha/views/admin_recaptcha.html.php +++ b/modules/recaptcha/views/admin_recaptcha.html.php @@ -1,6 +1,6 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <div class="g-block"> - <h1> <?= t("reCAPTCHA Challenge Filtering") ?> </h1> + <h1> <?= t("reCAPTCHA challenge filtering") ?> </h1> <p> <?= t("reCAPTCHA is a free CAPTCHA service that helps to digitize books, newspapers and old time radio shows. In order to use it, you need to sign up for a <a href=\"%domain_url\">reCAPTCHA Public/Private Key pair</a>, which is also free. Once registered, the challenge and response strings are evaluated at <a href=\"%recaptcha_url\">recaptcha.net</a> to determine if the form content has been entered by a bot.", array("domain_url" => $form->get_key_url, @@ -12,7 +12,7 @@ <? if ($public_key && $private_key): ?> <div id="g-admin-recaptcha-test"> - <h2> <?= t("reCAPTCHA Test") ?> </h2> + <h2> <?= t("reCAPTCHA test") ?> </h2> <p> <?= t("If you see a CAPTCHA form below, then reCAPTCHA is functioning properly.") ?> </p> @@ -30,6 +30,6 @@ </div> </div> <? endif ?> - + </div> </div> diff --git a/modules/rss/helpers/rss_block.php b/modules/rss/helpers/rss_block.php index cfd3098d..8da45e98 100644 --- a/modules/rss/helpers/rss_block.php +++ b/modules/rss/helpers/rss_block.php @@ -19,7 +19,7 @@ */ class rss_block_Core { static function get_site_list() { - return array("rss_feeds" => t("Available RSS Feeds")); + return array("rss_feeds" => t("Available RSS feeds")); } static function get($block_id, $theme) { @@ -37,7 +37,7 @@ class rss_block_Core { if (!empty($feeds)) { $block = new Block(); $block->css_id = "g-rss"; - $block->title = t("Available RSS Feeds"); + $block->title = t("Available RSS feeds"); $block->content = new View("rss_block.html"); $block->content->feeds = $feeds; } diff --git a/modules/search/views/search.html.php b/modules/search/views/search.html.php index af14520b..4b67157e 100644 --- a/modules/search/views/search.html.php +++ b/modules/search/views/search.html.php @@ -18,7 +18,7 @@ </form> <div id="g-search-results"> - <h1><?= t("Search Results") ?></h1> + <h1><?= t("Search results") ?></h1> <? if (count($items)): ?> <ul id="g-album-grid" class="ui-helper-clearfix"> diff --git a/modules/server_add/helpers/server_add_event.php b/modules/server_add/helpers/server_add_event.php index 1d883a71..e1295bd4 100644 --- a/modules/server_add/helpers/server_add_event.php +++ b/modules/server_add/helpers/server_add_event.php @@ -35,7 +35,7 @@ class server_add_event_Core { $menu->get("add_menu") ->append(Menu::factory("dialog") ->id("server_add") - ->label(t("Server add")) + ->label(t("Server Add")) ->url(url::site("server_add/browse/$item->id"))); } } diff --git a/modules/server_add/views/admin_server_add.html.php b/modules/server_add/views/admin_server_add.html.php index 33fd81f3..6dbb8637 100644 --- a/modules/server_add/views/admin_server_add.html.php +++ b/modules/server_add/views/admin_server_add.html.php @@ -1,12 +1,12 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <div class="g-block"> - <h1> <?= t("Add From Server Admininstration") ?> </h1> + <h1> <?= t("Add from server admininstration") ?> </h1> <div class="g-block-content"> <?= $form ?> - <h2><?= t("Authorized Paths") ?></h2> + <h2><?= t("Authorized paths") ?></h2> <ul id="g-server-add-paths"> <? if (empty($paths)): ?> - <li class="g-module-status g-info"><?= t("No Authorized image source paths defined yet") ?></li> + <li class="g-module-status g-info"><?= t("No authorized image source paths defined yet") ?></li> <? endif ?> <? foreach ($paths as $id => $path): ?> <li> diff --git a/modules/tag/helpers/tag_block.php b/modules/tag/helpers/tag_block.php index 37da0b16..20ef18fa 100644 --- a/modules/tag/helpers/tag_block.php +++ b/modules/tag/helpers/tag_block.php @@ -19,7 +19,7 @@ */ class tag_block_Core { static function get_site_list() { - return array("tag" => t("Popular Tags")); + return array("tag" => t("Popular tags")); } static function get($block_id, $theme) { @@ -28,7 +28,7 @@ class tag_block_Core { case "tag": $block = new Block(); $block->css_id = "g-tag"; - $block->title = t("Popular Tags"); + $block->title = t("Popular tags"); $block->content = new View("tag_block.html"); $block->content->cloud = tag::cloud(30); diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php index b64f93b1..661f1532 100644 --- a/modules/user/views/admin_users.html.php +++ b/modules/user/views/admin_users.html.php @@ -43,7 +43,7 @@ </script> <div class="g-block"> - <h1> <?= t("Users and Groups") ?> </h1> + <h1> <?= t("Users and groups") ?> </h1> <div class="g-block-content"> <div class="g-block"> @@ -54,7 +54,7 @@ <?= t("Add a new user") ?> </a> - <h2> <?= t("User Admin") ?> </h2> + <h2> <?= t("User admin") ?> </h2> <div class="g-block-content"> <table id="g-user-admin-list"> @@ -87,17 +87,17 @@ </td> <td class="g-actions"> <a href="<?= url::site("admin/users/edit_user_form/$user->id") ?>" - open_text="<?= t("close") ?>" + open_text="<?= t("Close") ?>" class="g-panel-link g-button ui-state-default ui-corner-all ui-icon-left"> - <span class="ui-icon ui-icon-pencil"></span><span class="g-button-text"><?= t("edit") ?></span></a> + <span class="ui-icon ui-icon-pencil"></span><span class="g-button-text"><?= t("Edit") ?></span></a> <? if (identity::active_user()->id != $user->id && !$user->guest): ?> <a href="<?= url::site("admin/users/delete_user_form/$user->id") ?>" class="g-dialog-link g-button ui-state-default ui-corner-all ui-icon-left"> - <span class="ui-icon ui-icon-trash"></span><?= t("delete") ?></a> + <span class="ui-icon ui-icon-trash"></span><?= t("Delete") ?></a> <? else: ?> <span title="<?= t("This user cannot be deleted")->for_html_attr() ?>" class="g-button ui-state-disabled ui-corner-all ui-icon-left"> - <span class="ui-icon ui-icon-trash"></span><?= t("delete") ?></span> + <span class="ui-icon ui-icon-trash"></span><?= t("Delete") ?></span> <? endif ?> </td> </tr> @@ -115,7 +115,7 @@ </a> <h2> - <?= t("Group Admin") ?> + <?= t("Group admin") ?> </h2> <div class="g-block-content"> diff --git a/modules/user/views/admin_users_group.html.php b/modules/user/views/admin_users_group.html.php index db3645a0..e44cbddd 100644 --- a/modules/user/views/admin_users_group.html.php +++ b/modules/user/views/admin_users_group.html.php @@ -5,11 +5,11 @@ <a href="<?= url::site("admin/users/delete_group_form/$group->id") ?>" title="<?= t("Delete the %name group", array("name" => $group->name))->for_html_attr() ?>" class="g-dialog-link g-button ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-trash"><?= t("delete") ?></span></a> + <span class="ui-icon ui-icon-trash"><?= t("Delete") ?></span></a> <? else: ?> <a title="<?= t("This default group cannot be deleted")->for_html_attr() ?>" class="g-dialog-link g-button ui-state-disabled ui-corner-all ui-icon-left"> - <span class="ui-icon ui-icon-trash"><?= t("delete") ?></span></a> + <span class="ui-icon ui-icon-trash"><?= t("Delete") ?></span></a> <? endif ?> </h4> @@ -23,7 +23,7 @@ class="g-button ui-state-default ui-corner-all ui-icon-left" title="<?= t("Remove %user from %group group", array("user" => $user->name, "group" => $group->name))->for_html_attr() ?>"> - <span class="ui-icon ui-icon-closethick"><?= t("remove") ?></span> + <span class="ui-icon ui-icon-closethick"><?= t("Remove") ?></span> </a> <? endif ?> </li> @@ -32,7 +32,7 @@ <? else: ?> <div> <p> - <?= t("Drag & drop users from the User Admin above into this group box to add group members.") ?> + <?= t("Drag & drop users from the \"User admin\" above into this group box to add group members.") ?> </p> </div> <? endif ?> diff --git a/modules/user/views/reset_password.html.php b/modules/user/views/reset_password.html.php index 92ca4917..3afca881 100644 --- a/modules/user/views/reset_password.html.php +++ b/modules/user/views/reset_password.html.php @@ -1,10 +1,10 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <html> <head> - <title><?= t("Password Reset Request") ?> </title> + <title><?= t("Password reset request") ?> </title> </head> <body> - <h2><?= t("Password Reset Request") ?> </h2> + <h2><?= t("Password reset request") ?> </h2> <p> <?= t("Hello, %name,", array("name" => $user->full_name ? $user->full_name : $user->name)) ?> </p> diff --git a/modules/watermark/views/admin_watermarks.html.php b/modules/watermark/views/admin_watermarks.html.php index af38cb41..fc634b82 100644 --- a/modules/watermark/views/admin_watermarks.html.php +++ b/modules/watermark/views/admin_watermarks.html.php @@ -11,7 +11,7 @@ title="<?= t("Upload a watermark")->for_html_attr() ?>" class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all"><span class="ui-icon ui-icon-document-b"></span><?= t("Upload a watermark") ?></a> <? else: ?> - <h2> <?= t("Active Watermark") ?> </h2> + <h2> <?= t("Active watermark") ?> </h2> <p> <?= t("Note that changing this watermark will require you to rebuild all of your thumbnails and resized images.") ?> </p> @@ -27,10 +27,10 @@ </div> <div class="controls"> <a href="<?= url::site("admin/watermarks/form_edit") ?>" - title="<?= t("Edit Watermark")->for_html_attr() ?>" + title="<?= t("Edit watermark")->for_html_attr() ?>" class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all"><span class="ui-icon ui-icon-pencil"></span><?= t("edit") ?></a> <a href="<?= url::site("admin/watermarks/form_delete") ?>" - title="<?= t("Delete Watermark")->for_html_attr() ?>" + title="<?= t("Delete watermark")->for_html_attr() ?>" class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all"><span class="ui-icon ui-icon-trash"></span><?= t("delete") ?></a> </div> </div> diff --git a/themes/admin_wind/views/admin.html.php b/themes/admin_wind/views/admin.html.php index ef1aa1d2..e554b817 100644 --- a/themes/admin_wind/views/admin.html.php +++ b/themes/admin_wind/views/admin.html.php @@ -4,7 +4,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title><?= t("Admin Dashboard") ?></title> + <title><?= t("Admin dashboard") ?></title> <link rel="shortcut icon" href="<?= url::file("lib/images/favicon.ico") ?>" type="image/x-icon" /> <?= $theme->css("yui/reset-fonts-grids.css") ?> @@ -23,7 +23,7 @@ <?= $theme->script("gallery.common.js") ?> <? /* MSG_CANCEL is required by gallery.dialog.js */ ?> <script type="text/javascript"> - var MSG_CANCEL = <?= t('Cancel')->for_js() ?>; + var MSG_CANCEL = <?= t("Cancel")->for_js() ?>; </script> <?= $theme->script("gallery.ajax.js") ?> <?= $theme->script("gallery.dialog.js") ?> @@ -48,7 +48,7 @@ <? if (identity::is_writable()): ?> <?= t('Logged in as %name', array('name' => html::mark_clean( '<a href="' . url::site("form/edit/users/{$user->id}") . - '" title="' . t("Edit Your Profile")->for_html_attr() . + '" title="' . t("Edit your profile")->for_html_attr() . '" id="g-user-profile-link" class="g-dialog-link">' . html::clean($user->display_name()) . '</a>'))) ?> <? else: ?> diff --git a/themes/admin_wind/views/pager.html.php b/themes/admin_wind/views/pager.html.php index 555a4950..e4fbd5d5 100644 --- a/themes/admin_wind/views/pager.html.php +++ b/themes/admin_wind/views/pager.html.php @@ -11,34 +11,34 @@ <li> <? if ($first_page): ?> <a href="<?= str_replace('{page}', 1, $url) ?>" class="g-button ui-icon-left ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-seek-first"></span><?= t("first") ?></a> + <span class="ui-icon ui-icon-seek-first"></span><?= t("First") ?></a> <? else: ?> <a class="g-button ui-icon-left ui-state-disabled ui-corner-all"> - <span class="ui-icon ui-icon-seek-first"></span><?= t("first") ?></a> + <span class="ui-icon ui-icon-seek-first"></span><?= t("First") ?></a> <? endif ?> <? if ($previous_page): ?> <a href="<?= str_replace('{page}', $previous_page, $url) ?>" class="g-button ui-icon-left ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-seek-prev"></span><?= t("previous") ?></a> + <span class="ui-icon ui-icon-seek-prev"></span><?= t("Previous") ?></a> <? else: ?> <a class="g-button ui-icon-left ui-state-disabled ui-corner-all"> - <span class="ui-icon ui-icon-seek-prev"></span><?= t("previous") ?></a> + <span class="ui-icon ui-icon-seek-prev"></span><?= t("Previous") ?></a> <? endif ?> </li> <li class="g-info"><?= $from_to_msg ?></li> <li class="g-txt-right"> <? if ($next_page): ?> <a href="<?= str_replace('{page}', $next_page, $url) ?>" class="g-button ui-icon-right ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-seek-next"></span><?= t("next") ?></a> + <span class="ui-icon ui-icon-seek-next"></span><?= t("Next") ?></a> <? else: ?> <a class="g-button ui-state-disabled ui-icon-right ui-corner-all"> - <span class="ui-icon ui-icon-seek-next"></span><?= t("next") ?></a> + <span class="ui-icon ui-icon-seek-next"></span><?= t("Next") ?></a> <? endif ?> <? if ($last_page): ?> <a href="<?= str_replace('{page}', $last_page, $url) ?>" class="g-button ui-icon-right ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-seek-end"></span><?= t("last") ?></a> + <span class="ui-icon ui-icon-seek-end"></span><?= t("Last") ?></a> <? else: ?> <a class="g-button ui-state-disabled ui-icon-right ui-corner-all"> - <span class="ui-icon ui-icon-seek-end"></span><?= t("last") ?></a> + <span class="ui-icon ui-icon-seek-end"></span><?= t("Last") ?></a> <? endif ?> </li> </ul> diff --git a/themes/night_wind/views/movie.html.php b/themes/night_wind/views/movie.html.php index 17b519ba..9254c7fe 100644 --- a/themes/night_wind/views/movie.html.php +++ b/themes/night_wind/views/movie.html.php @@ -6,20 +6,20 @@ <li> <? if ($previous_item): ?> <a href="<?= $previous_item->url() ?>" class="g-button ui-icon-left ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-triangle-1-w"></span><?= t("previous") ?></a> + <span class="ui-icon ui-icon-triangle-1-w"></span><?= t("Previous") ?></a> <? else: ?> <a class="g-button ui-icon-left ui-state-disabled ui-corner-all"> - <span class="ui-icon ui-icon-triangle-1-w"></span><?= t("previous") ?></a> + <span class="ui-icon ui-icon-triangle-1-w"></span><?= t("Previous") ?></a> <? endif; ?> </li> <li class="g-info"><?= t("%position of %total", array("position" => $position, "total" => $sibling_count)) ?></li> <li class="g-txt-right"> <? if ($next_item): ?> <a href="<?= $next_item->url() ?>" class="g-button ui-icon-right ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-triangle-1-e"></span><?= t("next") ?></a> + <span class="ui-icon ui-icon-triangle-1-e"></span><?= t("Next") ?></a> <? else: ?> <a class="g-button ui-icon-right ui-state-disabled ui-corner-all"> - <span class="ui-icon ui-icon-triangle-1-e"></span><?= t("next") ?></a> + <span class="ui-icon ui-icon-triangle-1-e"></span><?= t("Next") ?></a> <? endif ?> </li> </ul> diff --git a/themes/night_wind/views/pager.html.php b/themes/night_wind/views/pager.html.php index 337d658f..ba325d03 100644 --- a/themes/night_wind/views/pager.html.php +++ b/themes/night_wind/views/pager.html.php @@ -11,34 +11,34 @@ <li> <? if ($first_page): ?> <a href="<?= str_replace('{page}', 1, $url) ?>" class="g-button ui-icon-left ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-seek-first"></span><?= t("first") ?></a> + <span class="ui-icon ui-icon-seek-first"></span><?= t("First") ?></a> <? else: ?> <a class="g-button ui-icon-left ui-state-disabled ui-corner-all"> - <span class="ui-icon ui-icon-seek-first"></span><?= t("first") ?></a> + <span class="ui-icon ui-icon-seek-first"></span><?= t("First") ?></a> <? endif ?> <? if ($previous_page): ?> <a href="<?= str_replace('{page}', $previous_page, $url) ?>" class="g-button ui-icon-left ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-seek-prev"></span><?= t("previous") ?></a> + <span class="ui-icon ui-icon-seek-prev"></span><?= t("Previous") ?></a> <? else: ?> <a class="g-button ui-icon-left ui-state-disabled ui-corner-all"> - <span class="ui-icon ui-icon-seek-prev"></span><?= t("previous") ?></a> + <span class="ui-icon ui-icon-seek-prev"></span><?= t("Previous") ?></a> <? endif ?> </li> <li class="g-info"><?= $from_to_msg ?></li> <li class="g-txt-right"> <? if ($next_page): ?> <a href="<?= str_replace('{page}', $next_page, $url) ?>" class="g-button ui-icon-right ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-seek-next"></span><?= t("next") ?></a> + <span class="ui-icon ui-icon-seek-next"></span><?= t("Next") ?></a> <? else: ?> <a class="g-button ui-state-disabled ui-icon-right ui-corner-all"> - <span class="ui-icon ui-icon-seek-next"></span><?= t("next") ?></a> + <span class="ui-icon ui-icon-seek-next"></span><?= t("Next") ?></a> <? endif ?> <? if ($last_page): ?> <a href="<?= str_replace('{page}', $last_page, $url) ?>" class="g-button ui-icon-right ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-seek-end"></span><?= t("last") ?></a> + <span class="ui-icon ui-icon-seek-end"></span><?= t("Last") ?></a> <? else: ?> <a class="g-button ui-state-disabled ui-icon-right ui-corner-all"> - <span class="ui-icon ui-icon-seek-end"></span><?= t("last") ?></a> + <span class="ui-icon ui-icon-seek-end"></span><?= t("Last") ?></a> <? endif ?> </li> </ul> diff --git a/themes/wind/views/movie.html.php b/themes/wind/views/movie.html.php index 17b519ba..9254c7fe 100644 --- a/themes/wind/views/movie.html.php +++ b/themes/wind/views/movie.html.php @@ -6,20 +6,20 @@ <li> <? if ($previous_item): ?> <a href="<?= $previous_item->url() ?>" class="g-button ui-icon-left ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-triangle-1-w"></span><?= t("previous") ?></a> + <span class="ui-icon ui-icon-triangle-1-w"></span><?= t("Previous") ?></a> <? else: ?> <a class="g-button ui-icon-left ui-state-disabled ui-corner-all"> - <span class="ui-icon ui-icon-triangle-1-w"></span><?= t("previous") ?></a> + <span class="ui-icon ui-icon-triangle-1-w"></span><?= t("Previous") ?></a> <? endif; ?> </li> <li class="g-info"><?= t("%position of %total", array("position" => $position, "total" => $sibling_count)) ?></li> <li class="g-txt-right"> <? if ($next_item): ?> <a href="<?= $next_item->url() ?>" class="g-button ui-icon-right ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-triangle-1-e"></span><?= t("next") ?></a> + <span class="ui-icon ui-icon-triangle-1-e"></span><?= t("Next") ?></a> <? else: ?> <a class="g-button ui-icon-right ui-state-disabled ui-corner-all"> - <span class="ui-icon ui-icon-triangle-1-e"></span><?= t("next") ?></a> + <span class="ui-icon ui-icon-triangle-1-e"></span><?= t("Next") ?></a> <? endif ?> </li> </ul> diff --git a/themes/wind/views/pager.html.php b/themes/wind/views/pager.html.php index 337d658f..ba325d03 100644 --- a/themes/wind/views/pager.html.php +++ b/themes/wind/views/pager.html.php @@ -11,34 +11,34 @@ <li> <? if ($first_page): ?> <a href="<?= str_replace('{page}', 1, $url) ?>" class="g-button ui-icon-left ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-seek-first"></span><?= t("first") ?></a> + <span class="ui-icon ui-icon-seek-first"></span><?= t("First") ?></a> <? else: ?> <a class="g-button ui-icon-left ui-state-disabled ui-corner-all"> - <span class="ui-icon ui-icon-seek-first"></span><?= t("first") ?></a> + <span class="ui-icon ui-icon-seek-first"></span><?= t("First") ?></a> <? endif ?> <? if ($previous_page): ?> <a href="<?= str_replace('{page}', $previous_page, $url) ?>" class="g-button ui-icon-left ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-seek-prev"></span><?= t("previous") ?></a> + <span class="ui-icon ui-icon-seek-prev"></span><?= t("Previous") ?></a> <? else: ?> <a class="g-button ui-icon-left ui-state-disabled ui-corner-all"> - <span class="ui-icon ui-icon-seek-prev"></span><?= t("previous") ?></a> + <span class="ui-icon ui-icon-seek-prev"></span><?= t("Previous") ?></a> <? endif ?> </li> <li class="g-info"><?= $from_to_msg ?></li> <li class="g-txt-right"> <? if ($next_page): ?> <a href="<?= str_replace('{page}', $next_page, $url) ?>" class="g-button ui-icon-right ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-seek-next"></span><?= t("next") ?></a> + <span class="ui-icon ui-icon-seek-next"></span><?= t("Next") ?></a> <? else: ?> <a class="g-button ui-state-disabled ui-icon-right ui-corner-all"> - <span class="ui-icon ui-icon-seek-next"></span><?= t("next") ?></a> + <span class="ui-icon ui-icon-seek-next"></span><?= t("Next") ?></a> <? endif ?> <? if ($last_page): ?> <a href="<?= str_replace('{page}', $last_page, $url) ?>" class="g-button ui-icon-right ui-state-default ui-corner-all"> - <span class="ui-icon ui-icon-seek-end"></span><?= t("last") ?></a> + <span class="ui-icon ui-icon-seek-end"></span><?= t("Last") ?></a> <? else: ?> <a class="g-button ui-state-disabled ui-icon-right ui-corner-all"> - <span class="ui-icon ui-icon-seek-end"></span><?= t("last") ?></a> + <span class="ui-icon ui-icon-seek-end"></span><?= t("Last") ?></a> <? endif ?> </li> </ul> |