[gnomeweb-wp] remove gettext functions from admin strings
- From: Vinicius Scopel Depizzol <vdepizzol src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnomeweb-wp] remove gettext functions from admin strings
- Date: Tue, 29 Mar 2011 07:19:38 +0000 (UTC)
commit befefcd8c44c40c20764e2c43edfeaba117e5195
Author: Vinicius Depizzol <vdepizzol gmail com>
Date: Tue Mar 29 04:19:10 2011 -0300
remove gettext functions from admin strings
since we don't need translated admin
wp-content/themes/gnome-grass/functions.php | 52 +++++++++++++-------------
1 files changed, 26 insertions(+), 26 deletions(-)
---
diff --git a/wp-content/themes/gnome-grass/functions.php b/wp-content/themes/gnome-grass/functions.php
index 2978697..de0441e 100644
--- a/wp-content/themes/gnome-grass/functions.php
+++ b/wp-content/themes/gnome-grass/functions.php
@@ -23,19 +23,19 @@ function create_post_type() {
register_post_type( 'banner',
array(
'labels' => array(
- 'name' => __( 'Banners' ),
- 'singular_name' => __( 'Banner' ),
- 'add_new' => __( 'Add New' ),
- 'add_new_item' => __( 'Add New Banner' ),
- 'edit' => __( 'Edit' ),
- 'edit_item' => __( 'Edit' ),
- 'new_item' => __( 'New Banner' ),
- 'view' => __( 'View' ),
- 'view_item' => __( 'View Banner' ),
- 'search_items' => __( 'Search Banners' ),
- 'not_found' => __( 'No banners found' ),
- 'not_found_in_trash' => __( 'No banners found in Trash' ),
- 'parent' => __( 'Parent Banner' ),
+ 'name' => 'Banners',
+ 'singular_name' => 'Banner',
+ 'add_new' => 'Add New',
+ 'add_new_item' => 'Add New Banner',
+ 'edit' => 'Edit',
+ 'edit_item' => 'Edit',
+ 'new_item' => 'New Banner',
+ 'view' => 'View',
+ 'view_item' => 'View Banner',
+ 'search_items' => 'Search Banners',
+ 'not_found' => 'No banners found',
+ 'not_found_in_trash' => 'No banners found in Trash',
+ 'parent' => 'Parent Banner',
),
'public' => true,
'exclude_from_search' => false,
@@ -48,19 +48,19 @@ function create_post_type() {
register_post_type( 'projects',
array(
'labels' => array(
- 'name' => __( 'Projects' ),
- 'singular_name' => __( 'Project' ),
- 'add_new' => __( 'Add New' ),
- 'add_new_item' => __( 'Add New Project' ),
- 'edit' => __( 'Edit' ),
- 'edit_item' => __( 'Edit' ),
- 'new_item' => __( 'New Project' ),
- 'view' => __( 'View' ),
- 'view_item' => __( 'View Project' ),
- 'search_items' => __( 'Search Projects' ),
- 'not_found' => __( 'No projects found' ),
- 'not_found_in_trash' => __( 'No projects found in Trash' ),
- 'parent' => __( 'Parent Project' ),
+ 'name' => 'Projects',
+ 'singular_name' => 'Project',
+ 'add_new' => 'Add New',
+ 'add_new_item' => 'Add New Project',
+ 'edit' => 'Edit',
+ 'edit_item' => 'Edit',
+ 'new_item' => 'New Project',
+ 'view' => 'View',
+ 'view_item' => 'View Project',
+ 'search_items' => 'Search Projects',
+ 'not_found' => 'No projects found',
+ 'not_found_in_trash' => 'No projects found in Trash',
+ 'parent' => 'Parent Project',
),
'public' => true,
'exclude_from_search' => false,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]