We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b6e418 commit deaa422Copy full SHA for deaa422
1 file changed
src/system/contracts/NewUser.sim
@@ -5,10 +5,10 @@ contract NewUser {
5
conditions {
6
$id = PubToID($NewPubkey)
7
if $id == 0 {
8
- error "Wrong pubkey"
+ error LangRes("@1wrong_pub", "en")
9
}
10
if DBFind("keys").Columns("id").WhereId($id).One("id") != nil {
11
- error "User already exists"
+ error LangRes("@1template_user_exists", "en")
12
13
14
action {
0 commit comments