Skip to content

Commit 594b2e0

Browse files
authored
Merge pull request #726 from fcollonval/fix/gettext-id
Fix identifier for pluralized strings
2 parents e83d8e6 + ba0e949 commit 594b2e0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,8 @@ export namespace LSPStatus {
844844
uninitialized.delete(initialized);
845845
}
846846
// servers for n documents did not respond to the initialization request
847-
msg = this.trans._n(
847+
msg = this.trans._np(
848+
'pluralized',
848849
'Fully connected, but %2/%3 virtual document stuck uninitialized: %4',
849850
'Fully connected, but %2/%3 virtual documents stuck uninitialized: %4',
850851
status.detected_documents.size,
@@ -858,7 +859,8 @@ export namespace LSPStatus {
858859
unconnected.delete(connected);
859860
}
860861

861-
msg = this.trans._n(
862+
msg = this.trans._np(
863+
'pluralized',
862864
'%2/%3 virtual document connected (%4 connections; waiting for: %5)',
863865
'%2/%3 virtual documents connected (%4 connections; waiting for: %5)',
864866
status.detected_documents.size,

0 commit comments

Comments
 (0)