Skip to content

Commit a5e0bed

Browse files
authored
Merge pull request #65 from phpbb-extensions/release-1.0.2
Merge Release 1.0.2
2 parents 8079b4c + d8abbc9 commit a5e0bed

19 files changed

Lines changed: 398 additions & 10 deletions

CHANGELOG.md

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

3+
## 1.0.2 - 2017-01-12
4+
5+
- Supports phpBB 3.1 and 3.2
6+
- Added support for tracking users by their user ID (must be enabled in your Google Analytics account to take advantage of it)
7+
- Lots of internal code updates and improvements
8+
- Added Brazilian Portuguese translation
9+
- Added Croatian translation (casual and formal)
10+
- Added Czech translation
11+
- Added Danish translation
12+
- Added Greek translation
13+
- Added Italian translation
14+
- Added Turkish translation
15+
316
## 1.0.1 - 2014-11-28
417

518
- Fixed issues in the README.md

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-dev",
6+
"version": "1.0.2",
77
"keywords": ["phpbb", "extension", "google", "analytics"],
88
"license": "GPL-2.0",
99
"authors": [

language/ar/googleanalytics_acp.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
//
4040

4141
$lang = array_merge($lang, array(
42+
'ACP_GOOGLEANALYTICS' => 'Google Analytics',
4243
'ACP_GOOGLEANALYTICS_ID' => 'Google Analytics ID',
43-
'ACP_GOOGLEANALYTICS_ID_EXPLAIN' => 'أكتب كود Google Analytics ID الخاص بك، مثل: <samp>UA-0000000-00</samp>.',
44+
'ACP_GOOGLEANALYTICS_ID_EXPLAIN' => 'أكتب كود Google Analytics ID الخاص بك، مثل: <br /><br /><samp>UA-0000000-00</samp>.إحصائيات قوقل يمكنها تتبع أعضاء منتداك المسجلين عبر الأجهزة والجلسات المتعددة، حتى يكون عدد الأعضاء أكثر دقة. لتفعيل هذه الوظيفة المحَسِّنة يجب أن يكون رقم تتبع المستخدم ID مضبوط في حسابك إحصائيات قوقل. <a href="https://support.google.com/analytics/answer/3123666">اضغط هنا للمعلومات أكثر</a>.',
4445
'ACP_GOOGLEANALYTICS_ID_INVALID' => '“%s” كود Google Analytics ID الذي أدخلته غير صالح.<br />يجب أن يكون على الشكل “UA-0000000-00”.',
4546
));
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?php
2+
/**
3+
*
4+
* Google Analytics extension for the phpBB Forum Software package.
5+
*
6+
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
7+
* @license GNU General Public License, version 2 (GPL-2.0)
8+
*
9+
*/
10+
11+
/**
12+
* DO NOT CHANGE
13+
*/
14+
if (!defined('IN_PHPBB'))
15+
{
16+
exit;
17+
}
18+
19+
if (empty($lang) || !is_array($lang))
20+
{
21+
$lang = array();
22+
}
23+
24+
// DEVELOPERS PLEASE NOTE
25+
//
26+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
27+
//
28+
// Placeholders can now contain order information, e.g. instead of
29+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
30+
// translators to re-order the output of data while ensuring it remains correct
31+
//
32+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
33+
// equally where a string contains only two placeholders which are used to wrap text
34+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
35+
//
36+
// Some characters you may want to copy&paste:
37+
// ’ » “ ” …
38+
//
39+
40+
$lang = array_merge($lang, array(
41+
'ACP_GOOGLEANALYTICS' => 'Google Analytics',
42+
'ACP_GOOGLEANALYTICS_ID' => 'Google Analytics ID',
43+
'ACP_GOOGLEANALYTICS_ID_EXPLAIN' => 'Zadejte Vaše ID ve službě Google Analytics, např.: <samp>UA-0000000-00</samp>.<br /><br />Google Analytics dokáže sledovat přihlášené uživatele napříč zařízeními pro přesnější informace o návštěvnících. Pro povolení této rozšířené funkcionality musíte povolit funkci User ID ve svém účtu Google Analytics. <a href="https://support.google.com/analytics/answer/3123666">Klikněte pro více informací</a>.',
44+
'ACP_GOOGLEANALYTICS_ID_INVALID' => '“%s” není platné ID klienta ve službě Google Analytics.<br />Mělo by být ve tvaru “UA-0000000-00”.',
45+
));
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?php
2+
/**
3+
*
4+
* Google Analytics extension for the phpBB Forum Software package.
5+
*
6+
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
7+
* @license GNU General Public License, version 2 (GPL-2.0)
8+
*
9+
* Google Analytics extension [Danish]
10+
* Translator: Klaus Rasmussen
11+
*/
12+
13+
/**
14+
* DO NOT CHANGE
15+
*/
16+
if (!defined('IN_PHPBB'))
17+
{
18+
exit;
19+
}
20+
21+
if (empty($lang) || !is_array($lang))
22+
{
23+
$lang = array();
24+
}
25+
26+
// DEVELOPERS PLEASE NOTE
27+
//
28+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
29+
//
30+
// Placeholders can now contain order information, e.g. instead of
31+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
32+
// translators to re-order the output of data while ensuring it remains correct
33+
//
34+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
35+
// equally where a string contains only two placeholders which are used to wrap text
36+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
37+
//
38+
// Some characters you may want to copy&paste:
39+
// ’ » “ ” …
40+
//
41+
42+
$lang = array_merge($lang, array(
43+
'ACP_GOOGLEANALYTICS' => 'Google Analytics',
44+
'ACP_GOOGLEANALYTICS_ID' => 'Google Analytics ID',
45+
'ACP_GOOGLEANALYTICS_ID_EXPLAIN' => 'Indtast din Google Analytics ID kode, f.eks.: <samp>UA-0000000-00</samp>.<br /><br />Google Analytics kan spore dine registrerede brugere på tværs af flere enheder og sessioner, for et mere præcist bruger tal i dine rapportere. For at aktivere denne forbedrede funktionalitet skal User ID sporing være konfigureret i din Google Analytics konto. <a href="https://support.google.com/analytics/answer/3123666">Klik for yderligere information</a>.',
46+
'ACP_GOOGLEANALYTICS_ID_INVALID' => '“%s” er ikke en gyldig Google Analytics ID kode.<br />Det skal være i formen: “UA-0000000-00”.',
47+
));
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+
* Ελληνική μετάφραση [el]
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' => 'Εισάγετε το αναγνωριστικό παρακολούθησης (ID code) του Google Analytics, π.χ.: <samp>UA-0000000-00</samp>.<br /><br />Το Google Analytics μπορεί να παρακολουθεί εγγεγραμμένους χρήστες σας σε πολλαπλές συσκευές και συνεδρίες, για μια πιο ακριβή καταμέτρηση των χρηστών στις αναφορές σας. Για να ενεργοποιήσετε αυτή τη βελτιωμένη λειτουργία παρακολούθησης του User ID πρέπει να ρυθμίσετε το λογαριασμό σας στο Google Analytics. <a href="https://support.google.com/analytics/answer/3123666?hl=el">Πατήστε εδώ για περισσότερες πληροφορίες</a>.',
45+
'ACP_GOOGLEANALYTICS_ID_INVALID' => 'Το "%s" δεν είναι έγκυρο αναγνωριστικό παρακολούθησης (ID code) του Google Analytics.<br />Πρέπει να είναι μορφής "UA-0000000-00".',
46+
));

