Skip to content

Commit 1959824

Browse files
authored
Merge pull request jupyter-lsp#700 from fcollonval/patch-1
Correct gettext method
2 parents f67c880 + 5458d84 commit 1959824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/jupyterlab-lsp/src/components/statusbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ export namespace LSPStatus {
845845
uninitialized.delete(initialized);
846846
}
847847
// servers for n documents did not respond to the initialization request
848-
msg = this.trans.__(
848+
msg = this.trans._n(
849849
'Fully connected, but %2/%3 virtual document stuck uninitialized: %4',
850850
'Fully connected, but %2/%3 virtual documents stuck uninitialized: %4',
851851
status.detected_documents.size,
@@ -859,7 +859,7 @@ export namespace LSPStatus {
859859
unconnected.delete(connected);
860860
}
861861

862-
msg = this.trans.__(
862+
msg = this.trans._n(
863863
'%2/%3 virtual document connected (%4 connections; waiting for: %5)',
864864
'%2/%3 virtual documents connected (%4 connections; waiting for: %5)',
865865
status.detected_documents.size,

0 commit comments

Comments
 (0)