Browse files

Added translation support for ajax messages.

  • Loading branch information...
1 parent 05c6e6e commit ea446985296260982aebd1ea6025ea3e46ac4f32 @mvied committed Mar 29, 2013
View
4 lib/WordPressHTTPS/Module/DomainMapping.php
@@ -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;
View
2 lib/WordPressHTTPS/Module/Network.php
@@ -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;
View
4 lib/WordPressHTTPS/Module/Settings.php
@@ -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;
View
4 lib/WordPressHTTPS/Module/UrlFilters.php
@@ -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;

0 comments on commit ea44698

Please sign in to comment.