affilinet Performance Ads - Version 1.8.3

Version Description

  • Release Date: October 24, 2016
  • Enhances Error messages on login page
  • Mobile ad sizes (country platform dependent)
Download this release

Release Info

Developer Affilinet
Plugin Icon 128x128 affilinet Performance Ads
Version 1.8.3
Comparing to
See all releases

Code changes from version 1.8.2 to 1.8.3

affilinet.php CHANGED
@@ -1,16 +1,14 @@
1
  <?php
2
 
3
  /*
4
- Plugin Name: Affilinet Performance Ads
5
  Description: Integrate our data driven and automated performance display plugin into your WordPress platform and serve your users targeted ads in real time.
6
- Version: 1.8.2
7
- Author: Affilinet
8
  Author URI: https://www.affili.net/de/publisher/tools/performance-ads
9
  License: GPLv2 or later
10
  */
11
 
12
- // @TODO: does not work with symlink
13
-
14
  define("AFFILINET_PLUGIN_DIR", dirname(__FILE__).DIRECTORY_SEPARATOR);
15
 
16
  foreach (glob(AFFILINET_PLUGIN_DIR . "classes/*.php") as $filename) {
1
  <?php
2
 
3
  /*
4
+ Plugin Name: affilinet Performance Ads
5
  Description: Integrate our data driven and automated performance display plugin into your WordPress platform and serve your users targeted ads in real time.
6
+ Version: 1.8.3
7
+ Author: affilinet
8
  Author URI: https://www.affili.net/de/publisher/tools/performance-ads
9
  License: GPLv2 or later
10
  */
11
 
 
 
12
  define("AFFILINET_PLUGIN_DIR", dirname(__FILE__).DIRECTORY_SEPARATOR);
13
 
14
  foreach (glob(AFFILINET_PLUGIN_DIR . "classes/*.php") as $filename) {
classes/Api.php CHANGED
@@ -5,7 +5,7 @@ class Affilinet_Api
5
  {
6
 
7
  /**
8
- * Login at the api to retrieve a token
9
  *
10
  * Returns false if password mismatch
11
  *
@@ -22,10 +22,17 @@ class Affilinet_Api
22
  );
23
  $token = $logon_client->__soapCall("Logon", array($params));
24
 
 
 
 
 
 
25
  return $token;
26
  } catch (\SoapFault $e) {
 
 
27
 
28
- Affilinet_Helper::displayAdminError(__('Could not connect to Affilinet API. Please recheck your Webservice Password and Publisher ID', 'affilinet'));
29
 
30
  return false;
31
  }
@@ -34,9 +41,13 @@ class Affilinet_Api
34
  public static function getDailyStatistics(\DateTime $start_date, \DateTime $end_date)
35
  {
36
  try {
 
 
 
 
37
  $daily_statistics_client = new \SoapClient('https://api.affili.net/V2.0/PublisherStatistics.svc?wsdl');
38
  $params = array(
39
- 'CredentialToken' => self::logon(),
40
  'GetDailyStatisticsRequestMessage' => array(
41
  'StartDate' => (int) date_format($start_date, 'U'),
42
  'EndDate' => (int) date_format($end_date, 'U'),
@@ -52,13 +63,79 @@ class Affilinet_Api
52
  return $statistics->DailyStatisticsRecords->DailyStatisticRecords->DailyStatisticsRecord;
53
  }
54
 
55
- Affilinet_Helper::displayAdminError(__('No data in selected time frame', 'affilinet'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
 
57
  return null;
58
  } catch (\SoapFault $e) {
59
- Affilinet_Helper::displayAdminError(__('Could not connect to Affilinet API. Please recheck your Webservice Password and Publisher ID', 'affilinet'));
60
 
61
  return false;
62
  }
 
63
  }
64
  }
5
  {
6
 
7
  /**
8
+ * Login at the aregisteredve a token
9
  *
10
  * Returns false if password mismatch
11
  *
22
  );
23
  $token = $logon_client->__soapCall("Logon", array($params));
24
 
25
+ if ($token !== false) {
26
+ update_option('affilinet_webservice_login_is_correct', 'true', true);
27
+ wp_cache_delete ( 'alloptions', 'options' );
28
+ }
29
+
30
  return $token;
31
  } catch (\SoapFault $e) {
32
+ update_option('affilinet_webservice_login_is_correct', 'false', true);
33
+ wp_cache_delete ( 'alloptions', 'options' );
34
 
35
+ Affilinet_Helper::displayHugeAdminMessage(__('Could not connect to affilinet API. Please recheck your Webservice Password and Publisher ID', 'affilinet'));
36
 
37
  return false;
38
  }
41
  public static function getDailyStatistics(\DateTime $start_date, \DateTime $end_date)
42
  {
43
  try {
44
+ $token = self::logon();
45
+ if ($token === false) {
46
+ return false;
47
+ }
48
  $daily_statistics_client = new \SoapClient('https://api.affili.net/V2.0/PublisherStatistics.svc?wsdl');
49
  $params = array(
50
+ 'CredentialToken' => $token,
51
  'GetDailyStatisticsRequestMessage' => array(
52
  'StartDate' => (int) date_format($start_date, 'U'),
53
  'EndDate' => (int) date_format($end_date, 'U'),
63
  return $statistics->DailyStatisticsRecords->DailyStatisticRecords->DailyStatisticsRecord;
64
  }
65
 
66
+ Affilinet_Helper::displayHugeAdminMessage(__('No data in selected time frame', 'affilinet'));
67
+
68
+ return null;
69
+ } catch (\SoapFault $e) {
70
+ Affilinet_Helper::displayHugeAdminMessage(__('Could not connect to affilinet API. Please recheck your Webservice Password and Publisher ID', 'affilinet'));
71
+
72
+ return false;
73
+ }
74
+ }
75
+
76
+ public static function checkPartnershipStatus()
77
+ {
78
+ try {
79
+ $token = self::logon();
80
+ if ($token === false) {
81
+ return false;
82
+ }
83
+
84
+ $client = new \SoapClient('https://api.affili.net/V2.0/PublisherProgram.svc?wsdl');
85
+ $params = array(
86
+ 'CredentialToken' => $token,
87
+ 'DisplaySettings' => array(
88
+ 'CurrentPage' => 1,
89
+ 'PageSize' => 1,
90
+ 'SortByEnum' => 'ProgramId',
91
+ 'SortOrderEnum' => 'Descending'
92
+
93
+ ),
94
+ 'GetProgramsQuery' => array(
95
+
96
+ 'ProgramIds' => array(
97
+ Affilinet_PerformanceAds::getProgramIdByPlatform(get_option('affilinet_platform'))
98
+ ),
99
+ 'PartnershipStatus' => array(
100
+ 'Active', 'Paused', 'Waiting', 'Refused', 'NoPartnership', 'Cancelled'
101
+ )
102
+
103
+ )
104
+ );
105
+ $programs = $client->__soapCall('GetPrograms', array($params));
106
+ if ($programs->TotalResults === 0 ) {
107
+ update_option('affilinet_webservice_login_is_correct', 'false', true);
108
+ Affilinet_Helper::displayHugeAdminMessage(__('Wrong platform selected.<br> It seems like your account is registered to another country\'s platform.', 'affilinet'), 'error', 'fa-exclamation-triangle');
109
+ }
110
+
111
+
112
+ switch ($programs->ProgramCollection->Program->PartnershipStatus) {
113
+ case 'Active':
114
+ Affilinet_Helper::displayHugeAdminMessage(__('Great, it looks like you already have a partnership with PerformanceAds! <br> Feel free to start using the plugin right away!', 'affilinet'), 'success', 'fa-check-circle');
115
+ break;
116
+ case 'Paused' :
117
+ case 'Waiting' :
118
+ case 'NoPartnership':
119
+ Affilinet_Helper::displayHugeAdminMessage(
120
+ __('Please be aware that in order to earn commission for delivering creatives, a partnership with the PerformanceAds program is required.<br>Please apply <a target="_blank" href="http://publisher.affili.net/Programs/ProgramInfo.aspx?pid=', 'affilinet')
121
+ . Affilinet_PerformanceAds::getProgramIdByPlatform(get_option('affilinet_platform')) .
122
+ __('">here</a>. Your partnership will be automatically accepted.', 'affilinet'), 'warning', 'fa-exclamation-triangle');
123
+ break;
124
+ case 'Refused' :
125
+ case 'Cancelled' :
126
+ $link = Affilinet_Helper::getQualityStandardsLink();
127
+ Affilinet_Helper::displayHugeAdminMessage(__('Unfortunately your partnership with PerformanceAds has been cancelled, as your website does not meet our quality standards. <br> For more information please visit our <a target="_blank" href="', 'affilinet')
128
+ . $link .
129
+ __('">quality standards page.</a>', 'affilinet'), 'error', 'fa-ban');
130
+ break;
131
+ }
132
 
133
  return null;
134
  } catch (\SoapFault $e) {
135
+ Affilinet_Helper::displayHugeAdminMessage(__('Please make sure you have entered the correct PublisherID and Webservice password.', 'affilinet'));
136
 
137
  return false;
138
  }
139
+
140
  }
141
  }
classes/Helper.php CHANGED
@@ -98,17 +98,62 @@ class Affilinet_Helper
98
  /**
99
  * Helper to display an error message
100
  */
101
- public static function displayAdminError($message)
102
  {
103
  ?>
104
- <div class="error">
105
- <p>
106
- <?php echo $message;?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  </p>
 
108
  </div>
109
  <?php
110
  }
111
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  /**
113
  * Returns current plugin version.
114
  *
98
  /**
99
  * Helper to display an error message
100
  */
101
+ public static function displayHugeAdminMessage($message, $type = 'error', $icon = false)
102
  {
103
  ?>
104
+ <div class="notice-<?php echo $type?> notice" style="min-height:75px;">
105
+
106
+ <?php
107
+ if ($icon !== false) {
108
+ switch ($type) {
109
+ case'error' : $color = 'rgb(230, 73, 64)';break;
110
+ case'warning' : $color = 'rgb(255, 197, 2)';break;
111
+ case'success' : $color = 'rgb(84, 190, 100)';break;
112
+ case'info' :
113
+ default:
114
+ $color = 'rgb(23, 175, 218)';
115
+ }
116
+ ?>
117
+ <div style="width: 50px;padding: 10px 20px;display: inline-block;">
118
+ <i class="fa <?php echo $icon; ?>" style="font-size: 40px; color: <?php echo $color;?>; position:absolute; margin-top:10px;"></i>
119
+ </div>
120
+ <?php
121
+ }
122
+ ?>
123
+
124
+
125
+ <p style="display: inline-block;position: absolute; margin-top: 18px;">
126
+ <strong>
127
+ <?php echo $message;?>
128
+ </strong>
129
  </p>
130
+ <div class="clearfix"></div>
131
  </div>
132
  <?php
133
  }
134
 
135
+ /**
136
+ * @return string
137
+ */
138
+ public static function getQualityStandardsLink()
139
+ {
140
+ switch ($platformId = get_option('affilinet_platform')) {
141
+
142
+ case 7: // AT
143
+ return 'https://www.affili.net/at/advertiser/plattform/sicherheit-und-transparenz';
144
+ case 6: // CH
145
+ return 'https://www.affili.net/ch/advertiser/plattform/sicherheit-und-transparenz';
146
+ case 2: // UK
147
+ return 'https://www.affili.net/uk/advertisers-andagencies/platform/quality-management';
148
+ case 3: // FR
149
+ return 'https://www.affili.net/fr/annonceurs-et-agences/plateforme/securite-et-transparence';
150
+ case 4: // NL (not implemented)
151
+ case 1: // DE
152
+ default :
153
+ return 'https://www.affili.net/de/advertiser/plattform/sicherheit-und-transparenz';
154
+ }
155
+ }
156
+
157
  /**
158
  * Returns current plugin version.
159
  *
classes/PerformanceAds.php CHANGED
@@ -42,7 +42,7 @@ class Affilinet_PerformanceAds
42
 
43
  /**
44
  * Return the AdCode for the given size
45
- * $size must be one of '728x90','300x250','250x250', '468x60', '160x600', '120x600'
46
  * @param $size
47
  * @return string|void
48
  */
@@ -99,12 +99,16 @@ class Affilinet_PerformanceAds
99
  $hnb = array(
100
  // DE
101
  1 => array(
102
- '728x90' => 1,
103
  '300x250' => 4,
104
  '250x250' => 6,
105
- '468x60' => 5,
106
  '160x600' => 3,
107
- '120x600' => 2
 
 
 
 
108
  ),
109
  // AT
110
  7 => array(
@@ -114,6 +118,11 @@ class Affilinet_PerformanceAds
114
  '468x60' => 3,
115
  '160x600' => 4,
116
  '120x600' => 5,
 
 
 
 
 
117
  ),
118
  // CH
119
  6 => array(
@@ -123,6 +132,10 @@ class Affilinet_PerformanceAds
123
  '468x60' => 4,
124
  '160x600' => 3,
125
  '120x600' => 5,
 
 
 
 
126
  ),
127
  // UK
128
  2 => array(
@@ -131,7 +144,12 @@ class Affilinet_PerformanceAds
131
  '250x250' => 6,
132
  '468x60' => 1,
133
  '160x600' => 4,
134
- '120x600' => 5
 
 
 
 
 
135
  ),
136
  // FR
137
  3 => array(
@@ -140,15 +158,25 @@ class Affilinet_PerformanceAds
140
  '250x250' => 6,
141
  '468x60' => 1,
142
  '160x600' => 4,
143
- '120x600' => 5
 
 
 
 
 
144
  ),
 
145
  4 => array(
146
  '728x90' => 2,
147
  '300x250' => 3,
148
  '250x250' => 6,
149
  '468x60' => 1,
150
  '160x600' => 4,
151
- '120x600' => 5
 
 
 
 
152
  )
153
  );
154
  if (isset($hnb[$platformId]) && isset($hnb[$platformId][$size])) {
42
 
43
  /**
44
  * Return the AdCode for the given size
45
+ * $size must be one of '728x90','300x250','250x250', '468x60', '160x600', '120x600', '168x28', '216x36', '300x50', '320x50' , '300x600'
46
  * @param $size
47
  * @return string|void
48
  */
99
  $hnb = array(
100
  // DE
101
  1 => array(
102
+ '728x90' => 1,
103
  '300x250' => 4,
104
  '250x250' => 6,
105
+ '468x60' => 5,
106
  '160x600' => 3,
107
+ '120x600' => 2,
108
+ '168x28' => 13,
109
+ '216x36' => 14,
110
+ '300x50' => 15,
111
+ '320x50' => 16
112
  ),
113
  // AT
114
  7 => array(
118
  '468x60' => 3,
119
  '160x600' => 4,
120
  '120x600' => 5,
121
+ '168x28' => 13, // not yet available in AT
122
+ '216x36' => 14, // not yet available in AT
123
+ '300x50' => 15, // not yet available in AT
124
+ '320x50' => 16 // not yet available in AT
125
+
126
  ),
127
  // CH
128
  6 => array(
132
  '468x60' => 4,
133
  '160x600' => 3,
134
  '120x600' => 5,
135
+ '168x28' => 13, // not yet available in CH
136
+ '216x36' => 14, // not yet available in CH
137
+ '300x50' => 15, // not yet available in CH
138
+ '320x50' => 16 // not yet available in CH
139
  ),
140
  // UK
141
  2 => array(
144
  '250x250' => 6,
145
  '468x60' => 1,
146
  '160x600' => 4,
147
+ '120x600' => 5,
148
+ '168x28' => 13, // not yet available in UK
149
+ '216x36' => 14, // not yet available in UK
150
+ '300x50' => 15, // not yet available in UK
151
+ '320x50' => 16 // not yet available in UK
152
+
153
  ),
154
  // FR
155
  3 => array(
158
  '250x250' => 6,
159
  '468x60' => 1,
160
  '160x600' => 4,
161
+ '120x600' => 5,
162
+ '168x28' => 13,
163
+ '216x36' => 14,
164
+ '300x50' => 15,
165
+ '320x50' => 16,
166
+ '300x600' => 17 // only available in FR
167
  ),
168
+ // NL - currently not implemented
169
  4 => array(
170
  '728x90' => 2,
171
  '300x250' => 3,
172
  '250x250' => 6,
173
  '468x60' => 1,
174
  '160x600' => 4,
175
+ '120x600' => 5,
176
+ '168x28' => 13,
177
+ '216x36' => 14,
178
+ '300x50' => 15,
179
+ '320x50' => 16
180
  )
181
  );
182
  if (isset($hnb[$platformId]) && isset($hnb[$platformId][$size])) {
classes/Plugin.php CHANGED
@@ -11,29 +11,27 @@ class Affilinet_Plugin
11
 
12
  add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
13
 
14
- // the script for settings page is currently not needed
15
- //add_action('admin_enqueue_scripts', array('Affilinet_View', 'settings_script') );
16
-
17
  add_action('plugins_loaded', array($this, 'load_textdomain'));
18
  add_shortcode('affilinet_performance_ad', array($this, 'performance_ad_shortcode'));
19
 
20
- /**
21
- * Disable YieldKit functionality in Version 1
22
- *
23
- if (get_option('affilinet_text_monetization') === '1'
24
- ||
25
- get_option('affilinet_link_replacement') === '1'
26
- ||
27
- get_option('affilinet_text_widget') === '1'
28
- ) {
29
- add_action('wp_footer', array($this, 'yielkit_code'));
30
- }
31
 
32
- * End Disable YieldKit in Version 1
33
- */
34
 
 
 
 
 
 
 
 
 
 
 
35
  }
36
 
 
 
37
  /**
38
  * Register Settings for admin area
39
  */
@@ -44,6 +42,8 @@ class Affilinet_Plugin
44
  register_setting('affilinet-settings-group', 'affilinet_standard_webservice_password');
45
  register_setting('affilinet-settings-group', 'affilinet_product_data_webservice_password');
46
 
 
 
47
  register_setting('affilinet-settings-group', 'affilinet_text_monetization');
48
  register_setting('affilinet-settings-group', 'affilinet_link_replacement');
49
  register_setting('affilinet-settings-group', 'affilinet_text_widget');
@@ -62,16 +62,21 @@ class Affilinet_Plugin
62
  public function admin_menu()
63
  {
64
  // create top level menu
65
- add_menu_page('Affilinet', 'Affilinet', 'manage_options', 'affilinet', 'Affilinet_View::start', plugin_dir_url(dirname(__FILE__)).'images/affilinet_icon.png');
66
 
67
  // submenu items
68
  add_submenu_page('affilinet', __('Start', 'affilinet'), __('Start', 'affilinet'), 'manage_options', 'affilinet', 'Affilinet_View::start');
69
  add_submenu_page('affilinet', __('Settings', 'affilinet'), __('Settings', 'affilinet'), 'manage_options', 'affilinet_settings', 'Affilinet_View::settings');
70
- add_submenu_page('affilinet', __('Signup', 'affilinet'), __('Signup', 'affilinet'), 'manage_options', 'affilinet_signup', 'Affilinet_View::signup');
 
 
 
 
 
71
  add_submenu_page('affilinet', __('Reporting', 'affilinet'), __('Reporting', 'affilinet'), 'manage_options', 'affilinet_reporting', 'Affilinet_View::reporting');
72
 
73
  // options menu
74
- add_options_page('Affilinet Settings', 'Affilinet', 'manage_options', 'affilinet_options', 'Affilinet_View::settings');
75
  }
76
 
77
  /**
@@ -90,7 +95,6 @@ class Affilinet_Plugin
90
  {
91
  // on post page add the editor button for affilinet plugin
92
  if ($hook === 'post.php' || $hook == 'post-new.php') {
93
-
94
  add_action('admin_head', array($this, 'editor_add_buttons'));
95
  add_action( "admin_head-$hook",array($this, 'affilinet_adminScript') );
96
  }
@@ -102,6 +106,12 @@ class Affilinet_Plugin
102
  wp_enqueue_script('flot');
103
  wp_enqueue_script('flot.time');
104
  }
 
 
 
 
 
 
105
 
106
 
107
  }
@@ -157,7 +167,9 @@ class Affilinet_Plugin
157
  <script type='text/javascript'>
158
  var affilinet_mce_variables = {
159
  'image_path': '<?php echo $img; ?>',
160
- 'choose_size': 'Choose size'
 
 
161
  };
162
  </script>
163
  <!-- TinyMCE Shortcode Plugin -->
11
 
12
  add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
13
 
 
 
 
14
  add_action('plugins_loaded', array($this, 'load_textdomain'));
15
  add_shortcode('affilinet_performance_ad', array($this, 'performance_ad_shortcode'));
16
 
17
+ add_action( 'admin_notices', array( $this, 'admin_notice' ));
 
 
 
 
 
 
 
 
 
 
18
 
19
+ }
 
20
 
21
+ function admin_notice() {
22
+ if (get_option('affilinet_webservice_login_is_correct') === 'false') {
23
+ ?>
24
+ <div class="notice notice-warning is-dismissible">
25
+ <p><?php _e('<strong>affilinet Performance Ads:</strong><br> Please make sure you have entered the correct PublisherID and Webservice password.', 'affilinet' ); ?>
26
+ <a class="button" href="admin.php?page=affilinet_settings"><?php _e('Check your settings.', 'affilinet');?></a>
27
+ </p>
28
+ </div>
29
+ <?php
30
+ }
31
  }
32
 
33
+
34
+
35
  /**
36
  * Register Settings for admin area
37
  */
42
  register_setting('affilinet-settings-group', 'affilinet_standard_webservice_password');
43
  register_setting('affilinet-settings-group', 'affilinet_product_data_webservice_password');
44
 
45
+ register_setting('affilinet-settings-group', 'affilinet_webservice_login_is_correct');
46
+
47
  register_setting('affilinet-settings-group', 'affilinet_text_monetization');
48
  register_setting('affilinet-settings-group', 'affilinet_link_replacement');
49
  register_setting('affilinet-settings-group', 'affilinet_text_widget');
62
  public function admin_menu()
63
  {
64
  // create top level menu
65
+ add_menu_page('affilinet', 'affilinet', 'manage_options', 'affilinet', 'Affilinet_View::start', plugin_dir_url(dirname(__FILE__)).'images/affilinet_icon.png');
66
 
67
  // submenu items
68
  add_submenu_page('affilinet', __('Start', 'affilinet'), __('Start', 'affilinet'), 'manage_options', 'affilinet', 'Affilinet_View::start');
69
  add_submenu_page('affilinet', __('Settings', 'affilinet'), __('Settings', 'affilinet'), 'manage_options', 'affilinet_settings', 'Affilinet_View::settings');
70
+
71
+
72
+ if (get_option('affilinet_webservice_login_is_correct', 'false') === 'false') {
73
+ add_submenu_page('affilinet', __('Signup', 'affilinet'), __('Signup', 'affilinet'), 'manage_options', 'affilinet_signup', 'Affilinet_View::signup');
74
+ }
75
+
76
  add_submenu_page('affilinet', __('Reporting', 'affilinet'), __('Reporting', 'affilinet'), 'manage_options', 'affilinet_reporting', 'Affilinet_View::reporting');
77
 
78
  // options menu
79
+ add_options_page('affilinet Settings', 'affilinet', 'manage_options', 'affilinet_options', 'Affilinet_View::settings');
80
  }
81
 
82
  /**
95
  {
96
  // on post page add the editor button for affilinet plugin
97
  if ($hook === 'post.php' || $hook == 'post-new.php') {
 
98
  add_action('admin_head', array($this, 'editor_add_buttons'));
99
  add_action( "admin_head-$hook",array($this, 'affilinet_adminScript') );
100
  }
106
  wp_enqueue_script('flot');
107
  wp_enqueue_script('flot.time');
108
  }
109
+ // on settings page integrate font awesome
110
+
111
+ if ($hook == 'affilinet_page_affilinet_settings') {
112
+ wp_enqueue_style('font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css');
113
+ }
114
+
115
 
116
 
117
  }
167
  <script type='text/javascript'>
168
  var affilinet_mce_variables = {
169
  'image_path': '<?php echo $img; ?>',
170
+ 'choose_size': 'Choose size',
171
+ 'ad_sizes' : <?php echo Affilinet_Widget::getAllowedSizesJsonForTinyMce();?>
172
+
173
  };
174
  </script>
175
  <!-- TinyMCE Shortcode Plugin -->
classes/Widget.php CHANGED
@@ -7,7 +7,7 @@ class Affilinet_Widget extends \WP_Widget
7
  {
8
  $widget_ops = array(
9
  'classname' => __NAMESPACE__ . '\\' . __CLASS__,
10
- 'description' => 'Affilinet Performance Ads'
11
  );
12
  parent::__construct('Affilinet_Performance_Ad_Widget', 'Affilinet Performance Ads', $widget_ops);
13
 
@@ -25,26 +25,218 @@ class Affilinet_Widget extends \WP_Widget
25
  $defaults = array(
26
  'size' => '728x90'
27
  );
28
- $instance = wp_parse_args((array) $instance, $defaults);
29
  $size = $instance['size'];
30
  ?>
31
  <p>
32
- <label for="<?php echo $this->get_field_id('size'); ?>"><?php _e('Banner size', 'affilinet');?></label>
33
  <select class="widefat" id="<?php echo $this->get_field_id('size'); ?>"
34
  name="<?php echo $this->get_field_name('size'); ?>">
35
  <?php
36
- foreach ($this->allowedSizes() as $allowed_size) {
 
 
37
  ?>
38
- <option
39
- value="<?php echo $allowed_size['value']; ?>"
40
- <?php selected($size, $allowed_size['value']); ?>><?php echo $allowed_size['name']; ?></option>
41
- <?php
 
 
 
 
 
 
 
 
 
42
  }
43
  ?>
44
  </select>
45
 
46
  </p>
47
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  }
49
 
50
  /**
@@ -82,20 +274,4 @@ class Affilinet_Widget extends \WP_Widget
82
  /** @var String $after_widget */
83
  echo $after_widget;
84
  }
85
-
86
- /**
87
- * Return a list of allowed banner sizes
88
- * @return array
89
- */
90
- private function allowedSizes()
91
- {
92
- return array(
93
- array('value' => '728x90', 'name' => 'Super Banner (728px x 90px)'),
94
- array('value' => '300x250', 'name' => 'Medium Rectangle (300px x 250px)'),
95
- array('value' => '250x250', 'name' => 'Square Button (250px x 250px)'),
96
- array('value' => '468x60', 'name' => 'Fullsize Banner (468px x 60px)'),
97
- array('value' => '160x600', 'name' => 'Wide Scyscraper (160px x 600px)'),
98
- array('value' => '120x600', 'name' => 'Scyscraper (120px x 600px)')
99
- );
100
- }
101
  }
7
  {
8
  $widget_ops = array(
9
  'classname' => __NAMESPACE__ . '\\' . __CLASS__,
10
+ 'description' => 'affilinet Performance Ads'
11
  );
12
  parent::__construct('Affilinet_Performance_Ad_Widget', 'Affilinet Performance Ads', $widget_ops);
13
 
25
  $defaults = array(
26
  'size' => '728x90'
27
  );
28
+ $instance = wp_parse_args((array)$instance, $defaults);
29
  $size = $instance['size'];
30
  ?>
31
  <p>
32
+ <label for="<?php echo $this->get_field_id('size'); ?>"><?php _e('Banner size', 'affilinet'); ?></label>
33
  <select class="widefat" id="<?php echo $this->get_field_id('size'); ?>"
34
  name="<?php echo $this->get_field_name('size'); ?>">
35
  <?php
36
+
37
+
38
+ foreach ($this->allowedSizes() as $optGroup) {
39
  ?>
40
+ <optgroup label="<?php echo $optGroup['name'] ?>">
41
+ <?php
42
+
43
+ foreach ($optGroup['values'] as $allowed_size) {
44
+ ?>
45
+ <option
46
+ value="<?php echo $allowed_size['value']; ?>"
47
+ <?php selected($size, $allowed_size['value']); ?>><?php echo $allowed_size['name']; ?></option>
48
+ <?php
49
+ }
50
+ ?>
51
+ </optgroup>
52
+ <?php
53
  }
54
  ?>
55
  </select>
56
 
57
  </p>
58
+ <?php
59
+ }
60
+
61
+
62
+ public static function getAllowedSizesJsonForTinyMce()
63
+ {
64
+ $sizes = self::allowedSizes();
65
+ $return = [];
66
+
67
+ foreach ($sizes as $category) {
68
+ $return[] = ['text' => $category['name'], 'disabled' => true];
69
+ foreach ($category['values'] as $entry) {
70
+ $return[] = ['text' => $entry['name'], 'value' => $entry['value'], 'disabled' => false];
71
+ }
72
+ }
73
+ return json_encode($return, JSON_PRETTY_PRINT);
74
+ }
75
+
76
+ /**
77
+ * Return a list of allowed banner sizes
78
+ * @return array
79
+ */
80
+ private static function allowedSizes()
81
+ {
82
+ $allowedPlatFormSizes = [
83
+
84
+ // DE
85
+ 1 => [
86
+ ['name' => '----- DESKTOP -----', 'values' =>
87
+ [
88
+ ['value' => '728x90', 'name' => 'Super Banner (728px x 90px)'],
89
+ ['value' => '300x250', 'name' => 'Medium Rectangle (300px x 250px)'],
90
+ ['value' => '250x250', 'name' => 'Square Button (250px x 250px)'],
91
+ ['value' => '468x60', 'name' => 'Fullsize Banner (468px x 60px)'],
92
+ ['value' => '160x600', 'name' => 'Wide Scyscraper (160px x 600px)'],
93
+ ['value' => '120x600', 'name' => 'Scyscraper (120px x 600px)']
94
+ ]
95
+ ],
96
+ ['name' => '----- MOBILE -----', 'values' =>
97
+ [
98
+ ['value' => '168x28', 'name' => 'Feature Phone Medium Banner (168px x 28px)'],
99
+ ['value' => '216x36', 'name' => 'Feature Phone Large Banner (216px x 36px)'],
100
+ ['value' => '300x50', 'name' => 'Smartphone Banner (300px x 50px)'],
101
+ ['value' => '320x50', 'name' => 'Smartphone Wide Banner (320px x 50px)']
102
+ ]
103
+ ]
104
+
105
+ ],
106
+ // AT
107
+ 7 => [
108
+ ['name' => '----- DESKTOP -----', 'values' =>
109
+ [
110
+ ['value' => '728x90', 'name' => 'Super Banner (728px x 90px)'],
111
+ ['value' => '300x250', 'name' => 'Medium Rectangle (300px x 250px)'],
112
+ ['value' => '250x250', 'name' => 'Square Button (250px x 250px)'],
113
+ ['value' => '468x60', 'name' => 'Fullsize Banner (468px x 60px)'],
114
+ ['value' => '160x600', 'name' => 'Wide Scyscraper (160px x 600px)'],
115
+ ['value' => '120x600', 'name' => 'Scyscraper (120px x 600px)']
116
+ ]
117
+ ],
118
+
119
+ /**
120
+ * mobile sizes not yet available in AT
121
+ **/
122
+
123
+ /*
124
+ ['name' => '----- MOBILE -----', 'values' =>
125
+ [
126
+ ['value' => '168x28', 'name' => 'Feature Phone Medium Banner (168px x 28px)'],
127
+ ['value' => '216x36', 'name' => 'Feature Phone Large Banner (216px x 36px)'],
128
+ ['value' => '300x50', 'name' => 'Smartphone Banner (300px x 50px)'],
129
+ ['value' => '320x50', 'name' => 'Smartphone Wide Banner (320px x 50px)']
130
+ ]
131
+ ]*/
132
+ ],
133
+ // CH
134
+ 6 => [
135
+ ['name' => '----- DESKTOP -----', 'values' =>
136
+ [
137
+ ['value' => '728x90', 'name' => 'Super Banner (728px x 90px)'],
138
+ ['value' => '300x250', 'name' => 'Medium Rectangle (300px x 250px)'],
139
+ ['value' => '250x250', 'name' => 'Square Button (250px x 250px)'],
140
+ ['value' => '468x60', 'name' => 'Fullsize Banner (468px x 60px)'],
141
+ ['value' => '160x600', 'name' => 'Wide Scyscraper (160px x 600px)'],
142
+ ['value' => '120x600', 'name' => 'Scyscraper (120px x 600px)']
143
+ ]
144
+ ],
145
+ /**
146
+ * mobile sizes not yet available in CH
147
+ **/
148
+ /*
149
+ ['name' => '----- MOBILE -----', 'values' =>
150
+ [
151
+ ['value' => '168x28', 'name' => 'Feature Phone Medium Banner (168px x 28px)'],
152
+ ['value' => '216x36', 'name' => 'Feature Phone Large Banner (216px x 36px)'],
153
+ ['value' => '300x50', 'name' => 'Smartphone Banner (300px x 50px)'],
154
+ ['value' => '320x50', 'name' => 'Smartphone Wide Banner (320px x 50px)']
155
+ ]
156
+ ]
157
+ */
158
+
159
+ ],
160
+ // UK
161
+ 2 => [
162
+ ['name' => '----- DESKTOP -----', 'values' =>
163
+ [
164
+ ['value' => '728x90', 'name' => 'Super Banner (728px x 90px)'],
165
+ ['value' => '300x250', 'name' => 'Medium Rectangle (300px x 250px)'],
166
+ ['value' => '250x250', 'name' => 'Square Button (250px x 250px)'],
167
+ ['value' => '468x60', 'name' => 'Fullsize Banner (468px x 60px)'],
168
+ ['value' => '160x600', 'name' => 'Wide Scyscraper (160px x 600px)'],
169
+ ['value' => '120x600', 'name' => 'Scyscraper (120px x 600px)']
170
+ ]
171
+ ],
172
+ /**
173
+ * mobile sizes not yet available in UK
174
+ **/
175
+ /*
176
+ ['name' => '----- MOBILE -----', 'values' =>
177
+ [
178
+ ['value' => '168x28', 'name' => 'Feature Phone Medium Banner (168px x 28px)'],
179
+ ['value' => '216x36', 'name' => 'Feature Phone Large Banner (216px x 36px)'],
180
+ ['value' => '300x50', 'name' => 'Smartphone Banner (300px x 50px)'],
181
+ ['value' => '320x50', 'name' => 'Smartphone Wide Banner (320px x 50px)']
182
+ ]
183
+ ]*/
184
+ ],
185
+ // FR
186
+ 3 => [
187
+ ['name' => '----- DESKTOP -----', 'values' =>
188
+ [
189
+ ['value' => '728x90', 'name' => 'Super Banner (728px x 90px)'],
190
+ ['value' => '300x250', 'name' => 'Medium Rectangle (300px x 250px)'],
191
+ ['value' => '250x250', 'name' => 'Square Button (250px x 250px)'],
192
+ ['value' => '468x60', 'name' => 'Fullsize Banner (468px x 60px)'],
193
+ ['value' => '160x600', 'name' => 'Wide Scyscraper (160px x 600px)'],
194
+ ['value' => '120x600', 'name' => 'Scyscraper (120px x 600px)'],
195
+ ['value' => '300x600', 'name' => 'Half Page (300px x 600px)']
196
+ ]
197
+ ],
198
+ ['name' => '----- MOBILE -----', 'values' =>
199
+ [
200
+ ['value' => '168x28', 'name' => 'Feature Phone Medium Banner (168px x 28px)'],
201
+ ['value' => '216x36', 'name' => 'Feature Phone Large Banner (216px x 36px)'],
202
+ ['value' => '300x50', 'name' => 'Smartphone Banner (300px x 50px)'],
203
+ ['value' => '320x50', 'name' => 'Smartphone Wide Banner (320px x 50px)']
204
+ ]
205
+ ]
206
+
207
+ ],
208
+ // NL - currently not implemented
209
+ 4 => [
210
+ ['name' => '----- DESKTOP -----', 'values' =>
211
+ [
212
+ ['value' => '728x90', 'name' => 'Super Banner (728px x 90px)'],
213
+ ['value' => '300x250', 'name' => 'Medium Rectangle (300px x 250px)'],
214
+ ['value' => '250x250', 'name' => 'Square Button (250px x 250px)'],
215
+ ['value' => '468x60', 'name' => 'Fullsize Banner (468px x 60px)'],
216
+ ['value' => '160x600', 'name' => 'Wide Scyscraper (160px x 600px)'],
217
+ ['value' => '120x600', 'name' => 'Scyscraper (120px x 600px)'],
218
+ ['value' => '300x600', 'name' => 'Half Page (300px x 600px)']
219
+ ]
220
+ ],
221
+ /**
222
+ * mobile sizes not yet available in NL
223
+ **/
224
+ /*
225
+ ['name' => '----- MOBILE -----', 'values' =>
226
+ [
227
+ ['value' => '168x28', 'name' => 'Feature Phone Medium Banner (168px x 28px)'],
228
+ ['value' => '216x36', 'name' => 'Feature Phone Large Banner (216px x 36px)'],
229
+ ['value' => '300x50', 'name' => 'Smartphone Banner (300px x 50px)'],
230
+ ['value' => '320x50', 'name' => 'Smartphone Wide Banner (320px x 50px)']
231
+ ]
232
+ ]
233
+ */
234
+ ]
235
+ ];
236
+
237
+
238
+ return $allowedPlatFormSizes[(int)get_option('affilinet_platform', 1)];
239
+
240
  }
241
 
242
  /**
274
  /** @var String $after_widget */
275
  echo $after_widget;
276
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
  }
images/168x28.jpg ADDED
Binary file
images/216x36.jpg ADDED
Binary file
images/300x50.jpg ADDED
Binary file
images/300x600.jpg ADDED
Binary file
images/320x50.jpg ADDED
Binary file
js/affilinet_editor_buttons.js CHANGED
@@ -26,12 +26,11 @@ if (typeof(tinymce) != 'undefined') {
26
  });
