Yandex Metrica - Version 1.1.2

Version Description

Download this release

Release Info

Developer m_uysl
Plugin Icon 128x128 Yandex Metrica
Version 1.1.2
Comparing to
See all releases

Code changes from version 1.1.1 to 1.1.2

README.md DELETED
@@ -1,107 +0,0 @@
1
- # Yandex Metrica #
2
-
3
- Contributors: [m_uysl](https://github.com/mustafauysal/)
4
- Tags: yandex,metrica,stats,statistics,tools,analytics,analytics tool,metrika
5
- Requires at least: 3.0
6
- Tested up to: 4.1.1
7
- Stable tag: 1.1.1
8
- License: GPLv2 (or later)
9
-
10
- Easy way to use Yandex Metrica in your WordPress site.
11
-
12
- ## Description ##
13
-
14
- Best Metrica plugin for the using Yandex Metrica in your WordPress site.
15
-
16
- ### What is Metrica ###
17
-
18
- Metrica is an analytics tool like as google analytics.If you didn't hear metrica yet, you can [check official metrica](http://metrica.yandex.com/) page.
19
-
20
-
21
- ### Features ###
22
-
23
- - Easy to manage counter's tracking options.
24
- - Role based user tracking
25
- - Dashboard widget that displaying metrica graphic, summary of site usage, top pages etc..
26
- - Role based user access for the displaying dashboard widget
27
- - Basic mode ready! If you don't want to give API access, you can try basic mode.
28
- - i18n support: Completely translation ready!
29
-
30
-
31
- ### Translations ###
32
-
33
- * English (en\_US), built-in
34
- * Turkish (tr\_TR), native support
35
-
36
- ## Installation ##
37
-
38
- Extract the zip file and just drop the contents in the `wp-content/plugins/` directory of your WordPress installation and then activate the Plugin from admin's Plugins page.
39
-
40
- ## Frequently Asked Questions ##
41
-
42
- * What is metrica?
43
- - Metrica is a powerful analytics tool that provided by Yandex.
44
- * Is it free?
45
- - Definitely, metrica service and this plugin totally free.
46
- * Can I see statistics on the WordPress dashboard?
47
- - Yes, version 1.0 or higher versions support dashboard widget. But you need to use advanced mode. (Because this feature needs API access)
48
- * I can see dashboard widget but no graph?
49
- - If your counter hasn't any visitors or visits value it could be empty, but probably your counter not working correctly, Check counter status from official metrica site.
50
- * Localization issue?
51
- - Yandex Metrica plugin is using native WordPress localization of the some piece of code. For example date, user roles etc...
52
- * Everything done, but metrica service doesn't work for me?
53
- - Yandex Metrica plugin uses wp_footer hook for the adds necessary trancking code. Please, check your theme has wp_footer hook?
54
-
55
- ## Screenshots ##
56
-
57
- 1. Select mode, basic mode for who don't want to use metrica api. But advanced mode recommended!
58
- 2. Displaying graph with metrica results.
59
- 3. Settings page.
60
-
61
- ## Changelog ##
62
-
63
- #### 1.1.1 ####
64
- - Dashboard widget daily order fixed
65
-
66
- ### 1.1 ###
67
- - Dashboard widget UI improvements
68
- - Bug fixes
69
-
70
- #### 1.0.2 ####
71
- - Capability checking before display temporary dashboard widget
72
-
73
- #### 1.0.1 ####
74
- - Closure function removed
75
- - Typo fix
76
-
77
- ### 1.0 ###
78
- - Metrica API integration
79
- - Backward compatibility mode
80
- - Tracking by user role
81
- - Dashboard widget
82
- - New widget, informer widget still exist
83
- - Better localization
84
- - Performance improvements
85
- - Special thanks to Yandex Team for all support.
86
-
87
- #### 0.1.3 ####
88
-
89
- - Minor bug fixes
90
-
91
- #### 0.1.2 ####
92
-
93
- - Bug fix - about options
94
-
95
- #### 0.1.1 ####
96
-
97
- - bug fix - header output
98
-
99
- #### 0.1 ####
100
-
101
- - Initial release.
102
-
103
- ## Upgrade Notice ##
104
-
105
- ### 1.0 ###
106
-
107
- Including major changes, recommended update!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/yandex_metrica-ru_RU.mo ADDED
Binary file
languages/yandex_metrica-ru_RU.po ADDED
@@ -0,0 +1,345 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Yandex Metrica 1.x\n"
4
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yandex-metrica\n"
5
+ "POT-Creation-Date: 2015-11-22 17:06:56+00:00\n"
6
+ "PO-Revision-Date: 2015-11-22 19:19+0200\n"
7
+ "Last-Translator: Mustafa Uysal <mustafa@lettoblog.com>\n"
8
+ "Language-Team: \n"
9
+ "Language: ru\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.6.7\n"
14
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_n:1,2;_n_noop:1,2\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
17
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "X-Poedit-SourceCharset: UTF-8\n"
19
+ "X-Poedit-SearchPath-0: ..\n"
20
+
21
+ #: libs/widget.php:27
22
+ msgid "Display statistics within selected period."
23
+ msgstr "Показать статистику для выбранного периода"
24
+
25
+ #: libs/widget.php:55
26
+ msgid "<h3>Metrica statistics for %s </h3>"
27
+ msgstr "<h3>Статистика Метрики для %s </h3>"
28
+
29
+ #: libs/widget.php:66
30
+ msgid "Page Views: <b>%d</b> <br/>"
31
+ msgstr "Просмотры страниц: <b>%d</b> <br/>"
32
+
33
+ #: libs/widget.php:68
34
+ msgid "Visits: <b>%d</b> </br>"
35
+ msgstr "Визиты: <b>%d</b> </br>"
36
+
37
+ #: libs/widget.php:70
38
+ msgid "Visitors: <b>%d</b> </br>"
39
+ msgstr "Посетители: <b>%d</b> </br>"
40
+
41
+ #: libs/widget.php:85
42
+ msgid "Title:"
43
+ msgstr "Заголовок"
44
+
45
+ #: libs/widget.php:89
46
+ msgid "Statistics for:"
47
+ msgstr "Статистика за:"
48
+
49
+ #: libs/widget.php:91
50
+ msgid "Today"
51
+ msgstr "сегодня"
52
+
53
+ #: libs/widget.php:92
54
+ msgid "Week"
55
+ msgstr "неделю"
56
+
57
+ #: libs/widget.php:93
58
+ msgid "Month"
59
+ msgstr "месяц"
60
+
61
+ #: libs/widget.php:97
62
+ msgid "Show Pageview"
63
+ msgstr "Показать просмотры страниц"
64
+
65
+ #: libs/widget.php:99
66
+ msgid "Show Visits"
67
+ msgstr "Показать посещения"
68
+
69
+ #: libs/widget.php:101
70
+ msgid "Show Visitors"
71
+ msgstr "Показать посетителей"
72
+
73
+ #: templates/dashboard-charts-js.php:10
74
+ msgid "Metrica Traffic"
75
+ msgstr "Трафик Метрики"
76
+
77
+ #: templates/dashboard-charts-js.php:16
78
+ msgid "Source"
79
+ msgstr "Источник"
80
+
81
+ #: templates/dashboard-charts-js.php:38 templates/dashboard-charts-js.php:52
82
+ #: templates/dashboard-widget.php:20
83
+ msgid "Visits"
84
+ msgstr "Посещения"
85
+
86
+ #: templates/dashboard-charts-js.php:60
87
+ msgid "Unique"
88
+ msgstr "Уникальные"
89
+
90
+ #: templates/dashboard-widget.php:5
91
+ msgid "Daily"
92
+ msgstr "по дням"
93
+
94
+ #: templates/dashboard-widget.php:8
95
+ msgid "Weekly"
96
+ msgstr "по неделям"
97
+
98
+ #: templates/dashboard-widget.php:9
99
+ msgid "Monthly"
100
+ msgstr "по месяцам"
101
+
102
+ #: templates/dashboard-widget.php:16
103
+ msgid "Site Usage"
104
+ msgstr "Использование сайта"
105
+
106
+ #: templates/dashboard-widget.php:27 templates/dashboard-widget.php:39
107
+ #: templates/dashboard-widget.php:54 templates/dashboard-widget.php:65
108
+ #: templates/dashboard-widget.php:80 templates/dashboard-widget.php:92
109
+ #: templates/dashboard-widget.php:117 templates/dashboard-widget.php:139
110
+ #: templates/dashboard-widget.php:161
111
+ msgid "None"
112
+ msgstr "Нет"
113
+
114
+ #: templates/dashboard-widget.php:32
115
+ msgid "New Visitors"
116
+ msgstr "Новые посетители"
117
+
118
+ #: templates/dashboard-widget.php:48
119
+ msgid "Page Views"
120
+ msgstr "Просмотры страниц"
121
+
122
+ #: templates/dashboard-widget.php:59
123
+ msgid "Session depth"
124
+ msgstr "Глубина сессии"
125
+
126
+ #: templates/dashboard-widget.php:74
127
+ msgid "Visitors"
128
+ msgstr "Посетители"
129
+
130
+ #: templates/dashboard-widget.php:85
131
+ msgid "Avg. Time on Site"
132
+ msgstr "Среднее время на сайте"
133
+
134
+ #: templates/dashboard-widget.php:105
135
+ msgid "Popular Pages"
136
+ msgstr "Популярные страницы"
137
+
138
+ #: templates/dashboard-widget.php:113
139
+ msgid "%d View"
140
+ msgid_plural "%d Views"
141
+ msgstr[0] "%d просмотр"
142
+ msgstr[1] "%d просмотра"
143
+ msgstr[2] "%d просмотров"
144
+
145
+ #: templates/dashboard-widget.php:127
146
+ msgid "Top Referrers"
147
+ msgstr "Основные источники"
148
+
149
+ #: templates/dashboard-widget.php:135 templates/dashboard-widget.php:157
150
+ msgid "%d Visit"
151
+ msgid_plural "%d Visits"
152
+ msgstr[0] "%d посещение"
153
+ msgstr[1] "%d посещения"
154
+ msgstr[2] "%d посещений"
155
+
156
+ #: templates/dashboard-widget.php:150
157
+ msgid "Search Terms"
158
+ msgstr "Поисковые запросы"
159
+
160
+ #: templates/settings.php:8
161
+ msgid "Successfully connected to Yandex Server"
162
+ msgstr "Успешное соединение с сервером Яндекса"
163
+
164
+ #: templates/settings.php:11
165
+ msgid "Something went wrong. Please check your confirmation code!"
166
+ msgstr "Что-то пошло не так! Пожалуйста, проверьте ваш код подтверждения!"
167
+
168
+ #: templates/settings.php:33
169
+ msgid "Options Saved!"
170
+ msgstr "Параметры сохранены!"
171
+
172
+ #: templates/settings.php:36
173
+ msgid "Please enter a valid counter code!"
174
+ msgstr "Пожалуйста, введите правильный код счетчика!"
175
+
176
+ #: templates/settings.php:49
177
+ msgid "All options cleared!"
178
+ msgstr "Все параметры очищены!"
179
+
180
+ #. Plugin Name of the plugin/theme
181
+ #: templates/settings.php:59 yandex-metrica.php:85
182
+ msgid "Yandex Metrica"
183
+ msgstr "Яндекс Метрика"
184
+
185
+ #: templates/settings.php:62
186
+ msgid ""
187
+ "You need sign in to Yandex and grant this plugin access to your Yandex "
188
+ "Metrica account."
189
+ msgstr ""
190
+ "Вам нужно войти в ваш аккаунт в Яндекс Метрике и дать плагину право доступа "
191
+ "к вашему аккаунту."
192
+
193
+ #: templates/settings.php:63
194
+ msgid "https://oauth.yandex.com/"
195
+ msgstr "https://oauth.yandex.ru/"
196
+
197
+ #: templates/settings.php:64
198
+ msgid "Click here to getting confirmation code"
199
+ msgstr "Нажмите сюда для получения кода подтверждения"
200
+
201
+ #: templates/settings.php:68
202
+ msgid "Enter Confirmation code here"
203
+ msgstr "Введите код подтверждения здесь"
204
+
205
+ #: templates/settings.php:69 templates/settings.php:172
206
+ msgid "Save"
207
+ msgstr "Сохранить"
208
+
209
+ #: templates/settings.php:73
210
+ msgid "If you don't want to use API, you can use basic mode."
211
+ msgstr ""
212
+ "Если Вы не хотите использовать API, то Вы можете использовать обычный режим."
213
+
214
+ #: templates/settings.php:74
215
+ msgid "Basic Mode (Compatible with Backward)"
216
+ msgstr "Обычный режим (обратно совместимый)"
217
+
218
+ #: templates/settings.php:80
219
+ msgid "Counter:"
220
+ msgstr "Счётчик:"
221
+
222
+ #: templates/settings.php:87
223
+ msgid "Temporary, getting connectivity problem.!"
224
+ msgstr "Временная проблема с подключением!"
225
+
226
+ #: templates/settings.php:92
227
+ msgid "Enter counter number"
228
+ msgstr "Введите код счётчика"
229
+
230
+ #: templates/settings.php:95
231
+ msgid "Tracking Settings"
232
+ msgstr "Настройки отслеживания"
233
+
234
+ #: templates/settings.php:103
235
+ msgid "Select tracking options"
236
+ msgstr "Выберите настройки отслеживания"
237
+
238
+ #: templates/settings.php:106
239
+ msgid "Webvisor"
240
+ msgstr "Вебвизор"
241
+
242
+ #: templates/settings.php:108
243
+ msgid "Track Clickmap"
244
+ msgstr "Отслеживание карты кликов"
245
+
246
+ #: templates/settings.php:110
247
+ msgid "Track Links, social sharing, file requests..."
248
+ msgstr "Отслеживание ссылок, социальных факторов, файловых запросов.."
249
+
250
+ #: templates/settings.php:112
251
+ msgid "Accurate Track Bounce"
252
+ msgstr "Точный учет отказов"
253
+
254
+ #: templates/settings.php:119
255
+ msgid "Track logged in users"
256
+ msgstr "Отслеживание авторизованных пользователей"
257
+
258
+ #: templates/settings.php:123
259
+ msgid "Yes"
260
+ msgstr "Да"
261
+
262
+ #: templates/settings.php:124
263
+ msgid "No"
264
+ msgstr "Нет"
265
+
266
+ #: templates/settings.php:131
267
+ msgid "User roles to not track"
268
+ msgstr "Не отслеживаемые роли пользователей"
269
+
270
+ #: templates/settings.php:144
271
+ msgid ""
272
+ "If a user is logged into with one of these roles, they won't track by "
273
+ "metrica."
274
+ msgstr ""
275
+ "Если у пользователя имеется одна из этих ролей, то он не будет отслеживаться "
276
+ "Метрикой"
277
+
278
+ #: templates/settings.php:150
279
+ msgid "User roles to display dashboard widget"
280
+ msgstr ""
281
+ "Роли пользователей, для которых отображается виджет в панели управления."
282
+
283
+ #: templates/settings.php:164
284
+ msgid "Selected roles can display metrica statistic on the dashboard."
285
+ msgstr "Выбранные роли могут показывать статистику Метрики в панели управленя."
286
+
287
+ #: templates/settings.php:173
288
+ msgid "Reset"
289
+ msgstr "Сбросить"
290
+
291
+ #: yandex-metrica.php:122
292
+ msgid "You do not have sufficient permissions to access this page."
293
+ msgstr "У вас недостаточно прав для доступа к этой странице."
294
+
295
+ #: yandex-metrica.php:135 yandex-metrica.php:138
296
+ msgid "Metrica Statistics"
297
+ msgstr "Статистика Метрики"
298
+
299
+ #: yandex-metrica.php:145
300
+ msgid "Oh no! There is nothing to display. Here Are the Possible Causes"
301
+ msgstr "Нет элементов для отображения. Возможно причина в следующем"
302
+
303
+ #: yandex-metrica.php:146
304
+ msgid ""
305
+ "If selected a new counter (recently created), please give a few hours for "
306
+ "verification. Please be patient."
307
+ msgstr ""
308
+ "Если выбран новый счётчик (недавно созданный), будьте терпеливы и подождите "
309
+ "несколько часов, пока пройдет процесс верификации."
310
+
311
+ #: yandex-metrica.php:147
312
+ msgid ""
313
+ "Did you save options? You need to save options at least once after account "
314
+ "confirmation."
315
+ msgstr ""
316
+ "Вы сохранили параметры? Вам нужно сохранить нужные параметры хотя бы раз "
317
+ "после подтверждения аккаунта."
318
+
319
+ #: yandex-metrica.php:148
320
+ msgid "Are you sure you selected the correct counter? Please confirm."
321
+ msgstr "Вы уверены, что выбрали правильный счетчик? Пожалуйста, подтвердите."
322
+
323
+ #: yandex-metrica.php:149
324
+ msgid "Temporary, connectivity problem!"
325
+ msgstr "Временная проблема с подключением!"
326
+
327
+ #: yandex-metrica.php:167
328
+ msgid "View Full Report"
329
+ msgstr "Посмотреть полный отчёт"
330
+
331
+ #. Plugin URI of the plugin/theme
332
+ msgid "http://uysalmustafa.com/plugins/yandex-metrica"
333
+ msgstr ""
334
+
335
+ #. Description of the plugin/theme
336
+ msgid "Best metrica plugin for the use Yandex Metrica in your WordPress site."
337
+ msgstr "Лучший плагин для использования Яндекс Метрики на сайте Wordpress."
338
+
339
+ #. Author of the plugin/theme
340
+ msgid "Mustafa Uysal"
341
+ msgstr ""
342
+
343
+ #. Author URI of the plugin/theme
344
+ msgid "http://uysalmustafa.com"
345
+ msgstr ""
languages/yandex_metrica-tr_TR.mo CHANGED
Binary file
languages/yandex_metrica-tr_TR.po CHANGED
@@ -1,234 +1,186 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Yandex Metrica 1.x\n"
4
- "POT-Creation-Date: 2013-08-27 20:18+0200\n"
5
- "PO-Revision-Date: 2013-08-27 20:19+0200\n"
 
6
  "Last-Translator: Mustafa Uysal <mustafa@lettoblog.com>\n"
7
  "Language-Team: \n"
8
- "Language: English\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.5.5\n"
13
  "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_n:1,2;_n_noop:1,2\n"
14
  "X-Poedit-Basepath: .\n"
15
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: ..\n"
18
 
19
- #: ../yandex-metrica.php:120
20
- msgid "You do not have sufficient permissions to access this page."
21
- msgstr "Bu sayfayı görüntüleme yetkiniz bulunmamaktadır."
22
-
23
- #: ../yandex-metrica.php:133 ../yandex-metrica.php:136
24
- msgid "Metrica Statistics"
25
- msgstr "Metrika İstatistikleri"
26
-
27
- #: ../yandex-metrica.php:143
28
- msgid "Oh no! There is nothing to display. Here Are the Possible Causes"
29
- msgstr "Olamaz :( Yayınlayacak bi'şey bulamadık. Muhtemel sebepler şöyle;"
30
-
31
- #: ../yandex-metrica.php:144
32
- msgid ""
33
- "If selected a new counter (recently created), please give a few hours for "
34
- "verification. Please be patient."
35
- msgstr ""
36
- "Seçtiğiniz sayacı yeni mi oluşturdunuz? Eğer yeni oluşturmuşsanız "
37
- "doğrulamamız için bir kaç saat bekleyiniz."
38
-
39
- #: ../yandex-metrica.php:145
40
- msgid ""
41
- "Did you save options? You need to save options at least once after account "
42
- "confirmation."
43
- msgstr ""
44
- "Ayarları kaydettiniz mi? Api izni verdikten sonra en az bir kere ayarları "
45
- "kaydetmeniz gerekmektedir."
46
-
47
- #: ../yandex-metrica.php:146
48
- msgid "Are you sure you selected the correct counter? Please confirm."
49
- msgstr ""
50
- "Seçtiğiniz sayaç doğru mu? Lütfen sayacı yada sayacı kurarken belirttiğiniz "
51
- "internet adresinin doğru olduğundan emin olunuz."
52
-
53
- #: ../yandex-metrica.php:147
54
- msgid "Temporary, connectivity problem!"
55
- msgstr ""
56
- "Düşük bir olasılıkta olsa, geçici bir bağlantı sorunu yaşamış olabilirsiniz."
57
-
58
- #: ../yandex-metrica.php:165
59
- msgid "View Full Report"
60
- msgstr "Tüm Raporu Görüntüle"
61
-
62
- #: ../libs/widget.php:27
63
  msgid "Display statistics within selected period."
64
  msgstr "Seçtiğim periyot için istatistikleri görüntüle."
65
 
66
- #: ../libs/widget.php:55
67
- #, php-format
68
  msgid "<h3>Metrica statistics for %s </h3>"
69
  msgstr "<h3>%s için Metrika İstatistikleri </h3>"
70
 
71
- #: ../libs/widget.php:66
72
- #, php-format
73
  msgid "Page Views: <b>%d</b> <br/>"
74
  msgstr "Sayfa Gösterimleri: <b>%d</b> <br/>"
75
 
76
- #: ../libs/widget.php:68
77
- #, php-format
78
  msgid "Visits: <b>%d</b> </br>"
79
  msgstr "Ziyaretler: <b>%d</b> </br>"
80
 
81
- #: ../libs/widget.php:70
82
- #, php-format
83
  msgid "Visitors: <b>%d</b> </br>"
84
  msgstr "Ziyaretçiler: <b>%d</b> </br>"
85
 
86
- #: ../libs/widget.php:85
87
  msgid "Title:"
88
  msgstr "Başlık:"
89
 
90
- #: ../libs/widget.php:89
91
  msgid "Statistics for:"
92
  msgstr "Zaman:"
93
 
94
- #: ../libs/widget.php:91
95
  msgid "Today"
96
  msgstr "Bugün"
97
 
98
- #: ../libs/widget.php:92
99
  msgid "Week"
100
  msgstr "Hafta"
101
 
102
- #: ../libs/widget.php:93
103
  msgid "Month"
104
  msgstr "Ay"
105
 
106
- #: ../libs/widget.php:97
107
  msgid "Show Pageview"
108
  msgstr "Sayfa Gösterimlerini Göster"
109
 
110
- #: ../libs/widget.php:99
111
  msgid "Show Visits"
112
  msgstr "Ziyaretleri Göster"
113
 
114
- #: ../libs/widget.php:101
115
  msgid "Show Visitors"
116
  msgstr "Ziyaretçileri Göster"
117
 
118
- #: ../templates/dashboard-charts-js.php:10
119
  msgid "Metrica Traffic"
120
  msgstr "Metrika Trafiği"
121
 
122
- #: ../templates/dashboard-charts-js.php:16
123
  msgid "Source"
124
  msgstr "Kaynak"
125
 
126
- #: ../templates/dashboard-charts-js.php:38
127
- #: ../templates/dashboard-charts-js.php:52
128
- #: ../templates/dashboard-widget.php:16
129
  msgid "Visits"
130
  msgstr "Ziyaretler"
131
 
132
- #: ../templates/dashboard-charts-js.php:60
133
  msgid "Unique"
134
  msgstr "Ziyaretçiler"
135
 
136
- #: ../templates/dashboard-widget.php:3
137
  msgid "Daily"
138
  msgstr "Günlük"
139
 
140
- #: ../templates/dashboard-widget.php:4
141
  msgid "Weekly"
142
  msgstr "Haftalık"
143
 
144
- #: ../templates/dashboard-widget.php:5
145
  msgid "Monthly"
146
  msgstr "Aylık"
147
 
148
- #: ../templates/dashboard-widget.php:12
149
  msgid "Site Usage"
150
  msgstr "Site Kullanımı"
151
 
152
- #: ../templates/dashboard-widget.php:24 ../templates/dashboard-widget.php:37
153
- #: ../templates/dashboard-widget.php:53 ../templates/dashboard-widget.php:65
154
- #: ../templates/dashboard-widget.php:81 ../templates/dashboard-widget.php:94
155
- #: ../templates/dashboard-widget.php:113 ../templates/dashboard-widget.php:137
156
- #: ../templates/dashboard-widget.php:157
157
  msgid "None"
158
  msgstr "Gösterilecek veri yok"
159
 
160
- #: ../templates/dashboard-widget.php:29
161
  msgid "New Visitors"
162
  msgstr "Yeni Ziyaretçiler"
163
 
164
- #: ../templates/dashboard-widget.php:46
165
  msgid "Page Views"
166
  msgstr "Sayfa Gösterimleri"
167
 
168
- #: ../templates/dashboard-widget.php:58
169
  msgid "Session depth"
170
  msgstr "Ziyaret derinliği"
171
 
172
- #: ../templates/dashboard-widget.php:74
173
  msgid "Visitors"
174
  msgstr "Ziyaretçiler"
175
 
176
- #: ../templates/dashboard-widget.php:86
177
  msgid "Avg. Time on Site"
178
  msgstr "Sitede Geçirilen Ort. Süre"
179
 
180
- #: ../templates/dashboard-widget.php:104
181
  msgid "Popular Pages"
182
  msgstr "Popüler Sayfalar"
183
 
184
- #: ../templates/dashboard-widget.php:109
185
- #, php-format
186
  msgid "%d View"
187
  msgid_plural "%d Views"
188
  msgstr[0] "%d Görüntülenme"
189
  msgstr[1] "%d Görüntülenme"
190
 
191
- #: ../templates/dashboard-widget.php:126
192
  msgid "Top Referrers"
193
  msgstr "En Çok Yönlendirenler"
194
 
195
- #: ../templates/dashboard-widget.php:133 ../templates/dashboard-widget.php:153
196
- #, php-format
197
  msgid "%d Visit"
198
  msgid_plural "%d Visits"
199
  msgstr[0] "%d Ziyaret"
200
  msgstr[1] "%d Ziyaret"
201
 
202
- #: ../templates/dashboard-widget.php:148
203
  msgid "Search Terms"
204
  msgstr "En İyi Aramalar"
205
 
206
- #: ../templates/settings.php:8
207
  msgid "Successfully connected to Yandex Server"
208
  msgstr "Başarılı bir şekilde Yandex Servisine bağlanıldı."
209
 
210
- #: ../templates/settings.php:11
211
  msgid "Something went wrong. Please check your confirmation code!"
212
  msgstr ""
213
  "Olamaz! Bi' şeyler ters gitti! Doğrulama kodunu kontrol edebilir misiniz?"
214
 
215
- #: ../templates/settings.php:33
216
  msgid "Options Saved!"
217
  msgstr "Ayarlar Kaydedildi!"
218
 
219
- #: ../templates/settings.php:36
220
  msgid "Please enter a valid counter code!"
221
  msgstr "Lütfen geçerli bir sayaç kodu giriniz!"
222
 
223
- #: ../templates/settings.php:49
224
  msgid "All options cleared!"
225
  msgstr "Tüm ayarlar sıfırlandı!"
226
 
227
- #: ../templates/settings.php:59
 
228
  msgid "Yandex Metrica"
229
  msgstr "Yandex Metrika"
230
 
231
- #: ../templates/settings.php:62
232
  msgid ""
233
  "You need sign in to Yandex and grant this plugin access to your Yandex "
234
  "Metrica account."
@@ -236,80 +188,84 @@ msgstr ""
236
  "Yandex hesabınıza giriş yapmanız ve bu eklentinin Yandex Metrica hesabınıza "
237
  "bağlanmasına izin vermelisiniz."
238
 
239
- #: ../templates/settings.php:64
 
 
 
 
240
  msgid "Click here to getting confirmation code"
241
  msgstr "Aktivasyon kodu almak için tıklayınız."
242
 
243
- #: ../templates/settings.php:68
244
  msgid "Enter Confirmation code here"
245
  msgstr "Doğrulama kodunu buraya giriniz"
246
 
247
- #: ../templates/settings.php:69 ../templates/settings.php:172
248
  msgid "Save"
249
  msgstr "Kaydet"
250
 
251
- #: ../templates/settings.php:73
252
  msgid "If you don't want to use API, you can use basic mode."
253
  msgstr ""
254
  "Eğer metrica API kullanmak istemiyorsanız, temel modu deneyebilirsiniz."
255
 
256
- #: ../templates/settings.php:74
257
  msgid "Basic Mode (Compatible with Backward)"
258
  msgstr "Temel Mod (Geri uyumlu)"
259
 
260
- #: ../templates/settings.php:80
261
  msgid "Counter:"
262
  msgstr "Sayaç:"
263
 
264
- #: ../templates/settings.php:87
265
  msgid "Temporary, getting connectivity problem.!"
266
  msgstr "API erişiminde geçici bir bağlantı sorunu var!"
267
 
268
- #: ../templates/settings.php:92
269
  msgid "Enter counter number"
270
  msgstr "Sayaç numarasını giriniz"
271
 
272
- #: ../templates/settings.php:95
273
  msgid "Tracking Settings"
274
  msgstr "Takip Ayarları"
275
 
276
- #: ../templates/settings.php:103
277
  msgid "Select tracking options"
278
  msgstr "Sayaç özellikleri"
279
 
280
- #: ../templates/settings.php:106
281
  msgid "Webvisor"
282
  msgstr "Webvisor"
283
 
284
- #: ../templates/settings.php:108
285
  msgid "Track Clickmap"
286
  msgstr "Tıklama Haritası"
287
 
288
- #: ../templates/settings.php:110
289
  msgid "Track Links, social sharing, file requests..."
290
  msgstr "Dış bağlantılar, dosya yüklemeleri ve Paylaş butonu raporu"
291
 
292
- #: ../templates/settings.php:112
293
  msgid "Accurate Track Bounce"
294
  msgstr "Hemen çıkma oranı"
295
 
296
- #: ../templates/settings.php:119
297
  msgid "Track logged in users"
298
  msgstr "Giriş yapmış kullanıcıları dahil et"
299
 
300
- #: ../templates/settings.php:123
301
  msgid "Yes"
302
  msgstr "Evet"
303
 
304
- #: ../templates/settings.php:124
305
  msgid "No"
306
  msgstr "Hayır"
307
 
308
- #: ../templates/settings.php:131
309
  msgid "User roles to not track"
310
  msgstr "Takip edilmeyecek kullanıcı seviyesi"
311
 
312
- #: ../templates/settings.php:144
313
  msgid ""
314
  "If a user is logged into with one of these roles, they won't track by "
315
  "metrica."
@@ -317,16 +273,76 @@ msgstr ""
317
  "Bu yetkiye sahip kullanıcılar, metrica servisi tarafından takip "
318
  "edilmeyecektir."
319
 
320
- #: ../templates/settings.php:150
321
  msgid "User roles to display dashboard widget"
322
  msgstr "Yönetim panelinde istatistikleri görüntüleyebilecek kullanıcı seviyesi"
323
 
324
- #: ../templates/settings.php:164
325
  msgid "Selected roles can display metrica statistic on the dashboard."
326
  msgstr ""
327
  "Bu yetkiye sahip kullanıcılar, istatistikleri yönetim panelinden "
328
  "görüntüleyebilecektir."
329
 
330
- #: ../templates/settings.php:173
331
  msgid "Reset"
332
  msgstr "Sıfırla"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Yandex Metrica 1.x\n"
4
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yandex-metrica\n"
5
+ "POT-Creation-Date: 2015-11-22 17:06:56+00:00\n"
6
+ "PO-Revision-Date: 2015-11-22 19:18+0200\n"
7
  "Last-Translator: Mustafa Uysal <mustafa@lettoblog.com>\n"
8
  "Language-Team: \n"
9
+ "Language: en\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.6.7\n"
14
  "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_n:1,2;_n_noop:1,2\n"
15
  "X-Poedit-Basepath: .\n"
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: ..\n"
19
 
20
+ #: libs/widget.php:27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  msgid "Display statistics within selected period."
22
  msgstr "Seçtiğim periyot için istatistikleri görüntüle."
23
 
24
+ #: libs/widget.php:55
 
25
  msgid "<h3>Metrica statistics for %s </h3>"
26
  msgstr "<h3>%s için Metrika İstatistikleri </h3>"
27
 
28
+ #: libs/widget.php:66
 
29
  msgid "Page Views: <b>%d</b> <br/>"
30
  msgstr "Sayfa Gösterimleri: <b>%d</b> <br/>"
31
 
32
+ #: libs/widget.php:68
 
33
  msgid "Visits: <b>%d</b> </br>"
34
  msgstr "Ziyaretler: <b>%d</b> </br>"
35
 
36
+ #: libs/widget.php:70
 
37
  msgid "Visitors: <b>%d</b> </br>"
38
  msgstr "Ziyaretçiler: <b>%d</b> </br>"
39
 
40
+ #: libs/widget.php:85
41
  msgid "Title:"
42
  msgstr "Başlık:"
43
 
44
+ #: libs/widget.php:89
45
  msgid "Statistics for:"
46
  msgstr "Zaman:"
47
 
48
+ #: libs/widget.php:91
49
  msgid "Today"
50
  msgstr "Bugün"
51
 
52
+ #: libs/widget.php:92
53
  msgid "Week"
54
  msgstr "Hafta"
55
 
56
+ #: libs/widget.php:93
57
  msgid "Month"
58
  msgstr "Ay"
59
 
60
+ #: libs/widget.php:97
61
  msgid "Show Pageview"
62
  msgstr "Sayfa Gösterimlerini Göster"
63
 
64
+ #: libs/widget.php:99
65
  msgid "Show Visits"
66
  msgstr "Ziyaretleri Göster"
67
 
68
+ #: libs/widget.php:101
69
  msgid "Show Visitors"
70
  msgstr "Ziyaretçileri Göster"
71
 
72
+ #: templates/dashboard-charts-js.php:10
73
  msgid "Metrica Traffic"
74
  msgstr "Metrika Trafiği"
75
 
76
+ #: templates/dashboard-charts-js.php:16
77
  msgid "Source"
78
  msgstr "Kaynak"
79
 
80
+ #: templates/dashboard-charts-js.php:38 templates/dashboard-charts-js.php:52
81
+ #: templates/dashboard-widget.php:20
 
82
  msgid "Visits"
83
  msgstr "Ziyaretler"
84
 
85
+ #: templates/dashboard-charts-js.php:60
86
  msgid "Unique"
87
  msgstr "Ziyaretçiler"
88
 
89
+ #: templates/dashboard-widget.php:5
90
  msgid "Daily"
91
  msgstr "Günlük"
92
 
93
+ #: templates/dashboard-widget.php:8
94
  msgid "Weekly"
95
  msgstr "Haftalık"
96
 
97
+ #: templates/dashboard-widget.php:9
98
  msgid "Monthly"
99
  msgstr "Aylık"
100
 
101
+ #: templates/dashboard-widget.php:16
102
  msgid "Site Usage"
103
  msgstr "Site Kullanımı"
104
 
105
+ #: templates/dashboard-widget.php:27 templates/dashboard-widget.php:39
106
+ #: templates/dashboard-widget.php:54 templates/dashboard-widget.php:65
107
+ #: templates/dashboard-widget.php:80 templates/dashboard-widget.php:92
108
+ #: templates/dashboard-widget.php:117 templates/dashboard-widget.php:139
109
+ #: templates/dashboard-widget.php:161
110
  msgid "None"
111
  msgstr "Gösterilecek veri yok"
112
 
113
+ #: templates/dashboard-widget.php:32
114
  msgid "New Visitors"
115
  msgstr "Yeni Ziyaretçiler"
116
 
117
+ #: templates/dashboard-widget.php:48
118
  msgid "Page Views"
119
  msgstr "Sayfa Gösterimleri"
120
 
121
+ #: templates/dashboard-widget.php:59
122
  msgid "Session depth"
123
  msgstr "Ziyaret derinliği"
124
 
125
+ #: templates/dashboard-widget.php:74
126
  msgid "Visitors"
127
  msgstr "Ziyaretçiler"
128
 
129
+ #: templates/dashboard-widget.php:85
130
  msgid "Avg. Time on Site"
131
  msgstr "Sitede Geçirilen Ort. Süre"
132
 
133
+ #: templates/dashboard-widget.php:105
134
  msgid "Popular Pages"
135
  msgstr "Popüler Sayfalar"
136
 
137
+ #: templates/dashboard-widget.php:113
 
138
  msgid "%d View"
139
  msgid_plural "%d Views"
140
  msgstr[0] "%d Görüntülenme"
141
  msgstr[1] "%d Görüntülenme"
142
 
143
+ #: templates/dashboard-widget.php:127
144
  msgid "Top Referrers"
145
  msgstr "En Çok Yönlendirenler"
146
 
147
+ #: templates/dashboard-widget.php:135 templates/dashboard-widget.php:157
 
148
  msgid "%d Visit"
149
  msgid_plural "%d Visits"
150
  msgstr[0] "%d Ziyaret"
151
  msgstr[1] "%d Ziyaret"
152
 
153
+ #: templates/dashboard-widget.php:150
154
  msgid "Search Terms"
155
  msgstr "En İyi Aramalar"
156
 
157
+ #: templates/settings.php:8
158
  msgid "Successfully connected to Yandex Server"
159
  msgstr "Başarılı bir şekilde Yandex Servisine bağlanıldı."
160
 
161
+ #: templates/settings.php:11
162
  msgid "Something went wrong. Please check your confirmation code!"
163
  msgstr ""
164
  "Olamaz! Bi' şeyler ters gitti! Doğrulama kodunu kontrol edebilir misiniz?"
165
 
166
+ #: templates/settings.php:33
167
  msgid "Options Saved!"
168
  msgstr "Ayarlar Kaydedildi!"
169
 
170
+ #: templates/settings.php:36
171
  msgid "Please enter a valid counter code!"
172
  msgstr "Lütfen geçerli bir sayaç kodu giriniz!"
173
 
174
+ #: templates/settings.php:49
175
  msgid "All options cleared!"
176
  msgstr "Tüm ayarlar sıfırlandı!"
177
 
178
+ #. Plugin Name of the plugin/theme
179
+ #: templates/settings.php:59 yandex-metrica.php:85
180
  msgid "Yandex Metrica"
181
  msgstr "Yandex Metrika"
182
 
183
+ #: templates/settings.php:62
184
  msgid ""
185
  "You need sign in to Yandex and grant this plugin access to your Yandex "
186
  "Metrica account."
188
  "Yandex hesabınıza giriş yapmanız ve bu eklentinin Yandex Metrica hesabınıza "
189
  "bağlanmasına izin vermelisiniz."
190
 
191
+ #: templates/settings.php:63
192
+ msgid "https://oauth.yandex.com/"
193
+ msgstr ""
194
+
195
+ #: templates/settings.php:64
196
  msgid "Click here to getting confirmation code"
197
  msgstr "Aktivasyon kodu almak için tıklayınız."
198
 
199
+ #: templates/settings.php:68
200
  msgid "Enter Confirmation code here"
201
  msgstr "Doğrulama kodunu buraya giriniz"
202
 
203
+ #: templates/settings.php:69 templates/settings.php:172
204
  msgid "Save"
205
  msgstr "Kaydet"
206
 
207
+ #: templates/settings.php:73
208
  msgid "If you don't want to use API, you can use basic mode."
209
  msgstr ""
210
  "Eğer metrica API kullanmak istemiyorsanız, temel modu deneyebilirsiniz."
211
 
212
+ #: templates/settings.php:74
213
  msgid "Basic Mode (Compatible with Backward)"
214
  msgstr "Temel Mod (Geri uyumlu)"
215
 
216
+ #: templates/settings.php:80
217
  msgid "Counter:"
218
  msgstr "Sayaç:"
219
 
220
+ #: templates/settings.php:87
221
  msgid "Temporary, getting connectivity problem.!"
222
  msgstr "API erişiminde geçici bir bağlantı sorunu var!"
223
 
224
+ #: templates/settings.php:92
225
  msgid "Enter counter number"
226
  msgstr "Sayaç numarasını giriniz"
227
 
228
+ #: templates/settings.php:95
229
  msgid "Tracking Settings"
230
  msgstr "Takip Ayarları"
231
 
232
+ #: templates/settings.php:103
233
  msgid "Select tracking options"
234
  msgstr "Sayaç özellikleri"
235
 
236
+ #: templates/settings.php:106
237
  msgid "Webvisor"
238
  msgstr "Webvisor"
239
 
240
+ #: templates/settings.php:108
241
  msgid "Track Clickmap"
242
  msgstr "Tıklama Haritası"
243
 
244
+ #: templates/settings.php:110
245
  msgid "Track Links, social sharing, file requests..."
246
  msgstr "Dış bağlantılar, dosya yüklemeleri ve Paylaş butonu raporu"
247
 
248
+ #: templates/settings.php:112
249
  msgid "Accurate Track Bounce"
250
  msgstr "Hemen çıkma oranı"
251
 
252
+ #: templates/settings.php:119
253
  msgid "Track logged in users"
254
  msgstr "Giriş yapmış kullanıcıları dahil et"
255
 
256
+ #: templates/settings.php:123
257
  msgid "Yes"
258
  msgstr "Evet"
259
 
260
+ #: templates/settings.php:124
261
  msgid "No"
262
  msgstr "Hayır"
263
 
264
+ #: templates/settings.php:131
265
  msgid "User roles to not track"
266
  msgstr "Takip edilmeyecek kullanıcı seviyesi"
267
 
268
+ #: templates/settings.php:144
269
  msgid ""
270
  "If a user is logged into with one of these roles, they won't track by "
271
  "metrica."
273
  "Bu yetkiye sahip kullanıcılar, metrica servisi tarafından takip "
274
  "edilmeyecektir."
275
 
276
+ #: templates/settings.php:150
277
  msgid "User roles to display dashboard widget"
278
  msgstr "Yönetim panelinde istatistikleri görüntüleyebilecek kullanıcı seviyesi"
279
 
280
+ #: templates/settings.php:164
281
  msgid "Selected roles can display metrica statistic on the dashboard."
282
  msgstr ""
283
  "Bu yetkiye sahip kullanıcılar, istatistikleri yönetim panelinden "
284
  "görüntüleyebilecektir."
285
 
286
+ #: templates/settings.php:173
287
  msgid "Reset"
288
  msgstr "Sıfırla"
289
+
290
+ #: yandex-metrica.php:122
291
+ msgid "You do not have sufficient permissions to access this page."
292
+ msgstr "Bu sayfayı görüntüleme yetkiniz bulunmamaktadır."
293
+
294
+ #: yandex-metrica.php:135 yandex-metrica.php:138
295
+ msgid "Metrica Statistics"
296
+ msgstr "Metrika İstatistikleri"
297
+
298
+ #: yandex-metrica.php:145
299
+ msgid "Oh no! There is nothing to display. Here Are the Possible Causes"
300
+ msgstr "Olamaz :( Yayınlayacak bi'şey bulamadık. Muhtemel sebepler şöyle;"
301
+
302
+ #: yandex-metrica.php:146
303
+ msgid ""
304
+ "If selected a new counter (recently created), please give a few hours for "
305
+ "verification. Please be patient."
306
+ msgstr ""
307
+ "Seçtiğiniz sayacı yeni mi oluşturdunuz? Eğer yeni oluşturmuşsanız "
308
+ "doğrulamamız için bir kaç saat bekleyiniz."
309
+
310
+ #: yandex-metrica.php:147
311
+ msgid ""
312
+ "Did you save options? You need to save options at least once after account "
313
+ "confirmation."
314
+ msgstr ""
315
+ "Ayarları kaydettiniz mi? Api izni verdikten sonra en az bir kere ayarları "
316
+ "kaydetmeniz gerekmektedir."
317
+
318
+ #: yandex-metrica.php:148
319
+ msgid "Are you sure you selected the correct counter? Please confirm."
320
+ msgstr ""
321
+ "Seçtiğiniz sayaç doğru mu? Lütfen sayacı yada sayacı kurarken belirttiğiniz "
322
+ "internet adresinin doğru olduğundan emin olunuz."
323
+
324
+ #: yandex-metrica.php:149
325
+ msgid "Temporary, connectivity problem!"
326
+ msgstr ""
327
+ "Düşük bir olasılıkta olsa, geçici bir bağlantı sorunu yaşamış olabilirsiniz."
328
+
329
+ #: yandex-metrica.php:167
330
+ msgid "View Full Report"
331
+ msgstr "Tüm Raporu Görüntüle"
332
+
333
+ #. Plugin URI of the plugin/theme
334
+ msgid "http://uysalmustafa.com/plugins/yandex-metrica"
335
+ msgstr ""
336
+
337
+ #. Description of the plugin/theme
338
+ msgid "Best metrica plugin for the use Yandex Metrica in your WordPress site."
339
+ msgstr ""
340
+ "Yandex Metrika servisi için kullanabileceğiniz en iyi WordPress eklentisi."
341
+
342
+ #. Author of the plugin/theme
343
+ msgid "Mustafa Uysal"
344
+ msgstr ""
345
+
346
+ #. Author URI of the plugin/theme
347
+ msgid "http://uysalmustafa.com"
348
+ msgstr ""
languages/yandex_metrica.pot CHANGED
@@ -1,317 +1,328 @@
 
 
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Yandex Metrica 1.x\n"
4
- "POT-Creation-Date: 2013-08-27 20:18+0200\n"
5
- "PO-Revision-Date: 2013-08-27 20:18+0200\n"
6
- "Last-Translator: Mustafa Uysal <mustafa@lettoblog.com>\n"
7
- "Language-Team: \n"
8
- "Language: English\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.5.5\n"
13
- "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_n:1,2;_n_noop:1,2\n"
14
- "X-Poedit-Basepath: .\n"
15
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
-
19
- #: ../yandex-metrica.php:120
20
- msgid "You do not have sufficient permissions to access this page."
21
- msgstr ""
22
-
23
- #: ../yandex-metrica.php:133 ../yandex-metrica.php:136
24
- msgid "Metrica Statistics"
25
- msgstr ""
26
 
27
- #: ../yandex-metrica.php:143
28
- msgid "Oh no! There is nothing to display. Here Are the Possible Causes"
29
- msgstr ""
30
-
31
- #: ../yandex-metrica.php:144
32
- msgid ""
33
- "If selected a new counter (recently created), please give a few hours for "
34
- "verification. Please be patient."
35
- msgstr ""
36
-
37
- #: ../yandex-metrica.php:145
38
- msgid ""
39
- "Did you save options? You need to save options at least once after account "
40
- "confirmation."
41
- msgstr ""
42
-
43
- #: ../yandex-metrica.php:146
44
- msgid "Are you sure you selected the correct counter? Please confirm."
45
- msgstr ""
46
-
47
- #: ../yandex-metrica.php:147
48
- msgid "Temporary, connectivity problem!"
49
- msgstr ""
50
-
51
- #: ../yandex-metrica.php:165
52
- msgid "View Full Report"
53
- msgstr ""
54
-
55
- #: ../libs/widget.php:27
56
  msgid "Display statistics within selected period."
57
  msgstr ""
58
 
59
- #: ../libs/widget.php:55
60
- #, php-format
61
  msgid "<h3>Metrica statistics for %s </h3>"
62
  msgstr ""
63
 
64
- #: ../libs/widget.php:66
65
- #, php-format
66
  msgid "Page Views: <b>%d</b> <br/>"
67
  msgstr ""
68
 
69
- #: ../libs/widget.php:68
70
- #, php-format
71
  msgid "Visits: <b>%d</b> </br>"
72
  msgstr ""
73
 
74
- #: ../libs/widget.php:70
75
- #, php-format
76
  msgid "Visitors: <b>%d</b> </br>"
77
  msgstr ""
78
 
79
- #: ../libs/widget.php:85
80
  msgid "Title:"
81
  msgstr ""
82
 
83
- #: ../libs/widget.php:89
84
  msgid "Statistics for:"
85
  msgstr ""
86
 
87
- #: ../libs/widget.php:91
88
  msgid "Today"
89
  msgstr ""
90
 
91
- #: ../libs/widget.php:92
92
  msgid "Week"
93
  msgstr ""
94
 
95
- #: ../libs/widget.php:93
96
  msgid "Month"
97
  msgstr ""
98
 
99
- #: ../libs/widget.php:97
100
  msgid "Show Pageview"
101
  msgstr ""
102
 
103
- #: ../libs/widget.php:99
104
  msgid "Show Visits"
105
  msgstr ""
106
 
107
- #: ../libs/widget.php:101
108
  msgid "Show Visitors"
109
  msgstr ""
110
 
111
- #: ../templates/dashboard-charts-js.php:10
112
  msgid "Metrica Traffic"
113
  msgstr ""
114
 
115
- #: ../templates/dashboard-charts-js.php:16
116
  msgid "Source"
117
  msgstr ""
118
 
119
- #: ../templates/dashboard-charts-js.php:38
120
- #: ../templates/dashboard-charts-js.php:52
121
- #: ../templates/dashboard-widget.php:16
122
  msgid "Visits"
123
  msgstr ""
124
 
125
- #: ../templates/dashboard-charts-js.php:60
126
  msgid "Unique"
127
  msgstr ""
128
 
129
- #: ../templates/dashboard-widget.php:3
130
  msgid "Daily"
131
  msgstr ""
132
 
133
- #: ../templates/dashboard-widget.php:4
134
  msgid "Weekly"
135
  msgstr ""
136
 
137
- #: ../templates/dashboard-widget.php:5
138
  msgid "Monthly"
139
  msgstr ""
140
 
141
- #: ../templates/dashboard-widget.php:12
142
  msgid "Site Usage"
143
  msgstr ""
144
 
145
- #: ../templates/dashboard-widget.php:24 ../templates/dashboard-widget.php:37
146
- #: ../templates/dashboard-widget.php:53 ../templates/dashboard-widget.php:65
147
- #: ../templates/dashboard-widget.php:81 ../templates/dashboard-widget.php:94
148
- #: ../templates/dashboard-widget.php:113 ../templates/dashboard-widget.php:137
149
- #: ../templates/dashboard-widget.php:157
150
  msgid "None"
151
  msgstr ""
152
 
153
- #: ../templates/dashboard-widget.php:29
154
  msgid "New Visitors"
155
  msgstr ""
156
 
157
- #: ../templates/dashboard-widget.php:46
158
  msgid "Page Views"
159
  msgstr ""
160
 
161
- #: ../templates/dashboard-widget.php:58
162
  msgid "Session depth"
163
  msgstr ""
164
 
165
- #: ../templates/dashboard-widget.php:74
166
  msgid "Visitors"
167
  msgstr ""
168
 
169
- #: ../templates/dashboard-widget.php:86
170
  msgid "Avg. Time on Site"
171
  msgstr ""
172
 
173
- #: ../templates/dashboard-widget.php:104
174
  msgid "Popular Pages"
175
  msgstr ""
176
 
177
- #: ../templates/dashboard-widget.php:109
178
- #, php-format
179
  msgid "%d View"
180
  msgid_plural "%d Views"
181
  msgstr[0] ""
182
  msgstr[1] ""
183
 
184
- #: ../templates/dashboard-widget.php:126
185
  msgid "Top Referrers"
186
  msgstr ""
187
 
188
- #: ../templates/dashboard-widget.php:133 ../templates/dashboard-widget.php:153
189
- #, php-format
190
  msgid "%d Visit"
191
  msgid_plural "%d Visits"
192
  msgstr[0] ""
193
  msgstr[1] ""
194
 
195
- #: ../templates/dashboard-widget.php:148
196
  msgid "Search Terms"
197
  msgstr ""
198
 
199
- #: ../templates/settings.php:8
200
  msgid "Successfully connected to Yandex Server"
201
  msgstr ""
202
 
203
- #: ../templates/settings.php:11
204
  msgid "Something went wrong. Please check your confirmation code!"
205
  msgstr ""
206
 
207
- #: ../templates/settings.php:33
208
  msgid "Options Saved!"
209
  msgstr ""
210
 
211
- #: ../templates/settings.php:36
212
  msgid "Please enter a valid counter code!"
213
  msgstr ""
214
 
215
- #: ../templates/settings.php:49
216
  msgid "All options cleared!"
217
  msgstr ""
218
 
219
- #: ../templates/settings.php:59
 
 
220
  msgid "Yandex Metrica"
221
  msgstr ""
222
 
223
- #: ../templates/settings.php:62
224
  msgid ""
225
  "You need sign in to Yandex and grant this plugin access to your Yandex "
226
  "Metrica account."
227
  msgstr ""
228
 
229
- #: ../templates/settings.php:64
 
 
 
 
230
  msgid "Click here to getting confirmation code"
231
  msgstr ""
232
 
233
- #: ../templates/settings.php:68
234
  msgid "Enter Confirmation code here"
235
  msgstr ""
236
 
237
- #: ../templates/settings.php:69 ../templates/settings.php:172
238
  msgid "Save"
239
  msgstr ""
240
 
241
- #: ../templates/settings.php:73
242
  msgid "If you don't want to use API, you can use basic mode."
243
  msgstr ""
244
 
245
- #: ../templates/settings.php:74
246
  msgid "Basic Mode (Compatible with Backward)"
247
  msgstr ""
248
 
249
- #: ../templates/settings.php:80
250
  msgid "Counter:"
251
  msgstr ""
252
 
253
- #: ../templates/settings.php:87
254
  msgid "Temporary, getting connectivity problem.!"
255
  msgstr ""
256
 
257
- #: ../templates/settings.php:92
258
  msgid "Enter counter number"
259
  msgstr ""
260
 
261
- #: ../templates/settings.php:95
262
  msgid "Tracking Settings"
263
  msgstr ""
264
 
265
- #: ../templates/settings.php:103
266
  msgid "Select tracking options"
267
  msgstr ""
268
 
269
- #: ../templates/settings.php:106
270
  msgid "Webvisor"
271
  msgstr ""
272
 
273
- #: ../templates/settings.php:108
274
  msgid "Track Clickmap"
275
  msgstr ""
276
 
277
- #: ../templates/settings.php:110
278
  msgid "Track Links, social sharing, file requests..."
279
  msgstr ""
280
 
281
- #: ../templates/settings.php:112
282
  msgid "Accurate Track Bounce"
283
  msgstr ""
284
 
285
- #: ../templates/settings.php:119
286
  msgid "Track logged in users"
287
  msgstr ""
288
 
289
- #: ../templates/settings.php:123
290
  msgid "Yes"
291
  msgstr ""
292
 
293
- #: ../templates/settings.php:124
294
  msgid "No"
295
  msgstr ""
296
 
297
- #: ../templates/settings.php:131
298
  msgid "User roles to not track"
299
  msgstr ""
300
 
301
- #: ../templates/settings.php:144
302
  msgid ""
303
  "If a user is logged into with one of these roles, they won't track by "
304
  "metrica."
305
  msgstr ""
306
 
307
- #: ../templates/settings.php:150
308
  msgid "User roles to display dashboard widget"
309
  msgstr ""
310
 
311
- #: ../templates/settings.php:164
312
  msgid "Selected roles can display metrica statistic on the dashboard."
313
  msgstr ""
314
 
315
- #: ../templates/settings.php:173
316
  msgid "Reset"
317
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 Yandex Metrica
2
+ # This file is distributed under the same license as the Yandex Metrica package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Yandex Metrica 1.1.1\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/yandex-metrica\n"
7
+ "POT-Creation-Date: 2015-11-22 17:06:56+00:00\n"
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
 
 
 
 
 
 
 
 
 
 
 
14
 
15
+ #: libs/widget.php:27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  msgid "Display statistics within selected period."
17
  msgstr ""
18
 
19
+ #: libs/widget.php:55
 
20
  msgid "<h3>Metrica statistics for %s </h3>"
21
  msgstr ""
22
 
23
+ #: libs/widget.php:66
 
24
  msgid "Page Views: <b>%d</b> <br/>"
25
  msgstr ""
26
 
27
+ #: libs/widget.php:68
 
28
  msgid "Visits: <b>%d</b> </br>"
29
  msgstr ""
30
 
31
+ #: libs/widget.php:70
 
32
  msgid "Visitors: <b>%d</b> </br>"
33
  msgstr ""
34
 
35
+ #: libs/widget.php:85
36
  msgid "Title:"
37
  msgstr ""
38
 
39
+ #: libs/widget.php:89
40
  msgid "Statistics for:"
41
  msgstr ""
42
 
43
+ #: libs/widget.php:91
44
  msgid "Today"
45
  msgstr ""
46
 
47
+ #: libs/widget.php:92
48
  msgid "Week"
49
  msgstr ""
50
 
51
+ #: libs/widget.php:93
52
  msgid "Month"
53
  msgstr ""
54
 
55
+ #: libs/widget.php:97
56
  msgid "Show Pageview"
57
  msgstr ""
58
 
59
+ #: libs/widget.php:99
60
  msgid "Show Visits"
61
  msgstr ""
62
 
63
+ #: libs/widget.php:101
64
  msgid "Show Visitors"
65
  msgstr ""
66
 
67
+ #: templates/dashboard-charts-js.php:10
68
  msgid "Metrica Traffic"
69
  msgstr ""
70
 
71
+ #: templates/dashboard-charts-js.php:16
72
  msgid "Source"
73
  msgstr ""
74
 
75
+ #: templates/dashboard-charts-js.php:38 templates/dashboard-charts-js.php:52
76
+ #: templates/dashboard-widget.php:20
 
77
  msgid "Visits"
78
  msgstr ""
79
 
80
+ #: templates/dashboard-charts-js.php:60
81
  msgid "Unique"
82
  msgstr ""
83
 
84
+ #: templates/dashboard-widget.php:5
85
  msgid "Daily"
86
  msgstr ""
87
 
88
+ #: templates/dashboard-widget.php:8
89
  msgid "Weekly"
90
  msgstr ""
91
 
92
+ #: templates/dashboard-widget.php:9
93
  msgid "Monthly"
94
  msgstr ""
95
 
96
+ #: templates/dashboard-widget.php:16
97
  msgid "Site Usage"
98
  msgstr ""
99
 
100
+ #: templates/dashboard-widget.php:27 templates/dashboard-widget.php:39
101
+ #: templates/dashboard-widget.php:54 templates/dashboard-widget.php:65
102
+ #: templates/dashboard-widget.php:80 templates/dashboard-widget.php:92
103
+ #: templates/dashboard-widget.php:117 templates/dashboard-widget.php:139
104
+ #: templates/dashboard-widget.php:161
105
  msgid "None"
106
  msgstr ""
107
 
108
+ #: templates/dashboard-widget.php:32
109
  msgid "New Visitors"
110
  msgstr ""
111
 
112
+ #: templates/dashboard-widget.php:48
113
  msgid "Page Views"
114
  msgstr ""
115
 
116
+ #: templates/dashboard-widget.php:59
117
  msgid "Session depth"
118
  msgstr ""
119
 
120
+ #: templates/dashboard-widget.php:74
121
  msgid "Visitors"
122
  msgstr ""
123
 
124
+ #: templates/dashboard-widget.php:85
125
  msgid "Avg. Time on Site"
126
  msgstr ""
127
 
128
+ #: templates/dashboard-widget.php:105
129
  msgid "Popular Pages"
130
  msgstr ""
131
 
132
+ #: templates/dashboard-widget.php:113
 
133
  msgid "%d View"
134
  msgid_plural "%d Views"
135
  msgstr[0] ""
136
  msgstr[1] ""
137
 
138
+ #: templates/dashboard-widget.php:127
139
  msgid "Top Referrers"
140
  msgstr ""
141
 
142
+ #: templates/dashboard-widget.php:135 templates/dashboard-widget.php:157
 
143
  msgid "%d Visit"
144
  msgid_plural "%d Visits"
145
  msgstr[0] ""
146
  msgstr[1] ""
147
 
148
+ #: templates/dashboard-widget.php:150
149
  msgid "Search Terms"
150
  msgstr ""
151
 
152
+ #: templates/settings.php:8
153
  msgid "Successfully connected to Yandex Server"
154
  msgstr ""
155
 
156
+ #: templates/settings.php:11
157
  msgid "Something went wrong. Please check your confirmation code!"
158
  msgstr ""
159
 
160
+ #: templates/settings.php:33
161
  msgid "Options Saved!"
162
  msgstr ""
163
 
164
+ #: templates/settings.php:36
165
  msgid "Please enter a valid counter code!"
166
  msgstr ""
167
 
168
+ #: templates/settings.php:49
169
  msgid "All options cleared!"
170
  msgstr ""
171
 
172
+ #. #-#-#-#-# plugin.pot (Yandex Metrica 1.1.1) #-#-#-#-#
173
+ #. Plugin Name of the plugin/theme
174
+ #: templates/settings.php:59 yandex-metrica.php:85
175
  msgid "Yandex Metrica"
176
  msgstr ""
177
 
178
+ #: templates/settings.php:62
179
  msgid ""
180
  "You need sign in to Yandex and grant this plugin access to your Yandex "
181
  "Metrica account."
182
  msgstr ""
183
 
184
+ #: templates/settings.php:63
185
+ msgid "https://oauth.yandex.com/"
186
+ msgstr ""
187
+
188
+ #: templates/settings.php:64
189
  msgid "Click here to getting confirmation code"
190
  msgstr ""
191
 
192
+ #: templates/settings.php:68
193
  msgid "Enter Confirmation code here"
194
  msgstr ""
195
 
196
+ #: templates/settings.php:69 templates/settings.php:172
197
  msgid "Save"
198
  msgstr ""
199
 
200
+ #: templates/settings.php:73
201
  msgid "If you don't want to use API, you can use basic mode."
202
  msgstr ""
203
 
204
+ #: templates/settings.php:74
205
  msgid "Basic Mode (Compatible with Backward)"
206
  msgstr ""
207
 
208
+ #: templates/settings.php:80
209
  msgid "Counter:"
210
  msgstr ""
211
 
212
+ #: templates/settings.php:87
213
  msgid "Temporary, getting connectivity problem.!"
214
  msgstr ""
215
 
216
+ #: templates/settings.php:92
217
  msgid "Enter counter number"
218
  msgstr ""
219
 
220
+ #: templates/settings.php:95
221
  msgid "Tracking Settings"
222
  msgstr ""
223
 
224
+ #: templates/settings.php:103
225
  msgid "Select tracking options"
226
  msgstr ""
227
 
228
+ #: templates/settings.php:106
229
  msgid "Webvisor"
230
  msgstr ""
231
 
232
+ #: templates/settings.php:108
233
  msgid "Track Clickmap"
234
  msgstr ""
235
 
236
+ #: templates/settings.php:110
237
  msgid "Track Links, social sharing, file requests..."
238
  msgstr ""
239
 
240
+ #: templates/settings.php:112
241
  msgid "Accurate Track Bounce"
242
  msgstr ""
243
 
244
+ #: templates/settings.php:119
245
  msgid "Track logged in users"
246
  msgstr ""
247
 
248
+ #: templates/settings.php:123
249
  msgid "Yes"
250
  msgstr ""
251
 
252
+ #: templates/settings.php:124
253
  msgid "No"
254
  msgstr ""
255
 
256
+ #: templates/settings.php:131
257
  msgid "User roles to not track"
258
  msgstr ""
259
 
260
+ #: templates/settings.php:144
261
  msgid ""
262
  "If a user is logged into with one of these roles, they won't track by "
263
  "metrica."
264
  msgstr ""
265
 
266
+ #: templates/settings.php:150
267
  msgid "User roles to display dashboard widget"
268
  msgstr ""
269
 
270
+ #: templates/settings.php:164
271
  msgid "Selected roles can display metrica statistic on the dashboard."
272
  msgstr ""
273
 
274
+ #: templates/settings.php:173
275
  msgid "Reset"
276
  msgstr ""
277
+
278
+ #: yandex-metrica.php:122
279
+ msgid "You do not have sufficient permissions to access this page."
280
+ msgstr ""
281
+
282
+ #: yandex-metrica.php:135 yandex-metrica.php:138
283
+ msgid "Metrica Statistics"
284
+ msgstr ""
285
+
286
+ #: yandex-metrica.php:145
287
+ msgid "Oh no! There is nothing to display. Here Are the Possible Causes"
288
+ msgstr ""
289
+
290
+ #: yandex-metrica.php:146
291
+ msgid ""
292
+ "If selected a new counter (recently created), please give a few hours for "
293
+ "verification. Please be patient."
294
+ msgstr ""
295
+
296
+ #: yandex-metrica.php:147
297
+ msgid ""
298
+ "Did you save options? You need to save options at least once after account "
299
+ "confirmation."
300
+ msgstr ""
301
+
302
+ #: yandex-metrica.php:148
303
+ msgid "Are you sure you selected the correct counter? Please confirm."
304
+ msgstr ""
305
+
306
+ #: yandex-metrica.php:149
307
+ msgid "Temporary, connectivity problem!"
308
+ msgstr ""
309
+
310
+ #: yandex-metrica.php:167
311
+ msgid "View Full Report"
312
+ msgstr ""
313
+
314
+ #. Plugin URI of the plugin/theme
315
+ msgid "http://uysalmustafa.com/plugins/yandex-metrica"
316
+ msgstr ""
317
+
318
+ #. Description of the plugin/theme
319
+ msgid "Best metrica plugin for the use Yandex Metrica in your WordPress site."
320
+ msgstr ""
321
+
322
+ #. Author of the plugin/theme
323
+ msgid "Mustafa Uysal"
324
+ msgstr ""
325
+
326
+ #. Author URI of the plugin/theme
327
+ msgid "http://uysalmustafa.com"
328
+ msgstr ""
libs/Yandex_Metrica.php CHANGED
@@ -15,12 +15,13 @@ class Yandex_Metrica {
15
  public function fetch_data( $url ) {
16
  $data = wp_remote_get( $url, array( 'timeout' => 7, 'httpversion' => '1.1', 'sslverify' => false ) );
17
 
18
- if ( ! empty ( $data["body"] ) ) {
19
- return $data["body"];
 
 
20
  }
21
 
22
- $this->error = "API connectivity problem.";
23
- return false;
24
  }
25
 
26
 
15
  public function fetch_data( $url ) {
16
  $data = wp_remote_get( $url, array( 'timeout' => 7, 'httpversion' => '1.1', 'sslverify' => false ) );
17
 
18
+ if ( isset( $data['response']['message'] ) && 'OK' != $data['response']['message'] ) {
19
+ $this->error = "API connectivity problem.";
20
+
21
+ return false;
22
  }
23
 
24
+ return $data["body"];
 
25
  }
26
 
27
 
readme.txt CHANGED
@@ -1,18 +1,25 @@
1
  === Yandex Metrica ===
2
- Contributors: m_uysl
3
- Tags: yandex,metrica,stats,statistics,tools,analytics,analytics tool,metrika
4
- Requires at least: 3.0
5
- Tested up to: 4.1.1
6
- Stable tag: 1.1.1
7
- License: GPLv2 (or later)
8
 
9
- Easy way to use Yandex Metrica in your WordPress site.
 
 
 
 
 
 
 
10
 
11
  == Description ==
 
12
  Best Metrica plugin for the using Yandex Metrica in your WordPress site.
13
 
14
  = What is Metrica =
15
- Metrica is an analytics tool like as google analytics. If you didn't hear metrica yet, you can <a href="http://metrica.yandex.com/">check official metrica</a> page.
 
 
 
 
 
16
 
17
  = Features =
18
 
@@ -23,56 +30,68 @@ Metrica is an analytics tool like as google analytics. If you didn't hear metric
23
  - Basic mode ready! If you don't want to give API access, you can try basic mode.
24
  - i18n support: Completely translation ready!
25
 
 
26
 
27
- = Translations =
 
 
 
 
 
28
 
29
- * English (en\_US), built-in
30
- * Turkish (tr\_TR), native support
31
 
 
32
 
 
 
 
33
 
34
  == Installation ==
35
 
36
- Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from admin's Plugins page.
37
 
38
  == Frequently Asked Questions ==
39
 
40
- * What is metrica?
41
- - Metrica is a powerful analytics tool that provided by Yandex.
42
- * Is it free?
43
- - Definitely, metrica service and this plugin totally free.
44
- * Can I see statistics on the WordPress dashboard?
45
  - Yes, version 1.0 or higher versions support dashboard widget. But you need to use advanced mode. (Because this feature needs API access)
46
- * I can see dashboard widget but no graph?
47
  - If your counter hasn't any visitors or visits value it could be empty, but probably your counter not working correctly, Check counter status from official metrica site.
48
- * Localization issue?
49
  - Yandex Metrica plugin is using native WordPress localization of the some piece of code. For example date, user roles etc...
50
- * Everything done, but metrica service doesn't work for me?
51
  - Yandex Metrica plugin uses wp_footer hook for the adds necessary trancking code. Please, check your theme has wp_footer hook?
52
-
53
-
54
  == Screenshots ==
 
55
  1. Select mode, basic mode for who don't want to use metrica api. But advanced mode recommended!
56
  2. Displaying graph with metrica results.
57
  3. Settings page.
58
 
59
-
60
  == Changelog ==
61
 
62
- = 1.1.1 =
63
- - Dashboard widget daily order fixed
 
 
64
 
 
 
 
65
  = 1.1 =
66
  - Dashboard widget UI improvements
67
  - Bug fixes
68
 
69
- = 1.0.2 =
70
  - Capability checking before display temporary dashboard widget
71
 
72
- = 1.0.1 =
73
  - Closure function removed
74
  - Typo fix
75
-
76
  = 1.0 =
77
  - Metrica API integration
78
  - Backward compatibility mode
@@ -83,21 +102,24 @@ Extract the zip file and just drop the contents in the wp-content/plugins/ direc
83
  - Performance improvements
84
  - Special thanks to Yandex Team for all support.
85
 
86
- = 0.1.3 =
 
87
  - Minor bug fixes
88
 
89
- = 0.1.2 =
 
90
  - Bug fix - about options
91
 
92
- = 0.1.1 =
 
93
  - bug fix - header output
94
 
95
- = 0.1 =
96
 
97
- - Initial release.
98
 
99
  == Upgrade Notice ==
100
 
101
  = 1.0 =
102
 
103
- Including major changes, recommended update!
1
  === Yandex Metrica ===
 
 
 
 
 
 
2
 
3
+ Contributors: m_uysl
4
+ Tags: yandex,metrica,stats,statistics,tools,analytics,analytics tool,metrika
5
+ Requires at least: 3.0
6
+ Tested up to: 4.4
7
+ Stable tag: 1.1.2
8
+ License: GPLv2 (or later)
9
+
10
+ Easy way to use Yandex Metrica in your WordPress site.
11
 
12
  == Description ==
13
+
14
  Best Metrica plugin for the using Yandex Metrica in your WordPress site.
15
 
16
  = What is Metrica =
17
+
18
+ Metrica is an analytics tool like as google analytics.If you didn't hear metrica yet, you can [check official metrica](http://metrica.yandex.com/) page.
19
+
20
+ = Что такое Метрика =
21
+
22
+ Яндекс Метрика - это система аналитики сайтов, так же как и Гугл Аналиткс. Вы можете посмотреть официальную страницу Яндекс Метрики (http://metrica.yandex.ru/)
23
 
24
  = Features =
25
 
30
  - Basic mode ready! If you don't want to give API access, you can try basic mode.
31
  - i18n support: Completely translation ready!
32
 
33
+ = Особенности =
34
 
35
+ - Легкая настройка параметров отслеживания.
36
+ - Отслеживание пользователей по ролям
37
+ - Виджет в панели управления сайтом для графического отображения статистики, посещений сайтов, самых посещаемых страниц и т.д.
38
+ - Доступ пользователей по ролям для просмотра виджета в панели управления
39
+ - Доступен стандартный режим! Если Вы не хотите давать доступ по API, то Вы можете использовать обычный режим (вставка кода счетчика).
40
+ - Поддержка локализации. Готовые переводы на английский, турецкий и русский языки.
41
 
 
 
42
 
43
+ = Translations =
44
 
45
+ * English (en_US), built-in
46
+ * Turkish (tr_TR), native support
47
+ * Russian (ru_RU), [oleg0789](https://profiles.wordpress.org/oleg0789) and Ксения Рыбка
48
 
49
  == Installation ==
50
 
51
+ Extract the zip file and just drop the contents in the `wp-content/plugins/` directory of your WordPress installation and then activate the Plugin from admin's Plugins page.
52
 
53
  == Frequently Asked Questions ==
54
 
55
+ * What is metrica?
56
+ - Metrica is a powerful analytics tool that provided by Yandex.
57
+ * Is it free?
58
+ - Definitely, metrica service and this plugin totally free.
59
+ * Can I see statistics on the WordPress dashboard?
60
  - Yes, version 1.0 or higher versions support dashboard widget. But you need to use advanced mode. (Because this feature needs API access)
61
+ * I can see dashboard widget but no graph?
62
  - If your counter hasn't any visitors or visits value it could be empty, but probably your counter not working correctly, Check counter status from official metrica site.
63
+ * Localization issue?
64
  - Yandex Metrica plugin is using native WordPress localization of the some piece of code. For example date, user roles etc...
65
+ * Everything done, but metrica service doesn't work for me?
66
  - Yandex Metrica plugin uses wp_footer hook for the adds necessary trancking code. Please, check your theme has wp_footer hook?
67
+
 
68
  == Screenshots ==
69
+
70
  1. Select mode, basic mode for who don't want to use metrica api. But advanced mode recommended!
71
  2. Displaying graph with metrica results.
72
  3. Settings page.
73
 
 
74
  == Changelog ==
75
 
76
+ #### 1.1.2 ####
77
+ - Russian language pack added. Props Ксения Рыбка and oleg0789
78
+ - API connectivity check improved
79
+ - Minor fixes
80
 
81
+ #### 1.1.1 ####
82
+ - Dashboard widget daily order fixed
83
+
84
  = 1.1 =
85
  - Dashboard widget UI improvements
86
  - Bug fixes
87
 
88
+ #### 1.0.2 ####
89
  - Capability checking before display temporary dashboard widget
90
 
91
+ #### 1.0.1 ####
92
  - Closure function removed
93
  - Typo fix
94
+
95
  = 1.0 =
96
  - Metrica API integration
97
  - Backward compatibility mode
102
  - Performance improvements
103
  - Special thanks to Yandex Team for all support.
104
 
105
+ #### 0.1.3 ####
106
+
107
  - Minor bug fixes
108
 
109
+ #### 0.1.2 ####
110
+
111
  - Bug fix - about options
112
 
113
+ #### 0.1.1 ####
114
+
115
  - bug fix - header output
116
 
117
+ #### 0.1 ####
118
 
119
+ - Initial release.
120
 
121
  == Upgrade Notice ==
122
 
123
  = 1.0 =
124
 
125
+ Including major changes, recommended update!
templates/settings.php CHANGED
@@ -60,7 +60,7 @@ if ( isset( $_POST["reset"] ) ) {
60
 
61
  <?php if ( ! $this->is_authorized() && $this->options["backward"] === false ) : ?>
62
  <p><?php _e( 'You need sign in to Yandex and grant this plugin access to your Yandex Metrica account.', 'yandex_metrica' ); ?></p>
63
- <p class="button" onclick="window.open('https://oauth.yandex.com/authorize?response_type=code&client_id=<?php echo self::YANDEX_APP_ID; ?>&display=popup', 'activate','width=600, height=500, menubar=0, status=0, location=0, toolbar=0')">
64
  <a style="text-decoration: none;" target="_blank" href="javascript:void(0);"><b><?php _e( 'Click here to getting confirmation code', 'yandex_metrica' ); ?></b></a>
65
  </p>
66
 
@@ -84,7 +84,7 @@ if ( isset( $_POST["reset"] ) ) {
84
  <?php endforeach; ?>
85
  </select>
86
  <?php else:
87
- echo '<div class="updated"><p>' . __( 'Temporary, getting connectivity problem.!', 'yandex_metrica' ) . '</p></div>';
88
  ?>
89
  <br />
90
  <?php endif; ?>
60
 
61
  <?php if ( ! $this->is_authorized() && $this->options["backward"] === false ) : ?>
62
  <p><?php _e( 'You need sign in to Yandex and grant this plugin access to your Yandex Metrica account.', 'yandex_metrica' ); ?></p>
63
+ <p class="button" onclick="window.open('<?php printf('%sauthorize?response_type=code&client_id=%s&display=popup',__('https://oauth.yandex.com/','yandex_metrica'), self::YANDEX_APP_ID); ?>', 'activate','width=600, height=500, menubar=0, status=0, location=0, toolbar=0')">
64
  <a style="text-decoration: none;" target="_blank" href="javascript:void(0);"><b><?php _e( 'Click here to getting confirmation code', 'yandex_metrica' ); ?></b></a>
65
  </p>
66
 
84
  <?php endforeach; ?>
85
  </select>
86
  <?php else:
87
+ echo '<div class="error"><p>' . __( 'Temporary, getting connectivity problem.!', 'yandex_metrica' ) . '</p></div>';
88
  ?>
89
  <br />
90
  <?php endif; ?>
yandex-metrica.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Yandex Metrica
4
  Plugin URI: http://uysalmustafa.com/plugins/yandex-metrica
5
  Description: Best metrica plugin for the use Yandex Metrica in your WordPress site.
6
  Author: Mustafa Uysal
7
- Version: 1.1.1
8
  Text Domain: yandex_metrica
9
  Domain Path: /languages/
10
  Author URI: http://uysalmustafa.com
@@ -82,7 +82,7 @@ class WP_Yandex_Metrica extends WP_Stack_Plugin {
82
 
83
 
84
  public function admin_menu() {
85
- add_options_page( 'Yandex Metrica', 'Yandex Metrica', 'manage_options', self::MENU_SLUG, array( $this, 'metrica_settings_page' ) );
86
  }
87
 
88
 
4
  Plugin URI: http://uysalmustafa.com/plugins/yandex-metrica
5
  Description: Best metrica plugin for the use Yandex Metrica in your WordPress site.
6
  Author: Mustafa Uysal
7
+ Version: 1.1.2
8
  Text Domain: yandex_metrica
9
  Domain Path: /languages/
10
  Author URI: http://uysalmustafa.com
82
 
83
 
84
  public function admin_menu() {
85
+ add_options_page( __('Yandex Metrica', 'yandex_metrica'), __('Yandex Metrica', 'yandex_metrica'), 'manage_options', self::MENU_SLUG, array( $this, 'metrica_settings_page' ) );
86
  }
87
 
88