Changeset 1974668
- Timestamp:
- 11/15/2018 06:41:01 AM (7 years ago)
- Location:
- piwik-tracking-by-mente-binaria/trunk
- Files:
-
- 6 edited
-
assets/i18n/piwik-tracking-by-mente-binaria.pot (modified) (3 diffs)
-
assets/i18n/pt_PT.mo (modified) (previous)
-
assets/i18n/pt_PT.po (modified) (6 diffs)
-
models/options.class.php (modified) (1 diff)
-
views/backend/settings.class.php (modified) (2 diffs)
-
views/frontend/script.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
piwik-tracking-by-mente-binaria/trunk/assets/i18n/piwik-tracking-by-mente-binaria.pot
r1970556 r1974668 6 6 "Project-Id-Version: Matomo tracking, by Sergio Santos\n" 7 7 "Report-Msgid-Bugs-To: https://www.sergiosantos.me\n" 8 "POT-Creation-Date: 201 7-09-21 11:42+0100\n"8 "POT-Creation-Date: 2018-11-15 06:36+0000\n" 9 9 "PO-Revision-Date: 2018-11-07 20:01+0000\n" 10 10 "MIME-Version: 1.0\n" … … 13 13 "Last-Translator: \n" 14 14 "Language-Team: \n" 15 "X-Generator: Poedit 1.8.7.1\n"15 "X-Generator: Poedit 2.0.6\n" 16 16 "X-Poedit-KeywordsList: __;_e\n" 17 17 "X-Poedit-Basepath: ../..\n" 18 18 "X-Poedit-SearchPath-0: .\n" 19 19 20 #: views/backend/settings.class.php:32 views/backend/settings.class.php: 6920 #: views/backend/settings.class.php:32 views/backend/settings.class.php:70 21 21 msgid "Matomo tracking settings" 22 22 msgstr "" … … 43 43 44 44 #: views/backend/settings.class.php:39 45 msgid "Disable cookies" 46 msgstr "" 47 48 #: views/backend/settings.class.php:40 45 49 msgid "Log usernames" 46 50 msgstr "" 47 51 48 #: views/backend/settings.class.php:4 052 #: views/backend/settings.class.php:41 49 53 msgid "Heartbeat timer" 50 54 msgstr "" 51 55 52 #: views/backend/settings.class.php:5 456 #: views/backend/settings.class.php:55 53 57 msgid "Settings" 54 58 msgstr "" 55 59 56 #: views/backend/settings.class.php:9 660 #: views/backend/settings.class.php:97 57 61 msgid "Enable Matomo tracking?" 58 62 msgstr "" 59 63 60 #: views/backend/settings.class.php:10 264 #: views/backend/settings.class.php:103 61 65 #, php-format 62 66 msgid "The address of your Matomo install, without protocol (e.g. %s/matomo)." 63 67 msgstr "" 64 68 65 #: views/backend/settings.class.php:10 869 #: views/backend/settings.class.php:109 66 70 msgid "Does your Matomo install support SSL access? (HTTP<b>S</b>://)" 67 71 msgstr "" 68 72 69 #: views/backend/settings.class.php:11 473 #: views/backend/settings.class.php:115 70 74 msgid "The id of this site on your Matomo install." 71 75 msgstr "" 72 76 73 #: views/backend/settings.class.php:120 77 #: views/backend/settings.class.php:121 78 msgid "Do you want to Matomo to use cookies?<br/>(Disabling cookies will make some data less accurate.)" 79 msgstr "" 80 81 #: views/backend/settings.class.php:127 74 82 msgid "Do you want Matomo to log the usernames of logged in users?" 75 83 msgstr "" 76 84 77 #: views/backend/settings.class.php:1 2685 #: views/backend/settings.class.php:133 78 86 msgid "The time between heartbeats, in seconds. Set 0 to disable.<br/>(If you're unsure of what this is, it's better to leave it disabled.)" 79 87 msgstr "" 80 88 81 #: views/backend/settings.class.php:1 4789 #: views/backend/settings.class.php:154 82 90 msgid "The \"Address\" seems invalid.<br />Please check this field and try again." 83 91 msgstr "" 84 92 85 #: views/backend/settings.class.php:15 093 #: views/backend/settings.class.php:157 86 94 msgid "\"Site Id\" must be an integer number greater than zero.<br />Please check this field and try again." 87 95 msgstr "" 88 96 89 #: views/backend/settings.class.php:1 5397 #: views/backend/settings.class.php:160 90 98 msgid "\"Heartbeat timer\" must be an integer number equal to or greater than zero.<br />Please check this field and try again." 91 99 msgstr "" -
piwik-tracking-by-mente-binaria/trunk/assets/i18n/pt_PT.po
r1970556 r1974668 5 5 "Project-Id-Version: Matomo tracking, by Sergio Santos\n" 6 6 "Report-Msgid-Bugs-To: https://www.sergiosantos.me\n" 7 "POT-Creation-Date: 201 7-09-21 11:43+0100\n"8 "PO-Revision-Date: 2018-11- 07 20:01+0000\n"7 "POT-Creation-Date: 2018-11-15 06:36+0000\n" 8 "PO-Revision-Date: 2018-11-15 06:39+0000\n" 9 9 "Last-Translator: Sergio Santos <ipse@sergiosantos.me>\n" 10 10 "Language-Team: \n" … … 16 16 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 17 17 18 #: views/backend/settings.class.php:32 views/backend/settings.class.php: 6918 #: views/backend/settings.class.php:32 views/backend/settings.class.php:70 19 19 msgid "Matomo tracking settings" 20 20 msgstr "Configurações do rastreamento Matomo" … … 41 41 42 42 #: views/backend/settings.class.php:39 43 msgid "Disable cookies" 44 msgstr "Desativar cookies" 45 46 #: views/backend/settings.class.php:40 43 47 msgid "Log usernames" 44 48 msgstr "Rastrear nomes de utilizador" 45 49 46 #: views/backend/settings.class.php:4 050 #: views/backend/settings.class.php:41 47 51 msgid "Heartbeat timer" 48 52 msgstr "Temporizador Heartbeat" 49 53 50 #: views/backend/settings.class.php:5 454 #: views/backend/settings.class.php:55 51 55 msgid "Settings" 52 56 msgstr "Configurações" 53 57 54 #: views/backend/settings.class.php:9 658 #: views/backend/settings.class.php:97 55 59 msgid "Enable Matomo tracking?" 56 60 msgstr "Ativar o rastreamento Matomo?" 57 61 58 #: views/backend/settings.class.php:10 262 #: views/backend/settings.class.php:103 59 63 #, php-format 60 64 msgid "The address of your Matomo install, without protocol (e.g. %s/matomo)." 61 65 msgstr "O endereço da sua instalação do Matomo, sem protocolo (ex. %s/matomo)." 62 66 63 #: views/backend/settings.class.php:10 867 #: views/backend/settings.class.php:109 64 68 msgid "Does your Matomo install support SSL access? (HTTP<b>S</b>://)" 65 69 msgstr "A sua instalação do Matomo suporta acesso SSL? (HTTP<b>S</b>://)" 66 70 67 #: views/backend/settings.class.php:11 471 #: views/backend/settings.class.php:115 68 72 msgid "The id of this site on your Matomo install." 69 73 msgstr "A Id deste site na sua instalação do Matomo." 70 74 71 #: views/backend/settings.class.php:120 75 #: views/backend/settings.class.php:121 76 msgid "" 77 "Do you want to Matomo to use cookies?<br/>(Disabling cookies will make some " 78 "data less accurate.)" 79 msgstr "" 80 "Deseja que o Matomo use cookies?<br/>(Desativar as cookies tornará alguns " 81 "dados menos exatos.)" 82 83 #: views/backend/settings.class.php:127 72 84 msgid "Do you want Matomo to log the usernames of logged in users?" 73 85 msgstr "" 74 86 "Deseja que o Matomo rastreie os nomes de utilizador de utilizadores logados?" 75 87 76 #: views/backend/settings.class.php:1 2688 #: views/backend/settings.class.php:133 77 89 msgid "" 78 90 "The time between heartbeats, in seconds. Set 0 to disable.<br/>(If you're " … … 82 94 "estiver incerto de o que isto é, é melhor deixá-lo desativado.)" 83 95 84 #: views/backend/settings.class.php:1 4796 #: views/backend/settings.class.php:154 85 97 msgid "" 86 98 "The \"Address\" seems invalid.<br />Please check this field and try again." … … 89 101 "novamente." 90 102 91 #: views/backend/settings.class.php:15 0103 #: views/backend/settings.class.php:157 92 104 msgid "" 93 105 "\"Site Id\" must be an integer number greater than zero.<br />Please check " … … 97 109 "verifique este campo e tente novamente." 98 110 99 #: views/backend/settings.class.php:1 53111 #: views/backend/settings.class.php:160 100 112 msgid "" 101 113 "\"Heartbeat timer\" must be an integer number equal to or greater than zero." -
piwik-tracking-by-mente-binaria/trunk/models/options.class.php
r1873093 r1974668 109 109 'ssl_compat' => false, 110 110 'site_id' => 0, 111 'enable_cookies' => 1, 111 112 'log_usernames' => false, 112 'heartbeat_timer' => 0 113 'heartbeat_timer' => 0, 113 114 ); 114 115 return $defaults; -
piwik-tracking-by-mente-binaria/trunk/views/backend/settings.class.php
r1873093 r1974668 37 37 add_settings_field( 'SS_MatomoTracking-ssl_compat', __( 'SSL compatibility', SS_MATOMOTRACKING_SLUG ), array( 'SS_MatomoTracking_ControllerBackend', 'output_settings_field' ), SS_MATOMOTRACKING_SLUG, 'general', array( 'label_for' => 'SS_MatomoTracking-ssl_compat' ) ); 38 38 add_settings_field( 'SS_MatomoTracking-site_id', __( 'Site Id', SS_MATOMOTRACKING_SLUG ), array( 'SS_MatomoTracking_ControllerBackend', 'output_settings_field' ), SS_MATOMOTRACKING_SLUG, 'general', array( 'label_for' => 'SS_MatomoTracking-site_id') ); 39 add_settings_field( 'SS_MatomoTracking-disable_cookies', __( 'Disable cookies', SS_MATOMOTRACKING_SLUG ), array( 'SS_MatomoTracking_ControllerBackend', 'output_settings_field' ), SS_MATOMOTRACKING_SLUG, 'general', array( 'label_for' => 'SS_MatomoTracking-disable_cookies' ) ); 39 40 add_settings_field( 'SS_MatomoTracking-log_usernames', __( 'Log usernames', SS_MATOMOTRACKING_SLUG ), array( 'SS_MatomoTracking_ControllerBackend', 'output_settings_field' ), SS_MATOMOTRACKING_SLUG, 'general', array( 'label_for' => 'SS_MatomoTracking-log_usernames' ) ); 40 41 add_settings_field( 'SS_MatomoTracking-heartbeat_timer', __( 'Heartbeat timer', SS_MATOMOTRACKING_SLUG ), array( 'SS_MatomoTracking_ControllerBackend', 'output_settings_field' ), SS_MATOMOTRACKING_SLUG, 'general', array( 'label_for' => 'SS_MatomoTracking-heartbeat_timer' ) ); … … 115 116 <?php 116 117 break; 118 case 'enable_cookies': 119 ?> 120 <input id="SS_MatomoTracking-<?php echo $name; ?>" name="SS_MatomoTracking[<?php echo $name; ?>]" type="checkbox" value="1"<?php echo $value ? ' checked="checked"' : ''; ?> /> 121 <p class="description"><?php _e( 'Do you want to Matomo to use cookies?<br/>(Disabling cookies will make some data less accurate.)', SS_MATOMOTRACKING_SLUG ); ?></p> 122 <?php 123 break; 117 124 case 'log_usernames': 118 125 ?> -
piwik-tracking-by-mente-binaria/trunk/views/frontend/script.class.php
r1970528 r1974668 31 31 <!-- Matomo --> 32 32 <script type="text/javascript">var _paq = window._paq || []; <?php 33 if ( !$options['enable_cookies'] ) { 34 echo '_paq.push(["disableCookies"]); '; 35 } 33 36 $customVars = array(); 34 37 if ( $options['log_usernames'] && isset( $data['username'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.