Skip to content

Commit

Permalink
Properly set fallback locale
Browse files Browse the repository at this point in the history
  • Loading branch information
confused-Techie committed Aug 10, 2024
1 parent 6381419 commit 0783bb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/context-menu-manager-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ describe('ContextMenuManager', function() {
stringKey: "Hello Pulsar",
otherStringKey: "Goodbye Pulsar"
}
}, "en-US");
}, "en");

contextMenu.add({
'.parent': [
Expand Down
2 changes: 1 addition & 1 deletion spec/menu-manager-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ describe('MenuManager', function() {
stringKey: "Hello Pulsar",
otherStringKey: "Goodbye Pulsar"
}
}, "en-US");
}, "en");

const disposable = menu.add([
{ label: '%example.stringKey%', submenu: [{ label: '%example.otherStringKey%', command: 'b' }] }
Expand Down

0 comments on commit 0783bb8

Please sign in to comment.