Skip to content

Commit

Permalink
translate error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
stillatmylinux committed Aug 29, 2018
1 parent ba37f6f commit 615a2d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/AppPresser_WPAPI_Mods.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public function api_login( $request ) {
'success' => false
);

wp_send_json_error( 'The log in you have entered is not valid.' );
wp_send_json_error( __('The log in you have entered is not valid.', 'apppresser') );

} else {

Expand Down
3 changes: 2 additions & 1 deletion languages/apppresser.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: apppresser 2.2.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-08-29 08:11-0500\n"
"POT-Creation-Date: 2018-08-29 10:42-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -485,6 +485,7 @@ msgid ""
msgstr ""

#: inc/AppPresser_Ajax_Extras.php:69 inc/AppPresser_WPAPI_Mods.php:228
#: inc/AppPresser_WPAPI_Mods.php:234
msgid "The log in you have entered is not valid."
msgstr ""

Expand Down

0 comments on commit 615a2d4

Please sign in to comment.