Event List - Version 0.7.3

Version Description

(2015-05-15) = * added csv import functionality * added relative and special date selection options for date filter * changed required permission to view/edit category admin page * added some missing translation functions * added some more german translations * only allow valid dates (>

Download this release

Release Info

Developer mibuthu
Plugin Icon 128x128 Event List
Version 0.7.3
Comparing to
See all releases

Code changes from version 0.7.2 to 0.7.3

admin/admin.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- if(!defined('ABSPATH')) {
3
  exit;
4
  }
5
 
@@ -17,7 +17,7 @@ class EL_Admin {
17
  public static function &get_instance() {
18
  // Create class instance if required
19
  if(!isset(self::$instance)) {
20
- self::$instance = new EL_Admin();
21
  }
22
  // Return class instance
23
  return self::$instance;
@@ -53,7 +53,7 @@ class EL_Admin {
53
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_new_scripts'));
54
 
55
  // Categories subpage
56
- $page = add_submenu_page('el_admin_main', __('Event List Categories','event-list'), __('Categories','event-list'), 'manage_options', 'el_admin_categories', array(&$this, 'show_categories_page'));
57
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_categories_scripts'));
58
 
59
  // Settings subpage
1
  <?php
2
+ if(!defined('WPINC')) {
3
  exit;
4
  }
5
 
17
  public static function &get_instance() {
18
  // Create class instance if required
19
  if(!isset(self::$instance)) {
20
+ self::$instance = new self();
21
  }
22
  // Return class instance
23
  return self::$instance;
53
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_new_scripts'));
54
 
55
  // Categories subpage
56
+ $page = add_submenu_page('el_admin_main', __('Event List Categories','event-list'), __('Categories','event-list'), 'manage_categories', 'el_admin_categories', array(&$this, 'show_categories_page'));
57
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_categories_scripts'));
58
 
59
  // Settings subpage
admin/css/admin_about.css CHANGED
@@ -69,7 +69,7 @@ ul.el-formats {
69
 
70
  div.el-format-name {
71
  float: left;
72
- width: 90px;
73
  font-weight: bold;
74
  }
75
 
69
 
70
  div.el-format-name {
71
  float: left;
72
+ width: 120px;
73
  font-weight: bold;
74
  }
75
 
admin/includes/admin-about.php CHANGED
@@ -1,17 +1,21 @@
1
  <?php
2
- if(!defined('ABSPATH')) {
3
  exit;
4
  }
5
 
 
 
 
6
  // This class handles all data for the admin about page
7
  class EL_Admin_About {
8
  private static $instance;
9
  private $options;
 
10
 
11
  public static function &get_instance() {
12
  // Create class instance if required
13
  if(!isset(self::$instance)) {
14
- self::$instance = new EL_Admin_About();
15
  }
16
  // Return class instance
17
  return self::$instance;
@@ -19,6 +23,7 @@ class EL_Admin_About {
19
 
20
  private function __construct() {
21
  $this->options = EL_Options::get_instance();
 
22
  }
23
 
24
  public function show_about() {
@@ -27,21 +32,21 @@ class EL_Admin_About {
27
  }
28
  echo '<div class="wrap">
29
  <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.__('About Event List','event-list').'</h2>
30
- <h3 class="el-headline">Help and Instructions</h3>
31
- <p>You can manage your events <a href="admin.php?page=el_admin_main">here</a>.</p>
32
- <p>To show the events on your site you have two possibilities:</p>
33
- <ul class="el-show-event-options"><li>you can place the <strong>shortcode</strong> <code>[event-list]</code> on any page or post</li>
34
- <li>you can add the <strong>widget</strong> "Event List" in your sidebars</li></ul>
35
- <p>The displayed events and their style can be modified with the available widget settings and the available attributes for the shortcode.<br />
36
- A list of all available shortcode attributes with their description is available below.<br />
37
- The available widget options are described in their tooltip text.<br />
38
- For the widget it is important to know that you have to insert an URL to the linked event-list page if you enable one of the links options ("Add links to the single events" or "Add a link to an event page").
39
- This is required because the widget didn´t know in which page or post the shortcode was included.<br />
40
- Additonally you have to insert the correct Shortcode ID on the linked page. This ID describes which shortcode should be used on the given page or post if you have more than one.
41
  So the standard value "1" is normally o.k., but if required you can check the ID by looking into the URL of an event link on your linked page or post.
42
- The ID will be added at the end of the query parameter name (e.g. <i>http://www.your-homepage.com/?page_id=99&amp;event_id<strong>1</strong>=11</i>).
43
  </p>
44
- <p>Be sure to also check the <a href="admin.php?page=el_admin_settings">Settings page</a> to get Event List behaving just the way you want.</p>
45
  </div>';
46
  echo $this->show_atts();
47
  echo $this->show_filter_syntax();
@@ -55,12 +60,12 @@ class EL_Admin_About {
55
 
56
  private function show_atts() {
57
  $out = '
58
- <h3 class="el-headline">Shortcode Attributes</h3>
59
  <div>
60
- You have the possibility to modify the output if you add some of the following attributes to the shortcode.<br />
61
- You can combine as much attributes as you want. E.g.the shortcode including the attributes "num_events" and "show_filterbar" would looks like this:
62
  <p><code>[event-list num_events=10 show_filterbar=false]</code></p>
63
- <p>Below you can find a list of all supported attributes with their descriptions and available options:</p>';
64
  $out .= $this->show_atts_table();
65
  $out .= '
66
  </div>';
@@ -70,14 +75,15 @@ class EL_Admin_About {
70
  private function show_atts_table() {
71
  require_once(EL_PATH.'includes/sc_event-list.php');
72
  $shortcode = &SC_Event_List::get_instance();
 
73
  $atts = $shortcode->get_atts();
74
  $out = '
75
  <table class="el-atts-table">
76
  <tr>
77
- <th class="el-atts-table-name">Attribute name</th>
78
- <th class="el-atts-table-options">Value options</th>
79
- <th class="el-atts-table-default">Default value</th>
80
- <th class="el-atts-table-desc">Description</th>
81
  </tr>';
82
  foreach($atts as $aname => $a) {
83
  $out .= '
@@ -97,11 +103,11 @@ class EL_Admin_About {
97
  return '
98
  <h3 class="el-headline">'.__('Filter Syntax','event-list').'</h3>
99
  <p>'.__('For date and cat filters you can specify complex filters with the following syntax:','event-list').'</p>
100
- <p>'.__('You can use AND ( "<strong>&amp;</strong>" ) and OR ( "<strong>&verbar;</strong>" or "<strong>&comma;</strong>" ) connections to define complex filters. Additionally you can set brackets ( "<strong>(</strong>" and "<strong>)</strong>" ) for nested queries.','event-list').'</p>
101
  '.__('Examples for cat filters:','event-list').'
102
- <p><code>tennis</code>&hellip; '.__('Show all events with category "tennis".','event-list').'<br />
103
- <code>tennis&comma;hockey</code>&hellip; '.__('Show all events with category "tennis" or "hockey".','event-list').'<br />
104
- <code>tennis&verbar;(hockey&amp;winter)</code>&hellip; '.__('Show all events with category "tennis" and all events where category "hockey" as well as "winter" is selected.','event-list').'</p>';
105
  }
106
 
107
  private function show_date_syntax() {
@@ -109,7 +115,7 @@ class EL_Admin_About {
109
  <h3 class="el-headline">'.__('Available Date Formats','event-list').'</h3>
110
  <p>'.__('For date filters you can use the following date formats:','event-list').'</p>
111
  <ul class="el-formats">
112
- '.$this->show_formats($this->options->date_formats).'
113
  </ul>';
114
  }
115
 
@@ -118,7 +124,7 @@ class EL_Admin_About {
118
  <h3 class="el-headline">'.__('Available Date Range Formats','event-list').'</h3>
119
  <p>'.__('For date filters you can use the following daterange formats:','event-list').'</p>
120
  <ul class="el-formats">
121
- '.$this->show_formats($this->options->daterange_formats).'
122
  </ul>';
123
  }
124
 
1
  <?php
2
+ if(!defined('WPINC')) {
3
  exit;
4
  }
5
 
6
+ require_once(EL_PATH.'includes/options.php');
7
+ require_once(EL_PATH.'includes/daterange.php');
8
+
9
  // This class handles all data for the admin about page
10
  class EL_Admin_About {
11
  private static $instance;
12
  private $options;
13
+ private $daterange;
14
 
15
  public static function &get_instance() {
16
  // Create class instance if required
17
  if(!isset(self::$instance)) {
18
+ self::$instance = new self();
19
  }
20
  // Return class instance
21
  return self::$instance;
23
 
24
  private function __construct() {
25
  $this->options = EL_Options::get_instance();
26
+ $this->daterange = EL_Daterange::get_instance();
27
  }
28
 
29
  public function show_about() {
32
  }
33
  echo '<div class="wrap">
34
  <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.__('About Event List','event-list').'</h2>
35
+ <h3 class="el-headline">'.__('Help and Instructions','event-list').'</h3>
36
+ <p>'.sprintf(__('You can manage your events %1$shere%2$s','event-list'), '<a href="admin.php?page=el_admin_main">', '</a>').'.</p>
37
+ <p>'.__('To show the events on your site you have 2 possibilities','event-list').':</p>
38
+ <ul class="el-show-event-options"><li>'.sprintf(__('you can place the <strong>shortcode</strong> %1$s on any page or post','event-list'), '<code>[event-list]</code>').'</li>
39
+ <li>'.sprintf(__('you can add the <strong>widget</strong> %1$s in your sidebars','event-list'), '"Event List"').'</li></ul>
40
+ <p>'.__('The displayed events and their style can be modified with the available widget settings and the available attributes for the shortcode.','event-list').'<br />
41
+ '.__('A list of all available shortcode attributes with their description is available below.','event-list').'<br />
42
+ '.__('The available widget options are described in their tooltip text.','event-list').'<br />
43
+ '.sprintf(__('For the widget it is important to know that you have to insert an URL to the linked event-list page if you enable one of the links options
44
+ (%1$s or %2$s). This is required because the widget didn´t know in which page or post the shortcode was included.','event-list'), '"'.__('Add links to the single events','event-list').'"', '"'.__('Add a link to the Event List page','event-list').'"').'<br />
45
+ '.sprintf(__('Additionally you have to insert the correct Shortcode ID on the linked page. This ID describes which shortcode should be used on the given page or post if you have more than one.
46
  So the standard value "1" is normally o.k., but if required you can check the ID by looking into the URL of an event link on your linked page or post.
47
+ The ID will be added at the end of the query parameter name (e.g. %1$s).','event-list'), '<i>http://www.your-homepage.com/?page_id=99&amp;event_id<strong>1</strong>=11</i>').'
48
  </p>
49
+ <p>'.sprintf(__('Be sure to also check the %1$sSettings page%2$s to get Event List behaving just the way you want.','event-list'), '<a href="admin.php?page=el_admin_settings">', '</a>').'</p>
50
  </div>';
51
  echo $this->show_atts();
52
  echo $this->show_filter_syntax();
60
 
61
  private function show_atts() {
62
  $out = '
63
+ <h3 class="el-headline">'.__('Shortcode Attributes', 'event-list').'</h3>
64
  <div>
65
+ '.__('You have the possibility to modify the output if you add some of the following attributes to the shortcode.','event-list').'<br />
66
+ '.sprintf(__('You can combine and add as much attributes as you want. E.g. the shortcode including the attributes %1$s and %2$s would looks like this:','event-list'), '"num_events"', '"show_filterbar"').'
67
  <p><code>[event-list num_events=10 show_filterbar=false]</code></p>
68
+ <p>'.__('Below you can find a list of all supported attributes with their descriptions and available options:','event-list').'</p>';
69
  $out .= $this->show_atts_table();
70
  $out .= '
71
  </div>';
75
  private function show_atts_table() {
76
  require_once(EL_PATH.'includes/sc_event-list.php');
77
  $shortcode = &SC_Event_List::get_instance();
78
+ $shortcode->load_sc_eventlist_helptexts();
79
  $atts = $shortcode->get_atts();
80
  $out = '
81
  <table class="el-atts-table">
82
  <tr>
83
+ <th class="el-atts-table-name">'.__('Attribute name','event-list').'</th>
84
+ <th class="el-atts-table-options">'.__('Value options','event-list').'</th>
85
+ <th class="el-atts-table-default">'.__('Default value','event-list').'</th>
86
+ <th class="el-atts-table-desc">'.__('Description','event-list').'</th>
87
  </tr>';
88
  foreach($atts as $aname => $a) {
89
  $out .= '
103
  return '
104
  <h3 class="el-headline">'.__('Filter Syntax','event-list').'</h3>
105
  <p>'.__('For date and cat filters you can specify complex filters with the following syntax:','event-list').'</p>
106
+ <p>'.sprintf(__('You can use %1$s and %2$s connections to define complex filters. Additionally you can set brackets %3$s for nested queries.','event-list'), __('AND','event-list').' ( "<strong>&amp;</strong>" )', __('OR','event-list').' ( "<strong>&verbar;</strong>" '.__('or','event-list').' "<strong>&comma;</strong>" )', '( "<strong>(</strong>" '.__('and','event-list').' "<strong>)</strong>" )').'</p>
107
  '.__('Examples for cat filters:','event-list').'
108
+ <p><code>tennis</code>&hellip; '.sprintf(__('Show all events with category %1$s.','event-list'), '"tennis"').'<br />
109
+ <code>tennis&comma;hockey</code>&hellip; '.sprintf(__('Show all events with category %1$s or %2$s.','event-list'), '"tennis"', '"hockey"').'<br />
110
+ <code>tennis&verbar;(hockey&amp;winter)</code>&hellip; '.sprintf(__('Show all events with category %1$s and all events where category %2$s as well as %3$s is selected.','event-list'), '"tennis"', '"hockey"', '"winter"').'</p>';
111
  }
112
 
113
  private function show_date_syntax() {
115
  <h3 class="el-headline">'.__('Available Date Formats','event-list').'</h3>
116
  <p>'.__('For date filters you can use the following date formats:','event-list').'</p>
117
  <ul class="el-formats">
118
+ '.$this->show_formats($this->daterange->date_formats).'
119
  </ul>';
120
  }
121
 
124
  <h3 class="el-headline">'.__('Available Date Range Formats','event-list').'</h3>
125
  <p>'.__('For date filters you can use the following daterange formats:','event-list').'</p>
126
  <ul class="el-formats">
127
+ '.$this->show_formats($this->daterange->daterange_formats).'
128
  </ul>';
129
  }
130
 
admin/includes/admin-categories.php CHANGED
@@ -29,11 +29,12 @@ class EL_Admin_Categories {
29
  $this->db = &EL_Db::get_instance();
30
  $this->categories = &EL_Categories::get_instance();
31
  $this->options = &EL_Options::get_instance();
 
32
  $this->functions = &EL_Admin_Functions::get_instance();
33
  }
34
 
35
  public function show_categories () {
36
- if(!current_user_can('manage_options')) {
37
  wp_die(__('You do not have sufficient permissions to access this page.','event-list'));
38
  }
39
  $out = '';
@@ -162,26 +163,26 @@ class EL_Admin_Categories {
162
  }
163
  // Category Name
164
  $out .= '
165
- <div class="form-field form-required"><label for="name">'.__('Name','event-list').': </label>';
166
  $out .= $this->functions->show_text('name', $cat_data['name'], $is_disabled);
167
  $out .= '<p>'.__('The name is how it appears on your site.','event-list').'</p></div>';
168
  // Category Slug
169
  $out .= '
170
- <div class="form-field"><label for="name">'.__('Slug','event-list').': </label>';
171
  $out .= $this->functions->show_text('slug', $cat_data['slug'], $is_disabled);
172
  $out .= '<p>'.__('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.','event-list').'</p></div>';
173
  // Category Parent
174
  $out .= '
175
- <div class="form-field"><label for="parent">'.__('Parent','event-list').': </label>';
176
  $cat_array = $this->categories->get_cat_array('name', 'asc', $cat_data['slug']);
177
- $option_array = array('' => __('None','event-list'));
178
  $class_array = array();
179
  foreach($cat_array as $cat) {
180
- $option_array[$cat['slug']] = str_pad('', 12*$cat['level'], '&nbsp;', STR_PAD_LEFT).$cat['name'];
181
  $class_array[$cat['slug']] = 'level-'.$cat['level'];
182
  }
183
  $selected = isset($cat_data['parent']) ? $cat_data['parent'] : null;
184
- $out .= $this->functions->show_combobox('parent', $option_array, $selected, $class_array, $is_disabled);
185
  $out .= '<p>'.__('Categories can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.','event-list').'</p></div>';
186
  // Category Description
187
  $out .= '
29
  $this->db = &EL_Db::get_instance();
30
  $this->categories = &EL_Categories::get_instance();
31
  $this->options = &EL_Options::get_instance();
32
+ $this->options->load_options_helptexts();
33
  $this->functions = &EL_Admin_Functions::get_instance();
34
  }
35
 
36
  public function show_categories () {
37
+ if(!current_user_can('manage_categories')) {
38
  wp_die(__('You do not have sufficient permissions to access this page.','event-list'));
39
  }
40
  $out = '';
163
  }
164
  // Category Name
165
  $out .= '
166
+ <div class="form-field form-required"><label for="name">'.__('Name').': </label>';
167
  $out .= $this->functions->show_text('name', $cat_data['name'], $is_disabled);
168
  $out .= '<p>'.__('The name is how it appears on your site.','event-list').'</p></div>';
169
  // Category Slug
170
  $out .= '
171
+ <div class="form-field"><label for="name">'.__('Slug').': </label>';
172
  $out .= $this->functions->show_text('slug', $cat_data['slug'], $is_disabled);
173
  $out .= '<p>'.__('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.','event-list').'</p></div>';
174
  // Category Parent
175
  $out .= '
176
+ <div class="form-field"><label for="parent">'.__('Parent').': </label>';
177
  $cat_array = $this->categories->get_cat_array('name', 'asc', $cat_data['slug']);
178
+ $value_array = array('' => __('None'));
179
  $class_array = array();
180
  foreach($cat_array as $cat) {
181
+ $value_array[$cat['slug']] = str_pad('', 12*$cat['level'], '&nbsp;', STR_PAD_LEFT).$cat['name'];
182
  $class_array[$cat['slug']] = 'level-'.$cat['level'];
183
  }
184
  $selected = isset($cat_data['parent']) ? $cat_data['parent'] : null;
185
+ $out .= $this->functions->show_dropdown('parent', $selected, $value_array, $class_array, $is_disabled);
186
  $out .= '<p>'.__('Categories can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.','event-list').'</p></div>';
187
  // Category Description
188
  $out .= '
admin/includes/admin-functions.php CHANGED
@@ -35,10 +35,10 @@ class EL_Admin_Functions {
35
  return $out;
36
  }
37
 
38
- public function show_combobox($name, $option_array, $selected=null, $class_array=null, $disabled=false) {
39
  $out = '
40
  <select id="'.$name.'" name="'.$name.'"'.$this->get_disabled_text($disabled).'>';
41
- foreach($option_array as $key => $value) {
42
  $class_text = isset($class_array[$key]) ? 'class="'.$class_array[$key].'" ' : '';
43
  $selected_text = $selected===$key ? 'selected ' : '';
44
  $out .= '
@@ -49,15 +49,15 @@ class EL_Admin_Functions {
49
  return $out;
50
  }
51
 
52
- public function show_radio($name, $value, $caption, $disabled=false) {
53
  $out = '
54
  <fieldset>';
55
- foreach($caption as $okey => $ocaption) {
56
- $checked = ($value === $okey) ? 'checked="checked" ' : '';
57
  $out .= '
58
- <label title="'.$ocaption.'">
59
- <input type="radio" '.$checked.'value="'.$okey.'" name="'.$name.'">
60
- <span>'.$ocaption.'</span>
61
  </label>
62
  <br />';
63
  }
35
  return $out;
36
  }
37
 
38
+ public function show_dropdown($name, $selected, $value_array, $class_array=null, $disabled=false) {
39
  $out = '
40
  <select id="'.$name.'" name="'.$name.'"'.$this->get_disabled_text($disabled).'>';
41
+ foreach($value_array as $key => $value) {
42
  $class_text = isset($class_array[$key]) ? 'class="'.$class_array[$key].'" ' : '';
43
  $selected_text = $selected===$key ? 'selected ' : '';
44
  $out .= '
49
  return $out;
50
  }
51
 
52
+ public function show_radio($name, $selected, $value_array, $disabled=false) {
53
  $out = '
54
  <fieldset>';
55
+ foreach($value_array as $key => $value) {
56
+ $checked = ($selected === $key) ? 'checked="checked" ' : '';
57
  $out .= '
58
+ <label title="'.$value.'">
59
+ <input type="radio" '.$checked.'value="'.$key.'" name="'.$name.'">
60
+ <span>'.$value.'</span>
61
  </label>
62
  <br />';
63
  }
admin/includes/admin-import.php ADDED
@@ -0,0 +1,276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if(!defined('WPINC')) {
3
+ exit;
4
+ }
5
+
6
+ require_once(EL_PATH.'includes/db.php');
7
+ require_once(EL_PATH.'includes/categories.php');
8
+
9
+ // This class handles all data for the admin new event page
10
+ class EL_Admin_Import {
11
+ private static $instance;
12
+ private $db;
13
+ private $categories;
14
+ private $import_data;
15
+ private $example_file_path;
16
+
17
+ public static function &get_instance() {
18
+ // Create class instance if required
19
+ if(!isset(self::$instance)) {
20
+ self::$instance = new self();
21
+ }
22
+ // Return class instance
23
+ return self::$instance;
24
+ }
25
+
26
+ private function __construct() {
27
+ $this->db = & EL_Db::get_instance();
28
+ $this->categories = & EL_Categories::get_instance();
29
+ $this->example_file_path = EL_URL.'/files/events-import-example.csv';
30
+ }
31
+
32
+ public function show_import() {
33
+ if(!current_user_can('edit_posts')) {
34
+ wp_die(__('You do not have sufficient permissions to access this page.'));
35
+ }
36
+ echo '
37
+ <div class="wrap">
38
+ <div id="icon-edit-pages" class="icon32"><br /></div>
39
+ <h2>'.__('Import Events','event-list').'</h2>';
40
+ // Review import
41
+ if(isset($_FILES['el_import_file'])) {
42
+ $this->show_import_review();
43
+ }
44
+ // Finish import (add events)
45
+ elseif(isset($_POST['reviewed_events'])) {
46
+ $import_error = $this->import_events();
47
+ $this->show_import_finished($import_error);
48
+ }
49
+ // Import form
50
+ else {
51
+ $this->show_import_form();
52
+ }
53
+ echo '
54
+ </div>';
55
+ }
56
+
57
+ private function show_import_form() {
58
+ echo '
59
+ <form action="" id="el_import_upload" method="post" enctype="multipart/form-data">
60
+ <p>'.__('Select a file that contains event data.','event-list').'</p>
61
+ <p><input name="el_import_file" type="file" size="50" maxlength="100000"></p>
62
+ <input type="submit" name="button-upload-submit" id="button-upload-submit" class="button" value="'.__('Import Event Data','event-list').'" />
63
+ <br /><br />
64
+ </form>
65
+ <h3>'.__('Example file','event-list').'</h3>
66
+ <p>'.sprintf(__('You can find an example file %1$shere%2$s (CSV delimiter is a comma!)','event-list'), '<a href="'.$this->example_file_path.'">', '</a>').'<br />
67
+ '.__('Note','event-list').': <em>'.__('Do not change the column header and separator line (first two lines), otherwise the import will fail!','event-list').'</em></p>';
68
+ }
69
+
70
+ private function show_import_review() {
71
+ $file = $_FILES['el_import_file']['tmp_name'];
72
+ // check for file existence (upload failed?)
73
+ if(!is_file($file)) {
74
+ echo '<h3>'.__('Sorry, there has been an error.','event-list').'</h3>';
75
+ echo __('The file does not exist, please try again.','event-list').'</p>';
76
+ return;
77
+ }
78
+
79
+ // check for file extension (csv) first
80
+ $file_parts = pathinfo($_FILES['el_import_file']['name']);
81
+ if($file_parts['extension'] !== "csv") {
82
+ echo '<h3>'.__('Sorry, there has been an error.','event-list').'</h3>';
83
+ echo __('The file is not a CSV file.','event-list').'</p>';
84
+ return;
85
+ }
86
+
87
+ // parse file
88
+ $import_data = $this->parseImportFile($file);
89
+
90
+ // parsing failed?
91
+ if(is_wp_error($import_data)) {
92
+ echo '<h3>'.__('Sorry, there has been an error.','event-list').'</h3>';
93
+ echo '<p>' . esc_html($import_data->get_error_message()).'</p>';
94
+ return;
95
+ }
96
+
97
+ // TODO: $this->import_data vs. $import_data ?
98
+ $this->import_data = $import_data;
99
+ $serialized = serialize($this->import_data);
100
+
101
+ echo '
102
+ <h3>'.__('Please review the events to import and choose categories before importing.','event-list').'</h3>
103
+ <form method="POST" action="?page=el_admin_main&action=import">';
104
+ wp_nonce_field('autosavenonce', 'autosavenonce', false, false);
105
+ wp_nonce_field('closedpostboxesnonce', 'closedpostboxesnonce', false, false);
106
+ wp_nonce_field('meta-box-order-nonce', 'meta-box-order-nonce', false, false);
107
+ echo '
108
+ <div id="poststuff">
109
+ <div id="post-body" class="metabox-holder columns-2">
110
+ <div id="post-body-content">';
111
+ foreach($this->import_data as $event) {
112
+ $this->show_event($event);
113
+ }
114
+ echo '
115
+ </div>
116
+ <div id="postbox-container-1" class="postbox-container">
117
+ <div id="side-sortables" class="meta-box-sortables ui-sortable">';
118
+ add_meta_box('event-categories', __('Categories'), array(&$this, 'render_category_metabox'),'event-list', 'advanced', 'default', null);
119
+ add_meta_box('event-publish', __('Import','event-list'), array(&$this, 'render_publish_metabox'), 'event-list');
120
+ do_meta_boxes('event-list', 'advanced', null);
121
+ echo '
122
+ </div>
123
+ </div>
124
+ </div>
125
+ </div>
126
+ <input type="hidden" name="reviewed_events" id="reviewed_events" value="'.esc_html($serialized).'" />
127
+ </form>';
128
+ }
129
+
130
+ private function show_import_finished($with_error) {
131
+ if(!$with_error) {
132
+ echo '
133
+ <h3>'.__('Import with errors!','event-list').'</h3>
134
+ '.sprintf(__('An error occurred during import! Please send your import file to %1$sthe administrator%2$s for analysis.','event-list'), '<a href="mailto:'.get_option('admin_email').'">', '</a>');
135
+ }
136
+ else {
137
+ echo '
138
+ <h3>'.__('Import successful!','event-list').'</h3>
139
+ <a href="?page=el_admin_main">'.__('Go back to All Events','event-list').'</a>';
140
+ }
141
+ }
142
+
143
+ private function show_event($event) {
144
+ echo '
145
+ <p>
146
+ <span style="font-weight: bold;">'.__('Title','event-list').':</span> <span style="font-style: italic;">'.$event['title'].'</span><br />
147
+ <span style="font-weight: bold;">'.__('Start Date','event-list').':</span> <span style="font-style: italic;">'.$event['start_date'].'</span><br />
148
+ <span style="font-weight: bold;">'.__('End Date','event-list').':</span> <span style="font-style: italic;">'.$event['end_date'].'</span><br />
149
+ <span style="font-weight: bold;">'.__('Time','event-list').':</span> <span style="font-style: italic;">'.$event['time'].'</span><br />
150
+ <span style="font-weight: bold;">'.__('Location','event-list').':</span> <span style="font-style: italic;">'.$event['location'].'</span><br />
151
+ <span style="font-weight: bold;">'.__('Details','event-list').':</span> <span style="font-style: italic;">'.$event['details'].'</span>
152
+ </p>';
153
+ }
154
+
155
+ /**
156
+ * @return WP_Error
157
+ */
158
+ private function parseImportFile($file) {
159
+ $delimiter = ',';
160
+ $header = array('title', 'start date', 'end date', 'time', 'location', 'details');
161
+ $separator = array('sep=,');
162
+
163
+ // list of events to import
164
+ $events = array();
165
+
166
+ $file_handle = fopen($file, 'r');
167
+ $lineNum = 0;
168
+ while(!feof($file_handle)) {
169
+ $line = fgetcsv($file_handle, 1024);
170
+
171
+ // skip empty line
172
+ if(empty($line)) {
173
+ continue;
174
+ }
175
+ if($lineNum === 0) {
176
+ if($line === $separator) {
177
+ continue;
178
+ }
179
+ if($line === $header) {
180
+ $lineNum += 1;
181
+ continue;
182
+ }
183
+ else {
184
+ var_dump($line);
185
+ var_dump($header);
186
+ return new WP_Error('CSV_parse_error', __('There was an error when reading this CSV file.','event-list'));
187
+ }
188
+ }
189
+ $events[] = array(
190
+ 'title' => $line[0],
191
+ 'start_date' => $line[1],
192
+ 'end_date' => !empty($line[2]) ? $line[2] : $line[1],
193
+ 'time' => $line[3],
194
+ 'location' => $line[4],
195
+ 'details' => $line[5],
196
+ );
197
+ $lineNum += 1;
198
+ }
199
+ //close file
200
+ fclose($file_handle);
201
+ return $events;
202
+ }
203
+
204
+ public function render_publish_metabox() {
205
+ echo '
206
+ <div class="submitbox">
207
+ <div id="delete-action"><a href="?page=el_admin_main" class="submitdelete deletion">'.__('Cancel').'</a></div>
208
+ <div id="publishing-action"><input type="submit" class="button button-primary button-large" name="import" value="'.__('Import','event-list').'" id="import"></div>
209
+ <div class="clear"></div>
210
+ </div>';
211
+ }
212
+
213
+ public function render_category_metabox($post, $metabox) {
214
+ echo '
215
+ <div id="taxonomy-category" class="categorydiv">
216
+ <div id="category-all" class="tabs-panel">';
217
+ $cat_array = $this->categories->get_cat_array('name', 'asc');
218
+ if(empty($cat_array)) {
219
+ echo __('No categories available.');
220
+ }
221
+ else {
222
+ echo '
223
+ <ul id="categorychecklist" class="categorychecklist form-no-clear">';
224
+ $level = 0;
225
+ $event_cats = explode('|', substr($metabox['args']['event_cats'], 1, -1));
226
+ foreach($cat_array as $cat) {
227
+ if($cat['level'] > $level) {
228
+ //new sub level
229
+ echo '
230
+ <ul class="children">';
231
+ $level++;
232
+ }
233
+ while($cat['level'] < $level) {
234
+ // finish sub level
235
+ echo '
236
+ </ul>';
237
+ $level--;
238
+ }
239
+ $level = $cat['level'];
240
+ $checked = in_array($cat['slug'], $event_cats) ? 'checked="checked" ' : '';
241
+ echo '
242
+ <li id="'.$cat['slug'].'" class="popular-catergory">
243
+ <label class="selectit">
244
+ <input value="'.$cat['slug'].'" type="checkbox" name="categories[]" id="categories" '.$checked.'/> '.$cat['name'].'
245
+ </label>
246
+ </li>';
247
+ }
248
+ echo '
249
+ </ul>';
250
+ }
251
+ echo '
252
+ </div>
253
+ </div>';
254
+ }
255
+
256
+ private function import_events() {
257
+ $reviewed_events = unserialize(stripslashes($_POST['reviewed_events']));
258
+ $categories = isset($_POST['categories']) ? $_POST['categories'] : '';
259
+ if(isset($categories)) {
260
+ foreach($reviewed_events as &$event) {
261
+ $event['categories'] = $categories;
262
+ }
263
+ }
264
+ $returnValues = array();
265
+ foreach($reviewed_events as &$event) {
266
+ // convert date format to be SQL-friendly
267
+ $myDateTime = DateTime::createFromFormat('d.m.Y', $event['start_date']);
268
+ $event['start_date'] = $myDateTime->format('Y-m-d');
269
+ $myDateTime = DateTime::createFromFormat('d.m.Y', $event['end_date']);
270
+ $event['end_date'] = $myDateTime->format('Y-m-d');
271
+ $returnValues[] = $this->db->update_event($event);
272
+ }
273
+ return $returnValues;
274
+ }
275
+ }
276
+ ?>
admin/includes/admin-main.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- if(!defined('ABSPATH')) {
3
  exit;
4
  }
5
 
@@ -80,7 +80,11 @@ class EL_Admin_Main {
80
  case 'modified':
81
  $this->show_edit_view($this->action);
82
  return;
83
-
 
 
 
 
84
  // actions showing event list
85
  case 'deleted':
86
  // nothing to do
@@ -105,11 +109,13 @@ class EL_Admin_Main {
105
  $header = __('Edit Event','event-list').' <a href="'.$duplicate_link.'" class="add-new-h2">'.__('Duplicate','event-list').'</a>';
106
  }
107
  else {
108
- $header = __('Events', 'event-list');
109
  }
 
 
110
  echo '
111
  <div class="wrap">
112
- <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.$header.' <a href="?page=el_admin_new" class="add-new-h2">'.__('Add New','event-list').'</a></h2>';
113
  $this->show_message($action);
114
  }
115
 
1
  <?php
2
+ if(!defined('WPINC')) {
3
  exit;
4
  }
5
 
80
  case 'modified':
81
  $this->show_edit_view($this->action);
82
  return;
83
+ // actions showing import view
84
+ case 'import':
85
+ require_once(EL_PATH.'admin/includes/admin-import.php');
86
+ EL_Admin_Import::get_instance()->show_import();
87
+ return;
88
  // actions showing event list
89
  case 'deleted':
90
  // nothing to do
109
  $header = __('Edit Event','event-list').' <a href="'.$duplicate_link.'" class="add-new-h2">'.__('Duplicate','event-list').'</a>';
110
  }
111
  else {
112
+ $header = __('Events','event-list');
113
  }
114
+ $new_link = '<a href="?page=el_admin_new" class="add-new-h2">'.__('Add New','event-list').'</a>';
115
+ $import_link = $editview ? '' : '<a href="?page=el_admin_main&action=import" class="add-new-h2">'.__('Import','event-list').'</a>';
116
  echo '
117
  <div class="wrap">
118
+ <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.$header.' '.$new_link.' '.$import_link.'</h2>';
119
  $this->show_message($action);
120
  }
121
 
admin/includes/admin-settings.php CHANGED
@@ -23,6 +23,7 @@ class EL_Admin_Settings {
23
 
24
  private function __construct() {
25
  $this->options = &EL_Options::get_instance();
 
26
  $this->functions = &EL_Admin_Functions::get_instance();
27
  }
28
 
@@ -31,6 +32,9 @@ class EL_Admin_Settings {
31
  wp_die(__('You do not have sufficient permissions to access this page.','event-list'));
32
  }
33
  $out = '';
 
 
 
34
  // check for changed settings
35
  if(isset($_GET['settings-updated'])) {
36
  // show "settings saved" message
@@ -48,9 +52,6 @@ class EL_Admin_Settings {
48
  $out.= '
49
  <div class="wrap">
50
  <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.__('Event List Settings','event-list').'</h2>';
51
- if(!isset($_GET['tab'])) {
52
- $_GET['tab'] = 'general';
53
- }
54
  $out .= $this->show_tabs($_GET['tab']);
55
  $out .= '<div id="posttype-page" class="posttypediv">';
56
  $out .= $this->show_option_tab($_GET['tab']);
@@ -65,9 +66,9 @@ class EL_Admin_Settings {
65
  }
66
  */
67
  private function show_tabs($current = 'category') {
68
- $tabs = array('general' => 'General',
69
- 'admin' => 'Admin Page Settings',
70
- 'feed' => 'Feed Settings');
71
  $out = '<h3 class="nav-tab-wrapper">';
72
  foreach($tabs as $tab => $name){
73
  $class = ($tab == $current) ? ' nav-tab-active' : '';
@@ -82,7 +83,7 @@ class EL_Admin_Settings {
82
  <form method="post" action="options.php">
83
  ';
84
  ob_start();
85
- settings_fields('el_'.$_GET['tab']);
86
  $out .= ob_get_contents();
87
  ob_end_clean();
88
  $out .= '
@@ -102,6 +103,9 @@ class EL_Admin_Settings {
102
  case 'checkbox':
103
  $out .= $this->functions->show_checkbox($oname, $this->options->get($oname), $o['caption']);
104
  break;
 
 
 
105
  case 'radio':
106
  $out .= $this->functions->show_radio($oname, $this->options->get($oname), $o['caption']);
107
  break;
23
 
24
  private function __construct() {
25
  $this->options = &EL_Options::get_instance();
26
+ $this->options->load_options_helptexts();
27
  $this->functions = &EL_Admin_Functions::get_instance();
28
  }
29
 
32
  wp_die(__('You do not have sufficient permissions to access this page.','event-list'));
33
  }
34
  $out = '';
35
+ if(!isset($_GET['tab'])) {
36
+ $_GET['tab'] = 'general';
37
+ }
38
  // check for changed settings
39
  if(isset($_GET['settings-updated'])) {
40
  // show "settings saved" message
52
  $out.= '
53
  <div class="wrap">
54
  <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.__('Event List Settings','event-list').'</h2>';
 
 
 
55
  $out .= $this->show_tabs($_GET['tab']);
56
  $out .= '<div id="posttype-page" class="posttypediv">';
57
  $out .= $this->show_option_tab($_GET['tab']);
66
  }
67
  */
68
  private function show_tabs($current = 'category') {
69
+ $tabs = array('general' => __('General','event-list'),
70
+ 'admin' => __('Admin Page Settings','event-list'),
71
+ 'feed' => __('Feed Settings','event-list'));
72
  $out = '<h3 class="nav-tab-wrapper">';
73
  foreach($tabs as $tab => $name){
74
  $class = ($tab == $current) ? ' nav-tab-active' : '';
83
  <form method="post" action="options.php">
84
  ';
85
  ob_start();
86
+ settings_fields('el_'.$section);
87
  $out .= ob_get_contents();
88
  ob_end_clean();
89
  $out .= '
103
  case 'checkbox':
104
  $out .= $this->functions->show_checkbox($oname, $this->options->get($oname), $o['caption']);
105
  break;
106
+ case 'dropdown':
107
+ $out .= $this->functions->show_dropdown($oname, $this->options->get($oname), $o['caption']);
108
+ break;
109
  case 'radio':
110
  $out .= $this->functions->show_radio($oname, $this->options->get($oname), $o['caption']);
111
  break;
admin/js/admin_new.js CHANGED
@@ -27,6 +27,8 @@ jQuery(document).ready(function($) {
27
  constrainInput: true,
28
  altField: "#sql_start_date",
29
  altFormat: "yy-mm-dd",
 
 
30
  onClose: function(selectedDate) {
31
  // set minDate for end_date picker
32
  minDate = $.datepicker.parseDate( conf.el_date_format, selectedDate );
@@ -45,7 +47,9 @@ jQuery(document).ready(function($) {
45
  buttonImageOnly: true,
46
  constrainInput: true,
47
  altField: "#sql_end_date",
48
- altFormat: "yy-mm-dd"
 
 
49
  });
50
 
51
  // Toogle end_date visibility and insert the correct date
27
  constrainInput: true,
28
  altField: "#sql_start_date",
29
  altFormat: "yy-mm-dd",
30
+ minDate: "1970-01-01",
31
+ maxDate: "2999-12-31",
32
  onClose: function(selectedDate) {
33
  // set minDate for end_date picker
34
  minDate = $.datepicker.parseDate( conf.el_date_format, selectedDate );
47
  buttonImageOnly: true,
48
  constrainInput: true,
49
  altField: "#sql_end_date",
50
+ altFormat: "yy-mm-dd",
51
+ minDate: "1970-01-01",
52
+ maxDate: "2999-12-31",
53
  });
54
 
55
  // Toogle end_date visibility and insert the correct date
event-list.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Event List
4
  Plugin URI: http://wordpress.org/extend/plugins/event-list/
5
  Description: Manage your events and show them in a list view on your site.
6
- Version: 0.7.2
7
  Author: Michael Burtscher
8
  Author URI: http://wordpress.org/extend/plugins/event-list/
9
  License: GPLv2
3
  Plugin Name: Event List
4
  Plugin URI: http://wordpress.org/extend/plugins/event-list/
5
  Description: Manage your events and show them in a list view on your site.
6
+ Version: 0.7.3
7
  Author: Michael Burtscher
8
  Author URI: http://wordpress.org/extend/plugins/event-list/
9
  License: GPLv2
files/events-import-example.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ "sep=,"
2
+ "title","start date","end date","time","location","details"
3
+ "Cycling",01.01.2015,,17:00:00,"at home","This is a test entry."
4
+ "Hiking",02.02.2020,04.10.2020,10:00:00,"in the mountains","TestTest?<br>2nd test entry."
includes/daterange.php ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if(!defined('WPINC')) {
3
+ exit;
4
+ }
5
+
6
+ // Class for database access via wordpress functions
7
+ class EL_Daterange {
8
+ private static $instance;
9
+ public $date_formats;
10
+ public $daterange_formats;
11
+
12
+ public static function &get_instance() {
13
+ // Create class instance if required
14
+ if(!isset( self::$instance)) {
15
+ self::$instance = new self();
16
+ }
17
+ // Return class instance
18
+ return self::$instance;
19
+ }
20
+
21
+ private function __construct() {
22
+ $this->init_formats();
23
+ add_action('admin_init', array(&$this, 'load_formats_helptexts'), 2);
24
+ }
25
+
26
+ public function init_formats() {
27
+ $this->date_formats = array(
28
+ 'year' => array('regex' => '^((19[7-9]\d)|(2\d{3}))$',
29
+ 'start' => '%v%-01-01',
30
+ 'end' => '%v%-12-31'),
31
+ 'month' => array('regex' => '^((19[7-9]\d)|(2\d{3}))-(0[1-9]|1[012])$',
32
+ 'start' => '%v%-01',
33
+ 'end' => '%v%-31'),
34
+ 'day' => array('regex' => '^((19[7-9]\d)|(2\d{3}))-(0[1-9]|1[012])-(0[1-9]|[12]\d|3[01])$',
35
+ 'start' => '%v%',
36
+ 'end' => '%v%'),
37
+ 'rel_year' => array('regex' => '^([+-]?\d+|last|next|previous|this)_year[s]?$',
38
+ 'start' => '--func--date("Y", strtotime(str_replace("_", " ", "%v%")))."-01-01";',
39
+ 'end' => '--func--date("Y", strtotime(str_replace("_", " ", "%v%")))."-12-31";'),
40
+ 'rel_month' => array('regex' => '^([+-]?\d+|last|previous|next|this)month[s]?$',
41
+ 'start' => '--func--date("Y-m", strtotime(str_replace("_", " ", "%v%")))."-01";',
42
+ 'end' => '--func--date("Y-m", strtotime(str_replace("_", " ", "%v%")))."-31";'),
43
+ // TODO: adding week format (calculation of first/last day of the week is not correct yet)
44
+ /* 'rel_week' => array('regex' => '^([+-]?\d+|last|previous|next|this)_week[s]?$',
45
+ 'start' => '--func--date("Y-m-d", strtotime("Monday ".str_replace("_", " ", "%v%")));',
46
+ 'end' => '--func--date("Y-m-d", strtotime("Sunday ".str_replace("_", " ", "%v%")));'), */
47
+ 'rel_day' => array('regex' => '^((([+-]?\d+|last|previous|next|this)_day[s]?)|yesterday|today|tomorrow)$',
48
+ 'start' => '--func--date("Y-m-d", strtotime(str_replace("_", " ", "%v%")));',
49
+ 'end' => '--func--date("Y-m-d", strtotime(str_replace("_", " ", "%v%")));'),
50
+ );
51
+ $this->daterange_formats = array(
52
+ 'date_range' => array('regex' => '.+~.+'),
53
+ 'all' => array('regex' => '^all$',
54
+ 'start' => '1970-01-01',
55
+ 'end' => '2999-12-31'),
56
+ 'upcoming' => array('regex' => '^upcoming$',
57
+ 'start' => '--func--date("Y-m-d", current_time("timestamp"));',
58
+ 'end' => '2999-12-31'),
59
+ 'past' => array('regex' => '^past$',
60
+ 'start' => '1970-01-01',
61
+ 'end' => '--func--date("Y-m-d", current_time("timestamp")-86400);'), // previous day (86400 seconds = 1*24*60*60 = 1 day
62
+ );
63
+ }
64
+
65
+ public function load_formats_helptexts() {
66
+ require_once(EL_PATH.'includes/daterange_helptexts.php');
67
+ foreach($date_formats_helptexts as $name => $values) {
68
+ $this->date_formats[$name] += $values;
69
+ }
70
+ unset($date_formats_helptexts);
71
+ foreach($daterange_formats_helptexts as $name => $values) {
72
+ $this->daterange_formats[$name] += $values;
73
+ }
74
+ unset($daterange_formats_helptexts);
75
+ }
76
+
77
+ public function check_date_format($element) {
78
+ foreach($this->date_formats as $date_type) {
79
+ if(preg_match('@'.$date_type['regex'].'@', $element)) {
80
+ return $this->get_date_range($element, $date_type);
81
+ }
82
+ }
83
+ return null;
84
+ }
85
+
86
+ public function check_daterange_format($element) {
87
+ foreach($this->daterange_formats as $key => $daterange_type) {
88
+ if(preg_match('@'.$daterange_type['regex'].'@', $element)) {
89
+ //check for date_range which requires special handling
90
+ if('date_range' == $key) {
91
+ $sep_pos = strpos($element, "~");
92
+ $startrange = $this->check_date_format(substr($element, 0, $sep_pos));
93
+ $endrange = $this->check_date_format(substr($element, $sep_pos+1));
94
+ return array($startrange[0], $endrange[1]);
95
+ }
96
+ return $this->get_date_range($element, $daterange_type);
97
+ }
98
+ }
99
+ return null;
100
+ }
101
+
102
+ public function get_date_range($element, &$range_type) {
103
+ // set range values by replacing %v% in $range_type string with $element
104
+ $range[0] = str_replace('%v%', $element, $range_type['start']);
105
+ $range[1] = str_replace('%v%', $element, $range_type['end']);
106
+ // enum function if required
107
+ if(substr($range[0], 0, 8) == '--func--') { //start
108
+ eval('$range[0] = '.substr($range[0], 8));
109
+ }
110
+ if(substr($range[1], 0, 8) == '--func--') { //end
111
+ eval('$range[1] = '.substr($range[1], 8));
112
+ }
113
+ return $range;
114
+ }
115
+ }
116
+
117
+ /* create date_create_from_format (DateTime::createFromFormat) alternative for PHP 5.2
118
+ *
119
+ * This function is only a small implementation of this function with reduced functionality to handle sql dates (format: 2014-01-31)
120
+ */
121
+ if(!function_exists("date_create_from_format")) {
122
+ function date_create_from_format($dformat, $dvalue) {
123
+ $d = new DateTime($dvalue);
124
+ return $d;
125
+ }
126
+ }
127
+ ?>
includes/daterange_helptexts.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if(!defined('WPINC')) {
3
+ exit;
4
+ }
5
+
6
+ $date_formats_helptexts = array(
7
+ 'year' => array('name' => __('Year','event-list'),
8
+ 'desc' => __('You can specify a year in 4 digit format.<br />Other formats will not be accepted.','event-list'),
9
+ 'examp' => '2015'),
10
+ 'month' => array('name' => __('Month','event-list'),
11
+ 'desc' => __('You can specify a month with 4 digits for the year and 2 digits for the month, seperated by a hyphen (-).<br />Other formats will not be accepted.','event-list'),
12
+ 'examp' => '2015-03'),
13
+ 'day' => array('name' => __('Day','event-list'),
14
+ 'desc' => __('You can specify a day with 4 digits for the year, 2 digits for the month and 2 digets for the day, seperated by a hyphen (-).<br />Other formats will not be accepted.','event-list'),
15
+ 'examp' => '2015-03-29'),
16
+ 'rel_year' => array('name' => __('Relative Year','event-list'),
17
+ 'desc' => __('You can specify a relative year from now with the following notation: <em>[+-]?[0-9]+_year[s]?</em><br />
18
+ This means you can specify a relativ number of years from now with "+" or "-" with "_year" or "_years" attached (see also the example).<br />
19
+ Instead of a number you can also specify one of the following special values: <em>last_year</em>, <em>next_year</em>, <em>this_year</em>','event-list'),
20
+ 'examp' => '+1_year'),
21
+ 'rel_month' => array('name' => __('Relative Month','event-list'),
22
+ 'desc' => __('You can specify a relative month from now with the following notation: <em>[+-]?[0-9]+_month[s]?</em><br />
23
+ This means you can specify a relativ number of months from now with "+" or "-" with "_month" or "_months" attached (see also the example).<br />
24
+ Instead of a number you can also specify one of the following special values: <em>last_month</em>, <em>next_month</em>, <em>this_month</em>','event-list'),
25
+ 'examp' => '-6_months'),
26
+ /* 'rel_week' => array('name' => __('Relative Week','event-list'),
27
+ 'desc' => __('You can specify a relative week from now with the following notation: <em>[+-]?[0-9]+_week[s]?</em><br />
28
+ This means you can specify a relativ number of weeks from now with "+" or "-" with "_week" or "_weeks" attached (see also the example).<br />
29
+ Instead of a number you can also specify one of the following special values: <em>last_week</em>, <em>next_week</em>, <em>this_week</em>','event-list'),
30
+ 'examp' => '+3_weeks'), */
31
+ 'rel_day' => array('name' => __('Relative Day','event-list'),
32
+ 'desc' => __('You can specify a relative day from now with the following notation: <em>[+-]?[0-9]+_day[s]?</em><br />
33
+ This means you can specify a relativ number of days from now with "+" or "-" with "_day" or "_days" attached (see also the example).<br />
34
+ Instead of a number you can also specify one of the following special values: <em>last_day</em>, <em>next_day</em>, <em>this_day</em>, <em>yesterday</em>, <em>today</em>, <em>tomorrow</em>','event-list'),
35
+ 'examp' => '-10_days'),
36
+ );
37
+
38
+ $daterange_formats_helptexts = array(
39
+ 'date_range' => array('name' => __('Date range','event-list'),
40
+ 'desc' => __('You can specify a rage or dates seperated by a tilde (~).<br >You can specify any available date format before and after the tilde.','event-list'),
41
+ 'examp' => '2015-03-29~2016'),
42
+ 'all' => array('name' => __('All'),
43
+ 'desc' => __('"all" specifies the full time range without any limitation.','event-list'),
44
+ 'value' => 'all'),
45
+ 'upcoming' => array('name' => __('Upcoming','event-list'),
46
+ 'desc' => __('"upcoming" specifies a time range from the actual day to the future.','event-list'),
47
+ 'value' => 'upcoming'),
48
+ 'past' => array('name' => __('Past','event-list'),
49
+ 'desc' => __('"past" specifies a time rage from the past to the previous day.','event-list'),
50
+ 'value' => 'past'),
51
+ );
52
+ ?>
includes/db.php CHANGED
@@ -1,9 +1,10 @@
1
  <?php
2
- if( !defined( 'ABSPATH' ) ) {
3
  exit;
4
  }
5
 
6
- require_once( EL_PATH.'includes/options.php' );
 
7
 
8
  // Class for database access via wordpress functions
9
  class EL_Db {
@@ -12,11 +13,12 @@ class EL_Db {
12
  private static $instance;
13
  private $table;
14
  private $options;
 
15
 
16
  public static function &get_instance() {
17
  // Create class instance if required
18
- if( !isset( self::$instance ) ) {
19
- self::$instance = new EL_Db();
20
  }
21
  // Return class instance
22
  return self::$instance;
@@ -26,6 +28,7 @@ class EL_Db {
26
  global $wpdb;
27
  $this->table = $wpdb->prefix.self::TABLE_NAME;
28
  $this->options = &EL_Options::get_instance();
 
29
  }
30
 
31
  // UPDATE DB
@@ -194,7 +197,9 @@ class EL_Db {
194
 
195
  private function validate_sql_date($datestring) {
196
  $d = date_create_from_format('Y-m-d', $datestring);
197
- if($d && $d->format('Y-m-d') == $datestring) {
 
 
198
  return $datestring;
199
  }
200
  return false;
@@ -251,13 +256,13 @@ class EL_Db {
251
  }
252
 
253
  private function sql_date_filter($element) {
254
- $range = $this->check_date_format($element);
255
  if(null === $range) {
256
- $range = $this->check_daterange_format($element);
257
  }
258
  if(null === $range) {
259
  //set to standard (upcoming)
260
- $range = $this->get_date_range($element, $this->options->daterange_formats['upcoming']);
261
  }
262
  return '(end_date >= "'.$range[0].'" AND start_date <= "'.$range[1].'")';
263
  }
@@ -266,49 +271,6 @@ class EL_Db {
266
  return 'categories LIKE "%|'.$element.'|%"';
267
  }
268
 
269
- private function check_date_format($element) {
270
- foreach($this->options->date_formats as $date_type) {
271
- if(preg_match('@'.$date_type['regex'].'@', $element)) {
272
- return $this->get_date_range($element, $date_type);
273
- }
274
- }
275
- return null;
276
- }
277
-
278
- private function check_daterange_format($element) {
279
- foreach($this->options->daterange_formats as $key => $daterange_type) {
280
- if(preg_match('@'.$daterange_type['regex'].'@', $element)) {
281
- //check for date_range which requires special handling
282
- if('date_range' == $key) {
283
- $sep_pos = strpos($element, "~");
284
- $startrange = $this->check_date_format(substr($element, 0, $sep_pos));
285
- $endrange = $this->check_date_format(substr($element, $sep_pos+1));
286
- return array($startrange[0], $endrange[1]);
287
- }
288
- return $this->get_date_range($element, $daterange_type);
289
- }
290
- }
291
- return null;
292
- }
293
-
294
- private function get_date_range($element, &$range_type) {
295
- // range start
296
- if(substr($range_type['start'], 0, 8) == '--func--') {
297
- eval('$range[0] = '.substr($range_type['start'], 8));
298
- }
299
- else {
300
- $range[0] = str_replace('%v%', $element, $range_type['start']);
301
- }
302
- // range end
303
- if(substr($range_type['end'], 0, 8) == '--func--') {
304
- eval('$range[1] = '.substr($range_type['end'], 8));
305
- }
306
- else {
307
- $range[1] = str_replace('%v%', $element, $range_type['end']);
308
- }
309
- return $range;
310
- }
311
-
312
  /** ************************************************************************************************************
313
  * Function to truncate and shorten text
314
  *
@@ -404,15 +366,4 @@ if(!function_exists("mb_preg_match")) {
404
  return $out;
405
  }
406
  }
407
-
408
- /* create date_create_from_format (DateTime::createFromFormat) alternative for PHP 5.2
409
- *
410
- * This function is only a small implementation of this function with reduced functionality to handle sql dates (format: 2014-01-31)
411
- */
412
- if(!function_exists("date_create_from_format")) {
413
- function date_create_from_format($dformat, $dvalue) {
414
- $d = new DateTime($dvalue);
415
- return $d;
416
- }
417
- }
418
  ?>
1
  <?php
2
+ if(!defined('WPINC')) {
3
  exit;
4
  }
5
 
6
+ require_once(EL_PATH.'includes/options.php');
7
+ require_once(EL_PATH.'includes/daterange.php');
8
 
9
  // Class for database access via wordpress functions
10
  class EL_Db {
13
  private static $instance;
14
  private $table;
15
  private $options;
16
+ private $daterange;
17
 
18
  public static function &get_instance() {
19
  // Create class instance if required
20
+ if(!isset(self::$instance)) {
21
+ self::$instance = new self();
22
  }
23
  // Return class instance
24
  return self::$instance;
28
  global $wpdb;
29
  $this->table = $wpdb->prefix.self::TABLE_NAME;
30
  $this->options = &EL_Options::get_instance();
31
+ $this->daterange = &EL_Daterange::get_instance();
32
  }
33
 
34
  // UPDATE DB
197
 
198
  private function validate_sql_date($datestring) {
199
  $d = date_create_from_format('Y-m-d', $datestring);
200
+ if($d && $d->format('Y-m-d') == $datestring
201
+ && 1970 <= $d->format('Y')
202
+ && 2999 >= $d->format('Y')) {
203
  return $datestring;
204
  }
205
  return false;
256
  }
257
 
258
  private function sql_date_filter($element) {
259
+ $range = $this->daterange->check_date_format($element);
260
  if(null === $range) {
261
+ $range = $this->daterange->check_daterange_format($element);
262
  }
263
  if(null === $range) {
264
  //set to standard (upcoming)
265
+ $range = $this->daterange->get_date_range($element, $this->options->daterange_formats['upcoming']);
266
  }
267
  return '(end_date >= "'.$range[0].'" AND start_date <= "'.$range[1].'")';
268
  }
271
  return 'categories LIKE "%|'.$element.'|%"';
272
  }
273
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
274
  /** ************************************************************************************************************
275
  * Function to truncate and shorten text
276
  *
366
  return $out;
367
  }
368
  }
 
 
 
 
 
 
 
 
 
 
 
369
  ?>
includes/options.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- if(!defined('ABSPATH')) {
3
  exit;
4
  }
5
 
@@ -9,13 +9,11 @@ class EL_Options {
9
  private static $instance;
10
  public $group;
11
  public $options;
12
- public $date_formats;
13
- public $daterange_formats;
14
 
15
  public static function &get_instance() {
16
  // Create class instance if required
17
  if(!isset(self::$instance)) {
18
- self::$instance = new EL_Options();
19
  }
20
  // Return class instance
21
  return self::$instance;
@@ -24,85 +22,41 @@ class EL_Options {
24
  private function __construct() {
25
  $this->group = 'event-list';
26
  add_action('init', array(&$this, 'init_options'), 1);
27
- add_action('admin_init', array(&$this, 'load_options_helptexts'), 2);
28
  add_action('admin_init', array(&$this, 'register_options'));
29
  }
30
 
31
  public function init_options() {
32
  $this->options = array(
33
- 'el_db_version' => array('std_val' => ''),
34
- 'el_categories' => array('std_val' => null),
35
- 'el_sync_cats' => array('std_val' => ''),
36
- 'el_no_event_text' => array('std_val' => 'no event'),
37
- 'el_date_once_per_day' => array('std_val' => ''),
38
- 'el_html_tags_in_time' => array('std_val' => ''),
39
- 'el_html_tags_in_loc' => array('std_val' => ''),
40
- 'el_edit_dateformat' => array('std_val' => ''),
41
- 'el_enable_feed' => array('std_val' => ''),
42
- 'el_feed_name' => array('std_val' => 'event-list'),
43
- 'el_feed_description' => array('std_val' => 'Eventlist Feed'),
44
- 'el_feed_upcoming_only' => array('std_val' => ''),
45
- 'el_head_feed_link' => array('std_val' => '1'),
46
- 'el_feed_link_pos' => array('std_val' => 'bottom'),
47
- 'el_feed_link_align' => array('std_val' => 'left'),
48
- 'el_feed_link_text' => array('std_val' => 'RSS Feed'),
49
- 'el_feed_link_img' => array('std_val' => '1'),
50
- );
51
 
52
- $this->date_formats = array(
53
- 'year' => array('name' => 'Year',
54
- 'regex' => '^[12]\d{3}$',
55
- 'examp' => '2015',
56
- 'start' => '%v%-01-01',
57
- 'end' => '%v%-12-31'),
58
- 'month' => array('name' => 'Month',
59
- 'regex' => '^[12]\d{3}-(0[1-9]|1[012])$',
60
- 'examp' => '2015-03',
61
- 'start' => '%v%-01',
62
- 'end' => '%v%-31'),
63
- 'day' => array('name' => 'Day',
64
- 'regex' => '^[12]\d{3}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$',
65
- 'examp' => '2015-03-29',
66
- 'start' => '%v%',
67
- 'end' => '%v%'),
68
- );
69
 
70
- $this->daterange_formats = array(
71
- 'date_range' => array('name' => 'Date range',
72
- 'regex' => '.+~.+',
73
- 'examp' => '2015-03-29~2016'),
74
- 'all' => array('name' => 'All',
75
- 'regex' => '^all$',
76
- 'value' => 'all',
77
- 'start' => '1000-01-01',
78
- 'end' => '2999-12-31'),
79
- 'upcoming' => array('name' => 'Upcoming',
80
- 'regex' => '^upcoming$',
81
- 'value' => 'upcoming',
82
- 'start' => '--func--date("Y-m-d", current_time("timestamp"));',
83
- 'end' => '2999-12-31'),
84
- 'past' => array('name' => 'Past',
85
- 'regex' => '^past$',
86
- 'value' => 'past',
87
- 'start' => '1000-01-01',
88
- 'end' => '--func--date("Y-m-d", current_time("timestamp")-86400);'), // previous day (86400 seconds = 1*24*60*60 = 1 day
89
  );
90
  }
91
 
92
  public function load_options_helptexts() {
93
  require_once(EL_PATH.'includes/options_helptexts.php');
94
  foreach($options_helptexts as $name => $values) {
95
- $this->options[$name] = array_merge($this->options[$name], $values);
96
  }
97
  unset($options_helptexts);
98
- foreach($date_formats_desc as $name => $value) {
99
- $this->date_formats[$name]['desc'] = $value;
100
- }
101
- unset($date_formats_desc);
102
- foreach($daterange_formats_desc as $name => $value) {
103
- $this->daterange_formats[$name]['desc'] = $value;
104
- }
105
- unset($daterange_formats_desc);
106
  }
107
 
108
  public function register_options() {
1
  <?php
2
+ if(!defined('WPINC')) {
3
  exit;
4
  }
5
 
9
  private static $instance;
10
  public $group;
11
  public $options;
 
 
12
 
13
  public static function &get_instance() {
14
  // Create class instance if required
15
  if(!isset(self::$instance)) {
16
+ self::$instance = new self();
17
  }
18
  // Return class instance
19
  return self::$instance;
22
  private function __construct() {
23
  $this->group = 'event-list';
24
  add_action('init', array(&$this, 'init_options'), 1);
 
25
  add_action('admin_init', array(&$this, 'register_options'));
26
  }
27
 
28
  public function init_options() {
29
  $this->options = array(
30
+ 'el_db_version' => array('std_val' => '', 'section' => 'system'),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
+ 'el_categories' => array('std_val' => null, 'section' => 'categories'),
33
+ 'el_sync_cats' => array('std_val' => '', 'section' => 'categories'),
34
+
35
+ 'el_no_event_text' => array('std_val' => 'no event', 'section' => 'general'),
36
+ 'el_date_once_per_day' => array('std_val' => '', 'section' => 'general'),
37
+ 'el_html_tags_in_time' => array('std_val' => '', 'section' => 'general'),
38
+ 'el_html_tags_in_loc' => array('std_val' => '', 'section' => 'general'),
 
 
 
 
 
 
 
 
 
 
39
 
40
+ 'el_edit_dateformat' => array('std_val' => '', 'section' => 'admin'),
41
+
42
+ 'el_enable_feed' => array('std_val' => '', 'section' => 'feed'),
43
+ 'el_feed_name' => array('std_val' => 'event-list', 'section' => 'feed'),
44
+ 'el_feed_description' => array('std_val' => 'Eventlist Feed', 'section' => 'feed'),
45
+ 'el_feed_upcoming_only' => array('std_val' => '', 'section' => 'feed'),
46
+ 'el_head_feed_link' => array('std_val' => '1', 'section' => 'feed'),
47
+ 'el_feed_link_pos' => array('std_val' => 'bottom', 'section' => 'feed'),
48
+ 'el_feed_link_align' => array('std_val' => 'left', 'section' => 'feed'),
49
+ 'el_feed_link_text' => array('std_val' => 'RSS Feed', 'section' => 'feed'),
50
+ 'el_feed_link_img' => array('std_val' => '1', 'section' => 'feed'),
 
 
 
 
 
 
 
 
51
  );
52
  }
53
 
54
  public function load_options_helptexts() {
55
  require_once(EL_PATH.'includes/options_helptexts.php');
56
  foreach($options_helptexts as $name => $values) {
57
+ $this->options[$name] += $values;
58
  }
59
  unset($options_helptexts);
 
 
 
 
 
 
 
 
60
  }
61
 
62
  public function register_options() {
includes/options_helptexts.php CHANGED
@@ -4,63 +4,58 @@ if(!defined('WPINC')) {
4
  }
5
 
6
  $options_helptexts = array(
7
- 'el_db_version' => array('section' => 'system',
8
- 'type' => 'text'),
9
 
10
- 'el_categories' => array('section' => 'categories',
11
- 'type' => 'category',
12
  'label' => __('Event Categories','event-list'),
13
  'caption' => '',
14
  'desc' => __('This option specifies all event category data.','event-list')),
15
 
16
- 'el_sync_cats' => array('section' => 'categories',
17
- 'type' => 'checkbox',
18
  'label' => __('Sync Categories','event-list'),
19
  'caption' => __('Keep event categories in sync with post categories automatically','event-list'),
20
  'desc' => '<table><tr style="vertical-align:top"><td><strong>'.__('Attention','event-list').':</strong></td>
21
  <td>'.__('Please note that this option will delete all categories which are not available in the post categories! Existing Categories with the same slug will be updated.','event-list').'</td></tr></table>'),
22
 
23
- 'el_no_event_text' => array('section' => 'general',
24
- 'type' => 'text',
25
  'label' => __('Text for no events','event-list'),
26
  'caption' => '',
27
  'desc' => __('This option defines the text which is displayed if no events are available for the selected view.','event-list')),
28
 
29
- 'el_date_once_per_day' => array('section' => 'general',
30
- 'type' => 'checkbox',
31
  'label' => __('Date display','event-list'),
32
  'caption' => __('Show date only once per day','event-list'),
33
  'desc' => __('With this option you can display the date only once per day if multiple events are available on the same day.<br />
34
  If this option is enabled the events are ordered in a different way (end date before start time) to allow using the same date for as much events as possible.')),
35
 
36
- 'el_html_tags_in_time' => array('section' => 'general',
37
- 'type' => 'checkbox',
38
  'label' => __('HTML tags','event-list'),
39
  'caption' => __('Allow HTML tags in event time field','event-list'),
40
  'desc' => __('This option specifies if HTML tags are allowed in the event start time field.','event-list')),
41
 
42
- 'el_html_tags_in_loc' => array('section' => 'general',
43
- 'type' => 'checkbox',
44
  'label' => '',
45
  'caption' => __('Allow HTML tags in event location field','event-list'),
46
  'desc' => __('This option specifies if HTML tags are allowed in the event location field.','event-list')),
47
 
48
- 'el_edit_dateformat' => array('section' => 'admin',
49
- 'type' => 'text',
50
  'label' => __('Date format in edit form','event-list'),
51
  'desc' => __('This option sets a specific date format for the event date fields in the new/edit event form.<br />
52
  The standard is an empty string to use the wordpress standard setting.<br />
53
  All available options to specify the format can be found <a href="http://php.net/manual/en/function.date.php" target="_blank">here</a>')),
54
 
55
- 'el_enable_feed' => array('section' => 'feed',
56
- 'type' => 'checkbox',
57
  'label' => __('Enable RSS feed','event-list'),
58
  'caption' => __('Enable support for an event RSS feed','event-list'),
59
  'desc' => __('This option activates a RSS feed for the events.<br />
60
  You have to enable this option if you want to use one of the RSS feed features.')),
61
 
62
- 'el_feed_name' => array('section' => 'feed',
63
- 'type' => 'text',
64
  'label' => __('Feed name','event-list'),
65
  'desc' => __('This options sets the feed name. The standard value is "event-list".<br />
66
  This name will be used in the feed url (e.g. <code>domain.com/?feed=event-list</code> or <code>domain.com/feed/eventlist</code> for an installation with permalinks')),
@@ -118,17 +113,4 @@ $options_helptexts = array(
118
  'desc' => __('This option specifies if the an image should be dispayed in the feed link in front of the text.<br />
119
  You have to set the shortcode attribute "add_feed_link" to "true" if you want to show the feed link.')),
120
  );
121
-
122
- $date_formats_desc = array(
123
- 'year' => __('You can specify a year in 4 digit format.<br /> Other formats will not be accepted.','event-list'),
124
- 'month' => __('You can specify a month with 4 digits for the year and 2 digits for the month, seperated by a hyphen (-).<br />Other formats will not be accepted.','event-list'),
125
- 'day' => __('You can specify a day with 4 digits for the year, 2 digits for the month and 2 digets for the day, seperated by a hyphen (-).<br /> Other formats will not be accepted.','event-list'),
126
- );
127
-
128
- $daterange_formats_desc = array(
129
- 'date_range' => __('You can specify a rage or dates seperated by a tilde (~).<br >You can specify any available date format before and after the tilde.','event-list'),
130
- 'all' => __('"all" specifies the full time range without any limitation.','event-list'),
131
- 'upcoming' => __('"upcoming" specifies a time range from the actual day to the future.','event-list'),
132
- 'past' => __('"past" specifies a time rage from the past to the previous day.','event-list'),
133
- );
134
  ?>
4
  }
5
 
6
  $options_helptexts = array(
7
+ // Section: "system"
8
+ 'el_db_version' => array('type' => 'text'),
9
 
10
+ // Section: "categories"
11
+ 'el_categories' => array('type' => 'category',
12
  'label' => __('Event Categories','event-list'),
13
  'caption' => '',
14
  'desc' => __('This option specifies all event category data.','event-list')),
15
 
16
+ 'el_sync_cats' => array('type' => 'checkbox',
 
17
  'label' => __('Sync Categories','event-list'),
18
  'caption' => __('Keep event categories in sync with post categories automatically','event-list'),
19
  'desc' => '<table><tr style="vertical-align:top"><td><strong>'.__('Attention','event-list').':</strong></td>
20
  <td>'.__('Please note that this option will delete all categories which are not available in the post categories! Existing Categories with the same slug will be updated.','event-list').'</td></tr></table>'),
21
 
22
+ // Section: "general"
23
+ 'el_no_event_text' => array('type' => 'text',
24
  'label' => __('Text for no events','event-list'),
25
  'caption' => '',
26
  'desc' => __('This option defines the text which is displayed if no events are available for the selected view.','event-list')),
27
 
28
+ 'el_date_once_per_day' => array('type' => 'checkbox',
 
29
  'label' => __('Date display','event-list'),
30
  'caption' => __('Show date only once per day','event-list'),
31
  'desc' => __('With this option you can display the date only once per day if multiple events are available on the same day.<br />
32
  If this option is enabled the events are ordered in a different way (end date before start time) to allow using the same date for as much events as possible.')),
33
 
34
+ 'el_html_tags_in_time' => array('type' => 'checkbox',
 
35
  'label' => __('HTML tags','event-list'),
36
  'caption' => __('Allow HTML tags in event time field','event-list'),
37
  'desc' => __('This option specifies if HTML tags are allowed in the event start time field.','event-list')),
38
 
39
+ 'el_html_tags_in_loc' => array('type' => 'checkbox',
 
40
  'label' => '',
41
  'caption' => __('Allow HTML tags in event location field','event-list'),
42
  'desc' => __('This option specifies if HTML tags are allowed in the event location field.','event-list')),
43
 
44
+ // Section: "admin"
45
+ 'el_edit_dateformat' => array('type' => 'text',
46
  'label' => __('Date format in edit form','event-list'),
47
  'desc' => __('This option sets a specific date format for the event date fields in the new/edit event form.<br />
48
  The standard is an empty string to use the wordpress standard setting.<br />
49
  All available options to specify the format can be found <a href="http://php.net/manual/en/function.date.php" target="_blank">here</a>')),
50
 
51
+ // Section: "feed"
52
+ 'el_enable_feed' => array('type' => 'checkbox',
53
  'label' => __('Enable RSS feed','event-list'),
54
  'caption' => __('Enable support for an event RSS feed','event-list'),
55
  'desc' => __('This option activates a RSS feed for the events.<br />
56
  You have to enable this option if you want to use one of the RSS feed features.')),
57
 
58
+ 'el_feed_name' => array('type' => 'text',
 
59
  'label' => __('Feed name','event-list'),
60
  'desc' => __('This options sets the feed name. The standard value is "event-list".<br />
61
  This name will be used in the feed url (e.g. <code>domain.com/?feed=event-list</code> or <code>domain.com/feed/eventlist</code> for an installation with permalinks')),
113
  'desc' => __('This option specifies if the an image should be dispayed in the feed link in front of the text.<br />
114
  You have to set the shortcode attribute "add_feed_link" to "true" if you want to show the feed link.')),
115
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  ?>
includes/sc_event-list.php CHANGED
@@ -1,17 +1,17 @@
1
  <?php
2
- if( !defined( 'ABSPATH' ) ) {
3
  exit;
4
  }
5
 
6
- require_once( EL_PATH.'includes/db.php' );
7
- require_once( EL_PATH.'includes/options.php' );
8
- require_once( EL_PATH.'includes/categories.php' );
9
 
10
  // This class handles the shortcode [event-list]
11
  class SC_Event_List {
12
  private static $instance;
13
- private $db;
14
  private $options;
 
15
  private $categories;
16
  private $atts;
17
  private $num_sc_loaded;
@@ -19,16 +19,16 @@ class SC_Event_List {
19
 
20
  public static function &get_instance() {
21
  // Create class instance if required
22
- if( !isset( self::$instance ) ) {
23
- self::$instance = new SC_Event_List();
24
  }
25
  // Return class instance
26
  return self::$instance;
27
  }
28
 
29
  private function __construct() {
30
- $this->db = &EL_Db::get_instance();
31
  $this->options = &EL_Options::get_instance();
 
32
  $this->categories = &EL_Categories::get_instance();
33
 
34
  // All available attributes
@@ -57,15 +57,11 @@ class SC_Event_List {
57
  // 'actual_date'
58
  // 'actual_cat'
59
  );
60
-
61
- if(is_admin()) {
62
- $this->load_sc_eventlist_helptexts();
63
- }
64
  $this->num_sc_loaded = 0;
65
  $this->single_event = false;
66
  }
67
 
68
- private function load_sc_eventlist_helptexts() {
69
  require_once(EL_PATH.'includes/sc_event-list_helptexts.php');
70
  foreach($sc_eventlist_helptexts as $name => $values) {
71
  $this->atts[$name] = array_merge($this->atts[$name], $values);
1
  <?php
2
+ if(!defined('WPINC')) {
3
  exit;
4
  }
5
 
6
+ require_once(EL_PATH.'includes/db.php');
7
+ require_once(EL_PATH.'includes/options.php');
8
+ require_once(EL_PATH.'includes/categories.php');
9
 
10
  // This class handles the shortcode [event-list]
11
  class SC_Event_List {
12
  private static $instance;
 
13
  private $options;
14
+ private $db;
15
  private $categories;
16
  private $atts;
17
  private $num_sc_loaded;
19
 
20
  public static function &get_instance() {
21
  // Create class instance if required
22
+ if(!isset(self::$instance)) {
23
+ self::$instance = new self();
24
  }
25
  // Return class instance
26
  return self::$instance;
27
  }
28
 
29
  private function __construct() {
 
30
  $this->options = &EL_Options::get_instance();
31
+ $this->db = &EL_Db::get_instance();
32
  $this->categories = &EL_Categories::get_instance();
33
 
34
  // All available attributes
57
  // 'actual_date'
58
  // 'actual_cat'
59
  );
 
 
 
 
60
  $this->num_sc_loaded = 0;
61
  $this->single_event = false;
62
  }
63
 
64
+ public function load_sc_eventlist_helptexts() {
65
  require_once(EL_PATH.'includes/sc_event-list_helptexts.php');
66
  foreach($sc_eventlist_helptexts as $name => $values) {
67
  $this->atts[$name] = array_merge($this->atts[$name], $values);
languages/event-list-de_DE.mo CHANGED
Binary file
languages/event-list-de_DE.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: wp-eventlist\n"
4
- "POT-Creation-Date: 2015-03-21 13:49+0100\n"
5
- "PO-Revision-Date: 2015-03-21 13:49+0100\n"
6
  "Last-Translator: Michael Burtscher <mike@mbnet.at>\n"
7
  "Language-Team: Michael Burtscher\n"
8
  "Language: de\n"
@@ -10,9 +10,12 @@ msgstr ""
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Generator: Poedit 1.5.4\n"
13
- "X-Poedit-KeywordsList: __;_e\n"
 
 
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
 
16
  "X-Poedit-SearchPath-0: /home/zeus/mike/workspace/wp-eventlist\n"
17
 
18
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget.php:20
@@ -214,13 +217,14 @@ msgid ""
214
  "event-list widget."
215
  msgstr ""
216
 
217
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list.php:140
218
  msgid "Event Information:"
219
  msgstr "Termin Informationen:"
220
 
221
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:8
222
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:97
223
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:108
 
224
  msgid "Title"
225
  msgstr "Titel"
226
 
@@ -354,6 +358,7 @@ msgstr ""
354
  "verlinkten Seite befinden."
355
 
356
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:85
 
357
  msgid "Add links to the single events"
358
  msgstr "Füge Links zu den einzelnen Terminen ein"
359
 
@@ -369,6 +374,7 @@ msgstr ""
369
  "auf der verlinkten Seite korrekt gesetzt werden."
370
 
371
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:92
 
372
  msgid "Add a link to the Event List page"
373
  msgstr "Füge einen Link zur Event List Seite hinzu"
374
 
@@ -403,20 +409,20 @@ msgstr "Termin Kategorien"
403
  msgid "This option specifies all event category data."
404
  msgstr ""
405
 
406
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:18
407
  msgid "Sync Categories"
408
  msgstr "Synchronisiere Kategorien"
409
 
410
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:19
411
  msgid "Keep event categories in sync with post categories automatically"
412
  msgstr ""
413
  "Halte die Termin-Kategorien mit den Beitragskategorien automatisch synchron"
414
 
415
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:20
416
  msgid "Attention"
417
  msgstr "Achtung"
418
 
419
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:21
420
  msgid ""
421
  "Please note that this option will delete all categories which are not "
422
  "available in the post categories! Existing Categories with the same slug "
@@ -426,25 +432,25 @@ msgstr ""
426
  "Beitragskategorien verfügbar sind, gelöscht werden! Existierende Kategorien "
427
  "mit gleichem Permalink werden aktualisiert."
428
 
429
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:25
430
  msgid "Text for no events"
431
  msgstr ""
432
 
433
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:27
434
  msgid ""
435
  "This option defines the text which is displayed if no events are available "
436
  "for the selected view."
437
  msgstr ""
438
 
439
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:31
440
  msgid "Date display"
441
  msgstr ""
442
 
443
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:32
444
  msgid "Show date only once per day"
445
  msgstr ""
446
 
447
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:33
448
  msgid ""
449
  "With this option you can display the date only once per day if multiple "
450
  "events are available on the same day.<br />\n"
@@ -453,33 +459,33 @@ msgid ""
453
  "time) to allow using the same date for as much events as possible."
454
  msgstr ""
455
 
456
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:38
457
  msgid "HTML tags"
458
  msgstr ""
459
 
460
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:39
461
  msgid "Allow HTML tags in event time field"
462
  msgstr ""
463
 
464
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:40
465
  msgid ""
466
  "This option specifies if HTML tags are allowed in the event start time field."
467
  msgstr ""
468
 
469
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:45
470
  msgid "Allow HTML tags in event location field"
471
  msgstr ""
472
 
473
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:46
474
  msgid ""
475
  "This option specifies if HTML tags are allowed in the event location field."
476
  msgstr ""
477
 
478
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:50
479
  msgid "Date format in edit form"
480
  msgstr ""
481
 
482
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:51
483
  msgid ""
484
  "This option sets a specific date format for the event date fields in the new/"
485
  "edit event form.<br />\n"
@@ -490,26 +496,26 @@ msgid ""
490
  "date.php\" target=\"_blank\">here</a>"
491
  msgstr ""
492
 
493
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:57
494
  msgid "Enable RSS feed"
495
  msgstr ""
496
 
497
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:58
498
  msgid "Enable support for an event RSS feed"
499
  msgstr ""
500
 
501
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:59
502
  msgid ""
503
  "This option activates a RSS feed for the events.<br />\n"
504
  "\t You have to enable this "
505
  "option if you want to use one of the RSS feed features."
506
  msgstr ""
507
 
508
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:64
509
  msgid "Feed name"
510
  msgstr ""
511
 
512
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:65
513
  msgid ""
514
  "This options sets the feed name. The standard value is \"event-list\".<br /"
515
  ">\n"
@@ -518,11 +524,11 @@ msgid ""
518
  "<code>domain.com/feed/eventlist</code> for an installation with permalinks"
519
  msgstr ""
520
 
521
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:70
522
  msgid "Feed Description"
523
  msgstr ""
524
 
525
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:71
526
  msgid ""
527
  "This options sets the feed description. The standard value is \"Eventlist "
528
  "Feed\".<br />\n"
@@ -531,15 +537,15 @@ msgid ""
531
  "in the feed itself."
532
  msgstr ""
533
 
534
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:76
535
  msgid "Listed events"
536
  msgstr ""
537
 
538
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:77
539
  msgid "Only show upcoming events in feed"
540
  msgstr ""
541
 
542
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:78
543
  msgid ""
544
  "If this option is enabled only the upcoming events are listed in the feed."
545
  "<br />\n"
@@ -547,15 +553,15 @@ msgid ""
547
  "(upcoming and past) will be listed."
548
  msgstr ""
549
 
550
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:83
551
  msgid "Add RSS feed link in head"
552
  msgstr ""
553
 
554
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:84
555
  msgid "Add RSS feed link in the html head"
556
  msgstr ""
557
 
558
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:85
559
  msgid ""
560
  "This option adds a RSS feed in the html head for the events.<br />\n"
561
  "\t You have 2 possibilities "
@@ -570,11 +576,11 @@ msgid ""
570
  "valid if the option \"Enable RSS feed\" is enabled."
571
  msgstr ""
572
 
573
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:93
574
  msgid "Position of the RSS feed link"
575
  msgstr ""
576
 
577
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:95
578
  msgid ""
579
  "This option specifies the position of the RSS feed link in the event list."
580
  "<br />\n"
@@ -586,11 +592,11 @@ msgid ""
586
  "feed link."
587
  msgstr ""
588
 
589
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:101
590
  msgid "Align of the RSS feed link"
591
  msgstr ""
592
 
593
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:103
594
  msgid ""
595
  "This option specifies the align of the RSS feed link in the event list.<br /"
596
  ">\n"
@@ -601,11 +607,11 @@ msgid ""
601
  "feed link."
602
  msgstr ""
603
 
604
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:109
605
  msgid "Feed link text"
606
  msgstr ""
607
 
608
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:110
609
  msgid ""
610
  "This option specifies the caption of the RSS feed link in the event list."
611
  "<br />\n"
@@ -616,15 +622,15 @@ msgid ""
616
  "feed link."
617
  msgstr ""
618
 
619
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:116
620
  msgid "Feed link image"
621
  msgstr ""
622
 
623
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:117
624
  msgid "Show rss image in feed link"
625
  msgstr ""
626
 
627
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:118
628
  msgid ""
629
  "This option specifies if the an image should be dispayed in the feed link in "
630
  "front of the text.<br />\n"
@@ -633,70 +639,138 @@ msgid ""
633
  "feed link."
634
  msgstr ""
635
 
636
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:123
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
637
  msgid ""
638
- "You can specify a year in 4 digit format.<br /> Other formats will not be "
639
  "accepted."
640
  msgstr ""
641
 
642
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:124
 
 
 
 
643
  msgid ""
644
  "You can specify a month with 4 digits for the year and 2 digits for the "
645
  "month, seperated by a hyphen (-).<br />Other formats will not be accepted."
646
  msgstr ""
647
 
648
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:125
 
 
 
 
649
  msgid ""
650
  "You can specify a day with 4 digits for the year, 2 digits for the month and "
651
- "2 digets for the day, seperated by a hyphen (-).<br /> Other formats will "
652
- "not be accepted."
653
  msgstr ""
654
 
655
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:129
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
656
  msgid ""
657
  "You can specify a rage or dates seperated by a tilde (~).<br >You can "
658
  "specify any available date format before and after the tilde."
659
  msgstr ""
660
 
661
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:130
662
  msgid "\"all\" specifies the full time range without any limitation."
663
  msgstr ""
664
 
665
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:131
666
  msgid "\"upcoming\" specifies a time range from the actual day to the future."
667
  msgstr ""
668
 
669
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:132
670
  msgid "\"past\" specifies a time rage from the past to the previous day."
671
  msgstr ""
672
 
673
- #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:282
674
- msgid "All"
675
- msgstr "Alle"
676
-
677
- #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:285
678
- msgid "Show all dates"
679
- msgstr "Zeige alle Datumsbereiche"
680
-
681
- #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:285
682
- msgid "Show all categories"
683
- msgstr "Zeige alle Kategorien"
684
-
685
- #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:291
686
- msgid "Upcoming"
687
- msgstr "Anstehend"
688
-
689
- #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:295
690
- msgid "Past"
691
- msgstr "Beendet"
692
-
693
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:45
694
  msgid "Event List"
695
  msgstr "Event List"
696
 
697
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:48
698
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:80
699
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:108
700
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:110
701
  msgid "Events"
702
  msgstr "Termine"
@@ -711,23 +785,24 @@ msgid "Add New Event"
711
  msgstr "Neuen Termin erstellen"
712
 
713
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:52
714
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:112
715
  msgid "Add New"
716
  msgstr "Erstellen"
717
 
718
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:56
719
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:50
720
  msgid "Event List Categories"
721
  msgstr "Event List Kategorien"
722
 
723
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:56
724
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:136
725
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:111
 
726
  msgid "Categories"
727
  msgstr "Kategorien"
728
 
729
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:60
730
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:50
731
  msgid "Event List Settings"
732
  msgstr "Event List Einstellungen"
733
 
@@ -736,7 +811,7 @@ msgid "Settings"
736
  msgstr "Einstellungen"
737
 
738
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:64
739
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:29
740
  msgid "About Event List"
741
  msgstr "Informationen zu Event List"
742
 
@@ -744,76 +819,77 @@ msgstr "Informationen zu Event List"
744
  msgid "About"
745
  msgstr "Informationen"
746
 
747
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:37
748
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:69
749
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:38
750
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:31
751
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:26
 
752
  msgid "You do not have sufficient permissions to access this page."
753
  msgstr ""
754
 
755
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:53
756
  msgid "Edit Category"
757
  msgstr "Kategorie bearbeiten"
758
 
759
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:53
760
  msgid "Update Category"
761
  msgstr "Kategorie aktualisieren"
762
 
763
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:59
764
  msgid "Add New Category"
765
  msgstr "Neue Kategorie erstellen"
766
 
767
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:84
768
  #, php-format
769
  msgid "Category \"%s\" deleted."
770
  msgstr "Kategorie \"%s\" gelöscht."
771
 
772
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:86
773
  #, php-format
774
  msgid "This Category was also removed from %d events."
775
  msgstr "Diese Kategorie wurde zudem aus %d Terminen gelöscht."
776
 
777
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:92
778
  #, php-format
779
  msgid "Error while deleting category \"%s\""
780
  msgstr "Fehler beim Löschen der Kategorie \"%s\""
781
 
782
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:102
783
  msgid "Sync with post categories enabled."
784
  msgstr "Synchronisation mit Artikel-Kategorien ist aktiviert."
785
 
786
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:105
787
  msgid "Sync with post categories disabled."
788
  msgstr "Synchronisation mit Artikel-Kategorien ist deaktiviert."
789
 
790
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:111
791
  msgid "Manual sync with post categories sucessfully finished."
792
  msgstr ""
793
  "Manuelle Synchronisation mit Artikelkategorien wurde erfolgreich "
794
  "durchgeführt."
795
 
796
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:119
797
  #, php-format
798
  msgid "New Category \"%s\" was added"
799
  msgstr "Neue Kategorie \"%s\" wurde hinzugefügt"
800
 
801
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:122
802
  #, php-format
803
  msgid "Error: New Category \"%s\" could not be added"
804
  msgstr "Fehler: Neue Kategorie \"%s\" konnte nicht hinzugefügt werden"
805
 
806
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:128
807
  #, php-format
808
  msgid "Category \"%s\" was modified"
809
  msgstr "Kategorie \"%s\" wurde geändert"
810
 
811
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:131
812
  #, php-format
813
  msgid "Error: Category \"%s\" could not be modified"
814
  msgstr "Fehler: Kagegorie \"%s\" konnte nicht geändert werden"
815
 
816
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:138
817
  msgid ""
818
  "Categories are automatically synced with the post categories.<br />\n"
819
  "\t\t\t Because of this "
@@ -823,21 +899,21 @@ msgid ""
823
  "manually edit the categories you have to disable this option."
824
  msgstr ""
825
 
826
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:165
827
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:107
828
  msgid "Name"
829
- msgstr "Name"
830
 
831
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:167
832
  msgid "The name is how it appears on your site."
833
  msgstr "Dieser Name wird dann auf der Webseite angezeigt."
834
 
835
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:170
836
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:109
837
  msgid "Slug"
838
- msgstr "Permalink"
839
 
840
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:172
841
  msgid ""
842
  "The “slug” is the URL-friendly version of the name. It is usually all "
843
  "lowercase and contains only letters, numbers, and hyphens."
@@ -845,15 +921,15 @@ msgstr ""
845
  "Die \"Titelform (in URLs)\" ist die URL-Variante des Namens. Sie besteht "
846
  "normalerweise nur aus Kleinbuchstaben, Zahlen und Bindestrichen."
847
 
848
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:175
849
  msgid "Parent"
850
  msgstr "Parent"
851
 
852
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:177
853
  msgid "None"
854
- msgstr "Keine"
855
 
856
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:185
857
  msgid ""
858
  "Categories can have a hierarchy. You might have a Jazz category, and under "
859
  "that have children categories for Bebop and Big Band. Totally optional."
@@ -862,28 +938,35 @@ msgstr ""
862
  "Kategorie Musik anlegen, welche die Unterkategorien Schlager und Jazz "
863
  "enthält."
864
 
865
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:188
866
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:108
 
867
  msgid "Description"
868
  msgstr "Beschreibung"
869
 
870
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:232
871
  msgid "Apply"
872
  msgstr "Anwenden"
873
 
874
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:242
875
  msgid "Do a manual sync with post categories"
876
  msgstr "Führe eine manuelle Synchronisation mit den Beitragskategorien durch"
877
 
878
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:105
879
  msgid "Edit Event"
880
  msgstr "Termin bearbeiten"
881
 
882
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:105
883
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:72
884
  msgid "Duplicate"
885
  msgstr "Duplizieren"
886
 
 
 
 
 
 
 
887
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:27
888
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:29
889
  msgid "event"
@@ -926,16 +1009,19 @@ msgid "Multi-Day Event"
926
  msgstr "Mehrtägiger Termin"
927
 
928
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:110
 
929
  msgid "Time"
930
  msgstr "Uhrzeit"
931
 
932
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:114
933
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:109
 
934
  msgid "Location"
935
  msgstr "Ort"
936
 
937
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:118
938
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:110
 
939
  msgid "Details"
940
  msgstr "Beschreibung"
941
 
@@ -949,16 +1035,18 @@ msgid "Update"
949
  msgstr "Aktualisieren"
950
 
951
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:153
 
952
  msgid "Cancel"
953
  msgstr "Abbrechen"
954
 
955
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:166
 
956
  msgid "No categories available."
957
  msgstr "Keine Kategorien verfügbar."
958
 
959
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:212
960
  msgid "Goto Category Settings"
961
- msgstr ""
962
 
963
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:220
964
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:272
@@ -988,70 +1076,335 @@ msgstr "vor %s"
988
  msgid "Y/m/d g:i:s A"
989
  msgstr ""
990
 
991
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:38
992
  msgid "Settings saved."
993
  msgstr "Einstellungen gespeichert."
994
 
995
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:98
996
- msgid "Filter Syntax"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
997
  msgstr ""
 
998
 
999
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:99
1000
  msgid ""
1001
- "For date and cat filters you can specify complex filters with the following "
1002
- "syntax:"
1003
  msgstr ""
 
 
1004
 
1005
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:100
1006
  msgid ""
1007
- "You can use AND ( \"<strong>&amp;</strong>\" ) and OR ( \"<strong>&verbar;</"
1008
- "strong>\" or \"<strong>&comma;</strong>\" ) connections to define complex "
1009
- "filters. Additionally you can set brackets ( \"<strong>(</strong>\" and "
1010
- "\"<strong>)</strong>\" ) for nested queries."
1011
  msgstr ""
 
 
1012
 
1013
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:101
1014
- msgid "Examples for cat filters:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1015
  msgstr ""
 
 
1016
 
1017
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:102
1018
- msgid "Show all events with category \"tennis\"."
 
 
 
 
 
 
1019
  msgstr ""
 
 
1020
 
1021
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:103
1022
- msgid "Show all events with category \"tennis\" or \"hockey\"."
 
 
 
1023
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1024
 
1025
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:104
 
 
 
 
1026
  msgid ""
1027
- "Show all events with category \"tennis\" and all events where category "
1028
- "\"hockey\" as well as \"winter\" is selected."
1029
  msgstr ""
 
 
1030
 
1031
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:109
1032
- msgid "Available Date Formats"
 
 
 
1033
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1034
 
1035
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:110
1036
- msgid "For date filters you can use the following date formats:"
 
 
 
1037
  msgstr ""
 
 
 
 
 
 
 
 
 
 
1038
 
1039
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:118
1040
  msgid "Available Date Range Formats"
1041
- msgstr ""
1042
 
1043
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:119
1044
  msgid "For date filters you can use the following daterange formats:"
1045
  msgstr ""
 
 
1046
 
1047
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:131
1048
  msgid "Value"
1049
  msgstr "Wert"
1050
 
1051
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:135
1052
  msgid "Example"
1053
  msgstr "Beispiel"
1054
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1055
  #~ msgid ""
1056
  #~ "This widget displays a list of upcoming events. If you want to enable a "
1057
  #~ "link to the events or to the event page you have to insert a link to the "
@@ -1066,9 +1419,6 @@ msgstr "Beispiel"
1066
  #~ msgid "Event Title"
1067
  #~ msgstr "Titel"
1068
 
1069
- #~ msgid "Event Date"
1070
- #~ msgstr "Datum"
1071
-
1072
  #~ msgid "Event Time"
1073
  #~ msgstr "Uhrzeit"
1074
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: wp-eventlist\n"
4
+ "POT-Creation-Date: 2015-05-15 17:41+0100\n"
5
+ "PO-Revision-Date: 2015-05-15 17:49+0100\n"
6
  "Last-Translator: Michael Burtscher <mike@mbnet.at>\n"
7
  "Language-Team: Michael Burtscher\n"
8
  "Language: de\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Generator: Poedit 1.5.4\n"
13
+ "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;esc_attr__;esc_attr_x:1,2c;"
14
+ "esc_html__;esc_html_e;esc_html_x:1,2;_n:1,2;_nx:4c,1,2;_n_noop:1,2;"
15
+ "_nx_noop:4c,1,2\n"
16
  "X-Poedit-Basepath: .\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: /home/zeus/mike/workspace/wp-eventlist\n"
20
 
21
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget.php:20
217
  "event-list widget."
218
  msgstr ""
219
 
220
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list.php:136
221
  msgid "Event Information:"
222
  msgstr "Termin Informationen:"
223
 
224
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:8
225
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:97
226
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:108
227
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:146
228
  msgid "Title"
229
  msgstr "Titel"
230
 
358
  "verlinkten Seite befinden."
359
 
360
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:85
361
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:44
362
  msgid "Add links to the single events"
363
  msgstr "Füge Links zu den einzelnen Terminen ein"
364
 
374
  "auf der verlinkten Seite korrekt gesetzt werden."
375
 
376
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:92
377
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:44
378
  msgid "Add a link to the Event List page"
379
  msgstr "Füge einen Link zur Event List Seite hinzu"
380
 
409
  msgid "This option specifies all event category data."
410
  msgstr ""
411
 
412
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:17
413
  msgid "Sync Categories"
414
  msgstr "Synchronisiere Kategorien"
415
 
416
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:18
417
  msgid "Keep event categories in sync with post categories automatically"
418
  msgstr ""
419
  "Halte die Termin-Kategorien mit den Beitragskategorien automatisch synchron"
420
 
421
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:19
422
  msgid "Attention"
423
  msgstr "Achtung"
424
 
425
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:20
426
  msgid ""
427
  "Please note that this option will delete all categories which are not "
428
  "available in the post categories! Existing Categories with the same slug "
432
  "Beitragskategorien verfügbar sind, gelöscht werden! Existierende Kategorien "
433
  "mit gleichem Permalink werden aktualisiert."
434
 
435
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:24
436
  msgid "Text for no events"
437
  msgstr ""
438
 
439
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:26
440
  msgid ""
441
  "This option defines the text which is displayed if no events are available "
442
  "for the selected view."
443
  msgstr ""
444
 
445
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:29
446
  msgid "Date display"
447
  msgstr ""
448
 
449
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:30
450
  msgid "Show date only once per day"
451
  msgstr ""
452
 
453
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:31
454
  msgid ""
455
  "With this option you can display the date only once per day if multiple "
456
  "events are available on the same day.<br />\n"
459
  "time) to allow using the same date for as much events as possible."
460
  msgstr ""
461
 
462
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:35
463
  msgid "HTML tags"
464
  msgstr ""
465
 
466
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:36
467
  msgid "Allow HTML tags in event time field"
468
  msgstr ""
469
 
470
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:37
471
  msgid ""
472
  "This option specifies if HTML tags are allowed in the event start time field."
473
  msgstr ""
474
 
475
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:41
476
  msgid "Allow HTML tags in event location field"
477
  msgstr ""
478
 
479
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:42
480
  msgid ""
481
  "This option specifies if HTML tags are allowed in the event location field."
482
  msgstr ""
483
 
484
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:46
485
  msgid "Date format in edit form"
486
  msgstr ""
487
 
488
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:47
489
  msgid ""
490
  "This option sets a specific date format for the event date fields in the new/"
491
  "edit event form.<br />\n"
496
  "date.php\" target=\"_blank\">here</a>"
497
  msgstr ""
498
 
499
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:53
500
  msgid "Enable RSS feed"
501
  msgstr ""
502
 
503
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:54
504
  msgid "Enable support for an event RSS feed"
505
  msgstr ""
506
 
507
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:55
508
  msgid ""
509
  "This option activates a RSS feed for the events.<br />\n"
510
  "\t You have to enable this "
511
  "option if you want to use one of the RSS feed features."
512
  msgstr ""
513
 
514
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:59
515
  msgid "Feed name"
516
  msgstr ""
517
 
518
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:60
519
  msgid ""
520
  "This options sets the feed name. The standard value is \"event-list\".<br /"
521
  ">\n"
524
  "<code>domain.com/feed/eventlist</code> for an installation with permalinks"
525
  msgstr ""
526
 
527
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:65
528
  msgid "Feed Description"
529
  msgstr ""
530
 
531
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:66
532
  msgid ""
533
  "This options sets the feed description. The standard value is \"Eventlist "
534
  "Feed\".<br />\n"
537
  "in the feed itself."
538
  msgstr ""
539
 
540
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:71
541
  msgid "Listed events"
542
  msgstr ""
543
 
544
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:72
545
  msgid "Only show upcoming events in feed"
546
  msgstr ""
547
 
548
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:73
549
  msgid ""
550
  "If this option is enabled only the upcoming events are listed in the feed."
551
  "<br />\n"
553
  "(upcoming and past) will be listed."
554
  msgstr ""
555
 
556
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:78
557
  msgid "Add RSS feed link in head"
558
  msgstr ""
559
 
560
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:79
561
  msgid "Add RSS feed link in the html head"
562
  msgstr ""
563
 
564
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:80
565
  msgid ""
566
  "This option adds a RSS feed in the html head for the events.<br />\n"
567
  "\t You have 2 possibilities "
576
  "valid if the option \"Enable RSS feed\" is enabled."
577
  msgstr ""
578
 
579
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:88
580
  msgid "Position of the RSS feed link"
581
  msgstr ""
582
 
583
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:90
584
  msgid ""
585
  "This option specifies the position of the RSS feed link in the event list."
586
  "<br />\n"
592
  "feed link."
593
  msgstr ""
594
 
595
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:96
596
  msgid "Align of the RSS feed link"
597
  msgstr ""
598
 
599
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:98
600
  msgid ""
601
  "This option specifies the align of the RSS feed link in the event list.<br /"
602
  ">\n"
607
  "feed link."
608
  msgstr ""
609
 
610
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:104
611
  msgid "Feed link text"
612
  msgstr ""
613
 
614
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:105
615
  msgid ""
616
  "This option specifies the caption of the RSS feed link in the event list."
617
  "<br />\n"
622
  "feed link."
623
  msgstr ""
624
 
625
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:111
626
  msgid "Feed link image"
627
  msgstr ""
628
 
629
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:112
630
  msgid "Show rss image in feed link"
631
  msgstr ""
632
 
633
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:113
634
  msgid ""
635
  "This option specifies if the an image should be dispayed in the feed link in "
636
  "front of the text.<br />\n"
639
  "feed link."
640
  msgstr ""
641
 
642
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:282
643
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:42
644
+ msgid "All"
645
+ msgstr "Alle"
646
+
647
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:285
648
+ msgid "Show all dates"
649
+ msgstr "Zeige alle Datumsbereiche"
650
+
651
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:285
652
+ msgid "Show all categories"
653
+ msgstr "Zeige alle Kategorien"
654
+
655
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:291
656
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:45
657
+ msgid "Upcoming"
658
+ msgstr "Anstehend"
659
+
660
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:295
661
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:48
662
+ msgid "Past"
663
+ msgstr "Beendet"
664
+
665
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:7
666
+ msgid "Year"
667
+ msgstr "Jahr"
668
+
669
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:8
670
  msgid ""
671
+ "You can specify a year in 4 digit format.<br />Other formats will not be "
672
  "accepted."
673
  msgstr ""
674
 
675
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:10
676
+ msgid "Month"
677
+ msgstr "Monat"
678
+
679
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:11
680
  msgid ""
681
  "You can specify a month with 4 digits for the year and 2 digits for the "
682
  "month, seperated by a hyphen (-).<br />Other formats will not be accepted."
683
  msgstr ""
684
 
685
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:13
686
+ msgid "Day"
687
+ msgstr "Tag"
688
+
689
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:14
690
  msgid ""
691
  "You can specify a day with 4 digits for the year, 2 digits for the month and "
692
+ "2 digets for the day, seperated by a hyphen (-).<br />Other formats will not "
693
+ "be accepted."
694
  msgstr ""
695
 
696
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:16
697
+ msgid "Relative Year"
698
+ msgstr "Relatives Jahr"
699
+
700
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:17
701
+ msgid ""
702
+ "You can specify a relative year from now with the following notation: "
703
+ "<em>[+-]?[0-9]+_year[s]?</em><br />\n"
704
+ "\t This means you can specify a relativ "
705
+ "number of years from now with \"+\" or \"-\" with \"_year\" or \"_years\" "
706
+ "attached (see also the example).<br />\n"
707
+ "\t Instead of a number you can also "
708
+ "specify one of the following special values: <em>last_year</em>, "
709
+ "<em>next_year</em>, <em>this_year</em>"
710
+ msgstr ""
711
+
712
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:21
713
+ msgid "Relative Month"
714
+ msgstr "Relativer Monat"
715
+
716
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:22
717
+ msgid ""
718
+ "You can specify a relative month from now with the following notation: "
719
+ "<em>[+-]?[0-9]+_month[s]?</em><br />\n"
720
+ "\t This means you can specify a relativ "
721
+ "number of months from now with \"+\" or \"-\" with \"_month\" or \"_months\" "
722
+ "attached (see also the example).<br />\n"
723
+ "\t Instead of a number you can also "
724
+ "specify one of the following special values: <em>last_month</em>, "
725
+ "<em>next_month</em>, <em>this_month</em>"
726
+ msgstr ""
727
+
728
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:31
729
+ msgid "Relative Day"
730
+ msgstr "Relativer Tag"
731
+
732
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:32
733
+ msgid ""
734
+ "You can specify a relative day from now with the following notation: "
735
+ "<em>[+-]?[0-9]+_day[s]?</em><br />\n"
736
+ "\t This means you can specify a relativ "
737
+ "number of days from now with \"+\" or \"-\" with \"_day\" or \"_days\" "
738
+ "attached (see also the example).<br />\n"
739
+ "\t Instead of a number you can also "
740
+ "specify one of the following special values: <em>last_day</em>, "
741
+ "<em>next_day</em>, <em>this_day</em>, <em>yesterday</em>, <em>today</em>, "
742
+ "<em>tomorrow</em>"
743
+ msgstr ""
744
+
745
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:39
746
+ msgid "Date range"
747
+ msgstr "Datumsbereich"
748
+
749
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:40
750
  msgid ""
751
  "You can specify a rage or dates seperated by a tilde (~).<br >You can "
752
  "specify any available date format before and after the tilde."
753
  msgstr ""
754
 
755
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:43
756
  msgid "\"all\" specifies the full time range without any limitation."
757
  msgstr ""
758
 
759
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:46
760
  msgid "\"upcoming\" specifies a time range from the actual day to the future."
761
  msgstr ""
762
 
763
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:49
764
  msgid "\"past\" specifies a time rage from the past to the previous day."
765
  msgstr ""
766
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
767
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:45
768
  msgid "Event List"
769
  msgstr "Event List"
770
 
771
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:48
772
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:80
773
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:112
774
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:110
775
  msgid "Events"
776
  msgstr "Termine"
785
  msgstr "Neuen Termin erstellen"
786
 
787
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:52
788
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:114
789
  msgid "Add New"
790
  msgstr "Erstellen"
791
 
792
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:56
793
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:51
794
  msgid "Event List Categories"
795
  msgstr "Event List Kategorien"
796
 
797
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:56
798
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:136
799
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:111
800
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:118
801
  msgid "Categories"
802
  msgstr "Kategorien"
803
 
804
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:60
805
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:54
806
  msgid "Event List Settings"
807
  msgstr "Event List Einstellungen"
808
 
811
  msgstr "Einstellungen"
812
 
813
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:64
814
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:34
815
  msgid "About Event List"
816
  msgstr "Informationen zu Event List"
817
 
819
  msgid "About"
820
  msgstr "Informationen"
821
 
822
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:38
823
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:69
824
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:38
825
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:32
826
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:31
827
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:34
828
  msgid "You do not have sufficient permissions to access this page."
829
  msgstr ""
830
 
831
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:54
832
  msgid "Edit Category"
833
  msgstr "Kategorie bearbeiten"
834
 
835
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:54
836
  msgid "Update Category"
837
  msgstr "Kategorie aktualisieren"
838
 
839
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:60
840
  msgid "Add New Category"
841
  msgstr "Neue Kategorie erstellen"
842
 
843
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:85
844
  #, php-format
845
  msgid "Category \"%s\" deleted."
846
  msgstr "Kategorie \"%s\" gelöscht."
847
 
848
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:87
849
  #, php-format
850
  msgid "This Category was also removed from %d events."
851
  msgstr "Diese Kategorie wurde zudem aus %d Terminen gelöscht."
852
 
853
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:93
854
  #, php-format
855
  msgid "Error while deleting category \"%s\""
856
  msgstr "Fehler beim Löschen der Kategorie \"%s\""
857
 
858
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:103
859
  msgid "Sync with post categories enabled."
860
  msgstr "Synchronisation mit Artikel-Kategorien ist aktiviert."
861
 
862
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:106
863
  msgid "Sync with post categories disabled."
864
  msgstr "Synchronisation mit Artikel-Kategorien ist deaktiviert."
865
 
866
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:112
867
  msgid "Manual sync with post categories sucessfully finished."
868
  msgstr ""
869
  "Manuelle Synchronisation mit Artikelkategorien wurde erfolgreich "
870
  "durchgeführt."
871
 
872
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:120
873
  #, php-format
874
  msgid "New Category \"%s\" was added"
875
  msgstr "Neue Kategorie \"%s\" wurde hinzugefügt"
876
 
877
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:123
878
  #, php-format
879
  msgid "Error: New Category \"%s\" could not be added"
880
  msgstr "Fehler: Neue Kategorie \"%s\" konnte nicht hinzugefügt werden"
881
 
882
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:129
883
  #, php-format
884
  msgid "Category \"%s\" was modified"
885
  msgstr "Kategorie \"%s\" wurde geändert"
886
 
887
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:132
888
  #, php-format
889
  msgid "Error: Category \"%s\" could not be modified"
890
  msgstr "Fehler: Kagegorie \"%s\" konnte nicht geändert werden"
891
 
892
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:139
893
  msgid ""
894
  "Categories are automatically synced with the post categories.<br />\n"
895
  "\t\t\t Because of this "
899
  "manually edit the categories you have to disable this option."
900
  msgstr ""
901
 
902
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:166
903
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:107
904
  msgid "Name"
905
+ msgstr ""
906
 
907
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:168
908
  msgid "The name is how it appears on your site."
909
  msgstr "Dieser Name wird dann auf der Webseite angezeigt."
910
 
911
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:171
912
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:109
913
  msgid "Slug"
914
+ msgstr ""
915
 
916
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:173
917
  msgid ""
918
  "The “slug” is the URL-friendly version of the name. It is usually all "
919
  "lowercase and contains only letters, numbers, and hyphens."
921
  "Die \"Titelform (in URLs)\" ist die URL-Variante des Namens. Sie besteht "
922
  "normalerweise nur aus Kleinbuchstaben, Zahlen und Bindestrichen."
923
 
924
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:176
925
  msgid "Parent"
926
  msgstr "Parent"
927
 
928
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:178
929
  msgid "None"
930
+ msgstr ""
931
 
932
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:186
933
  msgid ""
934
  "Categories can have a hierarchy. You might have a Jazz category, and under "
935
  "that have children categories for Bebop and Big Band. Totally optional."
938
  "Kategorie Musik anlegen, welche die Unterkategorien Schlager und Jazz "
939
  "enthält."
940
 
941
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:189
942
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:108
943
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:86
944
  msgid "Description"
945
  msgstr "Beschreibung"
946
 
947
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:233
948
  msgid "Apply"
949
  msgstr "Anwenden"
950
 
951
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:243
952
  msgid "Do a manual sync with post categories"
953
  msgstr "Führe eine manuelle Synchronisation mit den Beitragskategorien durch"
954
 
955
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:109
956
  msgid "Edit Event"
957
  msgstr "Termin bearbeiten"
958
 
959
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:109
960
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:72
961
  msgid "Duplicate"
962
  msgstr "Duplizieren"
963
 
964
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:115
965
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:119
966
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:208
967
+ msgid "Import"
968
+ msgstr "Importieren"
969
+
970
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:27
971
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:29
972
  msgid "event"
1009
  msgstr "Mehrtägiger Termin"
1010
 
1011
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:110
1012
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:149
1013
  msgid "Time"
1014
  msgstr "Uhrzeit"
1015
 
1016
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:114
1017
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:109
1018
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:150
1019
  msgid "Location"
1020
  msgstr "Ort"
1021
 
1022
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:118
1023
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:110
1024
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:151
1025
  msgid "Details"
1026
  msgstr "Beschreibung"
1027
 
1035
  msgstr "Aktualisieren"
1036
 
1037
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:153
1038
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:207
1039
  msgid "Cancel"
1040
  msgstr "Abbrechen"
1041
 
1042
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:166
1043
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:219
1044
  msgid "No categories available."
1045
  msgstr "Keine Kategorien verfügbar."
1046
 
1047
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:212
1048
  msgid "Goto Category Settings"
1049
+ msgstr "Gehe zu Kategorie-Einstellungen"
1050
 
1051
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:220
1052
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:272
1076
  msgid "Y/m/d g:i:s A"
1077
  msgstr ""
1078
 
1079
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:42
1080
  msgid "Settings saved."
1081
  msgstr "Einstellungen gespeichert."
1082
 
1083
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:69
1084
+ msgid "General"
1085
+ msgstr "Allgemein"
1086
+
1087
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:70
1088
+ msgid "Admin Page Settings"
1089
+ msgstr "Admin-Seiten Einstellungen"
1090
+
1091
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:71
1092
+ msgid "Feed Settings"
1093
+ msgstr "Feed Einstellungen"
1094
+
1095
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:35
1096
+ msgid "Help and Instructions"
1097
+ msgstr "Hilfe und Anleitungen"
1098
+
1099
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:36
1100
+ #, php-format
1101
+ msgid "You can manage your events %1$shere%2$s"
1102
+ msgstr "Die Termine können %1$shier%2$s verwaltet werden"
1103
+
1104
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:37
1105
+ msgid "To show the events on your site you have 2 possibilities"
1106
+ msgstr "Für die Anzeige von Terminen auf der Homepage gibt es 2 Möglichkeiten"
1107
+
1108
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:38
1109
+ #, php-format
1110
+ msgid "you can place the <strong>shortcode</strong> %1$s on any page or post"
1111
+ msgstr ""
1112
+ "durch Einfügen des <strong>Shortcodes</strong> %1$s auf einer beliebigen "
1113
+ "Seite oder eines Beitrags"
1114
+
1115
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:39
1116
+ #, php-format
1117
+ msgid "you can add the <strong>widget</strong> %1$s in your sidebars"
1118
  msgstr ""
1119
+ "durch das Einfügen des <strong>Widgets</strong> %1$s in einem Widgetbereich"
1120
 
1121
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:40
1122
  msgid ""
1123
+ "The displayed events and their style can be modified with the available "
1124
+ "widget settings and the available attributes for the shortcode."
1125
  msgstr ""
1126
+ "Die angezeigten Termine und deren Anzeigestil kann über die Widget "
1127
+ "Einstellungen und die verfügbaren Shortcode Attribute angepasst werden."
1128
 
1129
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:41
1130
  msgid ""
1131
+ "A list of all available shortcode attributes with their description is "
1132
+ "available below."
 
 
1133
  msgstr ""
1134
+ "Eine Liste aller verfügbarer Shortcode Attribute und deren Beschreibung ist "
1135
+ "weiter unten verfügbar."
1136
 
1137
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:42
1138
+ msgid "The available widget options are described in their tooltip text."
1139
+ msgstr ""
1140
+ "Alle verfügbaren Widget Einstellungen sind im jeweiligen Tooltip Text "
1141
+ "beschrieben."
1142
+
1143
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:43
1144
+ #, php-format
1145
+ msgid ""
1146
+ "For the widget it is important to know that you have to insert an URL to the "
1147
+ "linked event-list page if you enable one of the links options\n"
1148
+ "\t\t\t\t\t(%1$s or %2$s). This is required because the widget didn´t know in "
1149
+ "which page or post the shortcode was included."
1150
+ msgstr ""
1151
+ "Beim Einsatz des Widgets muss beachtet werden, dass die URL zur verlinkten "
1152
+ "Event List Seite angegeben werden muss, falls eine Verlinkungsoption "
1153
+ "ausgewählt wird (%1$s oder %2$s). Dies ist erforderlich weil das Widget "
1154
+ "nicht wissen kann auf welcher Seite oder in welchem Beitrag der Shortcode "
1155
+ "verwendet wird, zudem verlinkt werden soll."
1156
+
1157
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:45
1158
+ #, php-format
1159
+ msgid ""
1160
+ "Additionally you have to insert the correct Shortcode ID on the linked page. "
1161
+ "This ID describes which shortcode should be used on the given page or post "
1162
+ "if you have more than one.\n"
1163
+ "\t\t\t\t\tSo the standard value \"1\" is normally o.k., but if required you "
1164
+ "can check the ID by looking into the URL of an event link on your linked "
1165
+ "page or post.\n"
1166
+ "\t\t\t\t\tThe ID will be added at the end of the query parameter name (e.g. "
1167
+ "%1$s)."
1168
+ msgstr ""
1169
+ "Zusätzlich muss die korrekte Shortcode ID auf der verlinkten Seite angegeben "
1170
+ "werden. Diese ID beschreibt, welcher Shortcode auf der verlinkten Seite oder "
1171
+ "dem verlinkten Beitrag verwendet werden soll, wenn mehrere Shortcodes "
1172
+ "vorhanden sind. Der Standardwert von \"1\" ist somit normalerweise o.k., "
1173
+ "aber falls erforderlich kann die korrekte ID über die URL eines Termin-Links "
1174
+ "auf der verlinkten Seite herausgefunden werden. Die ID wird am Ende des URL-"
1175
+ "Parameternamens angehängt (z.B. %1$s)."
1176
+
1177
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:49
1178
+ #, php-format
1179
+ msgid ""
1180
+ "Be sure to also check the %1$sSettings page%2$s to get Event List behaving "
1181
+ "just the way you want."
1182
  msgstr ""
1183
+ "Bitte werfen Sie auch einen Blick auf die %1$sEinstellungsseite%2$s in der "
1184
+ "Sie das Plugin nach Ihren Vorstellungen anpassen können."
1185
 
1186
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:63
1187
+ msgid "Shortcode Attributes"
1188
+ msgstr "Shortcode Attribute"
1189
+
1190
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:65
1191
+ msgid ""
1192
+ "You have the possibility to modify the output if you add some of the "
1193
+ "following attributes to the shortcode."
1194
  msgstr ""
1195
+ "Mit dem Hinzufügen der folgenden Shortcode-Attribute kann die Ausgabe "
1196
+ "entsprechend angepasst werden."
1197
 
1198
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:66
1199
+ #, php-format
1200
+ msgid ""
1201
+ "You can combine and add as much attributes as you want. E.g. the shortcode "
1202
+ "including the attributes %1$s and %2$s would looks like this:"
1203
  msgstr ""
1204
+ "Es können beliebig viele dieser Attribute kombiniert und gleichzeitig "
1205
+ "verwendet werden. Z.B. würde der Shortcode mit den Attributen %1$s und %2$s "
1206
+ "folgendermaßen aussehen:"
1207
+
1208
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:68
1209
+ msgid ""
1210
+ "Below you can find a list of all supported attributes with their "
1211
+ "descriptions and available options:"
1212
+ msgstr ""
1213
+ "In der folgenden Liste sind alle unterstützten Shortcode-Attribute mit deren "
1214
+ "Beschreibung und verfügbaren Optionen angegeben:"
1215
+
1216
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:83
1217
+ msgid "Attribute name"
1218
+ msgstr "Name"
1219
+
1220
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:84
1221
+ msgid "Value options"
1222
+ msgstr "zulässige Werte"
1223
+
1224
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:85
1225
+ msgid "Default value"
1226
+ msgstr "Standard-Wert"
1227
 
1228
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:104
1229
+ msgid "Filter Syntax"
1230
+ msgstr "Filter Syntax"
1231
+
1232
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:105
1233
  msgid ""
1234
+ "For date and cat filters you can specify complex filters with the following "
1235
+ "syntax:"
1236
  msgstr ""
1237
+ "Für Datums- und Kategoriefilter können komplexe Filter mit der folgenden "
1238
+ "Syntax definiert werden:"
1239
 
1240
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:106
1241
+ #, php-format
1242
+ msgid ""
1243
+ "You can use %1$s and %2$s connections to define complex filters. "
1244
+ "Additionally you can set brackets %3$s for nested queries."
1245
  msgstr ""
1246
+ "Es können %1$s und %2$s Verknüpfungen verwendet werden um komplexe Filter zu "
1247
+ "definieren. Zusätzlich können Klammern %3$s für verschachtelte Abfragen "
1248
+ "eingesetzt werden."
1249
+
1250
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:106
1251
+ msgid "AND"
1252
+ msgstr "UND"
1253
+
1254
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:106
1255
+ msgid "OR"
1256
+ msgstr "ODER"
1257
+
1258
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:106
1259
+ msgid "or"
1260
+ msgstr "oder"
1261
+
1262
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:106
1263
+ msgid "and"
1264
+ msgstr "und"
1265
+
1266
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:107
1267
+ msgid "Examples for cat filters:"
1268
+ msgstr "Beispiele für Kategorie-Filter:"
1269
+
1270
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:108
1271
+ #, php-format
1272
+ msgid "Show all events with category %1$s."
1273
+ msgstr "Zeige alle Termine mit der Kategorie %1$s."
1274
+
1275
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:109
1276
+ #, php-format
1277
+ msgid "Show all events with category %1$s or %2$s."
1278
+ msgstr "Zeige alle Termine mit der Kategorie %1$s oder %2$s."
1279
 
1280
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:110
1281
+ #, php-format
1282
+ msgid ""
1283
+ "Show all events with category %1$s and all events where category %2$s as "
1284
+ "well as %3$s is selected."
1285
  msgstr ""
1286
+ "Zeige alle Termine mit der Kategorie %1$s und alle Termine, in denen die "
1287
+ "Kategorie %2$s sowie %3$s gesetzt ist."
1288
+
1289
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:115
1290
+ msgid "Available Date Formats"
1291
+ msgstr "Verfügbare Datumsformate"
1292
+
1293
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:116
1294
+ msgid "For date filters you can use the following date formats:"
1295
+ msgstr "Für die Datums-Filterung stehen folgende Datums-Formate zur Verfügung:"
1296
 
1297
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:124
1298
  msgid "Available Date Range Formats"
1299
+ msgstr "Verfügbare Datumsbereichs-Formate"
1300
 
1301
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:125
1302
  msgid "For date filters you can use the following daterange formats:"
1303
  msgstr ""
1304
+ "Für die Datums-Filterung stehen folgende Formate für Datumsbereiche zur "
1305
+ "Verfügung:"
1306
 
1307
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:137
1308
  msgid "Value"
1309
  msgstr "Wert"
1310
 
1311
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:141
1312
  msgid "Example"
1313
  msgstr "Beispiel"
1314
 
1315
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:39
1316
+ msgid "Import Events"
1317
+ msgstr "Importiere Termine"
1318
+
1319
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:60
1320
+ msgid "Select a file that contains event data."
1321
+ msgstr "Datei mit Termindaten auswählen."
1322
+
1323
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:62
1324
+ msgid "Import Event Data"
1325
+ msgstr "Importiere Termin-Daten"
1326
+
1327
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:65
1328
+ msgid "Example file"
1329
+ msgstr "Beispieldatei"
1330
+
1331
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:66
1332
+ #, php-format
1333
+ msgid "You can find an example file %1$shere%2$s (CSV delimiter is a comma!)"
1334
+ msgstr ""
1335
+ "Eine Beispiel-Datei ist %1$shier%2$s zu finden (das CSV Trennzeichen ist ein "
1336
+ "Komma!)"
1337
+
1338
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:67
1339
+ msgid "Note"
1340
+ msgstr "Achtung"
1341
+
1342
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:67
1343
+ msgid ""
1344
+ "Do not change the column header and separator line (first two lines), "
1345
+ "otherwise the import will fail!"
1346
+ msgstr ""
1347
+ "Die Kopfzeile und die Separator Zeile dürfen nicht geändert werden, "
1348
+ "ansonsten wird der Import "
1349
+
1350
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:74
1351
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:82
1352
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:92
1353
+ msgid "Sorry, there has been an error."
1354
+ msgstr "Entschuldigung, ein Fehler ist aufgetreten."
1355
+
1356
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:75
1357
+ msgid "The file does not exist, please try again."
1358
+ msgstr "Die Datei existiert nicht, bitte erneut versuchen."
1359
+
1360
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:83
1361
+ msgid "The file is not a CSV file."
1362
+ msgstr "Bei dieser Datei handelt es sich nicht um eine gültige CSV-Datei."
1363
+
1364
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:102
1365
+ msgid ""
1366
+ "Please review the events to import and choose categories before importing."
1367
+ msgstr ""
1368
+ "Bitte Überprüfen Sie die zu importierenden Termine und wählen Sie die "
1369
+ "Kategorien für diese aus."
1370
+
1371
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:133
1372
+ msgid "Import with errors!"
1373
+ msgstr "Import mit Fehler!"
1374
+
1375
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:134
1376
+ #, php-format
1377
+ msgid ""
1378
+ "An error occurred during import! Please send your import file to %1$sthe "
1379
+ "administrator%2$s for analysis."
1380
+ msgstr ""
1381
+ "Während des Imports ist ein Fehler aufgetreten! Bitte senden Sie die Datei "
1382
+ "zur Analyse an %1$sden Administrator%2$s."
1383
+
1384
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:138
1385
+ msgid "Import successful!"
1386
+ msgstr "Importieren erfolgreich abgeschlossen!"
1387
+
1388
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:139
1389
+ msgid "Go back to All Events"
1390
+ msgstr "Gehe zurück zu Alle Termine"
1391
+
1392
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:147
1393
+ msgid "Start Date"
1394
+ msgstr "Start-Datum"
1395
+
1396
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:148
1397
+ msgid "End Date"
1398
+ msgstr "End-Datum"
1399
+
1400
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:186
1401
+ msgid "There was an error when reading this CSV file."
1402
+ msgstr "Fehler beim Lesen der CSV-Datei."
1403
+
1404
+ #, fuzzy
1405
+ #~ msgid "Add a link to an event page"
1406
+ #~ msgstr "Füge einen Link zur Event List Seite hinzu"
1407
+
1408
  #~ msgid ""
1409
  #~ "This widget displays a list of upcoming events. If you want to enable a "
1410
  #~ "link to the events or to the event page you have to insert a link to the "
1419
  #~ msgid "Event Title"
1420
  #~ msgstr "Titel"
1421
 
 
 
 
1422
  #~ msgid "Event Time"
1423
  #~ msgstr "Uhrzeit"
1424
 
languages/event-list.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2015-03-21 13:48+0100\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -149,13 +149,14 @@ msgid ""
149
  "\t The empty standard value is o.k. for the normal use. This attribute is normally only required for the event-list widget."
150
  msgstr ""
151
 
152
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list.php:140
153
  msgid "Event Information:"
154
  msgstr ""
155
 
156
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:8
157
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:97
158
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:108
 
159
  msgid "Title"
160
  msgstr ""
161
 
@@ -250,6 +251,7 @@ msgid "This option defines the shortcode-id for the Event List on the linked pag
250
  msgstr ""
251
 
252
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:85
 
253
  msgid "Add links to the single events"
254
  msgstr ""
255
 
@@ -258,6 +260,7 @@ msgid "With this option you can add a link to the single event page for every di
258
  msgstr ""
259
 
260
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:92
 
261
  msgid "Add a link to the Event List page"
262
  msgstr ""
263
 
@@ -281,132 +284,132 @@ msgstr ""
281
  msgid "This option specifies all event category data."
282
  msgstr ""
283
 
284
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:18
285
  msgid "Sync Categories"
286
  msgstr ""
287
 
288
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:19
289
  msgid "Keep event categories in sync with post categories automatically"
290
  msgstr ""
291
 
292
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:20
293
  msgid "Attention"
294
  msgstr ""
295
 
296
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:21
297
  msgid "Please note that this option will delete all categories which are not available in the post categories! Existing Categories with the same slug will be updated."
298
  msgstr ""
299
 
300
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:25
301
  msgid "Text for no events"
302
  msgstr ""
303
 
304
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:27
305
  msgid "This option defines the text which is displayed if no events are available for the selected view."
306
  msgstr ""
307
 
308
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:31
309
  msgid "Date display"
310
  msgstr ""
311
 
312
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:32
313
  msgid "Show date only once per day"
314
  msgstr ""
315
 
316
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:33
317
  msgid ""
318
  "With this option you can display the date only once per day if multiple events are available on the same day.<br />\n"
319
  "\t If this option is enabled the events are ordered in a different way (end date before start time) to allow using the same date for as much events as possible."
320
  msgstr ""
321
 
322
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:38
323
  msgid "HTML tags"
324
  msgstr ""
325
 
326
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:39
327
  msgid "Allow HTML tags in event time field"
328
  msgstr ""
329
 
330
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:40
331
  msgid "This option specifies if HTML tags are allowed in the event start time field."
332
  msgstr ""
333
 
334
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:45
335
  msgid "Allow HTML tags in event location field"
336
  msgstr ""
337
 
338
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:46
339
  msgid "This option specifies if HTML tags are allowed in the event location field."
340
  msgstr ""
341
 
342
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:50
343
  msgid "Date format in edit form"
344
  msgstr ""
345
 
346
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:51
347
  msgid ""
348
  "This option sets a specific date format for the event date fields in the new/edit event form.<br />\n"
349
  "\t The standard is an empty string to use the wordpress standard setting.<br />\n"
350
  "\t All available options to specify the format can be found <a href=\"http://php.net/manual/en/function.date.php\" target=\"_blank\">here</a>"
351
  msgstr ""
352
 
353
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:57
354
  msgid "Enable RSS feed"
355
  msgstr ""
356
 
357
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:58
358
  msgid "Enable support for an event RSS feed"
359
  msgstr ""
360
 
361
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:59
362
  msgid ""
363
  "This option activates a RSS feed for the events.<br />\n"
364
  "\t You have to enable this option if you want to use one of the RSS feed features."
365
  msgstr ""
366
 
367
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:64
368
  msgid "Feed name"
369
  msgstr ""
370
 
371
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:65
372
  msgid ""
373
  "This options sets the feed name. The standard value is \"event-list\".<br />\n"
374
  "\t This name will be used in the feed url (e.g. <code>domain.com/?feed=event-list</code> or <code>domain.com/feed/eventlist</code> for an installation with permalinks"
375
  msgstr ""
376
 
377
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:70
378
  msgid "Feed Description"
379
  msgstr ""
380
 
381
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:71
382
  msgid ""
383
  "This options sets the feed description. The standard value is \"Eventlist Feed\".<br />\n"
384
  "\t This description will be used in the title for the feed link in the html head and for the description in the feed itself."
385
  msgstr ""
386
 
387
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:76
388
  msgid "Listed events"
389
  msgstr ""
390
 
391
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:77
392
  msgid "Only show upcoming events in feed"
393
  msgstr ""
394
 
395
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:78
396
  msgid ""
397
  "If this option is enabled only the upcoming events are listed in the feed.<br />\n"
398
  "\t If disabled all events (upcoming and past) will be listed."
399
  msgstr ""
400
 
401
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:83
402
  msgid "Add RSS feed link in head"
403
  msgstr ""
404
 
405
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:84
406
  msgid "Add RSS feed link in the html head"
407
  msgstr ""
408
 
409
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:85
410
  msgid ""
411
  "This option adds a RSS feed in the html head for the events.<br />\n"
412
  "\t You have 2 possibilities to include the RSS feed:<br />\n"
@@ -415,244 +418,304 @@ msgid ""
415
  "\t This option is only valid if the option \"Enable RSS feed\" is enabled."
416
  msgstr ""
417
 
418
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:93
419
  msgid "Position of the RSS feed link"
420
  msgstr ""
421
 
422
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:95
423
  msgid ""
424
  "This option specifies the position of the RSS feed link in the event list.<br />\n"
425
  "\t The options are to display the link at the top, at the bottom or between the navigation bar and the event list.<br />\n"
426
  "\t You have to set the shortcode attribute \"add_feed_link\" to \"true\" if you want to show the feed link."
427
  msgstr ""
428
 
429
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:101
430
  msgid "Align of the RSS feed link"
431
  msgstr ""
432
 
433
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:103
434
  msgid ""
435
  "This option specifies the align of the RSS feed link in the event list.<br />\n"
436
  "\t The link can be displayed on the left side, centered or on the right.<br />\n"
437
  "\t You have to set the shortcode attribute \"add_feed_link\" to \"true\" if you want to show the feed link."
438
  msgstr ""
439
 
440
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:109
441
  msgid "Feed link text"
442
  msgstr ""
443
 
444
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:110
445
  msgid ""
446
  "This option specifies the caption of the RSS feed link in the event list.<br />\n"
447
  "\t Insert an empty text to hide any text if you only want to show the rss image.<br />\n"
448
  "\t You have to set the shortcode attribute \"add_feed_link\" to \"true\" if you want to show the feed link."
449
  msgstr ""
450
 
451
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:116
452
  msgid "Feed link image"
453
  msgstr ""
454
 
455
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:117
456
  msgid "Show rss image in feed link"
457
  msgstr ""
458
 
459
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:118
460
  msgid ""
461
  "This option specifies if the an image should be dispayed in the feed link in front of the text.<br />\n"
462
  "\t You have to set the shortcode attribute \"add_feed_link\" to \"true\" if you want to show the feed link."
463
  msgstr ""
464
 
465
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:123
466
- msgid "You can specify a year in 4 digit format.<br /> Other formats will not be accepted."
 
467
  msgstr ""
468
 
469
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:124
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
470
  msgid "You can specify a month with 4 digits for the year and 2 digits for the month, seperated by a hyphen (-).<br />Other formats will not be accepted."
471
  msgstr ""
472
 
473
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:125
474
- msgid "You can specify a day with 4 digits for the year, 2 digits for the month and 2 digets for the day, seperated by a hyphen (-).<br /> Other formats will not be accepted."
475
  msgstr ""
476
 
477
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:129
478
- msgid "You can specify a rage or dates seperated by a tilde (~).<br >You can specify any available date format before and after the tilde."
479
  msgstr ""
480
 
481
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:130
482
- msgid "\"all\" specifies the full time range without any limitation."
483
  msgstr ""
484
 
485
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:131
486
- msgid "\"upcoming\" specifies a time range from the actual day to the future."
 
 
 
487
  msgstr ""
488
 
489
- #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:132
490
- msgid "\"past\" specifies a time rage from the past to the previous day."
491
  msgstr ""
492
 
493
- #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:282
494
- msgid "All"
 
 
 
495
  msgstr ""
496
 
497
- #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:285
498
- msgid "Show all dates"
499
  msgstr ""
500
 
501
- #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:285
502
- msgid "Show all categories"
 
 
 
503
  msgstr ""
504
 
505
- #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:291
506
- msgid "Upcoming"
507
  msgstr ""
508
 
509
- #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:295
510
- msgid "Past"
 
 
 
 
511
  msgstr ""
512
 
513
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:37
 
 
 
 
 
 
 
 
514
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:69
515
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:38
516
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:31
517
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:26
 
518
  msgid "You do not have sufficient permissions to access this page."
519
  msgstr ""
520
 
521
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:50
522
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:56
523
  msgid "Event List Categories"
524
  msgstr ""
525
 
526
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:53
527
  msgid "Edit Category"
528
  msgstr ""
529
 
530
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:53
531
  msgid "Update Category"
532
  msgstr ""
533
 
534
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:59
535
  msgid "Add New Category"
536
  msgstr ""
537
 
538
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:84
539
  #, php-format
540
  msgid "Category \"%s\" deleted."
541
  msgstr ""
542
 
543
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:86
544
  #, php-format
545
  msgid "This Category was also removed from %d events."
546
  msgstr ""
547
 
548
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:92
549
  #, php-format
550
  msgid "Error while deleting category \"%s\""
551
  msgstr ""
552
 
553
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:102
554
  msgid "Sync with post categories enabled."
555
  msgstr ""
556
 
557
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:105
558
  msgid "Sync with post categories disabled."
559
  msgstr ""
560
 
561
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:111
562
  msgid "Manual sync with post categories sucessfully finished."
563
  msgstr ""
564
 
565
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:119
566
  #, php-format
567
  msgid "New Category \"%s\" was added"
568
  msgstr ""
569
 
570
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:122
571
  #, php-format
572
  msgid "Error: New Category \"%s\" could not be added"
573
  msgstr ""
574
 
575
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:128
576
  #, php-format
577
  msgid "Category \"%s\" was modified"
578
  msgstr ""
579
 
580
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:131
581
  #, php-format
582
  msgid "Error: Category \"%s\" could not be modified"
583
  msgstr ""
584
 
585
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:138
586
  msgid ""
587
  "Categories are automatically synced with the post categories.<br />\n"
588
  "\t\t\t Because of this all options to add new categories or editing existing categories are disabled.<br />\n"
589
  "\t\t\t If you want to manually edit the categories you have to disable this option."
590
  msgstr ""
591
 
592
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:165
593
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:107
594
  msgid "Name"
595
  msgstr ""
596
 
597
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:167
598
  msgid "The name is how it appears on your site."
599
  msgstr ""
600
 
601
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:170
602
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:109
603
  msgid "Slug"
604
  msgstr ""
605
 
606
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:172
607
  msgid "The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens."
608
  msgstr ""
609
 
610
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:175
611
  msgid "Parent"
612
  msgstr ""
613
 
614
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:177
615
  msgid "None"
616
  msgstr ""
617
 
618
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:185
619
  msgid "Categories can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional."
620
  msgstr ""
621
 
622
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:188
623
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:108
 
624
  msgid "Description"
625
  msgstr ""
626
 
627
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:232
628
  msgid "Apply"
629
  msgstr ""
630
 
631
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:242
632
  msgid "Do a manual sync with post categories"
633
  msgstr ""
634
 
635
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:105
636
  msgid "Edit Event"
637
  msgstr ""
638
 
639
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:105
640
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:72
641
  msgid "Duplicate"
642
  msgstr ""
643
 
644
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:108
645
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:110
646
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:48
647
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:80
648
  msgid "Events"
649
  msgstr ""
650
 
651
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:112
652
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:52
653
  msgid "Add New"
654
  msgstr ""
655
 
 
 
 
 
 
 
656
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:27
657
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:29
658
  msgid "event"
@@ -700,16 +763,19 @@ msgid "Multi-Day Event"
700
  msgstr ""
701
 
702
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:110
 
703
  msgid "Time"
704
  msgstr ""
705
 
706
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:114
707
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:109
 
708
  msgid "Location"
709
  msgstr ""
710
 
711
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:118
712
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:110
 
713
  msgid "Details"
714
  msgstr ""
715
 
@@ -720,6 +786,7 @@ msgstr ""
720
 
721
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:136
722
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:111
 
723
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:56
724
  msgid "Categories"
725
  msgstr ""
@@ -729,10 +796,12 @@ msgid "Update"
729
  msgstr ""
730
 
731
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:153
 
732
  msgid "Cancel"
733
  msgstr ""
734
 
735
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:166
 
736
  msgid "No categories available."
737
  msgstr ""
738
 
@@ -768,72 +837,264 @@ msgstr ""
768
  msgid "Y/m/d g:i:s A"
769
  msgstr ""
770
 
771
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:38
772
  msgid "Settings saved."
773
  msgstr ""
774
 
775
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:50
776
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:60
777
  msgid "Event List Settings"
778
  msgstr ""
779
 
780
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:29
 
 
 
 
 
 
 
 
 
 
 
 
781
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:64
782
  msgid "About Event List"
783
  msgstr ""
784
 
785
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
786
  msgid "Filter Syntax"
787
  msgstr ""
788
 
789
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:99
790
  msgid "For date and cat filters you can specify complex filters with the following syntax:"
791
  msgstr ""
792
 
793
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:100
794
- msgid "You can use AND ( \"<strong>&amp;</strong>\" ) and OR ( \"<strong>&verbar;</strong>\" or \"<strong>&comma;</strong>\" ) connections to define complex filters. Additionally you can set brackets ( \"<strong>(</strong>\" and \"<strong>)</strong>\" ) for nested queries."
 
795
  msgstr ""
796
 
797
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:101
798
- msgid "Examples for cat filters:"
799
  msgstr ""
800
 
801
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:102
802
- msgid "Show all events with category \"tennis\"."
803
  msgstr ""
804
 
805
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:103
806
- msgid "Show all events with category \"tennis\" or \"hockey\"."
807
  msgstr ""
808
 
809
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:104
810
- msgid "Show all events with category \"tennis\" and all events where category \"hockey\" as well as \"winter\" is selected."
 
 
 
 
 
 
 
 
 
811
  msgstr ""
812
 
813
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:109
814
- msgid "Available Date Formats"
 
815
  msgstr ""
816
 
817
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:110
 
 
 
 
 
 
 
 
 
818
  msgid "For date filters you can use the following date formats:"
819
  msgstr ""
820
 
821
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:118
822
  msgid "Available Date Range Formats"
823
  msgstr ""
824
 
825
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:119
826
  msgid "For date filters you can use the following daterange formats:"
827
  msgstr ""
828
 
829
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:131
830
  msgid "Value"
831
  msgstr ""
832
 
833
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:135
834
  msgid "Example"
835
  msgstr ""
836
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
837
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:45
838
  msgid "Event List"
839
  msgstr ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2015-05-15 17:52+0200\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
149
  "\t The empty standard value is o.k. for the normal use. This attribute is normally only required for the event-list widget."
150
  msgstr ""
151
 
152
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list.php:136
153
  msgid "Event Information:"
154
  msgstr ""
155
 
156
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:8
157
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:97
158
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:108
159
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:146
160
  msgid "Title"
161
  msgstr ""
162
 
251
  msgstr ""
252
 
253
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:85
254
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:44
255
  msgid "Add links to the single events"
256
  msgstr ""
257
 
260
  msgstr ""
261
 
262
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:92
263
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:44
264
  msgid "Add a link to the Event List page"
265
  msgstr ""
266
 
284
  msgid "This option specifies all event category data."
285
  msgstr ""
286
 
287
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:17
288
  msgid "Sync Categories"
289
  msgstr ""
290
 
291
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:18
292
  msgid "Keep event categories in sync with post categories automatically"
293
  msgstr ""
294
 
295
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:19
296
  msgid "Attention"
297
  msgstr ""
298
 
299
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:20
300
  msgid "Please note that this option will delete all categories which are not available in the post categories! Existing Categories with the same slug will be updated."
301
  msgstr ""
302
 
303
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:24
304
  msgid "Text for no events"
305
  msgstr ""
306
 
307
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:26
308
  msgid "This option defines the text which is displayed if no events are available for the selected view."
309
  msgstr ""
310
 
311
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:29
312
  msgid "Date display"
313
  msgstr ""
314
 
315
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:30
316
  msgid "Show date only once per day"
317
  msgstr ""
318
 
319
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:31
320
  msgid ""
321
  "With this option you can display the date only once per day if multiple events are available on the same day.<br />\n"
322
  "\t If this option is enabled the events are ordered in a different way (end date before start time) to allow using the same date for as much events as possible."
323
  msgstr ""
324
 
325
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:35
326
  msgid "HTML tags"
327
  msgstr ""
328
 
329
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:36
330
  msgid "Allow HTML tags in event time field"
331
  msgstr ""
332
 
333
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:37
334
  msgid "This option specifies if HTML tags are allowed in the event start time field."
335
  msgstr ""
336
 
337
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:41
338
  msgid "Allow HTML tags in event location field"
339
  msgstr ""
340
 
341
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:42
342
  msgid "This option specifies if HTML tags are allowed in the event location field."
343
  msgstr ""
344
 
345
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:46
346
  msgid "Date format in edit form"
347
  msgstr ""
348
 
349
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:47
350
  msgid ""
351
  "This option sets a specific date format for the event date fields in the new/edit event form.<br />\n"
352
  "\t The standard is an empty string to use the wordpress standard setting.<br />\n"
353
  "\t All available options to specify the format can be found <a href=\"http://php.net/manual/en/function.date.php\" target=\"_blank\">here</a>"
354
  msgstr ""
355
 
356
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:53
357
  msgid "Enable RSS feed"
358
  msgstr ""
359
 
360
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:54
361
  msgid "Enable support for an event RSS feed"
362
  msgstr ""
363
 
364
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:55
365
  msgid ""
366
  "This option activates a RSS feed for the events.<br />\n"
367
  "\t You have to enable this option if you want to use one of the RSS feed features."
368
  msgstr ""
369
 
370
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:59
371
  msgid "Feed name"
372
  msgstr ""
373
 
374
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:60
375
  msgid ""
376
  "This options sets the feed name. The standard value is \"event-list\".<br />\n"
377
  "\t This name will be used in the feed url (e.g. <code>domain.com/?feed=event-list</code> or <code>domain.com/feed/eventlist</code> for an installation with permalinks"
378
  msgstr ""
379
 
380
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:65
381
  msgid "Feed Description"
382
  msgstr ""
383
 
384
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:66
385
  msgid ""
386
  "This options sets the feed description. The standard value is \"Eventlist Feed\".<br />\n"
387
  "\t This description will be used in the title for the feed link in the html head and for the description in the feed itself."
388
  msgstr ""
389
 
390
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:71
391
  msgid "Listed events"
392
  msgstr ""
393
 
394
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:72
395
  msgid "Only show upcoming events in feed"
396
  msgstr ""
397
 
398
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:73
399
  msgid ""
400
  "If this option is enabled only the upcoming events are listed in the feed.<br />\n"
401
  "\t If disabled all events (upcoming and past) will be listed."
402
  msgstr ""
403
 
404
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:78
405
  msgid "Add RSS feed link in head"
406
  msgstr ""
407
 
408
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:79
409
  msgid "Add RSS feed link in the html head"
410
  msgstr ""
411
 
412
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:80
413
  msgid ""
414
  "This option adds a RSS feed in the html head for the events.<br />\n"
415
  "\t You have 2 possibilities to include the RSS feed:<br />\n"
418
  "\t This option is only valid if the option \"Enable RSS feed\" is enabled."
419
  msgstr ""
420
 
421
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:88
422
  msgid "Position of the RSS feed link"
423
  msgstr ""
424
 
425
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:90
426
  msgid ""
427
  "This option specifies the position of the RSS feed link in the event list.<br />\n"
428
  "\t The options are to display the link at the top, at the bottom or between the navigation bar and the event list.<br />\n"
429
  "\t You have to set the shortcode attribute \"add_feed_link\" to \"true\" if you want to show the feed link."
430
  msgstr ""
431
 
432
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:96
433
  msgid "Align of the RSS feed link"
434
  msgstr ""
435
 
436
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:98
437
  msgid ""
438
  "This option specifies the align of the RSS feed link in the event list.<br />\n"
439
  "\t The link can be displayed on the left side, centered or on the right.<br />\n"
440
  "\t You have to set the shortcode attribute \"add_feed_link\" to \"true\" if you want to show the feed link."
441
  msgstr ""
442
 
443
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:104
444
  msgid "Feed link text"
445
  msgstr ""
446
 
447
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:105
448
  msgid ""
449
  "This option specifies the caption of the RSS feed link in the event list.<br />\n"
450
  "\t Insert an empty text to hide any text if you only want to show the rss image.<br />\n"
451
  "\t You have to set the shortcode attribute \"add_feed_link\" to \"true\" if you want to show the feed link."
452
  msgstr ""
453
 
454
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:111
455
  msgid "Feed link image"
456
  msgstr ""
457
 
458
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:112
459
  msgid "Show rss image in feed link"
460
  msgstr ""
461
 
462
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:113
463
  msgid ""
464
  "This option specifies if the an image should be dispayed in the feed link in front of the text.<br />\n"
465
  "\t You have to set the shortcode attribute \"add_feed_link\" to \"true\" if you want to show the feed link."
466
  msgstr ""
467
 
468
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:282
469
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:42
470
+ msgid "All"
471
  msgstr ""
472
 
473
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:285
474
+ msgid "Show all dates"
475
+ msgstr ""
476
+
477
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:285
478
+ msgid "Show all categories"
479
+ msgstr ""
480
+
481
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:291
482
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:45
483
+ msgid "Upcoming"
484
+ msgstr ""
485
+
486
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:295
487
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:48
488
+ msgid "Past"
489
+ msgstr ""
490
+
491
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:7
492
+ msgid "Year"
493
+ msgstr ""
494
+
495
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:8
496
+ msgid "You can specify a year in 4 digit format.<br />Other formats will not be accepted."
497
+ msgstr ""
498
+
499
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:10
500
+ msgid "Month"
501
+ msgstr ""
502
+
503
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:11
504
  msgid "You can specify a month with 4 digits for the year and 2 digits for the month, seperated by a hyphen (-).<br />Other formats will not be accepted."
505
  msgstr ""
506
 
507
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:13
508
+ msgid "Day"
509
  msgstr ""
510
 
511
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:14
512
+ msgid "You can specify a day with 4 digits for the year, 2 digits for the month and 2 digets for the day, seperated by a hyphen (-).<br />Other formats will not be accepted."
513
  msgstr ""
514
 
515
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:16
516
+ msgid "Relative Year"
517
  msgstr ""
518
 
519
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:17
520
+ msgid ""
521
+ "You can specify a relative year from now with the following notation: <em>[+-]?[0-9]+_year[s]?</em><br />\n"
522
+ "\t This means you can specify a relativ number of years from now with \"+\" or \"-\" with \"_year\" or \"_years\" attached (see also the example).<br />\n"
523
+ "\t Instead of a number you can also specify one of the following special values: <em>last_year</em>, <em>next_year</em>, <em>this_year</em>"
524
  msgstr ""
525
 
526
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:21
527
+ msgid "Relative Month"
528
  msgstr ""
529
 
530
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:22
531
+ msgid ""
532
+ "You can specify a relative month from now with the following notation: <em>[+-]?[0-9]+_month[s]?</em><br />\n"
533
+ "\t This means you can specify a relativ number of months from now with \"+\" or \"-\" with \"_month\" or \"_months\" attached (see also the example).<br />\n"
534
+ "\t Instead of a number you can also specify one of the following special values: <em>last_month</em>, <em>next_month</em>, <em>this_month</em>"
535
  msgstr ""
536
 
537
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:31
538
+ msgid "Relative Day"
539
  msgstr ""
540
 
541
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:32
542
+ msgid ""
543
+ "You can specify a relative day from now with the following notation: <em>[+-]?[0-9]+_day[s]?</em><br />\n"
544
+ "\t This means you can specify a relativ number of days from now with \"+\" or \"-\" with \"_day\" or \"_days\" attached (see also the example).<br />\n"
545
+ "\t Instead of a number you can also specify one of the following special values: <em>last_day</em>, <em>next_day</em>, <em>this_day</em>, <em>yesterday</em>, <em>today</em>, <em>tomorrow</em>"
546
  msgstr ""
547
 
548
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:39
549
+ msgid "Date range"
550
  msgstr ""
551
 
552
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:40
553
+ msgid "You can specify a rage or dates seperated by a tilde (~).<br >You can specify any available date format before and after the tilde."
554
+ msgstr ""
555
+
556
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:43
557
+ msgid "\"all\" specifies the full time range without any limitation."
558
  msgstr ""
559
 
560
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:46
561
+ msgid "\"upcoming\" specifies a time range from the actual day to the future."
562
+ msgstr ""
563
+
564
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/daterange_helptexts.php:49
565
+ msgid "\"past\" specifies a time rage from the past to the previous day."
566
+ msgstr ""
567
+
568
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:38
569
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:69
570
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:38
571
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:32
572
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:31
573
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:34
574
  msgid "You do not have sufficient permissions to access this page."
575
  msgstr ""
576
 
577
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:51
578
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:56
579
  msgid "Event List Categories"
580
  msgstr ""
581
 
582
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:54
583
  msgid "Edit Category"
584
  msgstr ""
585
 
586
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:54
587
  msgid "Update Category"
588
  msgstr ""
589
 
590
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:60
591
  msgid "Add New Category"
592
  msgstr ""
593
 
594
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:85
595
  #, php-format
596
  msgid "Category \"%s\" deleted."
597
  msgstr ""
598
 
599
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:87
600
  #, php-format
601
  msgid "This Category was also removed from %d events."
602
  msgstr ""
603
 
604
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:93
605
  #, php-format
606
  msgid "Error while deleting category \"%s\""
607
  msgstr ""
608
 
609
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:103
610
  msgid "Sync with post categories enabled."
611
  msgstr ""
612
 
613
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:106
614
  msgid "Sync with post categories disabled."
615
  msgstr ""
616
 
617
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:112
618
  msgid "Manual sync with post categories sucessfully finished."
619
  msgstr ""
620
 
621
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:120
622
  #, php-format
623
  msgid "New Category \"%s\" was added"
624
  msgstr ""
625
 
626
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:123
627
  #, php-format
628
  msgid "Error: New Category \"%s\" could not be added"
629
  msgstr ""
630
 
631
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:129
632
  #, php-format
633
  msgid "Category \"%s\" was modified"
634
  msgstr ""
635
 
636
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:132
637
  #, php-format
638
  msgid "Error: Category \"%s\" could not be modified"
639
  msgstr ""
640
 
641
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:139
642
  msgid ""
643
  "Categories are automatically synced with the post categories.<br />\n"
644
  "\t\t\t Because of this all options to add new categories or editing existing categories are disabled.<br />\n"
645
  "\t\t\t If you want to manually edit the categories you have to disable this option."
646
  msgstr ""
647
 
648
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:166
649
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:107
650
  msgid "Name"
651
  msgstr ""
652
 
653
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:168
654
  msgid "The name is how it appears on your site."
655
  msgstr ""
656
 
657
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:171
658
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:109
659
  msgid "Slug"
660
  msgstr ""
661
 
662
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:173
663
  msgid "The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens."
664
  msgstr ""
665
 
666
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:176
667
  msgid "Parent"
668
  msgstr ""
669
 
670
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:178
671
  msgid "None"
672
  msgstr ""
673
 
674
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:186
675
  msgid "Categories can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional."
676
  msgstr ""
677
 
678
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:189
679
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:108
680
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:86
681
  msgid "Description"
682
  msgstr ""
683
 
684
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:233
685
  msgid "Apply"
686
  msgstr ""
687
 
688
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:243
689
  msgid "Do a manual sync with post categories"
690
  msgstr ""
691
 
692
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:109
693
  msgid "Edit Event"
694
  msgstr ""
695
 
696
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:109
697
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:72
698
  msgid "Duplicate"
699
  msgstr ""
700
 
701
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:112
702
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:110
703
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:48
704
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:80
705
  msgid "Events"
706
  msgstr ""
707
 
708
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:114
709
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:52
710
  msgid "Add New"
711
  msgstr ""
712
 
713
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:115
714
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:119
715
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:208
716
+ msgid "Import"
717
+ msgstr ""
718
+
719
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:27
720
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:29
721
  msgid "event"
763
  msgstr ""
764
 
765
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:110
766
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:149
767
  msgid "Time"
768
  msgstr ""
769
 
770
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:114
771
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:109
772
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:150
773
  msgid "Location"
774
  msgstr ""
775
 
776
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:118
777
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:110
778
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:151
779
  msgid "Details"
780
  msgstr ""
781
 
786
 
787
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:136
788
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:111
789
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:118
790
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:56
791
  msgid "Categories"
792
  msgstr ""
796
  msgstr ""
797
 
798
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:153
799
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:207
800
  msgid "Cancel"
801
  msgstr ""
802
 
803
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:166
804
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:219
805
  msgid "No categories available."
806
  msgstr ""
807
 
837
  msgid "Y/m/d g:i:s A"
838
  msgstr ""
839
 
840
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:42
841
  msgid "Settings saved."
842
  msgstr ""
843
 
844
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:54
845
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:60
846
  msgid "Event List Settings"
847
  msgstr ""
848
 
849
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:69
850
+ msgid "General"
851
+ msgstr ""
852
+
853
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:70
854
+ msgid "Admin Page Settings"
855
+ msgstr ""
856
+
857
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:71
858
+ msgid "Feed Settings"
859
+ msgstr ""
860
+
861
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:34
862
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:64
863
  msgid "About Event List"
864
  msgstr ""
865
 
866
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:35
867
+ msgid "Help and Instructions"
868
+ msgstr ""
869
+
870
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:36
871
+ #, php-format
872
+ msgid "You can manage your events %1$shere%2$s"
873
+ msgstr ""
874
+
875
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:37
876
+ msgid "To show the events on your site you have 2 possibilities"
877
+ msgstr ""
878
+
879
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:38
880
+ #, php-format
881
+ msgid "you can place the <strong>shortcode</strong> %1$s on any page or post"
882
+ msgstr ""
883
+
884
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:39
885
+ #, php-format
886
+ msgid "you can add the <strong>widget</strong> %1$s in your sidebars"
887
+ msgstr ""
888
+
889
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:40
890
+ msgid "The displayed events and their style can be modified with the available widget settings and the available attributes for the shortcode."
891
+ msgstr ""
892
+
893
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:41
894
+ msgid "A list of all available shortcode attributes with their description is available below."
895
+ msgstr ""
896
+
897
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:42
898
+ msgid "The available widget options are described in their tooltip text."
899
+ msgstr ""
900
+
901
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:43
902
+ #, php-format
903
+ msgid ""
904
+ "For the widget it is important to know that you have to insert an URL to the linked event-list page if you enable one of the links options\n"
905
+ "\t\t\t\t\t(%1$s or %2$s). This is required because the widget didn´t know in which page or post the shortcode was included."
906
+ msgstr ""
907
+
908
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:45
909
+ #, php-format
910
+ msgid ""
911
+ "Additionally you have to insert the correct Shortcode ID on the linked page. This ID describes which shortcode should be used on the given page or post if you have more than one.\n"
912
+ "\t\t\t\t\tSo the standard value \"1\" is normally o.k., but if required you can check the ID by looking into the URL of an event link on your linked page or post.\n"
913
+ "\t\t\t\t\tThe ID will be added at the end of the query parameter name (e.g. %1$s)."
914
+ msgstr ""
915
+
916
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:49
917
+ #, php-format
918
+ msgid "Be sure to also check the %1$sSettings page%2$s to get Event List behaving just the way you want."
919
+ msgstr ""
920
+
921
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:63
922
+ msgid "Shortcode Attributes"
923
+ msgstr ""
924
+
925
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:65
926
+ msgid "You have the possibility to modify the output if you add some of the following attributes to the shortcode."
927
+ msgstr ""
928
+
929
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:66
930
+ #, php-format
931
+ msgid "You can combine and add as much attributes as you want. E.g. the shortcode including the attributes %1$s and %2$s would looks like this:"
932
+ msgstr ""
933
+
934
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:68
935
+ msgid "Below you can find a list of all supported attributes with their descriptions and available options:"
936
+ msgstr ""
937
+
938
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:83
939
+ msgid "Attribute name"
940
+ msgstr ""
941
+
942
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:84
943
+ msgid "Value options"
944
+ msgstr ""
945
+
946
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:85
947
+ msgid "Default value"
948
+ msgstr ""
949
+
950
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:104
951
  msgid "Filter Syntax"
952
  msgstr ""
953
 
954
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:105
955
  msgid "For date and cat filters you can specify complex filters with the following syntax:"
956
  msgstr ""
957
 
958
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:106
959
+ #, php-format
960
+ msgid "You can use %1$s and %2$s connections to define complex filters. Additionally you can set brackets %3$s for nested queries."
961
  msgstr ""
962
 
963
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:106
964
+ msgid "AND"
965
  msgstr ""
966
 
967
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:106
968
+ msgid "OR"
969
  msgstr ""
970
 
971
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:106
972
+ msgid "or"
973
  msgstr ""
974
 
975
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:106
976
+ msgid "and"
977
+ msgstr ""
978
+
979
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:107
980
+ msgid "Examples for cat filters:"
981
+ msgstr ""
982
+
983
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:108
984
+ #, php-format
985
+ msgid "Show all events with category %1$s."
986
  msgstr ""
987
 
988
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:109
989
+ #, php-format
990
+ msgid "Show all events with category %1$s or %2$s."
991
  msgstr ""
992
 
993
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:110
994
+ #, php-format
995
+ msgid "Show all events with category %1$s and all events where category %2$s as well as %3$s is selected."
996
+ msgstr ""
997
+
998
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:115
999
+ msgid "Available Date Formats"
1000
+ msgstr ""
1001
+
1002
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:116
1003
  msgid "For date filters you can use the following date formats:"
1004
  msgstr ""
1005
 
1006
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:124
1007
  msgid "Available Date Range Formats"
1008
  msgstr ""
1009
 
1010
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:125
1011
  msgid "For date filters you can use the following daterange formats:"
1012
  msgstr ""
1013
 
1014
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:137
1015
  msgid "Value"
1016
  msgstr ""
1017
 
1018
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:141
1019
  msgid "Example"
1020
  msgstr ""
1021
 
1022
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:39
1023
+ msgid "Import Events"
1024
+ msgstr ""
1025
+
1026
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:60
1027
+ msgid "Select a file that contains event data."
1028
+ msgstr ""
1029
+
1030
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:62
1031
+ msgid "Import Event Data"
1032
+ msgstr ""
1033
+
1034
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:65
1035
+ msgid "Example file"
1036
+ msgstr ""
1037
+
1038
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:66
1039
+ #, php-format
1040
+ msgid "You can find an example file %1$shere%2$s (CSV delimiter is a comma!)"
1041
+ msgstr ""
1042
+
1043
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:67
1044
+ msgid "Note"
1045
+ msgstr ""
1046
+
1047
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:67
1048
+ msgid "Do not change the column header and separator line (first two lines), otherwise the import will fail!"
1049
+ msgstr ""
1050
+
1051
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:74
1052
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:82
1053
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:92
1054
+ msgid "Sorry, there has been an error."
1055
+ msgstr ""
1056
+
1057
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:75
1058
+ msgid "The file does not exist, please try again."
1059
+ msgstr ""
1060
+
1061
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:83
1062
+ msgid "The file is not a CSV file."
1063
+ msgstr ""
1064
+
1065
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:102
1066
+ msgid "Please review the events to import and choose categories before importing."
1067
+ msgstr ""
1068
+
1069
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:133
1070
+ msgid "Import with errors!"
1071
+ msgstr ""
1072
+
1073
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:134
1074
+ #, php-format
1075
+ msgid "An error occurred during import! Please send your import file to %1$sthe administrator%2$s for analysis."
1076
+ msgstr ""
1077
+
1078
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:138
1079
+ msgid "Import successful!"
1080
+ msgstr ""
1081
+
1082
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:139
1083
+ msgid "Go back to All Events"
1084
+ msgstr ""
1085
+
1086
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:147
1087
+ msgid "Start Date"
1088
+ msgstr ""
1089
+
1090
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:148
1091
+ msgid "End Date"
1092
+ msgstr ""
1093
+
1094
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-import.php:186
1095
+ msgid "There was an error when reading this CSV file."
1096
+ msgstr ""
1097
+
1098
  #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:45
1099
  msgid "Event List"
1100
  msgstr ""
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Event List ===
2
- Contributors: mibuthu
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W54LNZMWF9KW2
4
  Tags: event, events, list, listview, calendar, schedule, shortcode, page, category, categories, filter, admin, attribute, widget, sidebar, feed, rss
5
  Requires at least: 3.3
6
- Tested up to: 4.2
7
- Stable tag: 0.7.2
8
  Plugin URI: http://wordpress.org/extend/plugins/event-list
9
  Licence: GPLv2
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -22,6 +22,7 @@ The purpose of this plugin is to to show a list of events with date, time, descr
22
  * Beginning and end dates for multi-day events
23
  * Wordpress's WYSIWYG editor for the event details. So you can include styled text, links, images and other media in your events.
24
  * A duplicate function for events to easier create similar event copies
 
25
  * Event categories
26
  * Sync event categories with post categories
27
  * Filter events according to dates or categories
@@ -73,6 +74,15 @@ Another possibility would be to call the wordpress function "do_shortcode()".
73
 
74
  == Changelog ==
75
 
 
 
 
 
 
 
 
 
 
76
  = 0.7.2 (2015-03-21) =
77
  * fixed an issue with multiday events when deleting a category
78
  * fixed displaying the category slug instead of the category name in event listing
1
  === Event List ===
2
+ Contributors: mibuthu, clhunsen
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W54LNZMWF9KW2
4
  Tags: event, events, list, listview, calendar, schedule, shortcode, page, category, categories, filter, admin, attribute, widget, sidebar, feed, rss
5
  Requires at least: 3.3
6
+ Tested up to: 4.3
7
+ Stable tag: 0.7.3
8
  Plugin URI: http://wordpress.org/extend/plugins/event-list
9
  Licence: GPLv2
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
22
  * Beginning and end dates for multi-day events
23
  * Wordpress's WYSIWYG editor for the event details. So you can include styled text, links, images and other media in your events.
24
  * A duplicate function for events to easier create similar event copies
25
+ * Import multiple events via csv files
26
  * Event categories
27
  * Sync event categories with post categories
28
  * Filter events according to dates or categories
74
 
75
  == Changelog ==
76
 
77
+ = 0.7.3 (2015-05-15) =
78
+ * added csv import functionality
79
+ * added relative and special date selection options for date filter
80
+ * changed required permission to view/edit category admin page
81
+ * added some missing translation functions
82
+ * added some more german translations
83
+ * only allow valid dates (>= 1.1.1970)
84
+ * only load some data on pages where they are required
85
+
86
  = 0.7.2 (2015-03-21) =
87
  * fixed an issue with multiday events when deleting a category
88
  * fixed displaying the category slug instead of the category name in event listing