Skip to content
This repository
Browse code

Added translation support for ajax messages.

  • Loading branch information...
commit ea446985296260982aebd1ea6025ea3e46ac4f32 1 parent 05c6e6e
Mike Ems authored
4 lib/WordPressHTTPS/Module/DomainMapping.php
@@ -78,7 +78,7 @@ public function reset() {
78 78 return false;
79 79 }
80 80
81   - $message = "Domain Mapping reset.";
  81 + $message = _e('Domain Mapping reset.','wordpress-https');
82 82 $errors = array();
83 83 $reload = true;
84 84
@@ -98,7 +98,7 @@ public function save() {
98 98 return false;
99 99 }
100 100
101   - $message = "Domain Mapping saved.";
  101 + $message = _e('Domain Mapping saved.','wordpress-https');
102 102 $errors = array();
103 103 $reload = false;
104 104
2  lib/WordPressHTTPS/Module/Network.php
@@ -118,7 +118,7 @@ public function save() {
118 118 return false;
119 119 }
120 120
121   - $message = "Network settings saved.";
  121 + $message = _e('Network settings saved.','wordpress-https');
122 122 $errors = array();
123 123 $reload = false;
124 124 $logout = false;
4 lib/WordPressHTTPS/Module/Settings.php
@@ -195,7 +195,7 @@ public function reset() {
195 195 return false;
196 196 }
197 197
198   - $message = "Settings reset.";
  198 + $message = _e('Settings reset.','wordpress-https');
199 199 $errors = array();
200 200 $reload = true;
201 201
@@ -218,7 +218,7 @@ public function save() {
218 218 return false;
219 219 }
220 220
221   - $message = "Settings saved.";
  221 + $message = _e('Settings saved.','wordpress-https');
222 222 $errors = array();
223 223 $reload = false;
224 224 $logout = false;
4 lib/WordPressHTTPS/Module/UrlFilters.php
@@ -80,7 +80,7 @@ public function reset() {
80 80 return false;
81 81 }
82 82
83   - $message = "URL Filters reset.";
  83 + $message = _e('URL Filters reset.','wordpress-https');
84 84 $errors = array();
85 85 $reload = true;
86 86
@@ -100,7 +100,7 @@ public function save() {
100 100 return false;
101 101 }
102 102
103   - $message = "URL Filters saved.";
  103 + $message = _e('URL Filters saved.','wordpress-https');
104 104 $errors = array();
105 105 $reload = false;
106 106

0 comments on commit ea44698

Please sign in to comment.
Something went wrong with that request. Please try again.