Skip to content

Commit b826ba4

Browse files
committed
Made changes to strings and handling tool not support error.
1 parent 8e17f15 commit b826ba4

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

src/extensions/default/DebugCommands/main.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,11 @@ define(function (require, exports, module) {
123123
case appshell.app.ERR_CL_TOOLS_SERVFAILED:
124124
errorString = Strings.ERROR_CLTOOLS_SERVFAILED;
125125
break;
126+
case appshell.app.ERR_CL_TOOLS_NOTSUPPORTED:
127+
errorString = Strings.ERROR_CLTOOLS_NOTSUPPORTED;
128+
break;
126129
default:
127-
errorString = "UnknownError";
130+
errorString = "Unknown Error.";
128131
break;
129132
}
130133

src/nls/root/strings.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ define({
574574
"CMD_REFRESH_WINDOW" : "Reload With Extensions",
575575
"CMD_RELOAD_WITHOUT_USER_EXTS" : "Reload Without Extensions",
576576
"CMD_NEW_BRACKETS_WINDOW" : "New {APP_NAME} Window",
577-
"CMD_LAUNCH_SCRIPT_MAC" : "Install Launch Script",
577+
"CMD_LAUNCH_SCRIPT_MAC" : "Add Brackets Command Line",
578578
"CMD_SWITCH_LANGUAGE" : "Switch Language",
579579
"CMD_RUN_UNIT_TESTS" : "Run Tests",
580580
"CMD_SHOW_PERF_DATA" : "Show Performance Data",
@@ -583,14 +583,15 @@ define({
583583
"CMD_RESTART_NODE" : "Restart Node",
584584
"CMD_SHOW_ERRORS_IN_STATUS_BAR" : "Show Errors in Status Bar",
585585
"CMD_OPEN_BRACKETS_SOURCE" : "Open {APP_NAME} Source",
586-
"ERROR_CREATING_LAUNCH_SCRIPT" : "An erorr occured while creating {APP_NAME} launcher script at /usr/local/bin. Please refer to https://github.com/adobe/brackets/wiki/Command-Line-Arguments for troubleshooting. Reason: ",
587-
"ERROR_CLTOOLS_RMFAILED" : "Failed to remove existing {APP_NAME} symlink at /usr/local/bin.",
588-
"ERROR_CLTOOLS_MKDIRFAILED" : "Failed to create /usr/local/bin directory structure",
589-
"ERROR_CLTOOLS_LNFAILED" : "Failed to create {APP_NAME} symlink at /usr/local/bin",
590-
"ERROR_CLTOOLS_SERVFAILED" : "Failed to create authorization",
586+
"ERROR_CREATING_LAUNCH_SCRIPT" : "An erorr occured while creating {APP_NAME} command line tools at <code>/usr/local/bin</code>. Please refer to <a href='https://github.com/adobe/brackets/wiki/Command-Line-Arguments#troubleshooting'>command line</a> wiki for troubleshooting.<br/><br/>Reason: ",
587+
"ERROR_CLTOOLS_RMFAILED" : "Failed to remove existing {APP_NAME} symlink at <code>/usr/local/bin.</code>",
588+
"ERROR_CLTOOLS_MKDIRFAILED" : "Failed to create <code>/usr/local/bin</code> directory structure.",
589+
"ERROR_CLTOOLS_LNFAILED" : "Failed to create {APP_NAME} symlink at <code>/usr/local/bin</code>.",
590+
"ERROR_CLTOOLS_SERVFAILED" : "Failed to create authorization object.",
591+
"ERROR_CLTOOLS_NOTSUPPORTED" : "{APP_NAME} command line tool installation is not supported on this OS.",
591592

592-
"LAUNCH_SCRIPT_CREATE_SUCCESS" : "Launch script succesfully installed! You can now launch {APP_NAME} from terminal.",
593-
"CREATING_LAUNCH_SCRIPT_TITLE" : "Add Brackets Command Line",
593+
"LAUNCH_SCRIPT_CREATE_SUCCESS" : "Command line tools succesfully installed! Now you can easily launch {APP_NAME} from command line using <code>{APP_NAME} myFile.txt</code> or <code>{APP_NAME} myFolder</code>. <br/><br/>Please refer to <a href='https://github.com/adobe/brackets/wiki/Command-Line-Arguments'>command line</a> wiki for more infomation.",
594+
"CREATING_LAUNCH_SCRIPT_TITLE" : "Brackets Command Line",
594595

595596
"LANGUAGE_TITLE" : "Switch Language",
596597
"LANGUAGE_MESSAGE" : "Language:",

0 commit comments

Comments
 (0)