Skip to content

Commit

Permalink
feat(widget): add unknown user name to language tab
Browse files Browse the repository at this point in the history
add unknown user name to language tab
  • Loading branch information
AlaaN-Smadi committed Dec 10, 2024
1 parent 319e650 commit 1241493
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions resources/languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@
"inputType": "text",
"toolTip": "",
"placeholder": "Purchase Not Available On Browser"
},
"unknownUser": {
"title": "Unknown User",
"defaultValue": "Someone",
"inputType": "text",
"maxLength": 20,
"toolTip": "",
"placeholder": "Someone"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion widget/controllers/widget.home.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ var config = {};
(user.lastName ? user.lastName : '')
);
} else {
return 'Someone';
return getLanguageString('mainScreen.unknownUser') || 'Someone';
}
}
}
Expand Down

0 comments on commit 1241493

Please sign in to comment.