Skip to content
Extraits de code Groupes Projets
Valider a1da0be9 rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

cleaned translations after usersettings cleanup

parent 265c4a80
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -23,14 +23,14 @@ class BrowserName extends Base ...@@ -23,14 +23,14 @@ class BrowserName extends Base
{ {
$segment = new Segment(); $segment = new Segment();
$segment->setSegment('browserCode'); $segment->setSegment('browserCode');
$segment->setName('UserSettings_ColumnBrowser'); $segment->setName('DevicesDetection_ColumnBrowser');
$segment->setAcceptedValues('FF, IE, CH, SF, OP, etc.'); $segment->setAcceptedValues('FF, IE, CH, SF, OP, etc.');
$this->addSegment($segment); $this->addSegment($segment);
} }
public function getName() public function getName()
{ {
return Piwik::translate('UserSettings_ColumnBrowser'); return Piwik::translate('DevicesDetection_ColumnBrowser');
} }
/** /**
......
...@@ -24,14 +24,14 @@ class Os extends Base ...@@ -24,14 +24,14 @@ class Os extends Base
{ {
$segment = new Segment(); $segment = new Segment();
$segment->setSegment('operatingSystemCode'); $segment->setSegment('operatingSystemCode');
$segment->setName('UserSettings_ColumnOperatingSystem'); $segment->setName('DevicesDetection_ColumnOperatingSystem');
$segment->setAcceptedValues('WXP, WI7, MAC, LIN, AND, IPD, etc.'); $segment->setAcceptedValues('WXP, WI7, MAC, LIN, AND, IPD, etc.');
$this->addSegment($segment); $this->addSegment($segment);
} }
public function getName() public function getName()
{ {
return Piwik::translate('UserSettings_OperatingSystemFamily'); return Piwik::translate('DevicesDetection_OperatingSystemFamily');
} }
/** /**
......
...@@ -13,7 +13,6 @@ use Piwik\ArchiveProcessor; ...@@ -13,7 +13,6 @@ use Piwik\ArchiveProcessor;
use Piwik\Db; use Piwik\Db;
use Piwik\Piwik; use Piwik\Piwik;
use Piwik\Plugin\Manager as PluginManager; use Piwik\Plugin\Manager as PluginManager;
use Piwik\Plugins\UserSettings\UserSettings;
use Piwik\Plugins\DevicesDetection\Visitor; use Piwik\Plugins\DevicesDetection\Visitor;
require_once PIWIK_INCLUDE_PATH . '/plugins/DevicesDetection/functions.php'; require_once PIWIK_INCLUDE_PATH . '/plugins/DevicesDetection/functions.php';
......
...@@ -18,10 +18,10 @@ class GetBrowsers extends Base ...@@ -18,10 +18,10 @@ class GetBrowsers extends Base
{ {
parent::init(); parent::init();
$this->dimension = new BrowserName(); $this->dimension = new BrowserName();
$this->name = Piwik::translate('UserSettings_WidgetBrowsers'); $this->name = Piwik::translate('DevicesDetection_WidgetBrowsers');
$this->documentation = Piwik::translate('UserSettings_WidgetBrowsersDocumentation', '<br />'); $this->documentation = Piwik::translate('DevicesDetection_WidgetBrowsersDocumentation', '<br />');
$this->order = 1; $this->order = 1;
$this->widgetTitle = 'UserSettings_WidgetBrowsers'; $this->widgetTitle = 'DevicesDetection_WidgetBrowsers';
} }
public function configureView(ViewDataTable $view) public function configureView(ViewDataTable $view)
......
...@@ -194,7 +194,7 @@ function getOSFamilyFullName($label) ...@@ -194,7 +194,7 @@ function getOSFamilyFullName($label)
if ($label == 'unknown') { if ($label == 'unknown') {
$label = Piwik::translate('General_Unknown'); $label = Piwik::translate('General_Unknown');
} else if ($label == 'Gaming Console') { } else if ($label == 'Gaming Console') {
$label = Piwik::translate('UserSettings_GamingConsole'); $label = Piwik::translate('DevicesDetection_Console');
} }
if ($label !== false) { if ($label !== false) {
......
{ {
"DevicesDetection": { "DevicesDetection": {
"BrowserVersions": "Browser versions",
"BrowserEngine": "Browser engine", "BrowserEngine": "Browser engine",
"BrowserEngines": "Browser engines",
"BrowserEngineDocumentation": "This report shows your visitors' browsers broken down into browser eninges. %s The most important information for web developers is what kind of rendering engine their visitors are using. The labels contain the names of the engines followed by the most common browser using that engine in brackets.", "BrowserEngineDocumentation": "This report shows your visitors' browsers broken down into browser eninges. %s The most important information for web developers is what kind of rendering engine their visitors are using. The labels contain the names of the engines followed by the most common browser using that engine in brackets.",
"BrowserEngines": "Browser engines",
"BrowserFamily": "Browser family", "BrowserFamily": "Browser family",
"Browsers": "Browsers",
"BrowserVersion": "Browser version", "BrowserVersion": "Browser version",
"BrowserVersions": "Browser versions",
"Camera": "Camera", "Camera": "Camera",
"CarBrowser": "Car browser", "CarBrowser": "Car browser",
"ColumnBrowser": "Browser",
"ColumnOperatingSystem": "Operating system",
"Console": "Console", "Console": "Console",
"dataTableLabelBrands": "Brand", "dataTableLabelBrands": "Brand",
"dataTableLabelModels": "Model", "dataTableLabelModels": "Model",
...@@ -21,6 +24,8 @@ ...@@ -21,6 +24,8 @@
"DeviceType": "Device type", "DeviceType": "Device type",
"FeaturePhone": "Feature phone", "FeaturePhone": "Feature phone",
"OperatingSystemFamilies": "Operating System families", "OperatingSystemFamilies": "Operating System families",
"OperatingSystemFamily": "Operating system family",
"OperatingSystems": "Operating systems",
"OperatingSystemVersions": "Operating System versions", "OperatingSystemVersions": "Operating System versions",
"PluginDescription": "This plugin provides extended information about mobile devices, such as Brand (manufacturer), Model (device version), better Device type detection (tv, consoles, smart phones, desktop, etc) and more. This plugin adds a new report in 'Visitors > Devices'.", "PluginDescription": "This plugin provides extended information about mobile devices, such as Brand (manufacturer), Model (device version), better Device type detection (tv, consoles, smart phones, desktop, etc) and more. This plugin adds a new report in 'Visitors > Devices'.",
"SmartDisplay": "Smart display", "SmartDisplay": "Smart display",
...@@ -28,6 +33,8 @@ ...@@ -28,6 +33,8 @@
"submenu": "Devices", "submenu": "Devices",
"Tablet": "Tablet", "Tablet": "Tablet",
"TV": "Tv", "TV": "Tv",
"UserAgent": "User-Agent" "UserAgent": "User-Agent",
"WidgetBrowsers": "Visitor Browser",
"WidgetBrowsersDocumentation": "This report contains information about what kind of browser your visitors were using. Each browser version is listed separately."
} }
} }
\ No newline at end of file
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<input type="submit" value="{{ 'General_Refresh'|translate }}" /> <input type="submit" value="{{ 'General_Refresh'|translate }}" />
</form> </form>
<h3>{{ 'UserSettings_ColumnOperatingSystem'|translate }}</h3> <h3>{{ 'DevicesDetection_ColumnOperatingSystem'|translate }}</h3>
<table class="dataTable detection"> <table class="dataTable detection">
<tr> <tr>
<td>{{ 'General_Name'|translate }} <small>(<a href="javascript:showList('os');">{{ 'Mobile_ShowAll'|translate }}</a>)</small></td> <td>{{ 'General_Name'|translate }} <small>(<a href="javascript:showList('os');">{{ 'Mobile_ShowAll'|translate }}</a>)</small></td>
...@@ -58,12 +58,12 @@ ...@@ -58,12 +58,12 @@
<td>{{ os_version }}</td> <td>{{ os_version }}</td>
</tr> </tr>
<tr> <tr>
<td>{{ 'UserSettings_OperatingSystemFamily'|translate }} <small>(<a href="javascript:showList('osfamilies');">{{ 'Mobile_ShowAll'|translate }}</a>)</small></td> <td>{{ 'DevicesDetection_OperatingSystemFamily'|translate }} <small>(<a href="javascript:showList('osfamilies');">{{ 'Mobile_ShowAll'|translate }}</a>)</small></td>
<td><img src="{{ os_family_logo }}" />{{ os_family }}</td> <td><img src="{{ os_family_logo }}" />{{ os_family }}</td>
</tr> </tr>
</table> </table>
<h3>{{ 'UserSettings_ColumnBrowser'|translate }}</h3> <h3>{{ 'DevicesDetection_ColumnBrowser'|translate }}</h3>
<table class="dataTable detection"> <table class="dataTable detection">
<tr> <tr>
<td>{{ 'General_Name'|translate }} <small>(<a href="javascript:showList('browsers');">{{ 'Mobile_ShowAll'|translate }}</a>)</small></td> <td>{{ 'General_Name'|translate }} <small>(<a href="javascript:showList('browsers');">{{ 'Mobile_ShowAll'|translate }}</a>)</small></td>
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
</div> </div>
<div id='rightcolumn'> <div id='rightcolumn'>
<h2 piwik-enriched-headline>{{ "UserSettings_OperatingSystems"|translate }}</h2> <h2 piwik-enriched-headline>{{ "DevicesDetection_OperatingSystems"|translate }}</h2>
{{ osReport | raw}} {{ osReport | raw}}
<h2 piwik-enriched-headline>{{ "UserSettings_Browsers"|translate }}</h2> <h2 piwik-enriched-headline>{{ "DevicesDetection_Browsers"|translate }}</h2>
{{ browserReport | raw }} {{ browserReport | raw }}
<h2 piwik-enriched-headline>{{ "DevicesDetection_BrowserEngines"|translate }}</h2> <h2 piwik-enriched-headline>{{ "DevicesDetection_BrowserEngines"|translate }}</h2>
{{ browserEngineReport | raw }} {{ browserEngineReport | raw }}
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
"WebsitesReportDocumentation": "In this table, you can see which websites referred visitors to your site. %s By clicking on a row in the table, you can see which URLs the links to your website were on.", "WebsitesReportDocumentation": "In this table, you can see which websites referred visitors to your site. %s By clicking on a row in the table, you can see which URLs the links to your website were on.",
"WidgetExternalWebsites": "Referrer Websites", "WidgetExternalWebsites": "Referrer Websites",
"WidgetGetAll": "All Referrers", "WidgetGetAll": "All Referrers",
"WidgetKeywords": "Keywords", "WidgetKeywords": "List of keywords",
"WidgetSocials": "List of social networks", "WidgetSocials": "List of social networks",
"WidgetTopKeywordsForPages": "Top Keywords for Page URL", "WidgetTopKeywordsForPages": "Top Keywords for Page URL",
"XPercentOfVisits": "%s%% of visits" "XPercentOfVisits": "%s%% of visits"
......
{ {
"UserSettings": { "UserSettings": {
"BrowserFamilies": "Browser families",
"BrowserLanguage": "Browser language", "BrowserLanguage": "Browser language",
"Browsers": "Browsers",
"BrowserWithNoPluginsEnabled": "%1$s with no plugins enabled", "BrowserWithNoPluginsEnabled": "%1$s with no plugins enabled",
"BrowserWithPluginsEnabled": "%1$s with plugins %2$s enabled", "BrowserWithPluginsEnabled": "%1$s with plugins %2$s enabled",
"ColumnBrowser": "Browser",
"ColumnConfiguration": "Configuration", "ColumnConfiguration": "Configuration",
"ColumnOperatingSystem": "Operating system",
"ColumnResolution": "Resolution", "ColumnResolution": "Resolution",
"ColumnTypeOfScreen": "Type of screen", "ColumnTypeOfScreen": "Type of screen",
"ScreenTypes": "Screen types", "ScreenTypes": "Screen types",
"Configurations": "Configurations", "Configurations": "Configurations",
"GamingConsole": "Gaming Console",
"Language_aa": "Afar", "Language_aa": "Afar",
"Language_ab": "Abkhazian", "Language_ab": "Abkhazian",
"Language_ae": "Avestan", "Language_ae": "Avestan",
...@@ -198,18 +193,13 @@ ...@@ -198,18 +193,13 @@
"Language_zh": "Chinese", "Language_zh": "Chinese",
"Language_zu": "Zulu", "Language_zu": "Zulu",
"LanguageCode": "Language code", "LanguageCode": "Language code",
"OperatingSystemFamily": "Operating system family",
"OperatingSystems": "Operating systems",
"PluginDescription": "Reports various User Settings: Browser, Browser Family, Operating System, Plugins, Resolution, Global Settings.", "PluginDescription": "Reports various User Settings: Browser, Browser Family, Operating System, Plugins, Resolution, Global Settings.",
"PluginDetectionDoesNotWorkInIE": "Note: Plugins detection doesn't work in Internet Explorer. This report is only based on non-IE browsers.", "PluginDetectionDoesNotWorkInIE": "Note: Plugins detection doesn't work in Internet Explorer. This report is only based on non-IE browsers.",
"Resolutions": "Resolutions", "Resolutions": "Resolutions",
"VisitorSettings": "Visitor Settings", "VisitorSettings": "Visitor Settings",
"WideScreen": "Wide Screen", "WideScreen": "Wide Screen",
"WidgetBrowsers": "Visitor Browser",
"WidgetBrowsersDocumentation": "This report contains information about what kind of browser your visitors were using. Each browser version is listed separately.",
"WidgetGlobalVisitors": "Visitor Configuration", "WidgetGlobalVisitors": "Visitor Configuration",
"WidgetGlobalVisitorsDocumentation": "This report shows the most common overall configurations that your visitors had. A configuration is the combination of an operating system, a browser type and a screen resolution.", "WidgetGlobalVisitorsDocumentation": "This report shows the most common overall configurations that your visitors had. A configuration is the combination of an operating system, a browser type and a screen resolution.",
"WidgetOperatingSystems": "Operating System",
"WidgetPlugins": "Browser Plugins", "WidgetPlugins": "Browser Plugins",
"WidgetPluginsDocumentation": "This report shows which browser plugins your visitors had enabled. This information might be important for choosing the right way to deliver your content.", "WidgetPluginsDocumentation": "This report shows which browser plugins your visitors had enabled. This information might be important for choosing the right way to deliver your content.",
"WidgetResolutions": "Screen Resolution", "WidgetResolutions": "Screen Resolution",
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter