update with latest changes and DE translations

This commit is contained in:
2022-01-16 20:10:06 +01:00
parent e583fc62dd
commit ee351b44b1
10 changed files with 928 additions and 150 deletions

View File

@@ -1,7 +1,7 @@
<?php return [
'plugin' => [
'name' => 'G-Calendar',
'description' => 'Calendar plugin which uses the google API.',
'description' => 'Calendar plugin which uses the google API.'
],
'component' => [
@@ -18,21 +18,21 @@
],
'properties' => [
'calendarTitle' => [
'title' => 'Calendar Title',
'title' => 'Calendar Title'
],
'width' => [
'title' => 'Width',
'validationMessage' => 'The width must be numeric and not longer than 4 characters.',
'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.',
'validationMessage' => 'The height must be numeric and not longer than 4 characters.'
],
'timezone' => [
'title' => 'Timezone',
'title' => 'Timezone'
],
'language' => [
'title' => 'Language Code',
'title' => 'Language Code'
],
'viewMode' => [
'title' => 'View Mode',
@@ -55,31 +55,38 @@
'validationMessage' => 'Background color must be a hexadecimal color code.'
],
'showTitle' => [
'title' => 'Show Title',
'title' => 'Show Title'
],
'showPrint' => [
'title' => 'Show Print Option',
'title' => 'Show Print Option'
],
'showTimezone' => [
'title' => 'Show Timezone',
'title' => 'Show Timezone'
],
'showNav' => [
'title' => 'Show Navigation',
'title' => 'Show Navigation'
],
'showDate' => [
'title' => 'Show Date',
'title' => 'Show Date'
],
'showTabs' => [
'title' => 'Show Tabs',
'title' => 'Show Tabs'
],
'showCalendarList' => [
'title' => 'Show Calendar List',
'title' => 'Show Calendar List'
],
]
]
],
'widget' => [
'clearCacheButton' => [
'buttonText' => 'Clear Cache',
'success' => 'Cache cleared!'
]
],
'settings' => [
'label' => 'G-Calendar',
'description' => 'Settings for G-Calendar plugin',
@@ -96,11 +103,11 @@
],
'clientId' => [
'label' => 'Client ID',
'comment' => 'The Client ID can be found in the OAuth Credentials under Service Account.'
'comment' => 'The Client ID can be found in the OAuth Credentials under Service Account. (https://console.cloud.google.com/apis/credentials)'
],
'clientSecret' => [
'label' => 'Client Secret',
'comment' => 'The Client Secret key can be found in the OAuth Credentials.'
'comment' => 'The Client Secret can be found in the OAuth Credentials. (https://console.cloud.google.com/apis/credentials)'
],
'accessToken' => [
'label' => 'Access Token',
@@ -111,8 +118,20 @@
'comment' => 'Cache Google Calendar API requests in minutes. Enter \'0\' to disable caching.'
],
'section' => [
'accessToken' => 'Access Token'
'accessToken' => 'Access Token',
'cacheControl' => 'Cache control',
'notification' => 'Notification'
],
'notification' => [
'switch' => [
'label' => 'Display Notification',
'on' => 'On',
'off' => 'Off'
],
'text' => [
'label' => 'Notification Content'
]
]
],
'button' => [