Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 27 additions & 29 deletions src/nls/root/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/*global define */

define({

/**
* Errors
*/
Expand All @@ -48,7 +48,6 @@ define({
"FILENAMES_LEDE" : "Filenames",
"FILENAME" : "Filename",
"DIRECTORY_NAME" : "Directory Name",


// Project error strings
"ERROR_LOADING_PROJECT" : "Error Loading Project",
Expand Down Expand Up @@ -93,7 +92,7 @@ define({
// Application error strings
"ERROR_IN_BROWSER_TITLE" : "Oops! {APP_NAME} Doesn't Run in Browsers Yet.",
"ERROR_IN_BROWSER" : "{APP_NAME} is built in HTML, but right now it runs as a desktop app so you can use it to edit local files. Please use the application shell in the <b>github.com/adobe/brackets-shell</b> repo to run {APP_NAME}.",

// ProjectManager max files error string
"ERROR_MAX_FILES_TITLE" : "Error Indexing Files",
"ERROR_MAX_FILES" : "This project contains more than 30,000 files. Features that operate across multiple files may be disabled or behave as if the project is empty. <a href='https://github.com/adobe/brackets/wiki/Large-Projects'>Read more about working with large projects</a>.",
Expand All @@ -102,7 +101,7 @@ define({
"ERROR_LAUNCHING_BROWSER_TITLE" : "Error Launching Browser",
"ERROR_CANT_FIND_CHROME" : "The Google Chrome browser could not be found. Please make sure it is installed.",
"ERROR_LAUNCHING_BROWSER" : "An error occurred when launching the browser. (error {0})",

"LIVE_DEVELOPMENT_ERROR_TITLE" : "Live Preview Error",
"LIVE_DEVELOPMENT_RELAUNCH_TITLE" : "Connecting to Browser",
"LIVE_DEVELOPMENT_ERROR_MESSAGE" : "In order for Live Preview to connect, Chrome needs to be relaunched with remote debugging enabled.<br /><br />Would you like to relaunch Chrome and enable remote debugging?<br /><br />",
Expand All @@ -113,7 +112,7 @@ define({
"LIVE_DEVELOPMENT_INFO_TITLE" : "Welcome to Live Preview!",
"LIVE_DEVELOPMENT_INFO_MESSAGE" : "Live Preview connects {APP_NAME} to your browser. It launches a preview of your HTML file in the browser, then updates the preview instantly as you edit your code.<br /><br />In this early version of {APP_NAME}, Live Preview only works with <strong>Google Chrome</strong> and updates live as you edit <strong>CSS or HTML files</strong>. Changes to JavaScript files are automatically reloaded when you save.<br /><br />(You'll only see this message once.)",
"LIVE_DEVELOPMENT_TROUBLESHOOTING" : "For more information, see <a href='{0}' title='{0}'>Troubleshooting Live Preview connection errors</a>.",

"LIVE_DEV_STATUS_TIP_NOT_CONNECTED" : "Live Preview",
"LIVE_DEV_STATUS_TIP_PROGRESS1" : "Live Preview: Connecting\u2026",
"LIVE_DEV_STATUS_TIP_PROGRESS2" : "Live Preview: Initializing\u2026",
Expand All @@ -125,7 +124,7 @@ define({
"LIVE_DEV_DETACHED_TARGET_CLOSED" : "Live Preview was cancelled because the page was closed in the browser",
"LIVE_DEV_NAVIGATED_AWAY" : "Live Preview was cancelled because the browser navigated to a page that is not part of the current project",
"LIVE_DEV_CLOSED_UNKNOWN_REASON" : "Live Preview was cancelled for an unknown reason ({0})",

"SAVE_CLOSE_TITLE" : "Save Changes",
"SAVE_CLOSE_MESSAGE" : "Do you want to save the changes you made in the document <span class='dialog-filename'>{0}</span>?",
"SAVE_CLOSE_MULTI_MESSAGE" : "Do you want to save your changes to the following files?",
Expand All @@ -136,7 +135,7 @@ define({
"EXT_MODIFIED_WARNING" : "<span class='dialog-filename'>{0}</span> has been modified on disk.<br /><br />Do you want to save the file and overwrite those changes?",
"EXT_MODIFIED_MESSAGE" : "<span class='dialog-filename'>{0}</span> has been modified on disk, but also has unsaved changes in {APP_NAME}.<br /><br />Which version do you want to keep?",
"EXT_DELETED_MESSAGE" : "<span class='dialog-filename'>{0}</span> has been deleted on disk, but has unsaved changes in {APP_NAME}.<br /><br />Do you want to keep your changes?",

// Generic dialog/button labels
"DONE" : "Done",
"OK" : "OK",
Expand All @@ -148,7 +147,7 @@ define({
"DELETE" : "Delete",
"BUTTON_YES" : "Yes",
"BUTTON_NO" : "No",

// Find, Replace, Find in Files
"FIND_MATCH_INDEX" : "{0} of {1}",
"FIND_NO_RESULTS" : "No results",
Expand Down Expand Up @@ -196,10 +195,10 @@ define({
"FIND_IN_FILES_EXPAND_COLLAPSE" : "Ctrl/Cmd click to expand/collapse all",
"REPLACE_IN_FILES_ERRORS_TITLE" : "Replace Errors",
"REPLACE_IN_FILES_ERRORS" : "The following files weren't modified because they changed after the search or couldn't be written.",

"ERROR_FETCHING_UPDATE_INFO_TITLE" : "Error Getting Update Info",
"ERROR_FETCHING_UPDATE_INFO_MSG" : "There was a problem getting the latest update information from the server. Please make sure you are connected to the internet and try again.",

// File exclusion filters
"NEW_FILE_FILTER" : "New Exclusion Set\u2026",
"CLEAR_FILE_FILTER" : "Don't Exclude Files",
Expand Down Expand Up @@ -256,7 +255,7 @@ define({
"KEYBOARD_CTRL" : "Ctrl",
"KEYBOARD_SHIFT" : "Shift",
"KEYBOARD_SPACE" : "Space",

/**
* StatusBar strings
*/
Expand Down Expand Up @@ -294,12 +293,11 @@ define({
"NOTHING_TO_LINT" : "Nothing to lint",
"LINTER_TIMED_OUT" : "{0} has timed out after waiting for {1} ms",
"LINTER_FAILED" : "{0} terminated with error: {1}",



/**
* Command Name Constants
*/

// File menu commands
"FILE_MENU" : "File",
"CMD_FILE_NEW_UNTITLED" : "New",
Expand Down Expand Up @@ -354,7 +352,7 @@ define({
"CMD_OPEN_LINE_BELOW" : "Open Line Below",
"CMD_TOGGLE_CLOSE_BRACKETS" : "Auto Close Braces",
"CMD_SHOW_CODE_HINTS" : "Show Code Hints",

// Search menu commands
"FIND_MENU" : "Find",
"CMD_FIND" : "Find",
Expand All @@ -370,7 +368,7 @@ define({
"CMD_REPLACE_IN_FILES" : "Replace in Files",
"CMD_REPLACE_IN_SELECTED" : "Replace in Selected File/Folder",
"CMD_REPLACE_IN_SUBTREE" : "Replace in\u2026",

// View menu commands
"VIEW_MENU" : "View",
"CMD_HIDE_SIDEBAR" : "Hide Sidebar",
Expand Down Expand Up @@ -408,7 +406,7 @@ define({
"CMD_SHOW_IN_EXPLORER" : "Show in Explorer",
"CMD_SHOW_IN_FINDER" : "Show in Finder",
"CMD_SHOW_IN_OS" : "Show in OS",

// Help menu commands
"HELP_MENU" : "Help",
"CMD_CHECK_FOR_UPDATE" : "Check for Updates",
Expand Down Expand Up @@ -454,7 +452,7 @@ define({
"BASEURL_ERROR_INVALID_CHAR" : "Special characters like '{0}' must be %-encoded.",
"BASEURL_ERROR_UNKNOWN_ERROR" : "Unknown error parsing Base URL",
"EMPTY_VIEW_HEADER" : "<em>Open a file while this pane has focus</em>",

// Strings for themes-settings.html and themes-general.html
"CURRENT_THEME" : "Current Theme",
"USE_THEME_SCROLLBARS" : "Use Theme Scrollbars",
Expand All @@ -464,7 +462,7 @@ define({

// CSS Quick Edit
"BUTTON_NEW_RULE" : "New Rule",

// Extension Management strings
"INSTALL" : "Install",
"UPDATE" : "Update",
Expand Down Expand Up @@ -555,15 +553,15 @@ define({
"EXTENSIONS_AVAILABLE_TITLE" : "Available",
"EXTENSIONS_THEMES_TITLE" : "Themes",
"EXTENSIONS_UPDATES_TITLE" : "Updates",

"INLINE_EDITOR_NO_MATCHES" : "No matches available.",
"INLINE_EDITOR_HIDDEN_MATCHES" : "All matches are collapsed. Expand the files listed at right to view matches.",
"CSS_QUICK_EDIT_NO_MATCHES" : "There are no existing CSS rules that match your selection.<br> Click \"New Rule\" to create one.",
"CSS_QUICK_EDIT_NO_STYLESHEETS" : "There are no stylesheets in your project.<br>Create one to add CSS rules.",

// Custom Viewers
"IMAGE_VIEWER_LARGEST_ICON" : "largest",

/**
* Unit names
*/
Expand All @@ -585,20 +583,20 @@ define({
"CMD_RESTART_NODE" : "Restart Node",
"CMD_SHOW_ERRORS_IN_STATUS_BAR" : "Show Errors in Status Bar",
"CMD_OPEN_BRACKETS_SOURCE" : "Open Brackets Source",

"LANGUAGE_TITLE" : "Switch Language",
"LANGUAGE_MESSAGE" : "Language:",
"LANGUAGE_SUBMIT" : "Reload {APP_NAME}",
"LANGUAGE_CANCEL" : "Cancel",
"LANGUAGE_SYSTEM_DEFAULT" : "System Default",

// extensions/default/InlineTimingFunctionEditor
"INLINE_TIMING_EDITOR_TIME" : "Time",
"INLINE_TIMING_EDITOR_PROGRESSION" : "Progression",
"BEZIER_EDITOR_INFO" : "<kbd>↑</kbd><kbd>↓</kbd><kbd>←</kbd><kbd>→</kbd> Move selected point<br><kbd class='text'>Shift</kbd> Move by ten units<br><kbd class='text'>Tab</kbd> Switch points",
"STEPS_EDITOR_INFO" : "<kbd>↑</kbd><kbd>↓</kbd> Increase or decrease steps<br><kbd>←</kbd><kbd>→</kbd> 'Start' or 'End'",
"INLINE_TIMING_EDITOR_INVALID" : "The old value <code>{0}</code> is not valid, so the displayed function was changed to <code>{1}</code>. The document will be updated with the first edit.",

// extensions/default/InlineColorEditor
"COLOR_EDITOR_CURRENT_COLOR_SWATCH_TIP" : "Current Color",
"COLOR_EDITOR_ORIGINAL_COLOR_SWATCH_TIP" : "Original Color",
Expand All @@ -607,23 +605,23 @@ define({
"COLOR_EDITOR_HSLA_BUTTON_TIP" : "HSLa Format",
"COLOR_EDITOR_USED_COLOR_TIP_SINGULAR" : "{0} (Used {1} time)",
"COLOR_EDITOR_USED_COLOR_TIP_PLURAL" : "{0} (Used {1} times)",

// extensions/default/JavaScriptCodeHints
"CMD_JUMPTO_DEFINITION" : "Jump to Definition",
"CMD_SHOW_PARAMETER_HINT" : "Show Parameter Hint",
"NO_ARGUMENTS" : "<no parameters>",
"DETECTED_EXCLUSION_TITLE" : "JavaScript File Inference Problem",
"DETECTED_EXCLUSION_INFO" : "Brackets ran into trouble processing <span class='dialog-filename'>{0}</span>.<br><br>This file will no longer be processed for code hints, Jump to Definition or Quick Edit. To reenable this file, open <code>.brackets.json</code> in your project and edit <code>jscodehints.detectedExclusions</code>.<br><br>This is likely a Brackets bug. If you can provide a copy of this file, please <a href='https://github.com/adobe/brackets/wiki/How-to-Report-an-Issue'>file a bug</a> with a link to the file named here.",

// extensions/default/JSLint
"JSLINT_NAME" : "JSLint",

// extensions/default/QuickView
"CMD_ENABLE_QUICK_VIEW" : "Quick View on Hover",

// extensions/default/RecentProjects
"CMD_TOGGLE_RECENT_PROJECTS" : "Recent Projects",

// extensions/default/WebPlatformDocs
"DOCS_MORE_LINK" : "Read more"
});
4 changes: 2 additions & 2 deletions src/nls/strings-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
/*global define */

define(function (require, exports, module) {

"use strict";

// Code that needs to display user strings should call require("strings") to load
// src/strings.js. This file will dynamically load strings.js for the specified brackets.locale.
//
Expand Down
6 changes: 3 additions & 3 deletions src/nls/urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
/*global define */

define(function (require, exports, module) {

"use strict";

// Registry for languages that have specific per-language URLs or file paths that we use
// elsewhere in Brackets.
//
Expand All @@ -38,7 +38,7 @@ define(function (require, exports, module) {
"da": true,
"de": true,
"es": true,
"fa-ir": true,
"fa-ir": true,
"fi": true,
"fr": true,
"hr": true,
Expand Down