language/es/googleanalytics_acp.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
//
4040

4141
$lang = array_merge($lang, array(
42+
'ACP_GOOGLEANALYTICS' => 'Google Analytics',
4243
'ACP_GOOGLEANALYTICS_ID' => 'ID de Google Analytics',
43-
'ACP_GOOGLEANALYTICS_ID_EXPLAIN' => 'Introduzca su código ID de Google Analytics, por ejemplo: <samp>UA-0000000-00</samp>.',
44+
'ACP_GOOGLEANALYTICS_ID_EXPLAIN' => 'Introduzca su código ID de Google Analytics, por ejemplo: <samp>UA-0000000-00</samp>.<br /><br />Google Analytics puede realizar un seguimiento de sus usuarios registrados en varios dispositivos y sesiones, para obtener un número de usuarios más preciso en sus informes. Para habilitar esta función mejorada, el seguimiento de ID de usuario debe configurarse en su cuenta de Google Analytics. <a href="https://support.google.com/analytics/answer/3123666">Clic para más información</a>.',
4445
'ACP_GOOGLEANALYTICS_ID_INVALID' => '“%s” no es un código ID válido de Google Analytics.<br />Debería ser de esta forma “UA-0000000-00”.',
4546
));

language/fr/googleanalytics_acp.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
//
4040

