Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 38ca366

Browse files
Corne DorrestijnCorne Dorrestijn
authored andcommitted
Merge remote-tracking branch 'upstream/master'
2 parents d1be2ac + 546597d commit 38ca366

15 files changed

Lines changed: 95 additions & 43 deletions

src/brackets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ define(function (require, exports, module) {
271271
}
272272

273273
// Enable/Disable HTML Menus
274-
if (brackets.platform !== "linux") {
274+
if (brackets.nativeMenus) {
275275
$("body").addClass("has-appshell-menus");
276276
}
277277

src/command/DefaultMenus.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ define(function (require, exports, module) {
5858
menu.addMenuDivider();
5959
menu.addMenuItem(Commands.FILE_EXTENSION_MANAGER);
6060

61-
// supress redundant quit menu item on mac
62-
if (brackets.platform !== "mac" && !brackets.inBrowser) {
61+
// suppress redundant quit menu item on mac
62+
if (brackets.platform !== "mac" || !brackets.nativeMenus) {
6363
menu.addMenuDivider();
6464
menu.addMenuItem(Commands.FILE_QUIT);
6565
}
@@ -161,7 +161,7 @@ define(function (require, exports, module) {
161161
menu.addMenuItem(Commands.HELP_SHOW_EXT_FOLDER);
162162

163163

164-
var hasAboutItem = (brackets.platform !== "mac" || brackets.inBrowser);
164+
var hasAboutItem = (brackets.platform !== "mac" || !brackets.nativeMenus);
165165

166166
// Add final divider only if we have a twitter URL or about item
167167
if (hasAboutItem || brackets.config.twitter_url) {

src/command/Menus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ define(function (require, exports, module) {
174174
}
175175

176176
function _isHTMLMenu(id) {
177-
return (!$("body").hasClass("has-appshell-menus") || brackets.inBrowser) || _isContextMenu(id);
177+
return (!brackets.nativeMenus || _isContextMenu(id));
178178
}
179179

180180
/**

src/document/DocumentCommandHandlers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ define(function (require, exports, module) {
7878
var currentDoc = DocumentManager.getCurrentDocument(),
7979
windowTitle = brackets.config.app_title;
8080

81-
if (brackets.inBrowser) {
81+
if (!brackets.nativeMenus) {
8282
if (currentDoc) {
8383
_$title.text(_currentTitlePath);
8484
_$title.attr("title", currentDoc.file.fullPath);

src/editor/Editor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ define(function (require, exports, module) {
362362
lineNumbers: _showLineNumbers,
363363
lineWrapping: _wordWrap,
364364
styleActiveLine: _styleActiveLine,
365+
coverGutterNextToScrollbar: true,
365366
matchBrackets: true,
366367
dragDrop: false,
367368
extraKeys: codeMirrorKeyMap,

src/nls/fr/strings.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ define({
115115
"WITH": "Avec",
116116
"BUTTON_YES": "Oui",
117117
"BUTTON_NO": "Non",
118-
"BUTTON_ALL": "[7118973] !é=All=!",
118+
"BUTTON_ALL": "Tout",
119119
"BUTTON_STOP": "Arrêter",
120120
"BUTTON_REPLACE": "Remplacer",
121121

@@ -127,7 +127,7 @@ define({
127127
"NO_UPDATE_TITLE": "Votre logiciel est à jour.",
128128
"NO_UPDATE_MESSAGE": "Vous utilisez la dernière version de {APP_NAME}.",
129129

130-
"FIND_REPLACE_TITLE": "[7118975] !é=Replace \"{0}\" with \"{1}\" — {3} {2} matches=!",
130+
"FIND_REPLACE_TITLE": "Remplacer « {0} » par « {1} » — {3} {2} résultats",
131131

132132
"FIND_IN_FILES_TITLE": "« {4} » trouvé {5} — {0} {1} dans {2} {3}",
133133
"FIND_IN_FILES_SCOPED": "dans <span class='dialog-filename'>{0}</span>",
@@ -448,8 +448,8 @@ define({
448448

449449
// extensions/default/JavaScriptCodeHints
450450
"CMD_JUMPTO_DEFINITION": "Accéder à la définition",
451-
"CMD_SHOW_PARAMETER_HINT": "[7119026] !é=Show Parameter Hint=!",
452-
"NO_ARGUMENTS": "[7119027] !é=<no parameters>=!",
451+
"CMD_SHOW_PARAMETER_HINT": "Afficher l’indicateur de paramètre",
452+
"NO_ARGUMENTS": "<aucun paramètre>",
453453

454454
// extensions/default/JSLint
455455
"CMD_JSLINT": "Activer JSLint",

src/nls/ja/strings.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ define({
127127
"NO_UPDATE_TITLE": "最新バージョンです",
128128
"NO_UPDATE_MESSAGE": "{APP_NAME} の最新バージョンを実行中です。",
129129

130-
"FIND_REPLACE_TITLE": "!能=[7118975] Replace \"{0}\" with \"{1}\" &mdash; {3} {2} matches_=!",
130+
"FIND_REPLACE_TITLE": "{0}」を「{1}」に置換 &mdash; {3} {2} 件が見つかりました",
131131

132132
"FIND_IN_FILES_TITLE": "「{4}」の検索結果 {5} &mdash; {2} {3} / {0} {1}",
133133
"FIND_IN_FILES_SCOPED": "<span class='dialog-filename'>{0}</span> 内",
@@ -448,8 +448,8 @@ define({
448448

449449
// extensions/default/JavaScriptCodeHints
450450
"CMD_JUMPTO_DEFINITION": "定義にジャンプ",
451-
"CMD_SHOW_PARAMETER_HINT": "!能=[7119026] Show Parameter Hint_=!",
452-
"NO_ARGUMENTS": "!能=[7119027] <no parameters>_=!",
451+
"CMD_SHOW_PARAMETER_HINT": "パラメーターヒントを表示",
452+
"NO_ARGUMENTS": "<パラメーターがありません>",
453453

454454
// extensions/default/JSLint
455455
"CMD_JSLINT": "JSLint を有効にする",

src/nls/tr/strings.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ define({
140140
* StatusBar strings
141141
*/
142142
"STATUSBAR_CURSOR_POSITION" : "Satır {0}, Kolon {1}",
143-
"STATUSBAR_INDENT_TOOLTIP_SPACES" : "Click to switch indentation to spaces",
144-
"STATUSBAR_INDENT_TOOLTIP_TABS" : "Click to switch indentation to tabs",
145-
"STATUSBAR_INDENT_SIZE_TOOLTIP_SPACES" : "Click to change number of spaces used when indenting",
146-
"STATUSBAR_INDENT_SIZE_TOOLTIP_TABS" : "Click to change tab character width",
143+
"STATUSBAR_INDENT_TOOLTIP_SPACES" : "Girintiyi boşluk karakterleriyle değiştirmek için tıklayın",
144+
"STATUSBAR_INDENT_TOOLTIP_TABS" : "Girintiyi tab karakterleriyle değiştirmek için tıklayın",
145+
"STATUSBAR_INDENT_SIZE_TOOLTIP_SPACES" : "Girintide kullanılacak boşluk sayısını değiştirmek için tıklayın",
146+
"STATUSBAR_INDENT_SIZE_TOOLTIP_TABS" : "Tab karakter genişliğini değiştirmek için tıklayın",
147147
"STATUSBAR_SPACES" : "Boşluk",
148148
"STATUSBAR_TAB_SIZE" : "Tab Boyutu",
149149
"STATUSBAR_LINE_COUNT" : "{0} Satır",
@@ -166,6 +166,7 @@ define({
166166
"CMD_LIVE_FILE_PREVIEW" : "Canlı Önizleme",
167167
"CMD_PROJECT_SETTINGS" : "Proje Ayarları\u2026",
168168
"CMD_FILE_RENAME" : "Yeniden Adlandır",
169+
"CMD_FILE_DELETE" : "Sil",
169170
"CMD_QUIT" : "Çık",
170171

171172
// Edit menu commands
@@ -210,6 +211,7 @@ define({
210211
"CMD_NEXT_DOC" : "Sonraki Dosya",
211212
"CMD_PREV_DOC" : "Önceki Dosya",
212213
"CMD_SHOW_IN_TREE" : "Dosya Listesinde Göster",
214+
"CMD_SHOW_IN_OS" : "Bulunduğu Konumu Aç",
213215

214216
// Help menu commands
215217
"HELP_MENU" : "Yardım",
@@ -223,7 +225,7 @@ define({
223225
"CMD_ABORT_QUIT" : "Çıkışı İptal Et",
224226

225227
// Strings for main-view.html
226-
"EXPERIMENTAL_BUILD" : "Experimental Build",
228+
"EXPERIMENTAL_BUILD" : "Deneysel Sürüm",
227229
"SEARCH_RESULTS" : "Arama sonuçları",
228230
"OK" : "Tamam",
229231
"DONT_SAVE" : "Kaydetme",
@@ -235,7 +237,7 @@ define({
235237
"RELAUNCH_CHROME" : "Chrome'u Tekrar Aç",
236238
"ABOUT" : "Hakkında",
237239
"CLOSE" : "Kapat",
238-
"ABOUT_TEXT_LINE1" : "sprint 14 experimental build ",
240+
"ABOUT_TEXT_LINE1" : "sprint 14 test sürümü",
239241
"ABOUT_TEXT_LINE3" : "Üçüncü parti yazılımlara ilişkin bildirimler, şartlar ve koşullar <span class=\"non-clickble-link\">http://www.adobe.com/go/thirdparty/</span> adresinde bulunmaktadır ve bu adreste referans olarak dahil edilmiştir",
240242
"ABOUT_TEXT_LINE4" : "Döküman ve kodlar için <span class=\"non-clickble-link\">https://github.com/adobe/brackets/</span> adresine bakabilirsiniz.",
241243
"UPDATE_NOTIFICATION_TOOLTIP" : "{APP_NAME} programının yeni versiyonu bulunmakta! Detaylar için tıklayın.",

src/styles/brackets_codemirror_override.less

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
@code-padding: 15px;
4444

4545
.CodeMirror-focused .CodeMirror-activeline-background {
46-
background: @activeline-bgcolor !important;
46+
background: @activeline-bgcolor;
4747
}
4848

4949
.cm-s-default {
@@ -108,6 +108,17 @@
108108
background-color: @background-color-3;
109109
border-right: none;
110110
}
111+
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
112+
background-color: #ebebeb;
113+
}
114+
.platform-mac & {
115+
.CodeMirror-scrollbar-filler {
116+
background-image: url(images/scrollbar-mac-corner.png);
117+
}
118+
.CodeMirror-gutter-filler {
119+
background-image: url(images/scrollbar-mac-bg.png);
120+
}
121+
}
111122
.CodeMirror-linenumber {
112123
color: @accent-comment;
113124
min-width: 2.5em;
@@ -171,10 +182,10 @@
171182
}
172183

173184
.CodeMirror-focused .CodeMirror-activeline-background {
174-
background: darken(@activeline-bgcolor, @bc-color-step-size / 2) !important;
185+
background: darken(@activeline-bgcolor, @bc-color-step-size / 2);
175186
}
176187
&.CodeMirror-focused .CodeMirror .CodeMirror-activeline-background {
177-
background: transparent !important;
188+
background: transparent;
178189
}
179190
}
180191

188 Bytes
Loading

0 commit comments

Comments
 (0)