summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Boyer2008-08-31 14:30:54 (GMT)
committer Sam Boyer2008-08-31 14:30:54 (GMT)
commit17a90678268ad39a871101f7be1f4d26aebced51 (patch)
treeb49a55aa8dcfd18c8cdba91967b6e36ac5a3683c
parent6cc71bcdc518f0a5f1ed26283041ce783fa3f144 (diff)
by douggreen: Removed additional t() calls; added str_replace() to exporter to match coding standards.
-rw-r--r--panels.module9
1 files changed, 5 insertions, 4 deletions
diff --git a/panels.module b/panels.module
index 7f43630..eaa2fd1 100644
--- a/panels.module
+++ b/panels.module
@@ -156,7 +156,7 @@ function panels_menu() {
// Non-display editor callbacks
$items['panels/node/autocomplete'] = array(
- 'title' => t('Autocomplete node'),
+ 'title' => 'Autocomplete node',
'page callback' => 'panels_node_autocomplete',
'file' => 'includes/callbacks.inc',
) + $base;
@@ -177,11 +177,11 @@ function panels_menu() {
// Provide a nice location for a panels admin panel.
$items['admin/panels'] = array(
- 'title' => t('Panels'),
+ 'title' => 'Panels',
'access arguments' => array('access administration pages'),
'page callback' => 'panels_admin_page',
'file' => 'includes/callbacks.inc',
- 'description' => t('Administer items related to the Panels module.'),
+ 'description' => 'Administer items related to the Panels module.',
);
return $items;
@@ -826,7 +826,8 @@ function panels_var_export($object, $prefix = '') {
$output = 'array()';
}
else {
- $output = var_export($object, TRUE);
+ // Remove extra space to match Drupal coding standards.
+ $output = str_replace('array (', 'array(', var_export($object, TRUE));
}
if ($prefix) {