Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
perf(create-client): improved response messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tulsi91 authored and KaiSchwarz-cnic committed Mar 30, 2020
1 parent 8383eed commit ffcaf26
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/addons/ispapidomainimport/lib/Admin/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ public function importsingle($vars, $smarty)
if ($result["msgid"]) {
$result["msg"] = $vars["_lang"][$result["msgid"]];
}
//if custom translation does not exist for 'msgid' in the module
if (!$result["msg"]) {
$result["msg"] = \Lang::trans($result["msgid"]);
}

die(json_encode($result));
}

Expand Down

0 comments on commit ffcaf26

Please sign in to comment.