Add upstream plugins

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
2019-10-25 22:42:20 +02:00
parent 5d3c2ec184
commit 290736650a
1186 changed files with 302577 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?php
/**
* Generate translation entities for subscription buttons.
*
* @author Time.ly Network Inc.
* @since 2.0
*
* @package AI1EC
* @subpackage AI1EC.View
*/
class Ai1ec_View_Calendar_SubscribeButton {
/**
* Get a list of texts for subscribtion buttons.
*
* @return array Map of labels.
*/
public function get_labels() {
return array(
'label' => array(
'timely' => Ai1ec_I18n::__( 'Add to Timely Calendar' ),
'google' => Ai1ec_I18n::__( 'Add to Google' ),
'outlook' => Ai1ec_I18n::__( 'Add to Outlook' ),
'apple' => Ai1ec_I18n::__( 'Add to Apple Calendar' ),
'plaintext' => Ai1ec_I18n::__( 'Add to other calendar' ),
'xml' => Ai1ec_I18n::__( 'Export to XML' ),
),
'title' => array(
'timely' => Ai1ec_I18n::__( 'Copy this URL for your own Timely calendar or click to add to your rich-text calendar' ),
'google' => Ai1ec_I18n::__( 'Subscribe to this calendar in your Google Calendar' ),
'outlook' => Ai1ec_I18n::__( 'Subscribe to this calendar in MS Outlook' ),
'apple' => Ai1ec_I18n::__( 'Subscribe to this calendar in Apple Calendar/iCal' ),
'plaintext' => Ai1ec_I18n::__( 'Subscribe to this calendar in another plain-text calendar' ),
),
);
}
}