27
  }
28
 
29
- /**
30
- * Placeholders are not editable
31
- */
32
  editor.on('click', function (ed, o) {
33
  if (ed.target.className == 'affilinet_performance_ad') {
34
  ed.stopImmediatePropagation();
 
 
35
  editor.windowManager.open({
36
  title: affilinet_mce_variables.choose_size,
37
  body: [
@@ -39,21 +38,16 @@ if (typeof(tinymce) != 'undefined') {
39
  type: 'listbox',
40
  name: 'size',
41
  label: 'Size',
42
- 'values': [
43
- {text: 'Super Banner (728px x 90px)', value: '728x90'},
44
- {text: 'Medium Rectangle (300px x 250px)', value: '300x250'},
45
- {text: 'Square Button (250px x 250px)', value: '250x250'},
46
- {text: 'Fullsize Banner (468px x 60px)', value: '468x60'},
47
- {text: 'Wide Scyscraper (160px x 600px)', value: '160x600'},
48
- {text: 'Scyscraper (120px x 600px)', value: '120x600'}
49
- ]
50
  }
51
  ],
52
  onsubmit: function (e) {
53
  // Insert content when the window form is submitted
54
  editor.selection.select(ed.target);
55
  editor.selection.setContent('[affilinet_performance_ad size=' + e.data.size + ']');
56
- //ed.stopImmediatePropagation();
57
  }
58
 
59
  });
@@ -80,46 +74,24 @@ if (typeof(tinymce) != 'undefined') {
80
  event.content = _remove_image(event.content);
81
  });
82
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
  editor.addButton('affilinet_mce_button', {
85
  icon: true,
86
  image: affilinet_mce_variables.image_path + 'affilinet_signet_small.png',
87
  type: 'menubutton',
88
- text: 'Affilinet Performance Ads',
89
- menu: [
90
- {
91
- text: 'Super Banner (728px x 90px)',
92
- onclick: function () {
93
- editor.insertContent('[affilinet_performance_ad size=728x90]');
94
- }
95
- },
96
- {
97
- text: 'Medium Rectangle (300px x 250px)',
98
- onclick: function () {
99
- editor.insertContent('[affilinet_performance_ad size=300x250]');
100
- }
101
- }, {
102
- text: 'Square Button (250px x 250px)',
103
- onclick: function () {
104
- editor.insertContent('[affilinet_performance_ad size=250x250]');
105
- }
106
- }, {
107
- text: 'Fullsize Banner (468px x 60px)',
108
- onclick: function () {
109
- editor.insertContent('[affilinet_performance_ad size=468x60]');
110
- }
111
- }, {
112
- text: 'Wide Scyscraper (160px x 600px)',
113
- onclick: function () {
114
- editor.insertContent('[affilinet_performance_ad size=160x600]');
115
- }
116
- }, {
117
- text: 'Scyscraper (120px x 600px)',
118
- onclick: function () {
119
- editor.insertContent('[affilinet_performance_ad size=120x600]');
120
- }
121
- }
122
- ]
123
  });
124
 
125
  });
