Skip to content

Commit 924ed01

Browse files
authored
Merge pull request #68 from phpbb-extensions/release-1.0.3
Merge Release 1.0.3
2 parents 165c938 + 0a250e6 commit 924ed01

3 files changed

Lines changed: 53 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 1.0.3 - 2017-08-04
4+
5+
- Minor code improvements
6+
- Added Russian translation
7+
- Added Slovak translation
8+
39
## 1.0.2 - 2017-01-12
410

511
- Supports phpBB 3.1 and 3.2

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "phpbb-extension",
44
"description": "An extension that allows administrators to easily add their Google Analytics tracking code to their phpBB forum.",
55
"homepage": "https://www.phpbb.com",
6-
"version": "1.0.2",
6+
"version": "1.0.3",
77
"keywords": ["phpbb", "extension", "google", "analytics"],
88
"license": "GPL-2.0",
99
"authors": [
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?php
2+
/**
3+
*
4+
* Google Analytics extension for the phpBB Forum Software package.
5+
* Russian translation by HD321kbps
6+
*
7+
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
8+
* @license GNU General Public License, version 2 (GPL-2.0)
9+
*
10+
*/
11+
12+
/**
13+
* DO NOT CHANGE
14+
*/
15+
if (!defined('IN_PHPBB'))
16+
{
17+
exit;
18+
}
19+
20+
if (empty($lang) || !is_array($lang))
21+
{
22+
$lang = array();
23+
}
24+
25+
// DEVELOPERS PLEASE NOTE
26+
//
27+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
28+
//
29+
// Placeholders can now contain order information, e.g. instead of
30+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
31+
// translators to re-order the output of data while ensuring it remains correct
32+
//
33+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
34+
// equally where a string contains only two placeholders which are used to wrap text
35+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
36+
//
37+
// Some characters you may want to copy&paste:
38+
// ’ » “ ” …
39+
//
40+
41+
$lang = array_merge($lang, array(
42+
'ACP_GOOGLEANALYTICS' => 'Google Analytics',
43+
'ACP_GOOGLEANALYTICS_ID' => 'Google Analytics ID',
44+
'ACP_GOOGLEANALYTICS_ID_EXPLAIN' => 'Введите свой Google Analytics ID код, Например: <samp>UA-0000000-00</samp>.<br /><br />Google Analytics может отслеживать сеансы зарегистрированных пользователей на нескольких устройствах, чтобы обеспечить более точное количество пользователей в отчетах. Чтобы включить эту расширенную функциональность, необходимо настроить отслеживание идентификатора пользователя в своей учетной записи Google Analytics. <a href="https://support.google.com/analytics/answer/3123666">Нажмите для получения дополнительной информации</a>.',
45+
'ACP_GOOGLEANALYTICS_ID_INVALID' => '“%s” является недопустимым Google Analytics ID кодом.<br />Он должен быть в формате “UA-0000000-00”.',
46+
));

0 commit comments

Comments
 (0)