Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added translation support for ajax messages.

  • Loading branch information...
commit ea446985296260982aebd1ea6025ea3e46ac4f32 1 parent 05c6e6e
Mike Ems authored
4 lib/WordPressHTTPS/Module/DomainMapping.php
View
@@ -78,7 +78,7 @@ public function reset() {
return false;
}
- $message = "Domain Mapping reset.";
+ $message = _e('Domain Mapping reset.','wordpress-https');
$errors = array();
$reload = true;
@@ -98,7 +98,7 @@ public function save() {
return false;
}
- $message = "Domain Mapping saved.";
+ $message = _e('Domain Mapping saved.','wordpress-https');
$errors = array();
$reload = false;
2  lib/WordPressHTTPS/Module/Network.php
View
@@ -118,7 +118,7 @@ public function save() {
return false;
}
- $message = "Network settings saved.";
+ $message = _e('Network settings saved.','wordpress-https');
$errors = array();
$reload = false;
$logout = false;
4 lib/WordPressHTTPS/Module/Settings.php
View
@@ -195,7 +195,7 @@ public function reset() {
return false;
}
- $message = "Settings reset.";
+ $message = _e('Settings reset.','wordpress-https');
$errors = array();
$reload = true;
@@ -218,7 +218,7 @@ public function save() {
return false;
}
- $message = "Settings saved.";
+ $message = _e('Settings saved.','wordpress-https');
$errors = array();
$reload = false;
$logout = false;
4 lib/WordPressHTTPS/Module/UrlFilters.php
View
@@ -80,7 +80,7 @@ public function reset() {
return false;
}
- $message = "URL Filters reset.";
+ $message = _e('URL Filters reset.','wordpress-https');
$errors = array();
$reload = true;
@@ -100,7 +100,7 @@ public function save() {
return false;
}
- $message = "URL Filters saved.";
+ $message = _e('URL Filters saved.','wordpress-https');
$errors = array();
$reload = false;
Please sign in to comment.
Something went wrong with that request. Please try again.