summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngie Byron2009-06-29 14:24:57 (GMT)
committerAngie Byron2009-06-29 14:24:57 (GMT)
commit23bbb003b94c5172d779fdf81ffc950e8cedc2a8 (patch)
tree193181f3d9640ef79b558a25fd070bb9666046d9
parentd424d7d7a780e7ad7d03a77cc33db1c9d638cdd3 (diff)
#504428 follow-up by keith.smith: Remove 'now' from all empty admin screen texts. Steve Krug would be proud.
-rw-r--r--modules/aggregator/aggregator.admin.inc4
-rw-r--r--modules/contact/contact.admin.inc2
-rw-r--r--modules/forum/forum.admin.inc2
-rw-r--r--modules/menu/menu.admin.inc2
-rw-r--r--modules/node/content_types.inc2
-rw-r--r--modules/path/path.admin.inc2
-rw-r--r--modules/taxonomy/taxonomy.admin.inc4
-rw-r--r--modules/trigger/trigger.admin.inc2
8 files changed, 10 insertions, 10 deletions
diff --git a/modules/aggregator/aggregator.admin.inc b/modules/aggregator/aggregator.admin.inc
index df2648c..5be429e 100644
--- a/modules/aggregator/aggregator.admin.inc
+++ b/modules/aggregator/aggregator.admin.inc
@@ -30,7 +30,7 @@ function aggregator_view() {
$rows[] = array(l($feed->title, "aggregator/sources/$feed->fid"), format_plural($feed->items, '1 item', '@count items'), ($feed->checked ? t('@time ago', array('@time' => format_interval(REQUEST_TIME - $feed->checked))) : t('never')), ($feed->checked && $feed->refresh ? t('%time left', array('%time' => format_interval($feed->checked + $feed->refresh - REQUEST_TIME))) : t('never')), l(t('edit'), "admin/content/aggregator/edit/feed/$feed->fid"), l(t('remove items'), "admin/content/aggregator/remove/$feed->fid"), l(t('update items'), "admin/content/aggregator/update/$feed->fid"));
}
if (empty($rows)) {
- $rows[] = array(array('data' => t('No feeds available. <a href="@link">Add feed</a> now.', array('@link' => url('admin/content/aggregator/add/feed'))), 'colspan' => '5', 'class' => 'message'));
+ $rows[] = array(array('data' => t('No feeds available. <a href="@link">Add feed</a>.', array('@link' => url('admin/content/aggregator/add/feed'))), 'colspan' => '5', 'class' => 'message'));
}
$output .= theme('table', $header, $rows);
@@ -44,7 +44,7 @@ function aggregator_view() {
$rows[] = array(l($category->title, "aggregator/categories/$category->cid"), format_plural($category->items, '1 item', '@count items'), l(t('edit'), "admin/content/aggregator/edit/category/$category->cid"));
}
if (empty($rows)) {
- $rows[] = array(array('data' => t('No categories available. <a href="@link">Add category</a> now.', array('@link' => url('admin/content/aggregator/add/category'))), 'colspan' => '5', 'class' => 'message'));
+ $rows[] = array(array('data' => t('No categories available. <a href="@link">Add category</a>.', array('@link' => url('admin/content/aggregator/add/category'))), 'colspan' => '5', 'class' => 'message'));
}
$output .= theme('table', $header, $rows);
diff --git a/modules/contact/contact.admin.inc b/modules/contact/contact.admin.inc
index 72c94da..08aba88 100644
--- a/modules/contact/contact.admin.inc
+++ b/modules/contact/contact.admin.inc
@@ -30,7 +30,7 @@ function contact_admin_categories() {
// If no categories were found, let the user know.
if (empty($rows)) {
- $rows[] = array(array('data' => t('No categories available. <a href="@link">Add category</a> now.', array('@link' => url('admin/build/contact/add'))), 'colspan' => 5));
+ $rows[] = array(array('data' => t('No categories available. <a href="@link">Add category</a>.', array('@link' => url('admin/build/contact/add'))), 'colspan' => 5));
}
return theme('table', $header, $rows);
diff --git a/modules/forum/forum.admin.inc b/modules/forum/forum.admin.inc
index e1a873a..0f61845 100644
--- a/modules/forum/forum.admin.inc
+++ b/modules/forum/forum.admin.inc
@@ -242,7 +242,7 @@ function forum_overview(&$form_state) {
$form['#theme'] = 'taxonomy_overview_terms';
$form['#submit'] = array('taxonomy_overview_terms_submit'); // Use the existing taxonomy overview submit handler.
$form['#validate'] = array('taxonomy_overview_terms_validate');
- $form['#empty_text'] = t('No containers or forums available. <a href="@container">Add container</a> or <a href="@forum">Add forum</a> now.', array('@container' => url('admin/build/forum/add/container'), '@forum' => url('admin/build/forum/add/forum')));
+ $form['#empty_text'] = t('No containers or forums available. <a href="@container">Add container</a> or <a href="@forum">Add forum</a>.', array('@container' => url('admin/build/forum/add/container'), '@forum' => url('admin/build/forum/add/forum')));
return $form;
}
diff --git a/modules/menu/menu.admin.inc b/modules/menu/menu.admin.inc
index 2906ce2..deaa7ba 100644
--- a/modules/menu/menu.admin.inc
+++ b/modules/menu/menu.admin.inc
@@ -65,7 +65,7 @@ function menu_overview_form(&$form_state, $menu) {
);
}
else {
- $form['#empty_text'] = t('There are no menu links yet. <a href="@link">Add link</a> now.', array('@link' => url('admin/build/menu-customize/'. $form['#menu']['menu_name'] .'/add')));
+ $form['#empty_text'] = t('There are no menu links yet. <a href="@link">Add link</a>.', array('@link' => url('admin/build/menu-customize/'. $form['#menu']['menu_name'] .'/add')));
}
return $form;
}
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc
index c2e19ba..f7e73a4 100644
--- a/modules/node/content_types.inc
+++ b/modules/node/content_types.inc
@@ -35,7 +35,7 @@ function node_overview_types() {
}
if (empty($rows)) {
- $rows[] = array(array('data' => t('No content types available. <a href="@link">Add content type</a> now.', array('@link' => url('admin/build/types/add'))), 'colspan' => '5', 'class' => 'message'));
+ $rows[] = array(array('data' => t('No content types available. <a href="@link">Add content type</a>.', array('@link' => url('admin/build/types/add'))), 'colspan' => '5', 'class' => 'message'));
}
return theme('table', $header, $rows);
diff --git a/modules/path/path.admin.inc b/modules/path/path.admin.inc
index b3762cd..bf50b05 100644
--- a/modules/path/path.admin.inc
+++ b/modules/path/path.admin.inc
@@ -59,7 +59,7 @@ function path_admin_overview($keys = NULL) {
}
if (empty($rows)) {
- $empty_message = $keys ? t('No URL aliases found.') : t('No URL aliases available. <a href="@link">Add alias</a> now.', array('@link' => url('admin/build/path/add'))) ;
+ $empty_message = $keys ? t('No URL aliases found.') : t('No URL aliases available. <a href="@link">Add alias</a>.', array('@link' => url('admin/build/path/add'))) ;
$rows[] = array(array('data' => $empty_message, 'colspan' => ($multilanguage ? 5 : 4)));
}
diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc
index 5a73289..0a8012d 100644
--- a/modules/taxonomy/taxonomy.admin.inc
+++ b/modules/taxonomy/taxonomy.admin.inc
@@ -84,7 +84,7 @@ function theme_taxonomy_overview_vocabularies($form) {
}
if (empty($rows)) {
- $rows[] = array(array('data' => t('No vocabularies available. <a href="@link">Add vocabulary</a> now.', array('@link' => url('admin/content/taxonomy/add'))), 'colspan' => '5'));
+ $rows[] = array(array('data' => t('No vocabularies available. <a href="@link">Add vocabulary</a>.', array('@link' => url('admin/content/taxonomy/add'))), 'colspan' => '5'));
}
$header = array(t('Vocabulary name'), t('Content types'));
@@ -451,7 +451,7 @@ function taxonomy_overview_terms(&$form_state, $vocabulary) {
$form['#page_entries'] = $page_entries;
$form['#back_peddle'] = $back_peddle;
$form['#forward_peddle'] = $forward_peddle;
- $form['#empty_text'] = t('No terms available. <a href="@link">Add term</a> now.', array('@link' => url('admin/build/taxonomy/' . $vocabulary->vid . '/add')));
+ $form['#empty_text'] = t('No terms available. <a href="@link">Add term</a>.', array('@link' => url('admin/build/taxonomy/' . $vocabulary->vid . '/add')));
if (!$vocabulary->tags && $vocabulary->hierarchy < 2 && count($tree) > 1) {
$form['submit'] = array(
diff --git a/modules/trigger/trigger.admin.inc b/modules/trigger/trigger.admin.inc
index e9bd2dc..5bfea18 100644
--- a/modules/trigger/trigger.admin.inc
+++ b/modules/trigger/trigger.admin.inc
@@ -174,7 +174,7 @@ function trigger_assign_form($form_state, $hook, $op, $description) {
}
else {
$form[$op]['none'] = array(
- '#markup' => t('No actions available for this trigger. <a href="@link">Add action</a> now.', array('@link' => url('admin/settings/actions/manage')))
+ '#markup' => t('No actions available for this trigger. <a href="@link">Add action</a>.', array('@link' => url('admin/settings/actions/manage')))
);
}
return $form;