Skip to content

Commit

Permalink
3 more i18n strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Pick committed Feb 20, 2016
1 parent 638354f commit 26521c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions data-sources/manual.php
Expand Up @@ -50,9 +50,11 @@ public function getParameterHTML() {
$current_value = '<br >' . sprintf(__('Current value: %s', 'geoip-detect'), get_option('geoip-detect-manual_file_validated'));
}

$label = __('Filepath to mmdb-file:', 'geoip-detect');
$desc = __('e.g. wp-content/uploads/GeoLite2-Country.mmdb or absolute filepath', 'geoip-detect');
$html = <<<HTML
<p>Filepath to mmdb-file: <input type="text" size="40" name="options_manual[manual_file]" value="$manual_file" /></p>
<span class="detail-box">e.g. wp-content/uploads/GeoLite2-Country.mmdb or absolute filepath$current_value</span>
<p>$label <input type="text" size="40" name="options_manual[manual_file]" value="$manual_file" /></p>
<span class="detail-box">$desc $current_value</span>
<br />
HTML;

Expand Down
2 changes: 1 addition & 1 deletion init.php
Expand Up @@ -55,7 +55,7 @@ function geoip_detect_admin_notice_database_missing() {

<h3><?php _e( 'GeoIP Detection: No database installed', 'geoip-detect' ); ?></h3>
<p><?php printf(__('The Plugin %s is currently using the Webservice <a href="http://hostip.info" target="_blank">hostip.info</a> as data source. <br />You can click on the button below to download and install Maxmind GeoIPv2 Lite City now.', 'geoip-detect' ), $url); ?></p>
<p><?php printf(__('This database is licenced <a href="http://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA</a>. See <a href="http://dev.maxmind.com/geoip/geoip2/geolite2/#License">License</a> for details.')); ?>
<p><?php printf(__('This database is licenced <a href="http://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA</a>. See <a href="http://dev.maxmind.com/geoip/geoip2/geolite2/#License">License</a> for details.', 'geoip-detect')); ?>



Expand Down

0 comments on commit 26521c6

Please sign in to comment.