142 lines
5.0 KiB
PHP
142 lines
5.0 KiB
PHP
<?php return [
|
|
'plugin' => [
|
|
'name' => 'G-Calendar',
|
|
'description' => 'Calendar plugin which uses the google API.',
|
|
],
|
|
|
|
'component' => [
|
|
'upcoming' => [
|
|
'name' => 'Upcoming Events',
|
|
'description' => 'Returns a list of the next upcoming events.'
|
|
],
|
|
'embeddedCalendar' => [
|
|
'name' => 'Embedded Calendar',
|
|
'description' => 'Add a embedded Google calendar.',
|
|
'groups' => [
|
|
'calendars' => 'Calendars',
|
|
'toggleElements' => 'Toggle Elements'
|
|
],
|
|
'properties' => [
|
|
'calendarTitle' => [
|
|
'title' => 'Calendar Title',
|
|
],
|
|
'width' => [
|
|
'title' => 'Width',
|
|
'validationMessage' => 'The width must be numeric and not longer than 4 characters.',
|
|
],
|
|
'height' => [
|
|
'title' => 'Height',
|
|
'validationMessage' => 'The height must be numeric and not longer than 4 characters.',
|
|
],
|
|
'timezone' => [
|
|
'title' => 'Timezone',
|
|
],
|
|
'language' => [
|
|
'title' => 'Language Code',
|
|
],
|
|
'viewMode' => [
|
|
'title' => 'View Mode',
|
|
'placeholder' => 'Select a view mode',
|
|
'description' => 'Select "Dynamic" to use agenda view for mobile devices and the month view for desktop.',
|
|
'month' => 'Month',
|
|
'week' => 'Week',
|
|
'agenda' => 'Agenda',
|
|
'dynamic' => 'Dynamic'
|
|
],
|
|
'weekStart' => [
|
|
'title' => 'Week starts on',
|
|
'sat' => 'Saturday',
|
|
'sun' => 'Sunday',
|
|
'mon' => 'Monday'
|
|
],
|
|
'bgcolor' => [
|
|
'title' => 'Background color',
|
|
'description' => 'Defines the background color of the calendar head section.',
|
|
'validationMessage' => 'Background color must be a hexadecimal color code.'
|
|
],
|
|
'showTitle' => [
|
|
'title' => 'Show Title',
|
|
],
|
|
'showPrint' => [
|
|
'title' => 'Show Print Option',
|
|
],
|
|
'showTimezone' => [
|
|
'title' => 'Show Timezone',
|
|
],
|
|
'showNav' => [
|
|
'title' => 'Show Navigation',
|
|
],
|
|
'showDate' => [
|
|
'title' => 'Show Date',
|
|
],
|
|
'showTabs' => [
|
|
'title' => 'Show Tabs',
|
|
],
|
|
'showCalendarList' => [
|
|
'title' => 'Show Calendar List',
|
|
],
|
|
|
|
]
|
|
]
|
|
],
|
|
|
|
'settings' => [
|
|
'label' => 'G-Calendar',
|
|
'description' => 'Settings for G-Calendar plugin',
|
|
|
|
'tab' => [
|
|
'client' => 'Client Configuration',
|
|
'calendars' => 'Calendars',
|
|
'settings' => 'Settings'
|
|
],
|
|
'fields' => [
|
|
'applicationName' => [
|
|
'label' => 'Application Name',
|
|
'comment' => ''
|
|
],
|
|
'clientId' => [
|
|
'label' => 'Client ID',
|
|
'comment' => 'The Client ID can be found in the OAuth Credentials under Service Account.'
|
|
],
|
|
'clientSecret' => [
|
|
'label' => 'Client Secret',
|
|
'comment' => 'The Client Secret key can be found in the OAuth Credentials.'
|
|
],
|
|
'accessToken' => [
|
|
'label' => 'Access Token',
|
|
'comment' => 'Will be generated automatically.'
|
|
],
|
|
'cacheTime' => [
|
|
'label' => 'Request Cache Time',
|
|
'comment' => 'Cache Google Calendar API requests in minutes. Enter \'0\' to disable caching.'
|
|
],
|
|
'section' => [
|
|
'accessToken' => 'Access Token'
|
|
],
|
|
],
|
|
|
|
'button' => [
|
|
'requestToken' => 'Request Access Token',
|
|
'clearToken' => 'Delete Access Token'
|
|
],
|
|
'calendarList' => [
|
|
'emptyList' => 'No Calendars to show. Connect G-Calendar with your google account to see your calendars here.',
|
|
'columnName' => 'Name',
|
|
'columnRole' => 'Role',
|
|
'columnId' => 'ID'
|
|
],
|
|
'gaccess' => [
|
|
'text' => 'Follow the link below to grand G-Calendar access to you\'re Google Calendar.',
|
|
'button' => 'Grand Access'
|
|
],
|
|
'oauth' => [
|
|
'tokenNotValid' => 'Access Token <b>not</b> valid.',
|
|
'tokenValid' => 'Access Token valid.'
|
|
]
|
|
],
|
|
|
|
'message' => [
|
|
'accessTokenNotExpired' => 'Access token not expired.',
|
|
'accessTokenRemoved' => 'Successfully removed access token.'
|
|
]
|
|
]; |