Plumbing for desktop to pick up strings from language packs (#163494)

Web will come in the next PR (hence the TODO)

Also this includes the smallest translation change which will be the ultimate test that this is all working.
This commit is contained in:
Tyler James Leonhardt
2022-10-12 17:08:27 -07:00
committed by GitHub
parent 5b7233c5e3
commit 2457d9eb46
7 changed files with 57 additions and 12 deletions

View File

@@ -156,7 +156,7 @@ export class GitHubServer implements IGitHubServer {
// Used for showing a friendlier message to the user when the explicitly cancel a flow.
let userCancelled: boolean | undefined;
const yes = localize('yes', "Yes");
const yes = vscode.l10n.t('Yes');
const no = localize('no', "No");
const promptToContinue = async () => {
if (userCancelled === undefined) {