diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2020-11-10 22:27:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 22:27:54 +0300 |
commit | 3c64683bf85aee739bc7aa18eeefe9dcf4c7896c (patch) | |
tree | 91df7b7781523295e1e33dcc22fbfe625f1d3f26 /plugins/UserCountry | |
parent | 967605365639838ce131c557ede6a6e8dda13b59 (diff) |
Set name and default value for certain dimensions. (#16684)
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r-- | plugins/UserCountry/Columns/Provider.php | 3 | ||||
-rw-r--r-- | plugins/UserCountry/lang/en.json | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/UserCountry/Columns/Provider.php b/plugins/UserCountry/Columns/Provider.php index fb50378d8d..a2e76a9878 100644 --- a/plugins/UserCountry/Columns/Provider.php +++ b/plugins/UserCountry/Columns/Provider.php @@ -19,7 +19,8 @@ class Provider extends Base protected $columnName = 'location_provider'; protected $type = self::TYPE_TEXT; protected $category = 'UserCountry_VisitLocation'; - + protected $nameSingular = 'UserCountry_InternetServiceProvider'; + protected $namePlural = 'UserCountry_InternetServiceProviderPlural'; /** * @param Request $request * @param Visitor $visitor diff --git a/plugins/UserCountry/lang/en.json b/plugins/UserCountry/lang/en.json index 4c927f7345..1108c84c4c 100644 --- a/plugins/UserCountry/lang/en.json +++ b/plugins/UserCountry/lang/en.json @@ -42,6 +42,8 @@ "ToGeolocateOldVisits": "To get location data for your old visits, use the script described %1$shere%2$s.", "WidgetLocation": "Visitor Location", "GeoIpDbIpAccuracyNote": "Note: the DBIP databases are free and can be downloaded automatically, but geolocation results (specifically city results) are not as accurate as MaxMind's. MaxMind, however, requires that you create an account even for the free database. If you want to use MaxMind's geolocation database, you can start the process %1$shere%2$s", - "MaxMindLinkExplanation": "If you are using MaxMind's geolocation databases and you do not already know how to generate your download URL, %1$sclick here to learn how%2$s." + "MaxMindLinkExplanation": "If you are using MaxMind's geolocation databases and you do not already know how to generate your download URL, %1$sclick here to learn how%2$s.", + "InternetServiceProvider": "Internet Service Provider", + "InternetServiceProviderPlural": "Internet Service Providers" } }
\ No newline at end of file |