Permalink
Browse files

Normalize capitalization ticket #596

  • Loading branch information...
1 parent 8ef78de commit 7ea13b3869dee33804606a17488bb1cd26759bdb @talmdal talmdal committed Oct 28, 2009
Showing with 137 additions and 137 deletions.
  1. +2 −2 modules/akismet/views/admin_akismet.html.php
  2. +2 −2 modules/comment/helpers/comment_block.php
  3. +1 −1 modules/comment/helpers/comment_rss.php
  4. +6 −6 modules/comment/views/admin_comments.html.php
  5. +1 −1 modules/exif/views/exif_dialog.html.php
  6. +1 −1 modules/exif/views/exif_sidebar.html.php
  7. +1 −1 modules/g2_import/helpers/g2_import.php
  8. +1 −1 modules/g2_import/views/admin_g2_import.html.php
  9. +1 −1 modules/gallery/controllers/admin_languages.php
  10. +13 −13 modules/gallery/helpers/gallery_block.php
  11. +2 −2 modules/gallery/helpers/gallery_installer.php
  12. +2 −2 modules/gallery/helpers/gallery_rss.php
  13. +2 −2 modules/gallery/views/admin_advanced_settings.html.php
  14. +1 −1 modules/gallery/views/admin_block_platform.html.php
  15. +3 −3 modules/gallery/views/admin_graphics.html.php
  16. +1 −1 modules/gallery/views/admin_graphics_none.html.php
  17. +1 −1 modules/gallery/views/admin_identity.html.php
  18. +2 −2 modules/gallery/views/admin_languages.html.php
  19. +6 −6 modules/gallery/views/admin_maintenance.html.php
  20. +3 −3 modules/gallery/views/admin_sidebar.html.php
  21. +2 −2 modules/gallery/views/admin_themes.html.php
  22. +3 −3 modules/gallery/views/l10n_client.html.php
  23. +1 −1 modules/gallery/views/login.html.php
  24. +2 −2 modules/gallery/views/login_ajax.html.php
  25. +2 −2 modules/gallery/views/maintenance.html.php
  26. +2 −2 modules/gallery/views/simple_uploader.html.php
  27. +1 −1 modules/gallery/views/upgrader.html.php
  28. +2 −2 modules/gallery/views/welcome_message.html.php
  29. +2 −2 modules/image_block/helpers/image_block_block.php
  30. +1 −1 modules/info/helpers/info_block.php
  31. +2 −2 modules/notification/views/comment_published.html.php
  32. +2 −2 modules/notification/views/item_updated.html.php
  33. +3 −3 modules/recaptcha/views/admin_recaptcha.html.php
  34. +2 −2 modules/rss/helpers/rss_block.php
  35. +1 −1 modules/search/views/search.html.php
  36. +1 −1 modules/server_add/helpers/server_add_event.php
  37. +3 −3 modules/server_add/views/admin_server_add.html.php
  38. +2 −2 modules/tag/helpers/tag_block.php
  39. +7 −7 modules/user/views/admin_users.html.php
  40. +4 −4 modules/user/views/admin_users_group.html.php
  41. +2 −2 modules/user/views/reset_password.html.php
  42. +3 −3 modules/watermark/views/admin_watermarks.html.php
  43. +3 −3 themes/admin_wind/views/admin.html.php
  44. +8 −8 themes/admin_wind/views/pager.html.php
  45. +4 −4 themes/night_wind/views/movie.html.php
  46. +8 −8 themes/night_wind/views/pager.html.php
  47. +4 −4 themes/wind/views/movie.html.php
  48. +8 −8 themes/wind/views/pager.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 ?>
@@ -19,15 +19,15 @@
*/
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) {
$block = new Block();
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();
@@ -61,7 +61,7 @@ static function feed($feed_id, $offset, $limit, $id) {
$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;
}
@@ -35,7 +35,7 @@ function(data) {
</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 @@ function(data) {
<!-- @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 @@ class="g-button ui-state-default ui-icon-left">
<div class="g-pager">
<?= $pager ?>
</div>
-
+
</div>
</div>
@@ -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>
@@ -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") ?>
@@ -271,7 +271,7 @@ static function import_user(&$queue) {
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 =
@@ -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>
@@ -115,7 +115,7 @@ private function _share_translations_form() {
? 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"));
@@ -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,23 +43,23 @@ static function get($block_id) {
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);
break;
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);
break;
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 @@ static function get($block_id) {
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 @@ static function get($block_id) {
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 @@ static function get($block_id) {
}
$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);
@@ -199,12 +199,12 @@ static function install() {
}
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");
@@ -39,8 +39,8 @@ static function feed($feed_id, $offset, $limit, $id) {
->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":
@@ -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>
@@ -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"))) ?>
@@ -13,21 +13,21 @@
</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: ?>
<?= new View("admin_graphics_$active.html", array("tk" => $tk->$active, "is_active" => true)) ?>
<? 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)) ?>
@@ -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>
@@ -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>
@@ -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 @@ class="g-button ui-state-default ui-corner-all ui-icon-left">
<?= $share_translations_form ?>
</div>
</div>
-
+
</div>
</div>
@@ -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 @@ class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all">
<? 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 @@ class="g-button g-right ui-icon-left ui-state-default ui-corner-all">
<? 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") ?>
@@ -36,23 +36,23 @@
</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>
<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 ?>
</ul>
</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 ?>
Oops, something went wrong.

0 comments on commit 7ea13b3

Please sign in to comment.