Changeset 591160
- Timestamp:
- 08/28/2012 12:16:48 AM (14 years ago)
- Location:
- events-calendar/branches/7.0-dev
- Files:
-
- 2 added
- 3 edited
-
. (modified) (1 prop)
-
events-calendar.php (modified) (1 diff)
-
functions.php (modified) (1 diff)
-
img (added)
-
img/menu_icon.gif (added)
Legend:
- Unmodified
- Added
- Removed
-
events-calendar/branches/7.0-dev
-
Property
svn:ignore
set to
*.project
-
Property
svn:ignore
set to
-
events-calendar/branches/7.0-dev/events-calendar.php
r590774 r591160 45 45 define( 'EVENTS_CALENDAR_PATH', plugin_dir_path( __FILE__ ) ); 46 46 define( 'EVENTS_CALENDAR_URL', plugin_dir_url( __FILE__ ) ); 47 define( 'EVENTS_CALENDAR_IMG_URL', EVENTS_CALENDAR_URL . 'img/' ); 48 define( 'EVENTS_CALENDAR_L10N', 'events-calendar' ); 47 49 48 50 require_once( EVENTS_CALENDAR_PATH . 'functions.php' ); -
events-calendar/branches/7.0-dev/functions.php
r590774 r591160 25 25 array( 26 26 'labels' => array( 27 'name' => __( 'Events', 'events-calendar' ), 28 'singular_name' => __( 'Events', 'events-calendar' ) 27 'name' => _x( 'Events', 'post type general name', EVENTS_CALENDAR_L10N ), 28 'singular_name' => _x( 'Event', 'post type singular name', EVENTS_CALENDAR_L10N ), 29 'add_new' => _x( 'Add New', 'ec_event', EVENTS_CALENDAR_L10N ), 30 'add_new_item' => __( 'Add New Event', EVENTS_CALENDAR_L10N ), 31 'edit_item' => __( 'Edit Event', EVENTS_CALENDAR_L10N ), 32 'new_item' => __( 'New Event', EVENTS_CALENDAR_L10N ), 33 'view_item' => __( 'View Event', EVENTS_CALENDAR_L10N ), 34 'search_items' => __( 'Search Events', EVENTS_CALENDAR_L10N ), 35 'not_found' => __( 'No events found', EVENTS_CALENDAR_L10N ), 36 'not_found_in_trash' => __( 'No events found in Trash', EVENTS_CALENDAR_L10N ) 29 37 ), 38 'description' => __( 'Events that can be displayed for your visitors to see.', EVENTS_CALENDAR_L10N ), 30 39 'public' => true, 31 ' has_archive' => true40 'menu_icon' => EVENTS_CALENDAR_IMG_URL . 'menu_icon.gif' 32 41 ) 33 42 );
Note: See TracChangeset
for help on using the changeset viewer.