Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit dcf85c2

Browse files
committed
Fix localizations (#5360)
1 parent 53b2d3f commit dcf85c2

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

assets/panel/debugger.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -568,16 +568,16 @@ watchExpressions.refreshButton=Refresh
568568
# LOCALIZATION NOTE (welcome.search): The center pane welcome panel's
569569
# search prompt. e.g. cmd+p to search for files. On windows, it's ctrl, on
570570
# a mac we use the unicode character.
571-
welcome.search=%S To search for sources
571+
welcome.search=%S to search for sources
572572

573573
# LOCALIZATION NOTE (welcome.findInFiles): The center pane welcome panel's
574574
# search prompt. e.g. cmd+f to search for files. On windows, it's ctrl+shift+f, on
575575
# a mac we use the unicode character.
576-
welcome.findInFiles=%S To find in files
576+
welcome.findInFiles=%S to find in files
577577

578578
# LOCALIZATION NOTE (welcome.searchFunction): Label displayed in the welcome
579579
# panel. %S is replaced by the keyboard shortcut to search for functions.
580-
welcome.searchFunction=%S To search for functions in file
580+
welcome.searchFunction=%S to search for functions in file
581581

582582
# LOCALIZATION NOTE (sourceSearch.search): The center pane Source Search
583583
# prompt for searching for files.
@@ -708,7 +708,7 @@ functionSearchSeparatorLabel=←
708708
# Do not localize "CmdOrCtrl+;", or change the format of the string. These are
709709
# key identifiers, not messages displayed to the user.
710710
gotoLineModal.placeholder=Go to line…
711-
gotoLineModal.key=CmdOrCtrl+;
711+
gotoLineModal.key2=CmdOrCtrl+;
712712
gotoLineModal.title=Go to a line number in a file
713713

714714
# LOCALIZATION NOTE(symbolSearch.search.functionsPlaceholder): The placeholder

src/components/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class App extends Component<Props, State> {
121121
];
122122
searchKeys.forEach(key => shortcuts.on(key, this.toggleQuickOpenModal));
123123

124-
shortcuts.on(L10N.getStr("gotoLineModal.key"), (_, e) =>
124+
shortcuts.on(L10N.getStr("gotoLineModal.key2"), (_, e) =>
125125
this.toggleQuickOpenModal(_, e, ":")
126126
);
127127

@@ -143,7 +143,7 @@ class App extends Component<Props, State> {
143143
];
144144
searchKeys.forEach(key => shortcuts.off(key, this.toggleQuickOpenModal));
145145

146-
shortcuts.off(L10N.getStr("gotoLineModal.key"), this.toggleQuickOpenModal);
146+
shortcuts.off(L10N.getStr("gotoLineModal.key2"), this.toggleQuickOpenModal);
147147

148148
shortcuts.off("Escape", this.onEscape);
149149
}

src/components/ShortcutsModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class ShortcutsModal extends Component<Props> {
8888
)}
8989
{this.renderShorcutItem(
9090
L10N.getStr("shortcuts.gotoLine"),
91-
formatKeyShortcut(L10N.getStr("gotoLineModal.key"))
91+
formatKeyShortcut(L10N.getStr("gotoLineModal.key2"))
9292
)}
9393
</ul>
9494
);

0 commit comments

Comments
 (0)