@@ -147,7 +119,7 @@ if (typeof(tinymce) != 'undefined') {
147
  createControl: function (n, cm) {
148
  if (n == 'affilinet_mce_button') {
149
  var mlb = cm.createListBox('affilinet_mce_button', {
150
- title: 'Affilinet Ads',
151
  onselect: function (v) { //Option value as parameter
152
  if (v !== '') {
153
  tinyMCE.activeEditor.execCommand('mceInsertContent', false, '[affilinet_performance_ad size=' + v + ']');
@@ -159,13 +131,11 @@ if (typeof(tinymce) != 'undefined') {
159
 
160
  // Add some values to the list box
161
 
162
- mlb.add('Super Banner (728px x 90px)', '728x90');
163
- mlb.add('Medium Rectangle (300px x 250px)', '300x250');
164
- mlb.add('Square Button (250px x 250px)', '250x250');
165
- mlb.add('Fullsize Banner (468px x 60px)', '468x60');
166
- mlb.add('Wide Scyscraper (160px x 600px)', '160x600');
167
- mlb.add('Scyscraper (120px x 600px)', '120x600');
168
-
169
 
170
  // Return the new listbox instance
171
  return mlb;
@@ -176,11 +146,11 @@ if (typeof(tinymce) != 'undefined') {
176
 
177
  getInfo: function () {
178
  return {
179
- longname: 'Affilinet Shortcode Selector',
180
  author: 'Stefan Gotre',
181
  authorurl: 'https://teraone.de',
182
  infourl: 'https://teraone.de',
183
- version: "0.1"
184
  };
185
  }
186
  });
26
  });
27
  }
28
 
 
 
 
29
  editor.on('click', function (ed, o) {
30
  if (ed.target.className == 'affilinet_performance_ad') {
31
  ed.stopImmediatePropagation();
32
+ var selected = ed.target.title.replace('affilinet_performance_ad size=', '');
33
+
34
  editor.windowManager.open({
35
  title: affilinet_mce_variables.choose_size,
36
  body: [
38
  type: 'listbox',
39
  name: 'size',
40
  label: 'Size',
41
+ values: affilinet_mce_variables.ad_sizes,
42
+ value : selected
43
+
 
 
 
 
 
44
  }
45
  ],
46
  onsubmit: function (e) {
47
  // Insert content when the window form is submitted
48
  editor.selection.select(ed.target);
49
  editor.selection.setContent('[affilinet_performance_ad size=' + e.data.size + ']');
50
+ ed.stopImmediatePropagation();
51
  }
52
 
53
  });
74
  event.content = _remove_image(event.content);
75
  });
76
 
77
+ // clone the object
78
+ var menu = JSON.parse(JSON.stringify(affilinet_mce_variables.ad_sizes));
79
+
80
+ menu.forEach(function(elem){
81
+ if (elem.disabled === false) {
82
+ elem.onclick = function(){
83
+ editor.insertContent('[affilinet_performance_ad size=' + elem.value.toString() + ']');
84
+ }
85
+ }
86
+
87
+ });
88
 
89
  editor.addButton('affilinet_mce_button', {
90
  icon: true,
91
  image: affilinet_mce_variables.image_path + 'affilinet_signet_small.png',
92
  type: 'menubutton',
93
+ text: 'affilinet Performance Ads',
94
+ menu: menu
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  });
96
 
97
  });
119
  createControl: function (n, cm) {
120
  if (n == 'affilinet_mce_button') {
121
  var mlb = cm.createListBox('affilinet_mce_button', {
122
+ title: 'affilinet Performance Ads',
123
  onselect: function (v) { //Option value as parameter
124
  if (v !== '') {
125
  tinyMCE.activeEditor.execCommand('mceInsertContent', false, '[affilinet_performance_ad size=' + v + ']');
131
 
132
  // Add some values to the list box
133
 
134
+ affilinet_mce_variables.ad_sizes.forEach(function(size){
135
+ if (typeof size.value != 'undefined') {
136
+ mlb.add(size.text, size.value);
137
+ }
138
+ });
 
 
139
 
140
  // Return the new listbox instance
141
  return mlb;
146
 
147
  getInfo: function () {
148
  return {
149
+ longname: 'affilinet Shortcode Selector',
150
  author: 'Stefan Gotre',
151
  authorurl: 'https://teraone.de',
152
  infourl: 'https://teraone.de',
153
+ version: "0.2"
154
  };
155
  }
156
  });
languages/affilinet-de_DE.mo CHANGED
Binary file
languages/affilinet-de_DE.po CHANGED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Affilinet Advertising & Content Monetization\n"
4
- "POT-Creation-Date: 2015-06-09 16:35+0100\n"
5
- "PO-Revision-Date: 2015-06-11 15:47+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.1\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
@@ -18,27 +18,82 @@ msgstr ""
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
- #: classes/Api.php:27 classes/Api.php:57
22
  msgid ""
23
- "Could not connect to Affilinet API. Please recheck your Webservice Password "
24
  "and Publisher ID"
25
  msgstr ""
26
- "Verbindungsfehler: Bitte überprüfen Sie ihr Webservice Passwort und Ihre "
27
  "Publisher ID."
28
 
29
- #: classes/Api.php:54
30
  msgid "No data in selected time frame"
31
  msgstr "Keine Daten im ausgewählten Zeitraum"
32
 
33
- #: classes/PerformanceAds.php:49 classes/Yieldkit.php:47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  msgid "No publisher ID given"
35
  msgstr "Keine Publisher ID angegeben"
36
 
37
- #: classes/PerformanceAds.php:52 classes/Yieldkit.php:50
38
  msgid "No platform chosen"
39
  msgstr "Keine Länder Platform gewählt"
40
 
41
- #: classes/PerformanceAds.php:61
42
  msgid ""
43
  "Invalid ad size given. Choose one of \"728x90\",\"300x250\",\"250x250\","
44
  "\"468x60\",\"160x600\",\"120x600\""
@@ -46,35 +101,47 @@ msgstr ""
46
  "Ungültiges Banner Format. Wählen Sie zwischen aus \"728x90\",\"300x250\","
47
  "\"250x250\",\"468x60\",\"160x600\",\"120x600\""
48
 
49
- #: classes/Plugin.php:75
 
 
 
 
 
 
 
 
 
 
 
 
50
  msgid "Start"
51
  msgstr "Start"
52
 
53
- #: classes/Plugin.php:76
54
  msgid "Settings"
55
  msgstr "Einstellungen"
56
 
57
- #: classes/Plugin.php:77 views/signup.php:2
58
  msgid "Signup"
59
  msgstr "Registrieren"
60
 
61
- #: classes/Plugin.php:78 views/reporting.php:2
62
  msgid "Reporting"
63
  msgstr "Reports"
64
 
65
- #: classes/View.php:64 views/reporting.php:116
66
  msgid "Views"
67
  msgstr "Views"
68
 
69
- #: classes/View.php:65 views/reporting.php:118
70
  msgid "Clicks"
71
  msgstr "Klicks"
72
 
73
- #: classes/View.php:68
74
  msgid "Confirmed Commission (€)"
75
  msgstr "Bestätigte Provision (€)"
76
 
77
- #: classes/Widget.php:33
78
  msgid "Banner size"
79
  msgstr "Banner Format"
80
 
@@ -83,8 +150,8 @@ msgid ""
83
  "This reporting page is deactivated since you did not entered your publisher "
84
  "web service password on the settings page."
85
  msgstr ""
86
- "Die Reports sind deaktiviert, da Sie noch kein Webservice Passwort hinterlegt "
87
- "haben."
88
 
89
  # This is seperated because of a link:
90
  # Please provide your [LINK START]webservice password and publisher ID[LINK END]
@@ -99,91 +166,93 @@ msgstr "Bitte geben Sie Ihr"
99
  msgid "webservice password and publisher ID"
100
  msgstr "Webservice Passwort und Ihre Publisher ID an"
101
 
102
- #: views/reporting.php:74
103
  msgid "Select month"
104
  msgstr "Monat wählen"
105
 
106
- #: views/reporting.php:90
107
  msgid "Select year"
108
  msgstr "Jahr wählen"
109
 
110
- #: views/reporting.php:105
111
  msgid "Show report"
112
  msgstr "Report anzeigen"
113
 
114
- #: views/reporting.php:114
115
  msgid "Date"
116
  msgstr "Datum"
117
 
118
- #: views/reporting.php:120
119
  msgid "Open SalesLeads"
120
  msgstr "Offene Sales/Leads"
121
 
122
- #: views/reporting.php:122
123
  msgid "Confirmed SalesLeads"
124
  msgstr "Bestätigte Sales/Leads"
125
 
126
- #: views/reporting.php:124
127
  msgid "Declined SalesLeads"
128
  msgstr "Abgelehnte Sales/Leads"
129
 
130
- #: views/reporting.php:126
131
  msgid "Open Commission"
132
  msgstr "Offene Vergütung"
133
 
134
- #: views/reporting.php:128
135
  msgid "Confirmed Commission"
136
  msgstr "Bestätigte Vergütung"
137
 
138
- #: views/reporting.php:185
139
  msgid "No data for this month"
140
  msgstr "Keine Daten im ausgewählten Zeitraum"
141
 
142
- #: views/reporting.php:195
143
  msgid "Total sum"
144
  msgstr "Gesamt"
145
 
146
  #: views/settings.php:2
147
- msgid "Affilinet Performance Module"
148
- msgstr "Affilinet Performance Modul"
 
 
 
 
 
 
149
 
150
- #: views/settings.php:10 views/signup.php:15
151
  msgid "affilinet Country Platform"
152
  msgstr "affilinet Länder Platform"
153
 
154
- #: views/settings.php:14 views/signup.php:19
155
  msgid "Germany"
156
  msgstr "Deutschland"
157
 
158
- #: views/settings.php:15 views/signup.php:21
159
  msgid "United Kingdom"
160
  msgstr "Vereinigtes Königreich"
161
 
162
- #: views/settings.php:16 views/signup.php:23
163
  msgid "France"
164
  msgstr "Frankreich"
165
 
166
- #: views/settings.php:17 views/signup.php:25
167
- msgid "Netherlands"
168
- msgstr "Niederlande"
169
-
170
- #: views/settings.php:18 views/signup.php:27
171
  msgid "Switzerland"
172
  msgstr "Schweiz"
173
 
174
- #: views/settings.php:19 views/signup.php:29
175
  msgid "Austria"
176
  msgstr "Österreich"
177
 
178
- #: views/settings.php:26
179
  msgid "Publisher ID"
180
  msgstr "Publisher ID"
181
 
182
- #: views/settings.php:31
183
  msgid "Webservice Password"
184
  msgstr "Webservice Passwort"
185
 
186
- #: views/settings.php:141 views/signup.php:46
187
  msgid "Save"
188
  msgstr "Speichern"
189
 
@@ -192,7 +261,7 @@ msgid "Please choose a platform where you want to sign up"
192
  msgstr ""
193
  "Bitte wählen Sie eine Länder Plattform für die Sie sich registrieren möchten"
194
 
195
- #: views/signup.php:43
196
  msgid "Save Platform"
197
  msgstr "Länder Plattform festlegen"
198
 
@@ -202,6 +271,9 @@ msgid ""
202
  msgstr ""
203
  "https://www.affili.net/htmlcontent/de/Publishermodules/WordPress/Start.html"
204
 
 
 
 
205
  #~ msgid ""
206
  #~ "This page offers an introduction about the affilinet Performance Module"
207
  #~ msgstr ""
@@ -247,8 +319,8 @@ msgstr ""
247
  #~ "Drop\" in den gewünschten Bereich Ihrer Seite.\n"
248
  #~ "<br>\n"
249
  #~ "<br>\n"
250
- #~ "Melden Sie sich unter \"Einstellungen\" einfach mit Ihrer Publisher ID und "
251
- #~ "Ihrem dazugehörigen Webservice Passwort an\n"
252
  #~ " und starten Sie los! Sollten Sie noch keinen Publisher Account bei "
253
  #~ "affilinet haben, können Sie sich unter dem Menüpunkt\n"
254
  #~ " \"Registrieren\" einfach bei affilinet als Publisher anmelden.\n"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Affilinet Advertising & Content Monetization\n"
4
+ "POT-Creation-Date: 2016-10-25 12:06+0200\n"
5
+ "PO-Revision-Date: 2016-10-25 12:08+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.11\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
+ #: classes/Api.php:35 classes/Api.php:70
22
  msgid ""
23
+ "Could not connect to affilinet API. Please recheck your Webservice Password "
24
  "and Publisher ID"
25
  msgstr ""
26
+ "Verbindungsfehler: Bitte überprüfen Sie Ihr Webservice Passwort und Ihre "
27
  "Publisher ID."
28
 
29
+ #: classes/Api.php:66
30
  msgid "No data in selected time frame"
31
  msgstr "Keine Daten im ausgewählten Zeitraum"
32
 
33
+ #: classes/Api.php:108
34
+ msgid ""
35
+ "Wrong platform selected.<br> It seems like your account is registered to "
36
+ "another country's platform."
37
+ msgstr ""
38
+ "Ungültige Plattform <br> Es scheint, dass Ihr affilinet-Konto in einem "
39
+ "anderen Land registriert ist."
40
+
41
+ #: classes/Api.php:114
42
+ msgid ""
43
+ "Great, it looks like you already have a partnership with PerformanceAds! "
44
+ "<br> Feel free to start using the plugin right away!"
45
+ msgstr ""
46
+ "Toll, es sieht so aus, als ob Sie bereits eine Partnerschaft mit "
47
+ "PerformanceAds haben! <br> Sie können gerne mit dem Plugin sofort loslegen!"
48
+
49
+ #: classes/Api.php:120
50
+ msgid ""
51
+ "Please be aware that in order to earn commission for delivering creatives, a "
52
+ "partnership with the PerformanceAds program is required.<br>Please apply <a "
53
+ "target=\"_blank\" href=\"http://publisher.affili.net/Programs/ProgramInfo."
54
+ "aspx?pid="
55
+ msgstr ""
56
+ "Bitte beachten Sie, dass um die Auszahlung von Provisionen für die "
57
+ "Auslieferung von Creatives bekommen zu können, eine Partnerschaft mit dem "
58
+ "PerformanceAds-Programm erforderlich ist. <br> Bitte bewerben Sie sich <a "
59
+ "target=\"_blank\" href=\"http://publisher.affili.net/Programs/ProgramInfo."
60
+ "aspx?pid="
61
+
62
+ #: classes/Api.php:122
63
+ msgid "\">here</a>. Your partnership will be automatically accepted."
64
+ msgstr "\">hier</a>. Ihre Partnerschaft wird automatisch angenommen."
65
+
66
+ #: classes/Api.php:127
67
+ msgid ""
68
+ "Unfortunately your partnership with PerformanceAds has been cancelled, as "
69
+ "your website does not meet our quality standards. <br> For more information "
70
+ "please visit our <a target=\"_blank\" href=\""
71
+ msgstr ""
72
+ "Leider wurde Ihre Partnerschaft mit PerformanceAds storniert, da Ihre "
73
+ "Website unseren Qualitätsstandards nicht entspricht. <br> Für weitere "
74
+ "Informationen besuchen Sie bitte unsere <a target=\"_blank\" href=\""
75
+
76
+ #: classes/Api.php:129
77
+ msgid "\">quality standards page.</a>"
78
+ msgstr "\">Qualitätsstandards-Seite.</a>"
79
+
80
+ #: classes/Api.php:135
81
+ msgid ""
82
+ "Please make sure you have entered the correct PublisherID and Webservice "
83
+ "password."
84
+ msgstr ""
85
+ "Bitte überprüfen Sie die hinterlegte Publisher ID und das Webservice "
86
+ "Passwort."
87
+
88
+ #: classes/PerformanceAds.php:55 classes/Yieldkit.php:52
89
  msgid "No publisher ID given"
90
  msgstr "Keine Publisher ID angegeben"
91
 
92
+ #: classes/PerformanceAds.php:58 classes/Yieldkit.php:55
93
  msgid "No platform chosen"
94
  msgstr "Keine Länder Platform gewählt"
95
 
96
+ #: classes/PerformanceAds.php:77
97
  msgid ""
98
  "Invalid ad size given. Choose one of \"728x90\",\"300x250\",\"250x250\","
99
  "\"468x60\",\"160x600\",\"120x600\""
101
  "Ungültiges Banner Format. Wählen Sie zwischen aus \"728x90\",\"300x250\","
102
  "\"250x250\",\"468x60\",\"160x600\",\"120x600\""
103
 
104
+ #: classes/Plugin.php:25
105
+ msgid ""
106
+ "<strong>affilinet Performance Ads:</strong><br> Please make sure you have "
107
+ "entered the correct PublisherID and Webservice password."
108
+ msgstr ""
109
+ "<strong>affilinet Performance Ads:</strong><br>Bitte überprüfen Sie die "
110
+ "hinterlegte Publisher ID und das Webservice Passwort."
111
+
112
+ #: classes/Plugin.php:26
113
+ msgid "Check your settings."
114
+ msgstr "Einstellungen prüfen"
115
+
116
+ #: classes/Plugin.php:68
117
  msgid "Start"
118
  msgstr "Start"
119
 
120
+ #: classes/Plugin.php:69
121
  msgid "Settings"
122
  msgstr "Einstellungen"
123
 
124
+ #: classes/Plugin.php:73 views/signup.php:2
125
  msgid "Signup"
126
  msgstr "Registrieren"
127
 
128
+ #: classes/Plugin.php:76 views/reporting.php:2
129
  msgid "Reporting"
130
  msgstr "Reports"
131
 
132
+ #: classes/View.php:65 views/reporting.php:113
133
  msgid "Views"
134
  msgstr "Views"
135
 
136
+ #: classes/View.php:66 views/reporting.php:115
137
  msgid "Clicks"
138
  msgstr "Klicks"
139
 
140
+ #: classes/View.php:69
141
  msgid "Confirmed Commission (€)"
142
  msgstr "Bestätigte Provision (€)"
143
 
144
+ #: classes/Widget.php:32
145
  msgid "Banner size"
146
  msgstr "Banner Format"
147
 
150
  "This reporting page is deactivated since you did not entered your publisher "
151
  "web service password on the settings page."
152
  msgstr ""
153
+ "Die Reports sind deaktiviert, da Sie noch kein Webservice Passwort "
154
+ "hinterlegt haben."
155
 
156
  # This is seperated because of a link:
157
  # Please provide your [LINK START]webservice password and publisher ID[LINK END]
166
  msgid "webservice password and publisher ID"
167
  msgstr "Webservice Passwort und Ihre Publisher ID an"
168
 
169
+ #: views/reporting.php:71
170
  msgid "Select month"
171
  msgstr "Monat wählen"
172
 
173
+ #: views/reporting.php:87
174
  msgid "Select year"
175
  msgstr "Jahr wählen"
176
 
177
+ #: views/reporting.php:102
178
  msgid "Show report"
179
  msgstr "Report anzeigen"
180
 
181
+ #: views/reporting.php:111
182
  msgid "Date"
183
  msgstr "Datum"
184
 
185
+ #: views/reporting.php:117
186
  msgid "Open SalesLeads"
187
  msgstr "Offene Sales/Leads"
188
 
189
+ #: views/reporting.php:119
190
  msgid "Confirmed SalesLeads"
191
  msgstr "Bestätigte Sales/Leads"
192
 
193
+ #: views/reporting.php:121
194
  msgid "Declined SalesLeads"
195
  msgstr "Abgelehnte Sales/Leads"
196
 
197
+ #: views/reporting.php:123
198
  msgid "Open Commission"
199
  msgstr "Offene Vergütung"
200
 
201
+ #: views/reporting.php:125
202
  msgid "Confirmed Commission"
203
  msgstr "Bestätigte Vergütung"
204
 
205
+ #: views/reporting.php:180
206
  msgid "No data for this month"
207
  msgstr "Keine Daten im ausgewählten Zeitraum"
208
 
209
+ #: views/reporting.php:188
210
  msgid "Total sum"
211
  msgstr "Gesamt"
212
 
213
  #: views/settings.php:2
214
+ msgid "affilinet Performance Ads"
215
+ msgstr "affilinet Performance Ads"
216
+
217
+ #: views/settings.php:10
218
+ msgid ""
219
+ "The Performance Ads Program will soon be available in Netherlands, too. "
220
+ "Please choose another platform so far."
221
+ msgstr ""
222
 
223
+ #: views/settings.php:25 views/signup.php:15
224
  msgid "affilinet Country Platform"
225
  msgstr "affilinet Länder Platform"
226
 
227
+ #: views/settings.php:29 views/signup.php:19
228
  msgid "Germany"
229
  msgstr "Deutschland"
230
 
231
+ #: views/settings.php:30 views/signup.php:21
232
  msgid "United Kingdom"
233
  msgstr "Vereinigtes Königreich"
234
 
235
+ #: views/settings.php:31 views/signup.php:23
236
  msgid "France"
237
  msgstr "Frankreich"
238
 
239
+ #: views/settings.php:33 views/signup.php:31
 
 
 
 
240
  msgid "Switzerland"
241
  msgstr "Schweiz"
242
 
243
+ #: views/settings.php:34 views/signup.php:33
244
  msgid "Austria"
245
  msgstr "Österreich"
246
 
247
+ #: views/settings.php:43
248
  msgid "Publisher ID"
249
  msgstr "Publisher ID"
250
 
251
+ #: views/settings.php:48 views/settings.php:54
252
  msgid "Webservice Password"
253
  msgstr "Webservice Passwort"
254
 
255
+ #: views/settings.php:160 views/signup.php:50
256
  msgid "Save"
257
  msgstr "Speichern"
258
 
261
  msgstr ""
262
  "Bitte wählen Sie eine Länder Plattform für die Sie sich registrieren möchten"
263
 
264
+ #: views/signup.php:47
265
  msgid "Save Platform"
266
  msgstr "Länder Plattform festlegen"
267
 
271
  msgstr ""
272
  "https://www.affili.net/htmlcontent/de/Publishermodules/WordPress/Start.html"
273
 
274
+ #~ msgid "Netherlands"
275
+ #~ msgstr "Niederlande"
276
+
277
  #~ msgid ""
278
  #~ "This page offers an introduction about the affilinet Performance Module"
279
  #~ msgstr ""
319
  #~ "Drop\" in den gewünschten Bereich Ihrer Seite.\n"
320
  #~ "<br>\n"
321
  #~ "<br>\n"
322
+ #~ "Melden Sie sich unter \"Einstellungen\" einfach mit Ihrer Publisher ID "
323
+ #~ "und Ihrem dazugehörigen Webservice Passwort an\n"
324
  #~ " und starten Sie los! Sollten Sie noch keinen Publisher Account bei "
325
  #~ "affilinet haben, können Sie sich unter dem Menüpunkt\n"
326
  #~ " \"Registrieren\" einfach bei affilinet als Publisher anmelden.\n"
languages/affilinet-fr_FR.mo CHANGED
Binary file
languages/affilinet-fr_FR.po CHANGED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Affilinet Advertising & Content Monetization\n"
4
- "POT-Creation-Date: 2015-06-09 16:35+0100\n"
5
- "PO-Revision-Date: 2015-06-09 16:36+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.1\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
@@ -18,27 +18,81 @@ msgstr ""
18
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
- #: classes/Api.php:27 classes/Api.php:57
22
  msgid ""
23
- "Could not connect to Affilinet API. Please recheck your Webservice Password "
24
  "and Publisher ID"
25
  msgstr ""
26
- "Nous n'avons pas pu nous connecter à l'API. Veuillez vérifier votre ID afflié "
27
- "et votre mot de passe Webservices."
28
 
29
- #: classes/Api.php:54
30
  msgid "No data in selected time frame"
31
  msgstr "Aucune donnée pour la période sélectionnée."
32
 
33
- #: classes/PerformanceAds.php:49 classes/Yieldkit.php:47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  msgid "No publisher ID given"
35
  msgstr "Aucun ID affilié n'est renseigné."
36
 
37
- #: classes/PerformanceAds.php:52 classes/Yieldkit.php:50
38
  msgid "No platform chosen"
39
  msgstr "Aucune plate-forme n'est sélectionnée."
40
 
41
- #: classes/PerformanceAds.php:61
42
  msgid ""
43
  "Invalid ad size given. Choose one of \"728x90\",\"300x250\",\"250x250\","
44
  "\"468x60\",\"160x600\",\"120x600\""
@@ -46,35 +100,47 @@ msgstr ""
46
  "Le format sélectionné est invalide. Choisissez parmi les formats suivants : "
47
  "\"728x90\",\"300x250\",\"250x250\",\"468x60\",\"160x600\",\"120x600\""
48
 
49
- #: classes/Plugin.php:75
 
 
 
 
 
 
 
 
 
 
 
 
50
  msgid "Start"
51
  msgstr "Début"
52
 
53
- #: classes/Plugin.php:76
54
  msgid "Settings"
55
  msgstr "Réglages"
56
 
57
- #: classes/Plugin.php:77 views/signup.php:2
58
  msgid "Signup"
59
  msgstr "S'inscrire"
60
 
61
- #: classes/Plugin.php:78 views/reporting.php:2
62
  msgid "Reporting"
63
  msgstr "Rapports"
64
 
65
- #: classes/View.php:64 views/reporting.php:116
66
  msgid "Views"
67
  msgstr "Affichages"
68
 
69
- #: classes/View.php:65 views/reporting.php:118
70
  msgid "Clicks"
71
  msgstr "Clics"
72
 
73
- #: classes/View.php:68
74
  msgid "Confirmed Commission (€)"
75
  msgstr "Gains confirmés (€)"
76
 
77
- #: classes/Widget.php:33
78
  msgid "Banner size"
79
  msgstr "Format de bannière"
80
 
@@ -99,91 +165,93 @@ msgstr "Veuillez renseigner votre"
99
  msgid "webservice password and publisher ID"
100
  msgstr "mot de passe Webservices et votre ID affilié."
101
 
102
- #: views/reporting.php:74
103
  msgid "Select month"
104
  msgstr "Sélectionner le mois"
105
 
106
- #: views/reporting.php:90
107
  msgid "Select year"
108
  msgstr "Sélectionner l'année"
109
 
110
- #: views/reporting.php:105
111
  msgid "Show report"
112
  msgstr "Afficher le rapport"
113
 
114
- #: views/reporting.php:114
115
  msgid "Date"
116
  msgstr "Date"
117
 
118
- #: views/reporting.php:120
119
  msgid "Open SalesLeads"
120
  msgstr "Ventes et leads en attente"
121
 
122
- #: views/reporting.php:122
123
  msgid "Confirmed SalesLeads"
124
  msgstr "Ventes et leads confirmés"
125
 
126
- #: views/reporting.php:124
127
  msgid "Declined SalesLeads"
128
  msgstr "Ventes et leads annulés"
129
 
130
- #: views/reporting.php:126
131
  msgid "Open Commission"
132
  msgstr "Gains en attente"
133
 
134
- #: views/reporting.php:128
135
  msgid "Confirmed Commission"
136
  msgstr "Gains confirmés"
137
 
138
- #: views/reporting.php:185
139
  msgid "No data for this month"
140
  msgstr "Aucune donnée pour le mois sélectionné."
141
 
142
- #: views/reporting.php:195
143
  msgid "Total sum"
144
  msgstr "Total"
145
 
146
  #: views/settings.php:2
147
- msgid "Affilinet Performance Module"
148
- msgstr "Affilinet Performance Module"
 
 
 
 
 
 
149
 
150
- #: views/settings.php:10 views/signup.php:15
151
  msgid "affilinet Country Platform"
152
  msgstr "Plate-forme affilinet"
153
 
154
- #: views/settings.php:14 views/signup.php:19
155
  msgid "Germany"
156
  msgstr "Allemagne"
157
 
158
- #: views/settings.php:15 views/signup.php:21
159
  msgid "United Kingdom"
160
  msgstr "Royaume-Uni"
161
 
162
- #: views/settings.php:16 views/signup.php:23
163
  msgid "France"
164
  msgstr "France"
165
 
166
- #: views/settings.php:17 views/signup.php:25
167
- msgid "Netherlands"
168
- msgstr "Pays-Bas"
169
-
170
- #: views/settings.php:18 views/signup.php:27
171
  msgid "Switzerland"
172
  msgstr "Suisse"
173
 
174
- #: views/settings.php:19 views/signup.php:29
175
  msgid "Austria"
176
  msgstr "Autriche"
177
 
178
- #: views/settings.php:26
179
  msgid "Publisher ID"
180
  msgstr "ID affilié"
181
 
182
- #: views/settings.php:31
183
  msgid "Webservice Password"
184
  msgstr "Mot de passe Webservices"
185
 
186
- #: views/settings.php:141 views/signup.php:46
187
  msgid "Save"
188
  msgstr "Enregistrer"
189
 
@@ -191,7 +259,7 @@ msgstr "Enregistrer"
191
  msgid "Please choose a platform where you want to sign up"
192
  msgstr "Veuillez sélectionner la plate-forme de votre programme."
193
 
194
- #: views/signup.php:43
195
  msgid "Save Platform"
196
  msgstr "Enregistrer la plate-forme"
197
 
@@ -201,6 +269,9 @@ msgid ""
201
  msgstr ""
202
  "https://www.affili.net/htmlcontent/fr/Publishermodules/WordPress/Welcome.html"
203
 
 
 
 
204
  #~ msgid "Affilinet WordPress Advertising & Content Monetization Plugin"
205
  #~ msgstr "Module Wordpress affilinet de monétisation de contenu"
206
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Affilinet Advertising & Content Monetization\n"
4
+ "POT-Creation-Date: 2016-10-25 12:06+0200\n"
5
+ "PO-Revision-Date: 2016-10-25 12:07+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.11\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
+ #: classes/Api.php:35 classes/Api.php:70
22
  msgid ""
23
+ "Could not connect to affilinet API. Please recheck your Webservice Password "
24
  "and Publisher ID"
25
  msgstr ""
26
+ "Nous n'avons pas pu nous connecter à l'API. Veuillez vérifier votre ID "
27
+ "afflié et votre mot de passe Webservices."
28
 
29
+ #: classes/Api.php:66
30
  msgid "No data in selected time frame"
31
  msgstr "Aucune donnée pour la période sélectionnée."
32
 
33
+ #: classes/Api.php:108
34
+ msgid ""
35
+ "Wrong platform selected.<br> It seems like your account is registered to "
36
+ "another country's platform."
37
+ msgstr ""
38
+ "La plate-forme sélectionnée est incorrecte <br> Il semble que votre compte "
39
+ "soit enregistré sur un autre pays."
40
+
41
+ #: classes/Api.php:114
42
+ msgid ""
43
+ "Great, it looks like you already have a partnership with PerformanceAds! "
44
+ "<br> Feel free to start using the plugin right away!"
45
+ msgstr ""
46
+ "Génial ! Vous êtes déjà inscrit sur PerformanceAds ! <br> Vous pouvez "
47
+ "démarrer immédiatement avec le plugin !"
48
+
49
+ #: classes/Api.php:120
50
+ msgid ""
51
+ "Please be aware that in order to earn commission for delivering creatives, a "
52
+ "partnership with the PerformanceAds program is required.<br>Please apply <a "
53
+ "target=\"_blank\" href=\"http://publisher.affili.net/Programs/ProgramInfo."
54
+ "aspx?pid="
55
+ msgstr ""
56
+ "Attention, si vous souhaitez toucher des commissions pour l'affichage des "
57
+ "bannières, vous devez avoir un partenariat avec notre programme Performance "
58
+ "Ads. <br> Postulez <a target=\"_blank\" href=\"http://publisher.affili.net/"
59
+ "Programs/ProgramInfo.aspx?pid="
60
+
61
+ #: classes/Api.php:122
62
+ msgid "\">here</a>. Your partnership will be automatically accepted."
63
+ msgstr "\">dès maintenant</a>, votre partenariat sera automatiquement accepté."
64
+
65
+ #: classes/Api.php:127
66
+ msgid ""
67
+ "Unfortunately your partnership with PerformanceAds has been cancelled, as "
68
+ "your website does not meet our quality standards. <br> For more information "
69
+ "please visit our <a target=\"_blank\" href=\""
70
+ msgstr ""
71
+ "Malheureusement votre partenariat avec Performance Ads a été refusé car "
72
+ "votre site ne remplit pas encore nos critères de qualité. <br> Pour plus "
73
+ "d'informations, rendez-vous sur notre <a target=\"_blank\" href=\""
74
+
75
+ #: classes/Api.php:129
76
+ msgid "\">quality standards page.</a>"
77
+ msgstr "\">page dédiée aux critères de qualité.</a>"
78
+
79
+ #: classes/Api.php:135
80
+ msgid ""
81
+ "Please make sure you have entered the correct PublisherID and Webservice "
82
+ "password."
83
+ msgstr ""
84
+ "Assurez-vous que l'ID affilié et le mot de passe Webservice saisis sont "
85
+ "corrects."
86
+
87
+ #: classes/PerformanceAds.php:55 classes/Yieldkit.php:52
88
  msgid "No publisher ID given"
89
  msgstr "Aucun ID affilié n'est renseigné."
90
 
91
+ #: classes/PerformanceAds.php:58 classes/Yieldkit.php:55
92
  msgid "No platform chosen"
93
  msgstr "Aucune plate-forme n'est sélectionnée."
94
 
95
+ #: classes/PerformanceAds.php:77
96
  msgid ""
97
  "Invalid ad size given. Choose one of \"728x90\",\"300x250\",\"250x250\","
98
  "\"468x60\",\"160x600\",\"120x600\""
100
  "Le format sélectionné est invalide. Choisissez parmi les formats suivants : "
101
  "\"728x90\",\"300x250\",\"250x250\",\"468x60\",\"160x600\",\"120x600\""
102
 
103
+ #: classes/Plugin.php:25
104
+ msgid ""
105
+ "<strong>affilinet Performance Ads:</strong><br> Please make sure you have "
106
+ "entered the correct PublisherID and Webservice password."
107
+ msgstr ""
108
+ "<strong>affilinet Performance Ads:</strong><br> Assurez-vous que l'ID "
109
+ "affilié et le mot de passe Webservice saisis sont corrects."
110
+
111
+ #: classes/Plugin.php:26
112
+ msgid "Check your settings."
113
+ msgstr "Veuillez vérifier le paramétrage."
114
+
115
+ #: classes/Plugin.php:68
116
  msgid "Start"
117
  msgstr "Début"
118
 
119
+ #: classes/Plugin.php:69
120
  msgid "Settings"
121
  msgstr "Réglages"
122
 
123
+ #: classes/Plugin.php:73 views/signup.php:2
124
  msgid "Signup"
125
  msgstr "S'inscrire"
126
 
127
+ #: classes/Plugin.php:76 views/reporting.php:2
128
  msgid "Reporting"
129
  msgstr "Rapports"
130
 
131
+ #: classes/View.php:65 views/reporting.php:113
132
  msgid "Views"
133
  msgstr "Affichages"
134
 
135
+ #: classes/View.php:66 views/reporting.php:115
136
  msgid "Clicks"
137
  msgstr "Clics"
138
 
139
+ #: classes/View.php:69
140
  msgid "Confirmed Commission (€)"
141
  msgstr "Gains confirmés (€)"
142
 
143
+ #: classes/Widget.php:32
144
  msgid "Banner size"
145
  msgstr "Format de bannière"
146
 
165
  msgid "webservice password and publisher ID"
166
  msgstr "mot de passe Webservices et votre ID affilié."
167
 
168
+ #: views/reporting.php:71
169
  msgid "Select month"
170
  msgstr "Sélectionner le mois"
171
 
172
+ #: views/reporting.php:87
173
  msgid "Select year"
174
  msgstr "Sélectionner l'année"
175
 
176
+ #: views/reporting.php:102
177
  msgid "Show report"
178
  msgstr "Afficher le rapport"
179
 
180
+ #: views/reporting.php:111
181
  msgid "Date"
182
  msgstr "Date"
183
 
184
+ #: views/reporting.php:117
185
  msgid "Open SalesLeads"
186
  msgstr "Ventes et leads en attente"
187
 
188
+ #: views/reporting.php:119
189
  msgid "Confirmed SalesLeads"
190
  msgstr "Ventes et leads confirmés"
191
 
192
+ #: views/reporting.php:121
193
  msgid "Declined SalesLeads"
194
  msgstr "Ventes et leads annulés"
195
 
196
+ #: views/reporting.php:123
197
  msgid "Open Commission"
198
  msgstr "Gains en attente"
199
 
200
+ #: views/reporting.php:125
201
  msgid "Confirmed Commission"
202
  msgstr "Gains confirmés"
203
 
204
+ #: views/reporting.php:180
205
  msgid "No data for this month"
206
  msgstr "Aucune donnée pour le mois sélectionné."
207
 
208
+ #: views/reporting.php:188
209
  msgid "Total sum"
210
  msgstr "Total"
211
 
212
  #: views/settings.php:2
213
+ msgid "affilinet Performance Ads"
214
+ msgstr "affilinet Performance Ads"
215
+
216
+ #: views/settings.php:10
217
+ msgid ""
218
+ "The Performance Ads Program will soon be available in Netherlands, too. "
219
+ "Please choose another platform so far."
220
+ msgstr ""
221
 
222
+ #: views/settings.php:25 views/signup.php:15
223
  msgid "affilinet Country Platform"
224
  msgstr "Plate-forme affilinet"
225
 
226
+ #: views/settings.php:29 views/signup.php:19
227
  msgid "Germany"
228
  msgstr "Allemagne"
229
 
230
+ #: views/settings.php:30 views/signup.php:21
231
  msgid "United Kingdom"
232
  msgstr "Royaume-Uni"
233
 
234
+ #: views/settings.php:31 views/signup.php:23
235
  msgid "France"
236
  msgstr "France"
237
 
238
+ #: views/settings.php:33 views/signup.php:31
 
 
 
 
239
  msgid "Switzerland"
240
  msgstr "Suisse"
241
 
242
+ #: views/settings.php:34 views/signup.php:33
243
  msgid "Austria"
244
  msgstr "Autriche"
245
 
246
+ #: views/settings.php:43
247
  msgid "Publisher ID"
248
  msgstr "ID affilié"
249
 
250
+ #: views/settings.php:48 views/settings.php:54
251
  msgid "Webservice Password"
252
  msgstr "Mot de passe Webservices"
253
 
254
+ #: views/settings.php:160 views/signup.php:50
255
  msgid "Save"
256
  msgstr "Enregistrer"
257
 
259
  msgid "Please choose a platform where you want to sign up"
260
  msgstr "Veuillez sélectionner la plate-forme de votre programme."
261
 
262
+ #: views/signup.php:47
263
  msgid "Save Platform"
264
  msgstr "Enregistrer la plate-forme"
265
 
269
  msgstr ""
270
  "https://www.affili.net/htmlcontent/fr/Publishermodules/WordPress/Welcome.html"
271
 
272
+ #~ msgid "Netherlands"
273
+ #~ msgstr "Pays-Bas"
274
+
275
  #~ msgid "Affilinet WordPress Advertising & Content Monetization Plugin"
276
  #~ msgstr "Module Wordpress affilinet de monétisation de contenu"
277
 
languages/affilinet-nl_NL.mo CHANGED
Binary file
languages/affilinet-nl_NL.po CHANGED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Affilinet Advertising & Content Monetization\n"
4
- "POT-Creation-Date: 2015-06-09 16:36+0100\n"
5
- "PO-Revision-Date: 2015-06-09 16:36+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.1\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
@@ -18,7 +18,7 @@ msgstr ""
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
- #: classes/Api.php:27 classes/Api.php:57
22
  msgid ""
23
  "Could not connect to Affilinet API. Please recheck your Webservice Password "
24
  "and Publisher ID"
@@ -26,19 +26,60 @@ msgstr ""
26
  "Kan niet verbinden met de affilinet API. Controleer je Webservice wachtwoord "
27
  "en Publisher ID"
28
 
29
- #: classes/Api.php:54
30
  msgid "No data in selected time frame"
31
  msgstr "Geen data in gekozen tijdsframe"
32
 
33
- #: classes/PerformanceAds.php:49 classes/Yieldkit.php:47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  msgid "No publisher ID given"
35
  msgstr "Geen publisher ID ingevoerd"
36
 
37
- #: classes/PerformanceAds.php:52 classes/Yieldkit.php:50
38
  msgid "No platform chosen"
39
  msgstr "Geen platform gekozen"
40
 
41
- #: classes/PerformanceAds.php:61
42
  msgid ""
43
  "Invalid ad size given. Choose one of \"728x90\",\"300x250\",\"250x250\","
44
  "\"468x60\",\"160x600\",\"120x600\""
@@ -46,35 +87,45 @@ msgstr ""
46
  "Ongeldig advertentieformaat ingevoerd. Kies een van de volgenden: \"728x90\","
47
  "\"300x250\",\"250x250\",\"468x60\",\"160x600\",\"120x600\""
48
 
49
- #: classes/Plugin.php:75
 
 
 
 
 
 
 
 
 
 
50
  msgid "Start"
51
  msgstr "Start"
52
 
53
- #: classes/Plugin.php:76
54
  msgid "Settings"
55
  msgstr "Instellingen"
56
 
57
- #: classes/Plugin.php:77 views/signup.php:2
58
  msgid "Signup"
59
  msgstr "Registreren"
60
 
61
- #: classes/Plugin.php:78 views/reporting.php:2
62
  msgid "Reporting"
63
  msgstr "Rapportage"
64
 
65
- #: classes/View.php:64 views/reporting.php:116
66
  msgid "Views"
67
  msgstr "Views"
68
 
69
- #: classes/View.php:65 views/reporting.php:118
70
  msgid "Clicks"
71
  msgstr "Clicks"
72
 
73
- #: classes/View.php:68
74
  msgid "Confirmed Commission (€)"
75
  msgstr "Bevestigde commissie (€)"
76
 
77
- #: classes/Widget.php:33
78
  msgid "Banner size"
79
  msgstr "Bannerformaat"
80
 
@@ -99,91 +150,94 @@ msgstr "Voer je"
99
  msgid "webservice password and publisher ID"
100
  msgstr "Webservice wachtwoord en publisher ID in"
101
 
102
- #: views/reporting.php:74
103
  msgid "Select month"
104
  msgstr "Selecteer maand"
105
 
106
- #: views/reporting.php:90
107
  msgid "Select year"
108
  msgstr "Selecteer jaar"
109
 
110
- #: views/reporting.php:105
111
  msgid "Show report"
112
  msgstr "Laat rapport zien"
113
 
114
- #: views/reporting.php:114
115
  msgid "Date"
116
  msgstr "Datum"
117
 
118
- #: views/reporting.php:120
119
  msgid "Open SalesLeads"
120
  msgstr "Open Sales/Leads"
121
 
122
- #: views/reporting.php:122
123
  msgid "Confirmed SalesLeads"
124
  msgstr "Bevestigde Sales/Leads"
125
 
126
- #: views/reporting.php:124
127
  msgid "Declined SalesLeads"
128
  msgstr "Afgewezen Sales/Leads"
129
 
130
- #: views/reporting.php:126
131
  msgid "Open Commission"
132
  msgstr "Open commissie"
133
 
134
- #: views/reporting.php:128
135
  msgid "Confirmed Commission"
136
  msgstr "Bevestigde commissie"
137
 
138
- #: views/reporting.php:185
139
  msgid "No data for this month"
140
  msgstr "Geen data voor deze maand"
141
 
142
- #: views/reporting.php:195
143
  msgid "Total sum"
144
  msgstr "Totaal"
145
 
146
  #: views/settings.php:2
147
- msgid "Affilinet Performance Module"
 
148
  msgstr "Affilinet Performance Module"
149
 
150
- #: views/settings.php:10 views/signup.php:15
 
 
 
 
 
 
151
  msgid "affilinet Country Platform"
152
  msgstr "affilinet landenplatform"
153
 
154
- #: views/settings.php:14 views/signup.php:19
155
  msgid "Germany"
156
  msgstr "Duitsland"
157
 
158
- #: views/settings.php:15 views/signup.php:21
159
  msgid "United Kingdom"
160
  msgstr "Verenigd Koninkrijk"
161
 
162
- #: views/settings.php:16 views/signup.php:23
163
  msgid "France"
164
  msgstr "Frankrijk"
165
 
166
- #: views/settings.php:17 views/signup.php:25
167
- msgid "Netherlands"
168
- msgstr "Nederland"
169
-
170
- #: views/settings.php:18 views/signup.php:27
171
  msgid "Switzerland"
172
  msgstr "Zwitserland"
173
 
174
- #: views/settings.php:19 views/signup.php:29
175
  msgid "Austria"
176
  msgstr "Oostenrijk"
177
 
178
- #: views/settings.php:26
179
  msgid "Publisher ID"
180
  msgstr "Publisher ID"
181
 
182
- #: views/settings.php:31
183
  msgid "Webservice Password"
184
  msgstr "Webservice wachtwoord"
185
 
186
- #: views/settings.php:141 views/signup.php:46
187
  msgid "Save"
188
  msgstr "Opslaan"
189
 
@@ -191,7 +245,7 @@ msgstr "Opslaan"
191
  msgid "Please choose a platform where you want to sign up"
192
  msgstr "Kies het platform waarop jij je wilt inschrijven"
193
 
194
- #: views/signup.php:43
195
  msgid "Save Platform"
196
  msgstr "Platform opslaan"
197
 
@@ -201,6 +255,9 @@ msgid ""
201
  msgstr ""
202
  "https://www.affili.net/htmlcontent/fr/Publishermodules/WordPress/Welcome.html"
203
 
 
 
 
204
  #~ msgid "Affilinet WordPress Advertising & Content Monetization Plugin"
205
  #~ msgstr "affilinet WordPress Advertentie & Content Monetization plugin"
206
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Affilinet Advertising & Content Monetization\n"
4
+ "POT-Creation-Date: 2016-10-24 16:05+0200\n"
5
+ "PO-Revision-Date: 2016-10-24 16:05+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.11\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
+ #: classes/Api.php:35 classes/Api.php:70
22
  msgid ""
23
  "Could not connect to Affilinet API. Please recheck your Webservice Password "
24
  "and Publisher ID"
26
  "Kan niet verbinden met de affilinet API. Controleer je Webservice wachtwoord "
27
  "en Publisher ID"
28
 
29
+ #: classes/Api.php:66
30
  msgid "No data in selected time frame"
31
  msgstr "Geen data in gekozen tijdsframe"
32
 
33
+ #: classes/Api.php:108
34
+ msgid ""
35
+ "Wrong platform selected.<br> It seems like your account is registered to "
36
+ "another country's platform."
37
+ msgstr ""
38
+
39
+ #: classes/Api.php:113
40
+ msgid ""
41
+ "Great, it looks like you already have a partnership with PerformanceAds! "
42
+ "<br> Feel free to start using the plugin right away!"
43
+ msgstr ""
44
+
45
+ #: classes/Api.php:119
46
+ msgid ""
47
+ "Please be aware that in order to earn commission for delivering creatives, a "
48
+ "partnership with the PerformanceAds program is required.<br>Please apply <a "
49
+ "target=\"_blank\" href=\"http://publisher.affili.net/Programs/ProgramInfo."
50
+ "aspx?pid="
51
+ msgstr ""
52
+
53
+ #: classes/Api.php:121
54
+ msgid "\">here</a>. Your partnership will be automatically accepted."
55
+ msgstr ""
56
+
57
+ #: classes/Api.php:126
58
+ msgid ""
59
+ "Unfortunately your partnership with PerformanceAds has been cancelled, as "
60
+ "your website does not meet our quality standards. <br> For more information "
61
+ "please visit our <a target=\"_blank\" href=\""
62
+ msgstr ""
63
+
64
+ #: classes/Api.php:128
65
+ msgid "\">quality standards page.</a>"
66
+ msgstr ""
67
+
68
+ #: classes/Api.php:134
69
+ msgid ""
70
+ "Please make sure you have entered the correct PublisherID and Webservice "
71
+ "password. Check your settings."
72
+ msgstr ""
73
+
74
+ #: classes/PerformanceAds.php:55 classes/Yieldkit.php:52
75
  msgid "No publisher ID given"
76
  msgstr "Geen publisher ID ingevoerd"
77
 
78
+ #: classes/PerformanceAds.php:58 classes/Yieldkit.php:55
79
  msgid "No platform chosen"
80
  msgstr "Geen platform gekozen"
81
 
82
+ #: classes/PerformanceAds.php:77
83
  msgid ""
84
  "Invalid ad size given. Choose one of \"728x90\",\"300x250\",\"250x250\","
85
  "\"468x60\",\"160x600\",\"120x600\""
87
  "Ongeldig advertentieformaat ingevoerd. Kies een van de volgenden: \"728x90\","
88
  "\"300x250\",\"250x250\",\"468x60\",\"160x600\",\"120x600\""
89
 
90
+ #: classes/Plugin.php:25
91
+ msgid ""
92
+ "<strong>affilinet Performance Ads:</strong><br> Please make sure you have "
93
+ "entered the correct PublisherID and Webservice password."
94
+ msgstr ""
95
+
96
+ #: classes/Plugin.php:26
97
+ msgid "Check your settings."
98
+ msgstr ""
99
+
100
+ #: classes/Plugin.php:68
101
  msgid "Start"
102
  msgstr "Start"
103
 
104
+ #: classes/Plugin.php:69
105
  msgid "Settings"
106
  msgstr "Instellingen"
107
 
108
+ #: classes/Plugin.php:73 views/signup.php:2
109
  msgid "Signup"
110
  msgstr "Registreren"
111
 
112
+ #: classes/Plugin.php:76 views/reporting.php:2
113
  msgid "Reporting"
114
  msgstr "Rapportage"
115
 
116
+ #: classes/View.php:65 views/reporting.php:113
117
  msgid "Views"
118
  msgstr "Views"
119
 
120
+ #: classes/View.php:66 views/reporting.php:115
121
  msgid "Clicks"
122
  msgstr "Clicks"
123
 
124
+ #: classes/View.php:69
125
  msgid "Confirmed Commission (€)"
126
  msgstr "Bevestigde commissie (€)"
127
 
128
+ #: classes/Widget.php:32
129
  msgid "Banner size"
130
  msgstr "Bannerformaat"
131
 
150
  msgid "webservice password and publisher ID"
151
  msgstr "Webservice wachtwoord en publisher ID in"
152
 
153
+ #: views/reporting.php:71
154
  msgid "Select month"
155
  msgstr "Selecteer maand"
156
 
157
+ #: views/reporting.php:87
158
  msgid "Select year"
159
  msgstr "Selecteer jaar"
160
 
161
+ #: views/reporting.php:102
162
  msgid "Show report"
163
  msgstr "Laat rapport zien"
164
 
165
+ #: views/reporting.php:111
166
  msgid "Date"
167
  msgstr "Datum"
168
 
169
+ #: views/reporting.php:117
170
  msgid "Open SalesLeads"
171
  msgstr "Open Sales/Leads"
172
 
173
+ #: views/reporting.php:119
174
  msgid "Confirmed SalesLeads"
175
  msgstr "Bevestigde Sales/Leads"
176
 
177
+ #: views/reporting.php:121
178
  msgid "Declined SalesLeads"
179
  msgstr "Afgewezen Sales/Leads"
180
 
181
+ #: views/reporting.php:123
182
  msgid "Open Commission"
183
  msgstr "Open commissie"
184
 
185
+ #: views/reporting.php:125
186
  msgid "Confirmed Commission"
187
  msgstr "Bevestigde commissie"
188
 
189
+ #: views/reporting.php:180
190
  msgid "No data for this month"
191
  msgstr "Geen data voor deze maand"
192
 
193
+ #: views/reporting.php:188
194
  msgid "Total sum"
195
  msgstr "Totaal"
196
 
197
  #: views/settings.php:2
198
+ #, fuzzy
199
+ msgid "Affilinet Performance Ads"
200
  msgstr "Affilinet Performance Module"
201
 
202
+ #: views/settings.php:10
203
+ msgid ""
204
+ "The Performance Ads Program will soon be available in Netherlands, too. "
205
+ "Please choose another platform so far."
206
+ msgstr ""
207
+
208
+ #: views/settings.php:25 views/signup.php:15
209
  msgid "affilinet Country Platform"
210
  msgstr "affilinet landenplatform"
211
 
212
+ #: views/settings.php:29 views/signup.php:19
213
  msgid "Germany"
214
  msgstr "Duitsland"
215
 
216
+ #: views/settings.php:30 views/signup.php:21
217
  msgid "United Kingdom"
218
  msgstr "Verenigd Koninkrijk"
219
 
220
+ #: views/settings.php:31 views/signup.php:23
221
  msgid "France"
222
  msgstr "Frankrijk"
223
 
224
+ #: views/settings.php:33 views/signup.php:31
 
 
 
 
225
  msgid "Switzerland"
226
  msgstr "Zwitserland"
227
 
228
+ #: views/settings.php:34 views/signup.php:33
229
  msgid "Austria"
230
  msgstr "Oostenrijk"
231
 
232
+ #: views/settings.php:43
233
  msgid "Publisher ID"
234
  msgstr "Publisher ID"
235
 
236
+ #: views/settings.php:48 views/settings.php:54
237
  msgid "Webservice Password"
238
  msgstr "Webservice wachtwoord"
239
 
240
+ #: views/settings.php:160 views/signup.php:50
241
  msgid "Save"
242
  msgstr "Opslaan"
243
 
245
  msgid "Please choose a platform where you want to sign up"
246
  msgstr "Kies het platform waarop jij je wilt inschrijven"
247
 
248
+ #: views/signup.php:47
249
  msgid "Save Platform"
250
  msgstr "Platform opslaan"
251
 
255
  msgstr ""
256
  "https://www.affili.net/htmlcontent/fr/Publishermodules/WordPress/Welcome.html"
257
 
258
+ #~ msgid "Netherlands"
259
+ #~ msgstr "Nederland"
260
+
261
  #~ msgid "Affilinet WordPress Advertising & Content Monetization Plugin"
262
  #~ msgstr "affilinet WordPress Advertentie & Content Monetization plugin"
263
 
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
- === Affilinet Performance Ads ===
2
- Contributors: Affilinet, teraone
3
  Tags: affiliate marketing, online marketing, performance marketing, marketing, advertisement, advertising, advertise, affilinet, Affiliate, performance, Display, earn money, monetization, monetize, Monetarisierung, performance, Vermarktung, Banner, Geld verdienen, werbeintegration, Werbung
4
  Requires at least: 3.0.1
5
- Tested up to: 4.5
6
- Stable tag: 1.8.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -53,7 +53,7 @@ Profitez des avantages de notre nouvelle technologie publicitaire! Diffusez en t
53
  You can download the Plugin from Wordpress Plugin repository or install manually
54
 
55
  = Install from Wordpress Plugin repository =
56
- 1. Search for 'Affilinet Performance Ads'
57
  2. Click on 'Install' and activate the plugin
58
  3. Don't forget to enter your Publisher ID
59
 
@@ -65,7 +65,7 @@ You can download the Plugin from Wordpress Plugin repository or install manually
65
 
66
 
67
 
68
- After installing the affilinet Performance Ads Plugin, a new "Affilinet" sub-menu will appear in the main WordPress Admin menu.
69
 
70
  = Required settings =
71
  1. Click the Settings link and select the affilinet office you will be working with, click save
@@ -74,7 +74,7 @@ After installing the affilinet Performance Ads Plugin, a new "Affilinet" sub-men
74
  4. Login to the [affilinet publisher platform](https://publisher.affili.net/) using your publisher ID and the password entered into the sign-up form
75
  5. Use the main navigation in the following steps: Solutions > Web Services > Access data to reach the page where you aquire your Publisher Web Service password
76
 
77
- [Screenshot Affilinet Publisher Portal](http://plugins.svn.wordpress.org/affilinet-performance-module/assets/affilinet_Publisher_Portal.png "Affilinet Publisher Portal")
78
 
79
  Click the Acquire password button and wait for the token to be loaded as shown [here](http://plugins.svn.wordpress.org/affilinet-performance-module/assets/affilinet_Publisher_Portal_2.png "Affilinet Publisher Portal")
80
 
@@ -102,6 +102,11 @@ It may take up to 90 minutes for ads to show, additionally all publisher account
102
 
103
  == Changelog ==
104
 
 
 
 
 
 
105
  = 1.8.2 =
106
  * Release Date: July 25, 2016
107
  * Supporting pages under https
1
+ === affilinet Performance Ads ===
2
+ Contributors: affilinet, teraone
3
  Tags: affiliate marketing, online marketing, performance marketing, marketing, advertisement, advertising, advertise, affilinet, Affiliate, performance, Display, earn money, monetization, monetize, Monetarisierung, performance, Vermarktung, Banner, Geld verdienen, werbeintegration, Werbung
4
  Requires at least: 3.0.1
5
+ Tested up to: 4.6
6
+ Stable tag: 1.8.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
53
  You can download the Plugin from Wordpress Plugin repository or install manually
54
 
55
  = Install from Wordpress Plugin repository =
56
+ 1. Search for 'affilinet Performance Ads'
57
  2. Click on 'Install' and activate the plugin
58
  3. Don't forget to enter your Publisher ID
59
 
65
 
66
 
67
 
68
+ After installing the affilinet Performance Ads Plugin, a new "affilinet" sub-menu will appear in the main WordPress Admin menu.
69
 
70
  = Required settings =
71
  1. Click the Settings link and select the affilinet office you will be working with, click save
74
  4. Login to the [affilinet publisher platform](https://publisher.affili.net/) using your publisher ID and the password entered into the sign-up form
75
  5. Use the main navigation in the following steps: Solutions > Web Services > Access data to reach the page where you aquire your Publisher Web Service password
76
 
77
+ [Screenshot affilinet Publisher Portal](http://plugins.svn.wordpress.org/affilinet-performance-module/assets/affilinet_Publisher_Portal.png "Affilinet Publisher Portal")
78
 
79
  Click the Acquire password button and wait for the token to be loaded as shown [here](http://plugins.svn.wordpress.org/affilinet-performance-module/assets/affilinet_Publisher_Portal_2.png "Affilinet Publisher Portal")
80
 
102
 
103
  == Changelog ==
104
 
105
+ = 1.8.3 =
106
+ * Release Date: October 24, 2016
107
+ * Enhances Error messages on login page
108
+ * Mobile ad sizes (country platform dependent)
109
+
110
  = 1.8.2 =
111
  * Release Date: July 25, 2016
112
  * Supporting pages under https
uninstall.php CHANGED
@@ -11,6 +11,7 @@ delete_option( 'affilinet_platform' );
11
  delete_option( 'affilinet_publisher_id' );
12
  delete_option( 'affilinet_standard_webservice_password' );
13
  delete_option( 'affilinet_product_data_webservice_password' );
 
14
 
15
  delete_option( 'affilinet_text_monetization' );
16
  delete_option( 'affilinet_link_replacement' );
@@ -31,6 +32,7 @@ unregister_setting( 'affilinet-settings-group', 'affilinet_platform' );
31
  unregister_setting( 'affilinet-settings-group', 'affilinet_publisher_id' );
32
  unregister_setting( 'affilinet-settings-group', 'affilinet_standard_webservice_password' );
33
  unregister_setting( 'affilinet-settings-group', 'affilinet_product_data_webservice_password' );
 
34
 
35
  unregister_setting('affilinet-settings-group', 'affilinet_text_monetization');
36
  unregister_setting('affilinet-settings-group', 'affilinet_link_replacement');
11
  delete_option( 'affilinet_publisher_id' );
12
  delete_option( 'affilinet_standard_webservice_password' );
13
  delete_option( 'affilinet_product_data_webservice_password' );
14
+ delete_option( 'affilinet_webservice_login_is_correct' );
15
 
16
  delete_option( 'affilinet_text_monetization' );
17
  delete_option( 'affilinet_link_replacement' );
32
  unregister_setting( 'affilinet-settings-group', 'affilinet_publisher_id' );
33
  unregister_setting( 'affilinet-settings-group', 'affilinet_standard_webservice_password' );
34
  unregister_setting( 'affilinet-settings-group', 'affilinet_product_data_webservice_password' );
35
+ unregister_setting( 'affilinet-settings-group', 'affilinet_webservice_login_is_correct' );
36
 
37
  unregister_setting('affilinet-settings-group', 'affilinet_text_monetization');
38
  unregister_setting('affilinet-settings-group', 'affilinet_link_replacement');
views/settings.php CHANGED
@@ -1,11 +1,10 @@
1
  <div class="wrap">
2
- <h2><?php _e( 'Affilinet Performance Ads', 'affilinet' ) ?></h2>
3
 
4
  <?php
5
 
6
- if ( isset($_GET['settings-updated']) && ($_GET['settings-updated']== true ) && $_GET['page'] == 'affilinet_settings') {
7
- add_settings_error('affilinet-settings-group', 'settings_updated', __('Settings saved.'), 'updated');
8
- }
9
 
10
  if (get_option('affilinet_platform') == 4 ) {
11
  add_settings_error('affilinet-settings-group', 'invalid_platform', __('The Performance Ads Program will soon be available in Netherlands, too. Please choose another platform so far.'), 'error');
@@ -15,7 +14,11 @@
15
 
16
  <form method="post" action="options.php">
17
  <?php settings_fields( 'affilinet-settings-group' ); ?>
18
- <?php do_settings_sections( 'affilinet-settings-group' ); ?>
 
 
 
 
19
  <table class="form-table">
20
  <tr valign="top">
21
  <th scope="row"><label for="affilinet_platform"></label>
1
  <div class="wrap">
2
+ <h2><?php _e( 'affilinet Performance Ads', 'affilinet' ) ?></h2>
3
 
4
  <?php
5
 
6
+ Affilinet_Api::checkPartnershipStatus();
7
+
 
8
 
9
  if (get_option('affilinet_platform') == 4 ) {
10
  add_settings_error('affilinet-settings-group', 'invalid_platform', __('The Performance Ads Program will soon be available in Netherlands, too. Please choose another platform so far.'), 'error');
14
 
15
  <form method="post" action="options.php">
16
  <?php settings_fields( 'affilinet-settings-group' ); ?>
17
+ <?php do_settings_sections( 'affilinet-settings-group' );
18
+
19
+
20
+
21
+ ?>
22
  <table class="form-table">
23
  <tr valign="top">
24
  <th scope="row"><label for="affilinet_platform"></label>
views/signup.php CHANGED
@@ -70,7 +70,7 @@
70
  $link = 'https://modules.affili.net/Signup/' .
71
  $programId . '?language=' . $shortLocale .
72
  '&platform=' . $platformId .
73
- '&referrer=WordPress-' . $wp_version . '-LTPlugin';
74
  ?>
75
  <style type="text/css" scoped="scoped">
76
  html {
70
  $link = 'https://modules.affili.net/Signup/' .
71
  $programId . '?language=' . $shortLocale .
72
  '&platform=' . $platformId .
73
+ '&referer=WordPress-' . $wp_version . '-LTPlugin';
74
  ?>
75
  <style type="text/css" scoped="scoped">
76
  html {