Plugin Directory

Changeset 2029332


Ignore:
Timestamp:
02/12/2019 02:47:52 PM (7 years ago)
Author:
sergiorcs
Message:

Added username logging method option to backend view.

Location:
piwik-tracking-by-mente-binaria/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • piwik-tracking-by-mente-binaria/trunk/assets/i18n/piwik-tracking-by-mente-binaria.pot

    r1974692 r2029332  
    66"Project-Id-Version: Matomo tracking, by Sergio Santos\n"
    77"Report-Msgid-Bugs-To: https://www.sergiosantos.me\n"
    8 "POT-Creation-Date: 2018-11-15 06:46+0000\n"
     8"POT-Creation-Date: 2019-02-12 14:37+0000\n"
    99"PO-Revision-Date: 2018-11-07 20:01+0000\n"
    1010"MIME-Version: 1.0\n"
     
    1818"X-Poedit-SearchPath-0: .\n"
    1919
    20 #: views/backend/settings.class.php:32 views/backend/settings.class.php:70
     20#: views/backend/settings.class.php:32 views/backend/settings.class.php:71
    2121msgid "Matomo tracking settings"
    2222msgstr ""
     
    5151
    5252#: views/backend/settings.class.php:41
     53msgid "Use old username logging method"
     54msgstr ""
     55
     56#: views/backend/settings.class.php:42
    5357msgid "Heartbeat timer"
    5458msgstr ""
    5559
    56 #: views/backend/settings.class.php:55
     60#: views/backend/settings.class.php:56
    5761msgid "Settings"
    5862msgstr ""
    5963
    60 #: views/backend/settings.class.php:97
     64#: views/backend/settings.class.php:98
    6165msgid "Enable Matomo tracking?"
    6266msgstr ""
    6367
    64 #: views/backend/settings.class.php:103
     68#: views/backend/settings.class.php:104
    6569#, php-format
    6670msgid "The address of your Matomo install, without protocol (e.g. %s/matomo)."
    6771msgstr ""
    6872
    69 #: views/backend/settings.class.php:109
     73#: views/backend/settings.class.php:110
    7074msgid "Does your Matomo install support SSL access? (HTTP<b>S</b>://)"
    7175msgstr ""
    7276
    73 #: views/backend/settings.class.php:115
     77#: views/backend/settings.class.php:116
    7478msgid "The id of this site on your Matomo install."
    7579msgstr ""
    7680
    77 #: views/backend/settings.class.php:121
     81#: views/backend/settings.class.php:122
    7882msgid "Do you want Matomo to use cookies?<br/>(Disabling cookies will make some data less accurate.)"
    7983msgstr ""
    8084
    81 #: views/backend/settings.class.php:127
     85#: views/backend/settings.class.php:128
    8286msgid "Do you want Matomo to log the usernames of logged in users?"
    8387msgstr ""
    8488
    85 #: views/backend/settings.class.php:133
     89#: views/backend/settings.class.php:134
     90msgid "Do you want to use the old method for logging usernames?<br/>(Will use SetCustomVariable instead of SetUserID. Enable this only if you need to keep backward compatibility with previously tracked data.)"
     91msgstr ""
     92
     93#: views/backend/settings.class.php:140
    8694msgid "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.)"
    8795msgstr ""
    8896
    89 #: views/backend/settings.class.php:154
     97#: views/backend/settings.class.php:161
    9098msgid "The \"Address\" seems invalid.<br />Please check this field and try again."
    9199msgstr ""
    92100
    93 #: views/backend/settings.class.php:157
     101#: views/backend/settings.class.php:164
    94102msgid "\"Site Id\" must be an integer number greater than zero.<br />Please check this field and try again."
    95103msgstr ""
    96104
    97 #: views/backend/settings.class.php:160
     105#: views/backend/settings.class.php:167
    98106msgid "\"Heartbeat timer\" must be an integer number equal to or greater than zero.<br />Please check this field and try again."
    99107msgstr ""
  • piwik-tracking-by-mente-binaria/trunk/assets/i18n/pt_PT.po

    r1974692 r2029332  
    55"Project-Id-Version: Matomo tracking, by Sergio Santos\n"
    66"Report-Msgid-Bugs-To: https://www.sergiosantos.me\n"
    7 "POT-Creation-Date: 2018-11-15 06:46+0000\n"
    8 "PO-Revision-Date: 2018-11-15 06:47+0000\n"
     7"POT-Creation-Date: 2019-02-12 14:37+0000\n"
     8"PO-Revision-Date: 2019-02-12 14:46+0000\n"
    99"Last-Translator: Sergio Santos <ipse@sergiosantos.me>\n"
    1010"Language-Team: \n"
     
    1616"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    1717
    18 #: views/backend/settings.class.php:32 views/backend/settings.class.php:70
     18#: views/backend/settings.class.php:32 views/backend/settings.class.php:71
    1919msgid "Matomo tracking settings"
    2020msgstr "Configurações do rastreamento Matomo"
     
    4949
    5050#: views/backend/settings.class.php:41
     51msgid "Use old username logging method"
     52msgstr "Usar método antigo para rastrear nomes de utilizador"
     53
     54#: views/backend/settings.class.php:42
    5155msgid "Heartbeat timer"
    5256msgstr "Temporizador Heartbeat"
    5357
    54 #: views/backend/settings.class.php:55
     58#: views/backend/settings.class.php:56
    5559msgid "Settings"
    5660msgstr "Configurações"
    5761
    58 #: views/backend/settings.class.php:97
     62#: views/backend/settings.class.php:98
    5963msgid "Enable Matomo tracking?"
    6064msgstr "Ativar o rastreamento Matomo?"
    6165
    62 #: views/backend/settings.class.php:103
     66#: views/backend/settings.class.php:104
    6367#, php-format
    6468msgid "The address of your Matomo install, without protocol (e.g. %s/matomo)."
    6569msgstr "O endereço da sua instalação do Matomo, sem protocolo (ex. %s/matomo)."
    6670
    67 #: views/backend/settings.class.php:109
     71#: views/backend/settings.class.php:110
    6872msgid "Does your Matomo install support SSL access? (HTTP<b>S</b>://)"
    6973msgstr "A sua instalação do Matomo suporta acesso SSL? (HTTP<b>S</b>://)"
    7074
    71 #: views/backend/settings.class.php:115
     75#: views/backend/settings.class.php:116
    7276msgid "The id of this site on your Matomo install."
    7377msgstr "A Id deste site na sua instalação do Matomo."
    7478
    75 #: views/backend/settings.class.php:121
     79#: views/backend/settings.class.php:122
    7680msgid ""
    7781"Do you want Matomo to use cookies?<br/>(Disabling cookies will make some "
     
    8185"dados menos exatos.)"
    8286
    83 #: views/backend/settings.class.php:127
     87#: views/backend/settings.class.php:128
    8488msgid "Do you want Matomo to log the usernames of logged in users?"
    8589msgstr ""
    8690"Deseja que o Matomo rastreie os nomes de utilizador de utilizadores logados?"
    8791
    88 #: views/backend/settings.class.php:133
     92#: views/backend/settings.class.php:134
     93msgid ""
     94"Do you want to use the old method for logging usernames?<br/>(Will use "
     95"SetCustomVariable instead of SetUserID. Enable this only if you need to keep "
     96"backward compatibility with previously tracked data.)"
     97msgstr ""
     98"Deseja usar o método antigo para rastrear nomes de utilizador?<br/>(Irá usar "
     99"SetCustomVariable em vez de SetUserID. Ative isto apenas se precisar de "
     100"manter a retrocompatibilidade com informação previamente rastreada.)"
     101
     102#: views/backend/settings.class.php:140
    89103msgid ""
    90104"The time between heartbeats, in seconds. Set 0 to disable.<br/>(If you're "
     
    94108"estiver incerto de o que isto é, é melhor deixá-lo desativado.)"
    95109
    96 #: views/backend/settings.class.php:154
     110#: views/backend/settings.class.php:161
    97111msgid ""
    98112"The \"Address\" seems invalid.<br />Please check this field and try again."
     
    101115"novamente."
    102116
    103 #: views/backend/settings.class.php:157
     117#: views/backend/settings.class.php:164
    104118msgid ""
    105119"\"Site Id\" must be an integer number greater than zero.<br />Please check "
     
    109123"verifique este campo e tente novamente."
    110124
    111 #: views/backend/settings.class.php:160
     125#: views/backend/settings.class.php:167
    112126msgid ""
    113127"\"Heartbeat timer\" must be an integer number equal to or greater than zero."
  • piwik-tracking-by-mente-binaria/trunk/views/backend/settings.class.php

    r1974692 r2029332  
    3939        add_settings_field( 'SS_MatomoTracking-enable_cookies', __( 'Enable cookies', SS_MATOMOTRACKING_SLUG ), array( 'SS_MatomoTracking_ControllerBackend', 'output_settings_field' ), SS_MATOMOTRACKING_SLUG, 'general', array( 'label_for' => 'SS_MatomoTracking-enable_cookies' ) );
    4040        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' ) );
     41        add_settings_field( 'SS_MatomoTracking-use_old_username_logging_method', __( 'Use old username logging method', SS_MATOMOTRACKING_SLUG ), array( 'SS_MatomoTracking_ControllerBackend', 'output_settings_field' ), SS_MATOMOTRACKING_SLUG, 'general', array( 'label_for' => 'SS_MatomoTracking-use_old_username_logging_method' ) );
    4142        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' ) );
    4243    }
     
    128129<?php
    129130                break;
     131            case 'use_old_username_logging_method':
     132?>
     133<input id="SS_MatomoTracking-<?php echo $name; ?>" name="SS_MatomoTracking[<?php echo $name; ?>]" type="checkbox" value="1"<?php echo $value ? ' checked="checked"' : ''; ?> />
     134<p class="description"><?php _e( 'Do you want to use the old method for logging usernames?<br/>(Will use SetCustomVariable instead of SetUserID. Enable this only if you need to keep backward compatibility with previously tracked data.)', SS_MATOMOTRACKING_SLUG ); ?></p>
     135<?php
     136                break;
    130137            case 'heartbeat_timer':
    131138?>
Note: See TracChangeset for help on using the changeset viewer.