Skip to content

Commit a0bc784

Browse files
fix: updated UI text
1 parent 9359ad3 commit a0bc784

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

src/commands/app/uninstall.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class Uninstall extends BaseCommand<typeof Uninstall> {
1818
description: commonMsg.APP_UID,
1919
}),
2020
'installation-uid': flags.string({
21-
description: uninstallAppMsg.CHOOSE_AN_INSTALLATION
21+
description: uninstallAppMsg.INSTALLATION_UID
2222
})
2323
}
2424

src/messages/index.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ const commonMsg = {
3232
"Enter the Developer Hub Base URL for the {name} region: ",
3333
APP_UID: "Provide the app UID",
3434
APP_TYPE_DESCRIPTION: "Type of App",
35-
CONTACT_SUPPORT: "Please contact support team.",
36-
STACK_API_KEY: "Please provide api-key for the stack",
37-
USER_TERMINATION: "Process terminated by user."
35+
CONTACT_SUPPORT: "Please contact the support team.",
36+
STACK_API_KEY: "API key of the stack where the app is to be installed.",
37+
USER_TERMINATION: "Process terminated by the user."
3838
};
3939

4040
const appCreate = {
@@ -75,26 +75,26 @@ const appUpdate = {
7575
};
7676

7777
const deleteAppMsg = {
78-
APP_IS_INSTALLED: "This app is installed in one of your stacks. Please uninstall to proceed with delete.",
79-
APP_DELETED_SUCCESSFULLY: "{app} has been deleted successfully.",
80-
APP_UID_INVALID: "app uid must be valid",
78+
APP_IS_INSTALLED: "This app is installed in one of your stacks. Please uninstall the app from your stack to proceed with the delete operation.",
79+
APP_DELETED_SUCCESSFULLY: "{app} deleted successfully.",
80+
APP_UID_INVALID: "App UID must be valid.",
8181
PLEASE_SELECT_APP_FROM_LIST: "Please select an app from the list",
8282
}
8383

8484
const installAppMsg = {
8585
CHOOSE_A_STACK: "Please select a stack",
86-
APP_INSTALLED_SUCCESSFULLY: "{app} has been installed successfully on {target}.",
87-
INSTALL_ORG_APP_TO_STACK: "{app} is an organization app, it cannot be installed to a stack. Do you want to proceed",
88-
MISSING_STACK_API_KEY: "As {app} is a stack app, it can only be installed on a stack. Please select a stack.",
89-
INSTALLING_APP_NOTICE: "Installing {app} on {type} {target}"
86+
APP_INSTALLED_SUCCESSFULLY: "{app} installed successfully in {target}.",
87+
INSTALL_ORG_APP_TO_STACK: "{app} is an organization app. It cannot be installed to a stack. Do you want to proceed?",
88+
MISSING_STACK_API_KEY: "As {app} is a stack app, it can only be installed in a stack. Please select a stack.",
89+
INSTALLING_APP_NOTICE: "Installing {app} on {type} {target}."
9090
}
9191

9292
const uninstallAppMsg = {
93-
CHOOSE_AN_INSTALLATION: "Please select where the app needs to be uninstalled",
94-
INSTALLATION_UID: "Installation UID which needs to be uninstalled",
95-
NO_INSTALLATIONS_FOUND: "No installations found for this app",
96-
APP_UNINSTALLED: "{app} has been uninstalled successfully.",
97-
UNINSTALLING_APP: "Uninstalling app from {type}"
93+
CHOOSE_AN_INSTALLATION: "Please select the stack from where the app must be uninstalled",
94+
INSTALLATION_UID: "Provide the installation ID of the app that needs to be uninstalled.",
95+
NO_INSTALLATIONS_FOUND: "Cannot find any installations for this app.",
96+
APP_UNINSTALLED: "{app} uninstalled successfully.",
97+
UNINSTALLING_APP: "Uninstalling app from {type}..."
9898
}
9999

100100
const messages: typeof errors &

0 commit comments

Comments
 (0)