Skip to content
Extraits de code Groupes Projets
Valider 51e6c353 rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Refs #1845, make sure current site host is used in default alias in merge...

Refs #1845, make sure current site host is used in default alias in merge alias option description and in group by domain description.
parent 23bb3223
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -482,7 +482,7 @@ $translations = array( ...@@ -482,7 +482,7 @@ $translations = array(
'CoreAdminHome_JSTracking_MergeAliases' => 'In the "Outlinks" report, hide clicks to known alias URLs of', 'CoreAdminHome_JSTracking_MergeAliases' => 'In the "Outlinks" report, hide clicks to known alias URLs of',
'CoreAdminHome_JSTracking_MergeAliasesDesc' => 'So clicks on links to Alias URLs (eg. %s) will not be counted as "Outlink".', 'CoreAdminHome_JSTracking_MergeAliasesDesc' => 'So clicks on links to Alias URLs (eg. %s) will not be counted as "Outlink".',
'CoreAdminHome_JSTracking_GroupPageTitlesByDomain' => 'Prepend the site domain to the page title when tracking', 'CoreAdminHome_JSTracking_GroupPageTitlesByDomain' => 'Prepend the site domain to the page title when tracking',
'CoreAdminHome_JSTracking_GroupPageTitlesByDomainDesc' => 'So if someone visits the \'About\' page on blog.example.com it will be recorded as \'blog / About\'. This is the easiest way to get an overview of your traffic by sub-domain.', 'CoreAdminHome_JSTracking_GroupPageTitlesByDomainDesc1' => 'So if someone visits the \'About\' page on blog.%1$s it will be recorded as \'blog / About\'. This is the easiest way to get an overview of your traffic by sub-domain.',
'CoreAdminHome_JSTracking_VisitorCustomVars' => 'Track custom variables for this visitor', 'CoreAdminHome_JSTracking_VisitorCustomVars' => 'Track custom variables for this visitor',
'CoreAdminHome_JSTracking_VisitorCustomVarsDesc' => 'For example, with variable name "Type" and value "Customer".', 'CoreAdminHome_JSTracking_VisitorCustomVarsDesc' => 'For example, with variable name "Type" and value "Customer".',
'CoreAdminHome_JSTracking_PageCustomVars' => 'Track a custom variable for each page view', 'CoreAdminHome_JSTracking_PageCustomVars' => 'Track a custom variable for each page view',
......
...@@ -307,7 +307,8 @@ $(document).ready(function() { ...@@ -307,7 +307,8 @@ $(document).ready(function() {
$(this).text(siteHost); $(this).text(siteHost);
}); });
$('.current-site-alias').text(siteUrls[site.id][1] || 'x.domain.com'); var defaultAliasUrl = 'x.' + siteHost;
$('.current-site-alias').text(siteUrls[site.id][1] || defaultAliasUrl);
resetGoalSelectItems(site.id, 'js-tracker-goal'); resetGoalSelectItems(site.id, 'js-tracker-goal');
generateJsCode(); generateJsCode();
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<label for="javascript-tracking-group-by-domain">{'CoreAdminHome_JSTracking_GroupPageTitlesByDomain'|translate}</label> <label for="javascript-tracking-group-by-domain">{'CoreAdminHome_JSTracking_GroupPageTitlesByDomain'|translate}</label>
<div class="small-form-description"> <div class="small-form-description">
{'CoreAdminHome_JSTracking_GroupPageTitlesByDomainDesc'|translate} {'CoreAdminHome_JSTracking_GroupPageTitlesByDomainDesc1'|translate:"<span class='current-site-host'>$defaultReportSiteDomain</span>"}
</div> </div>
</div> </div>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter