Skip to content

Commit

Permalink
Merge pull request AY2425S1-CS2103T-T14-4#190 from colinhia/A-Client-…
Browse files Browse the repository at this point in the history
…Refactor

Refactor messages with client/customer/person to Client/Customer
  • Loading branch information
itsme-zeix authored Nov 6, 2024
2 parents f4b26a2 + 23e6992 commit c36e241
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
* This is a project done by Software Engineering (SE) students.<br>
* The project is an adaptation of an ongoing software project for a desktop application (called _AddressBook_) used for managing contact details.
* This is **written in OOP fashion**.
* This is named `AgentAssist` (`AA` for short) because this is designed to help Banking Agents manage the contact details of its customers.
* This is named `AgentAssist` (`AA` for short) because this is designed to help Banking Agents manage the contact details of its clients.
* For the detailed documentation of this project, see the **[AgentAssist Product Website](https://ay2425s1-cs2103t-t14-4.github.io/tp/)**.
* This project is based on the AddressBook-Level3 project created by the [SE-EDU initiative](https://se-education.org).
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class ClearCommand extends Command {

public static final String COMMAND_WORD = "clear";
public static final String MESSAGE_SUCCESS = "AgentAssist's contacts have been cleared!";
public static final String MESSAGE_CLEAR_CONFIRMATION = "This will permanently clear all contacts. "
public static final String MESSAGE_CLEAR_CONFIRMATION = "This will permanently clear all clients' contacts. "
+ "Are you sure you want to execute this command? (y/n)";

private static final boolean requiresConfirmation = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class DeleteCommand extends Command {
+ "Example: '" + COMMAND_WORD + " 1'";

public static final String MESSAGE_DELETE_CLIENT_SUCCESS = "Deleted Client: %1$s";
public static final String MESSAGE_DELETE_CONFIRMATION = "This will permanently delete this contact. "
public static final String MESSAGE_DELETE_CONFIRMATION = "This will permanently delete this client's contact. "
+ "Are you sure you want to execute this command? (y/n)";

private static final boolean requiresConfirmation = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class EditCommand extends Command {
+ PREFIX_PHONE + "91234567 "
+ PREFIX_EMAIL + "[email protected]'";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Edits the details of the person identified "
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Edits the details of the client identified "
+ "by the index number used in the displayed client list. "
+ "Existing values will be overwritten by the input values. Any fields unspecified will not be modified.\n"
+ "Required Parameters: INDEX (must be a positive integer)\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class FilterCommand extends Command {

public static final String COMMAND_WORD = "filter";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Searches for all customers whose specified field "
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Searches for all clients whose specified field "
+ "contains the given substring (case-insensitive) and displays the results in a numbered list.\n"
+ "Parameters: <FLAG>/ <SEARCH TERM>\n"
+ "Flags: n/ NAME, p/ PHONE, e/ EMAIL, a/ ADDRESS, j/ JOB, r/ REMARK i/ (=/</>) INCOME s/ STATUS\n"
Expand Down

0 comments on commit c36e241

Please sign in to comment.