4141
$lang = array_merge($lang, array(
42+
'ACP_GOOGLEANALYTICS' => 'Google Analytics',
4243
'ACP_GOOGLEANALYTICS_ID' => 'ID Google Analytics',
43-
'ACP_GOOGLEANALYTICS_ID_EXPLAIN' => 'Saisir son ID Google Analytics, tel que : <samp>UA-0000000-00</samp>.',
44+
'ACP_GOOGLEANALYTICS_ID_EXPLAIN' => 'Saisir son ID Google Analytics, tel que : <samp>UA-0000000-00</samp>.<br /><br />Afin de comptabiliser précisément le nombre d’utilisateurs dans les journaux, Google Analytics est en mesure de collecter les sessions des utilisateurs enregistrés suivant leurs périphériques. Pour profiter de cette opportunité, il est nécessaire de paramétrer la fonctionnalité avancée « User-ID » depuis son compte Google Analytics. <a href="https://support.google.com/analytics/answer/3123666">Cliquer ici pour davantage d’informations</a>.',
4445
'ACP_GOOGLEANALYTICS_ID_INVALID' => '« %s » n’est pas un ID Google Analytics valide.<br />Ce doit être au format « UA-0000000-00 ».',
4546
));
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+
* Croatian translation by Ančica Sečan Matijaščić (http://ancica.sunceko.net)
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' => 'Upiši svoj Google Analytics ID kod, npr.: <samp>UA-0000000-00</samp>.<br /><br />Google Analytics može pratiti tvoje registrirane korisnike/ce putem više uređaja i sesija (a) za što točnije zbrajanje korisnika/ca u tvojim izviješćima. Za omogućavanje ove poboljšanje funkcionalnosti, praćenje ID-a korisnika/ca mora biti konfigurirano u tvojem Google Analytics korisničkom računu. Klikni <a href="https://support.google.com/analytics/answer/3123666">ovdje</a> za više informacija.',
45+
'ACP_GOOGLEANALYTICS_ID_INVALID' => '“%s” nije ispravan Google Analytics ID kod.<br />Trebao bi biti u obliku: “UA-0000000-00”.',
46+
));
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+
* Croatian translation by Ančica Sečan Matijaščić (http://ancica.sunceko.net)
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' => 'Upišite svoj Google Analytics ID kod, npr.: <samp>UA-0000000-00</samp>.<br /><br />Google Analytics može pratiti vaše registrirane korisnike/ce putem više uređaja i sesija (a) za što točnije zbrajanje korisnika/ca u vašim izviješćima. Za omogućavanje ove poboljšanje funkcionalnosti, praćenje ID-a korisnika/ca mora biti konfigurirano u vašem Google Analytics korisničkom računu. Kliknite <a href="https://support.google.com/analytics/answer/3123666">ovdje</a> za više informacija.',
45+
'ACP_GOOGLEANALYTICS_ID_INVALID' => '“%s” nije ispravan Google Analytics ID kod.<br />Trebao bi biti u obliku: “UA-0000000-00”.',
46+
));

0 commit comments

Comments
 (0)