Created
September 27, 2012 14:39
-
-
Save fxbenard/3794362 to your computer and use it in GitHub Desktop.
How to make it i18n without error ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private $defaultCapabilities = array( | |
'connections_view_dashboard' => 'View Dashboard', | |
'connections_manage' => 'View List (Manage)', | |
'connections_add_entry' => 'Add Entry', | |
'connections_add_entry_moderated' => 'Add Entry Moderated', | |
'connections_edit_entry' => 'Edit Entry', | |
'connections_edit_entry_moderated' => 'Edit Entry Moderated', | |
'connections_delete_entry' => 'Delete Entry', | |
'connections_view_public' => 'View Public Entries', | |
'connections_view_private' => 'View Private Entries', | |
'connections_view_unlisted' => 'View Unlisted Entries', | |
'connections_edit_categories' => 'Edit Categories', | |
'connections_change_settings' => 'Change Settings', | |
'connections_manage_template' => 'Manage Templates', | |
'connections_change_roles' => 'Change Role Capabilities', | |
'connections_view_help' => 'View Help' | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to make it i18n ready without having a php error ? thanks
'connections_view_dashboard' =>__( 'View Dashboard', 'textdomain'), isn't working