Skip to content

Commit

Permalink
Merge pull request #700 from fcollonval/patch-1
Browse files Browse the repository at this point in the history
Correct gettext method
  • Loading branch information
krassowski authored Oct 28, 2021
2 parents f67c880 + 5458d84 commit 1959824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jupyterlab-lsp/src/components/statusbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ export namespace LSPStatus {
uninitialized.delete(initialized);
}
// servers for n documents did not respond to the initialization request
msg = this.trans.__(
msg = this.trans._n(
'Fully connected, but %2/%3 virtual document stuck uninitialized: %4',
'Fully connected, but %2/%3 virtual documents stuck uninitialized: %4',
status.detected_documents.size,
Expand All @@ -859,7 +859,7 @@ export namespace LSPStatus {
unconnected.delete(connected);
}

msg = this.trans.__(
msg = this.trans._n(
'%2/%3 virtual document connected (%4 connections; waiting for: %5)',
'%2/%3 virtual documents connected (%4 connections; waiting for: %5)',
status.detected_documents.size,
Expand Down

0 comments on commit 1959824

Please sign in to comment.