papilot 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +4 -2
  2. package/bin/doctor.mjs +1 -1
  3. package/dist/assets/{_virtual_papilot-licenses-CMfCtEYQ.js → _virtual_papilot-licenses-YJbh9c1G.js} +1 -1
  4. package/dist/assets/index-0siHHtfz.js +267 -0
  5. package/dist/assets/index-CxdYm81a.css +1 -0
  6. package/dist/assets/{math-Bu3xEyrC.js → math-ibBpTslk.js} +1 -1
  7. package/dist/assets/{pdf-view-PbkCuTZ-.js → pdf-view-CD1kNKYH.js} +1 -1
  8. package/dist/index.html +2 -2
  9. package/engine/dist/web/assets/FullPaper-DUgLb01O.js +54 -0
  10. package/engine/dist/web/assets/index-D3_ZFdT8.css +1 -0
  11. package/engine/dist/web/assets/index-DJywe0wU.js +19 -0
  12. package/engine/dist/web/assets/pdf.worker.min-CjEcRF4W.mjs +28 -0
  13. package/{vendor/latex-review → engine}/dist/web/index.html +2 -2
  14. package/engine/package-lock.json +3390 -0
  15. package/engine/package.json +50 -0
  16. package/{vendor/latex-review → engine}/src/core/build.ts +198 -99
  17. package/{vendor/latex-review → engine}/src/core/git.ts +133 -28
  18. package/{vendor/latex-review → engine}/src/core/outline.ts +0 -9
  19. package/engine/src/core/progress.ts +67 -0
  20. package/{vendor/latex-review → engine}/src/core/review.ts +32 -0
  21. package/engine/src/locales.ts +47 -0
  22. package/{vendor/latex-review → engine}/src/render/inline.ts +1 -0
  23. package/{vendor/latex-review → engine}/src/render/locate.ts +26 -16
  24. package/engine/src/render/positions.ts +34 -0
  25. package/engine/src/render/synctex.ts +188 -0
  26. package/engine/src/render/synctex.wasm +0 -0
  27. package/engine/src/render/synctex.wasm.LICENSE +50 -0
  28. package/{vendor/latex-review → engine}/src/server.ts +5 -3
  29. package/{vendor/latex-review → engine}/src/types.ts +13 -0
  30. package/engine/src/web/FullPaper.tsx +318 -0
  31. package/engine/src/web/i18n.ts +36 -0
  32. package/engine/src/web/locales/de.json +253 -0
  33. package/engine/src/web/locales/es.json +253 -0
  34. package/engine/src/web/locales/fr.json +253 -0
  35. package/engine/src/web/locales/index.ts +16 -0
  36. package/engine/src/web/locales/it.json +253 -0
  37. package/engine/src/web/locales/ja.json +253 -0
  38. package/engine/src/web/locales/ko.json +253 -0
  39. package/engine/src/web/locales/pt.json +253 -0
  40. package/engine/src/web/locales/sv.json +253 -0
  41. package/engine/src/web/locales/zh-Hant.json +253 -0
  42. package/engine/src/web/paper.ts +13 -0
  43. package/{vendor/latex-review → engine}/src/web/references.tsx +1 -1
  44. package/{vendor/latex-review → engine}/src/web/review.tsx +99 -2
  45. package/{vendor/latex-review → engine}/src/web/style.css +71 -11
  46. package/engine/src/web/view-preferences.ts +13 -0
  47. package/{vendor/latex-review → engine}/src/web/zh-CN.ts +3 -0
  48. package/package.json +18 -9
  49. package/src/conversation.ts +1 -1
  50. package/src/server/acp.ts +9 -5
  51. package/src/server/agents.ts +4 -2
  52. package/src/server/app.ts +23 -0
  53. package/src/server/changes.ts +12 -3
  54. package/src/server/imports.ts +69 -25
  55. package/src/server/main.ts +3 -2
  56. package/src/server/manuscript.ts +31 -12
  57. package/src/server/paths.ts +1 -1
  58. package/src/server/start.ts +3 -3
  59. package/src/server/store.ts +0 -8
  60. package/src/server/update-install.ts +6 -3
  61. package/src/server/updates.ts +55 -23
  62. package/src/server/workspace.ts +24 -2
  63. package/src/shared.ts +7 -1
  64. package/src/skill-metadata.ts +1 -1
  65. package/vendor/latex-review/package-lock.json +4 -3106
  66. package/vendor/latex-review/package.json +3 -46
  67. package/README.zh-CN.md +0 -100
  68. package/dist/assets/index-BlLyIqT9.js +0 -265
  69. package/dist/assets/index-DVZtyZvu.css +0 -1
  70. package/vendor/latex-review/dist/web/assets/index-CXdnUjct.js +0 -19
  71. package/vendor/latex-review/dist/web/assets/index-DEz-LsGl.css +0 -1
  72. package/vendor/latex-review/src/web/i18n.ts +0 -48
  73. /package/{vendor/latex-review → engine}/LICENSE +0 -0
  74. /package/{vendor/latex-review → engine}/dist/web/assets/TeXGyrePagellaX-Bold-CEtYdOXj.otf +0 -0
  75. /package/{vendor/latex-review → engine}/dist/web/assets/TeXGyrePagellaX-Regular-DQJjZE_L.otf +0 -0
  76. /package/{vendor/latex-review → engine}/src/cli.ts +0 -0
  77. /package/{vendor/latex-review → engine}/src/client.ts +0 -0
  78. /package/{vendor/latex-review → engine}/src/core/bib.ts +0 -0
  79. /package/{vendor/latex-review → engine}/src/core/changes.ts +0 -0
  80. /package/{vendor/latex-review → engine}/src/core/config.ts +0 -0
  81. /package/{vendor/latex-review → engine}/src/core/current-commit.ts +0 -0
  82. /package/{vendor/latex-review → engine}/src/core/delivery.ts +0 -0
  83. /package/{vendor/latex-review → engine}/src/core/diff.ts +0 -0
  84. /package/{vendor/latex-review → engine}/src/core/files.ts +0 -0
  85. /package/{vendor/latex-review → engine}/src/core/process.ts +0 -0
  86. /package/{vendor/latex-review → engine}/src/core/publish.ts +0 -0
  87. /package/{vendor/latex-review → engine}/src/core/reconcile.ts +0 -0
  88. /package/{vendor/latex-review → engine}/src/core/store.ts +0 -0
  89. /package/{vendor/latex-review → engine}/src/core/tasks.ts +0 -0
  90. /package/{vendor/latex-review → engine}/src/core/verify.ts +0 -0
  91. /package/{vendor/latex-review → engine}/src/core/view.ts +0 -0
  92. /package/{vendor/latex-review → engine}/src/render/effects.ts +0 -0
  93. /package/{vendor/latex-review → engine}/src/render/pdf.ts +0 -0
  94. /package/{vendor/latex-review → engine}/src/render/pdfdiff.ts +0 -0
  95. /package/{vendor/latex-review → engine}/src/render/round.ts +0 -0
  96. /package/{vendor/latex-review → engine}/src/render/worker.ts +0 -0
  97. /package/{vendor/latex-review → engine}/src/runtime.ts +0 -0
  98. /package/{vendor/latex-review → engine}/src/web/ChangeMap.tsx +0 -0
  99. /package/{vendor/latex-review → engine}/src/web/PdfStrip.tsx +0 -0
  100. /package/{vendor/latex-review → engine}/src/web/effect-preferences.ts +0 -0
  101. /package/{vendor/latex-review → engine}/src/web/fonts/GUST-FONT-LICENSE.txt +0 -0
  102. /package/{vendor/latex-review → engine}/src/web/fonts/LPPL.txt +0 -0
  103. /package/{vendor/latex-review → engine}/src/web/fonts/MANIFEST-newpx.txt +0 -0
  104. /package/{vendor/latex-review → engine}/src/web/fonts/README-newpx.txt +0 -0
  105. /package/{vendor/latex-review → engine}/src/web/fonts/README.md +0 -0
  106. /package/{vendor/latex-review → engine}/src/web/fonts/TeXGyrePagellaX-Bold.otf +0 -0
  107. /package/{vendor/latex-review → engine}/src/web/fonts/TeXGyrePagellaX-Regular.otf +0 -0
  108. /package/{vendor/latex-review → engine}/src/web/index.html +0 -0
  109. /package/{vendor/latex-review → engine}/src/web/main.tsx +0 -0
  110. /package/{vendor/latex-review → engine}/src/web/model.ts +0 -0
  111. /package/{vendor/latex-review → engine}/src/web/overview.tsx +0 -0
  112. /package/{vendor/latex-review → engine}/src/web/shortcuts.ts +0 -0
@@ -0,0 +1,253 @@
1
+ {
2
+ "(no such paper)": "(ingen sådan artikel)",
3
+ "(not registered)": "(ej registrerad)",
4
+ "Accept": "Godkänn",
5
+ "Accept all": "Godkänn alla",
6
+ "Accept all ({n})": "Godkänn alla ({n})",
7
+ "Accept anyway": "Godkänn ändå",
8
+ "Accept bibliography entries that are not verified?": "Godkänna poster i referenslistan som inte är verifierade?",
9
+ "Accept {n} undecided change": "Godkänn {n} obeslutad ändring",
10
+ "Accept {n} undecided changes": "Godkänn {n} obeslutade ändringar",
11
+ "Accepted": "Godkänd",
12
+ "Accepted changes are in your manuscript.": "Godkända ändringar finns i ditt manuskript.",
13
+ "Affects {n} place": "Påverkar {n} ställe",
14
+ "Affects {n} places": "Påverkar {n} ställen",
15
+ "After": "Efter",
16
+ "Agent needs your input": "Agenten behöver ditt svar",
17
+ "All changes are staged": "Alla ändringar är köade",
18
+ "All changes are staged.": "Alla ändringar är förberedda.",
19
+ "All changes reviewed": "Alla ändringar har granskats",
20
+ "All changes reviewed. Your decisions are saved.": "Alla ändringar har granskats. Dina beslut är sparade.",
21
+ "All decided": "Alla beslutade",
22
+ "All reviews": "Alla granskningar",
23
+ "All tasks": "Alla uppgifter",
24
+ "An agent can write an entry for a work that does not exist, or with the wrong authors, year or DOI. Check each one before it goes into your paper.": "En agent kan skriva en post för ett verk som inte finns, eller med fel författare, år eller DOI. Kontrollera varje post innan den hamnar i din artikel.",
25
+ "Another entry in the bibliography has the same key.": "En annan post i referenslistan har samma nyckel.",
26
+ "Authors": "Författare",
27
+ "Awaiting revision": "Väntar på revidering",
28
+ "Awaiting your review": "Väntar på din granskning",
29
+ "Back to current changes →": "Tillbaka till aktuella ändringar →",
30
+ "Back to review": "Tillbaka till granskning",
31
+ "Before": "Före",
32
+ "BibTeX cannot read this entry.": "BibTeX kan inte läsa denna post.",
33
+ "Bibliography": "Referenslista",
34
+ "Binary file changed.": "Binärfil har ändrats.",
35
+ "Cancel": "Avbryt",
36
+ "Change map": "Ändringsöversikt",
37
+ "Change {list}": "Ändring {list}",
38
+ "Change {n}": "Ändring {n}",
39
+ "Changed entry": "Ändrad post",
40
+ "Changes": "Ändringar",
41
+ "Changes are ready": "Ändringarna är klara",
42
+ "Changes {list}": "Ändringar {list}",
43
+ "Check again": "Kontrollera igen",
44
+ "Checked by you": "Kontrollerad av dig",
45
+ "Checking…": "Kontrollerar…",
46
+ "Choose how to save the accepted changes to your manuscript.": "Välj hur du vill spara de godkända ändringarna i ditt manuskript.",
47
+ "Cited {n} time: {places}": "Citerad {n} gång: {places}",
48
+ "Cited {n} times: {places}": "Citerad {n} gånger: {places}",
49
+ "Cites {key}, which no bibliography entry defines.": "Citerar {key}, som ingen post i referenslistan definierar.",
50
+ "Clipboard unavailable. Select the PDF text and use your browser’s Copy command.": "Urklipp är inte tillgängligt. Markera PDF-texten och använd webbläsarens kommando Kopiera.",
51
+ "Close": "Stäng",
52
+ "Closest record": "Närmaste källpost",
53
+ "Comment": "Kommentera",
54
+ "Comment on change {n}": "Kommentera ändring {n}",
55
+ "Commented": "Kommenterad",
56
+ "Commit them when you are ready.": "Gör en commit när du är redo.",
57
+ "Comparing with the last commit…": "Jämför med senaste commit…",
58
+ "Comparison failed": "Jämförelsen misslyckades",
59
+ "Compiling LaTeX": "Kompilerar LaTeX",
60
+ "Continued: only line breaks moved here.": "Fortsättning: endast radbrytningar har flyttats hit.",
61
+ "Copied selected text with file, lines and PDF page.": "Kopierade markerad text med fil, rader och PDF-sida.",
62
+ "Copied the change location.": "Kopierade ändringens plats.",
63
+ "Copy reference": "Kopiera referens",
64
+ "Copy selected PDF text": "Kopiera markerad PDF-text",
65
+ "Copy selected text with this change’s file, line numbers and PDF page": "Kopiera markerad text med ändringens fil, radnummer och PDF-sida",
66
+ "Could not check": "Kunde inte kontrolleras",
67
+ "Current changes": "Aktuella ändringar",
68
+ "DOI": "DOI",
69
+ "Differs from the record": "Avviker från källposten",
70
+ "Earlier changes": "Tidigare ändringar",
71
+ "Edited": "Redigerad",
72
+ "Editing": "Redigerar",
73
+ "Entry": "Post",
74
+ "Feedback queued": "Återkoppling i kö",
75
+ "Feedback sent · Agent is working": "Återkoppling skickad · Agenten arbetar",
76
+ "Filter reviews": "Filtrera granskningar",
77
+ "Finish or abort the merge in the Git panel before staging or reverting changes.": "Slutför eller avbryt sammanslagningen i Git-panelen innan du köar eller återställer ändringar.",
78
+ "Finished": "Slutförd",
79
+ "History": "Historik",
80
+ "I checked it myself": "Jag kontrollerade den själv",
81
+ "In review": "Under granskning",
82
+ "J / K or → / ←": "J / K eller → / ←",
83
+ "Keyboard shortcuts": "Kortkommandon",
84
+ "Last decision undone. The restored changes need review again.": "Senaste beslutet ångrades. De återställda ändringarna behöver granskas igen.",
85
+ "Layout": "Layout",
86
+ "Leaves {n} change with bibliography entries to check.": "Lämnar {n} ändring med bibliografiposter att kontrollera.",
87
+ "Leaves {n} changes with bibliography entries to check.": "Lämnar {n} ändringar med bibliografiposter att kontrollera.",
88
+ "Loading…": "Läser in…",
89
+ "Long change: the source is shortened.": "Omfattande ändring: källkoden har förkortats.",
90
+ "Looking this entry up in Crossref, DBLP and arXiv…": "Slår upp denna post i Crossref, DBLP och arXiv…",
91
+ "Matches the record in {source}, apart from the small differences below.": "Stämmer överens med källposten i {source}, bortsett från de små skillnaderna nedan.",
92
+ "Matches the record in {source}.": "Stämmer överens med källposten i {source}.",
93
+ "Merge review": "Sammanfoga granskning",
94
+ "Mixed": "Blandat",
95
+ "Moved": "Flyttad",
96
+ "New changes will appear here when ready.": "Nya ändringar visas här när de är klara.",
97
+ "New entry": "Ny post",
98
+ "Next / previous change": "Nästa / föregående ändring",
99
+ "Next change": "Nästa ändring",
100
+ "Next change (J or →)": "Nästa ändring (J eller →)",
101
+ "Next undecided": "Nästa obeslutade",
102
+ "Next unstaged": "Nästa ej köade",
103
+ "No arXiv paper has this identifier, and no record matches the title.": "Ingen arXiv-artikel har denna identifierare och ingen källpost matchar titeln.",
104
+ "No bibliography entry has this key.": "Ingen post i referenslistan har denna nyckel.",
105
+ "No changes to review.": "Inga ändringar att granska.",
106
+ "No open reviews yet. Start a task from your document repository.": "Inga öppna granskningar än. Starta en uppgift från ditt dokumentarkiv.",
107
+ "No record in Crossref, DBLP or arXiv matches this entry. Theses, reports and many books are in none of them, so check it yourself.": "Ingen källpost i Crossref, DBLP eller arXiv matchar denna post. Avhandlingar, rapporter och många böcker finns inte i någon av dem, så kontrollera den själv.",
108
+ "No reviews match this filter.": "Inga granskningar matchar detta filter.",
109
+ "No uncommitted changes": "Inga ändringar utan commit",
110
+ "No visible change": "Ingen synlig ändring",
111
+ "No visible change in the PDF; see the LaTeX source.": "Ingen synlig ändring i PDF:en; se LaTeX-källkoden.",
112
+ "Not checked online": "Ej kontrollerad online",
113
+ "Not cited in the paper, so it does not appear in the PDF.": "Inte citerad i artikeln, så den visas inte i PDF-filen.",
114
+ "Not published yet": "Inte publicerad än",
115
+ "Not verified": "Ej verifierad",
116
+ "Nothing to check": "Inget att kontrollera",
117
+ "Online checks are off in Settings, so this entry was not looked up.": "Onlinekontroller är avstängda i Inställningar, så denna post slogs inte upp.",
118
+ "Open Chat to answer the agent's question.": "Öppna Chatt för att svara på agentens fråga.",
119
+ "Open →": "Öppna →",
120
+ "Other changes": "Övriga ändringar",
121
+ "Partly staged": "Delvis förberedd",
122
+ "Pause this task in Papilot before accepting, rejecting, or undoing changes. You can still add comments.": "Pausa denna uppgift i Papilot innan du godkänner, avvisar eller ångrar ändringar. Du kan fortfarande lägga till kommentarer.",
123
+ "Pending": "Väntande",
124
+ "Preparing the full PDF…": "Förbereder hela PDF-filen…",
125
+ "Preparing the next review…": "Förbereder nästa granskning…",
126
+ "Previous change": "Föregående ändring",
127
+ "Previous change (K or ←)": "Föregående ändring (K eller ←)",
128
+ "Publish failed": "Publicering misslyckades",
129
+ "Publishing": "Publicerar",
130
+ "Put back what the last revert removed (U)": "Lägg tillbaka det som den senaste återställningen tog bort (U)",
131
+ "Queued behind {n} updates…": "I kö bakom {n} uppdateringar…",
132
+ "Queued behind {n} update…": "I kö bakom {n} uppdatering…",
133
+ "Queued…": "I kö…",
134
+ "Reconnecting…": "Återansluter…",
135
+ "Record": "Källpost",
136
+ "Reflow": "Omflöde",
137
+ "Reject": "Avvisa",
138
+ "Reject all": "Avvisa alla",
139
+ "Reject all ({n})": "Avvisa alla ({n})",
140
+ "Reject {n} undecided change": "Avvisa {n} obeslutad ändring",
141
+ "Reject {n} undecided changes": "Avvisa {n} obeslutade ändringar",
142
+ "Rejected": "Avvisad",
143
+ "Removed entry": "Borttagen post",
144
+ "Rendering the diff": "Renderar skillnaderna",
145
+ "Revert": "Återställ",
146
+ "Revert undone. The changes are back in your files.": "Återställning ångrad. Ändringarna är tillbaka i dina filer.",
147
+ "Reverted": "Återställd",
148
+ "Review complete": "Granskning slutförd",
149
+ "Review history": "Granskningshistorik",
150
+ "Review the current change": "Granska den aktuella ändringen",
151
+ "Review view": "Granskningsvy",
152
+ "Review →": "Granska →",
153
+ "Reviewed changes · View in History": "Granskade ändringar · Visa i Historik",
154
+ "Revised after your comment: ": "Reviderad efter din kommentar: ",
155
+ "Search by title or task name": "Sök efter titel eller uppgiftsnamn",
156
+ "Search reviews": "Sök granskningar",
157
+ "Select Check status in Papilot before accepting, rejecting, or undoing changes. You can still add comments.": "Välj Kontrollera status i Papilot innan du godkänner, avvisar eller ångrar ändringar. Du kan fortfarande lägga till kommentarer.",
158
+ "Select text directly in the PDF preview. Copy reference includes the selection and its file, line numbers and page. Review shortcuts pause while text is selected.": "Markera text direkt i PDF-förhandsvisningen. Kopiera referens inkluderar markeringen samt dess fil, radnummer och sida. Granskningsgenvägar pausas medan text är markerad.",
159
+ "Send": "Skicka",
160
+ "Show LaTeX source": "Visa LaTeX-källkod",
161
+ "Show the LaTeX source (S)": "Visa LaTeX-källkoden (S)",
162
+ "Show {n} more": "Visa {n} till",
163
+ "Since the last commit": "Sedan senaste commit",
164
+ "Source only": "Endast källkod",
165
+ "Stage": "Förbered",
166
+ "Stage all": "Köa alla",
167
+ "Stage all ({n})": "Köa alla ({n})",
168
+ "Stage anyway": "Köa ändå",
169
+ "Stage bibliography entries that are not verified?": "Köa poster i referenslistan som inte är verifierade?",
170
+ "Stage or unstage": "Köa eller avköa",
171
+ "Stage the {n} unstaged change.": "Köa den {n} ej köade ändringen.",
172
+ "Stage the {n} unstaged changes.": "Köa de {n} ej köade ändringarna.",
173
+ "Staged": "Förberedd",
174
+ "Starting": "Startar",
175
+ "Taking a snapshot": "Tar en ögonblicksbild",
176
+ "Text": "Text",
177
+ "The DOI is not registered, and no record matches the title.": "DOI-numret är inte registrerat och ingen källpost matchar titeln.",
178
+ "The PDF matches the last commit.": "PDF-filen stämmer överens med senaste commit.",
179
+ "The comparison could not be built: ": "Jämförelsen kunde inte skapas: ",
180
+ "The entry has no title, DOI or arXiv identifier to look up.": "Posten saknar titel, DOI eller arXiv-identifierare att slå upp.",
181
+ "The full PDF could not be loaded.": "Det gick inte att läsa in hela PDF-filen.",
182
+ "The last commit changed. The comparison is being updated.": "Senaste commit har ändrats. Jämförelsen uppdateras.",
183
+ "The latest publish failed: ": "Den senaste publiceringen misslyckades: ",
184
+ "The paper does not use this .bib file, so the entry will not appear.": "Artikeln använder inte denna .bib-fil, så posten kommer inte att visas.",
185
+ "The paper still cites this key, and no entry defines it now.": "Artikeln citerar fortfarande denna nyckel, men ingen post definierar den nu.",
186
+ "The sources could not be reached.": "Källorna kunde inte nås.",
187
+ "There are no accepted changes to save.": "Det finns inga godkända ändringar att spara.",
188
+ "There are no new changes to review. Previous decisions are available in History.": "Det finns inga nya ändringar att granska. Tidigare beslut finns i Historik.",
189
+ "This page updates by itself.": "Den här sidan uppdateras automatiskt.",
190
+ "This review is finished. Accepted changes are in your manuscript.": "Denna granskning är klar. Godkända ändringar finns i ditt manuskript.",
191
+ "This task is being deleted. Review actions and comments are unavailable.": "Denna uppgift håller på att tas bort. Granskningsåtgärder och kommentarer är inte tillgängliga.",
192
+ "This task is no longer available in Papilot. Return to the workspace.": "Denna uppgift är inte längre tillgänglig i Papilot. Återgå till arbetsytan.",
193
+ "Title": "Titel",
194
+ "Unchanged text": "Oförändrad text",
195
+ "Unchanged text is folded": "Oförändrad text är hopfälld",
196
+ "Uncommitted changes": "Ej incheckade ändringar",
197
+ "Undo": "Ångra",
198
+ "Undo last decision": "Ångra senaste beslut",
199
+ "Undo revert": "Ångra återställning",
200
+ "Undo {action} · {changes}": "Ångra {action} · {changes}",
201
+ "Unstage": "Ta bort förberedelse",
202
+ "Unstaged": "Ej förberedd",
203
+ "Updating changes…": "Uppdaterar ändringar…",
204
+ "Updating the comparison with your latest edits. You can keep staging and reverting meanwhile.": "Uppdaterar jämförelsen med dina senaste ändringar. Du kan fortsätta köa och återställa under tiden.",
205
+ "Verified": "Verifierad",
206
+ "Viewing earlier changes.": "Visar tidigare ändringar.",
207
+ "Wait for the PDF build before accepting, rejecting, or undoing changes. You can still add comments.": "Vänta tills PDF-bygget är klart innan du godkänner, avvisar eller ångrar ändringar. Du kan fortfarande lägga till kommentarer.",
208
+ "Wait for the current review action before accepting, rejecting, or undoing changes. You can still add comments.": "Vänta på den pågående granskningsåtgärden innan du godkänner, avvisar eller ångrar ändringar. Du kan fortfarande lägga till kommentarer.",
209
+ "Wait for the merge suggestion before changing review decisions.": "Vänta på sammanfogningsförslaget innan du ändrar granskningsbeslut.",
210
+ "Waiting for the agent to publish its changes.": "Väntar på att agenten ska publicera sina ändringar.",
211
+ "What should the agent change here?": "Vad ska agenten ändra här?",
212
+ "Year": "År",
213
+ "You checked this entry yourself.": "Du kontrollerade den här posten själv.",
214
+ "Your comment: ": "Din kommentar: ",
215
+ "Your comments are saved for the agent.": "Dina kommentarer är sparade för agenten.",
216
+ "Your comments are saved. Send feedback so the agent can revise.": "Dina kommentarer är sparade. Skicka återkoppling så att agenten kan revidera.",
217
+ "Your decisions are saved. Send them to the agent to continue.": "Dina beslut är sparade. Skicka dem till agenten för att fortsätta.",
218
+ "Your manuscript is unchanged until you save the merged result.": "Ditt manuskript är oförändrat tills du sparar det sammanfogade resultatet.",
219
+ "arXiv": "arXiv",
220
+ "checking {n}…": "kontrollerar {n}…",
221
+ "deleted": "borttagen",
222
+ "lines {start}–{end}": "raderna {start}–{end}",
223
+ "new file": "ny fil",
224
+ "online checks are off": "onlinekontroller är avstängda",
225
+ "p. {pages}": "s. {pages}",
226
+ "small": "liten",
227
+ "with {changes}": "med {changes}",
228
+ "{decided} of {total} decided": "{decided} av {total} beslutade",
229
+ "{label}, PDF page {page}": "{label}, PDF-sida {page}",
230
+ "{n} accepted": "{n} godkända",
231
+ "{n} checked by you": "{n} kontrollerade av dig",
232
+ "{n} citation without an entry": "{n} citering utan post",
233
+ "{n} citations without an entry": "{n} citeringar utan post",
234
+ "{n} commented": "{n} kommenterade",
235
+ "{n} could not be checked": "{n} kunde inte kontrolleras",
236
+ "{n} differ from their records": "{n} avviker från sina källposter",
237
+ "{n} differs from its record": "{n} avviker från sin källpost",
238
+ "{n} edits · LaTeX": "{n} redigeringar · LaTeX",
239
+ "{n} entries changed": "{n} poster ändrade",
240
+ "{n} entry changed": "{n} post ändrad",
241
+ "{n} new LaTeX warning": "{n} ny LaTeX-varning",
242
+ "{n} new LaTeX warnings": "{n} nya LaTeX-varningar",
243
+ "{n} not verified": "{n} ej verifierade",
244
+ "{n} open review": "{n} öppen granskning",
245
+ "{n} open reviews": "{n} öppna granskningar",
246
+ "{n} pending": "{n} väntande",
247
+ "{n} rejected": "{n} avvisade",
248
+ "{n} verified": "{n} verifierade",
249
+ "{sources} could not be reached.": "{sources} kunde inte nås.",
250
+ "{source} has this work with other details. Compare them below.": "{source} har detta verk med andra uppgifter. Jämför dem nedan.",
251
+ "{staged} of {total} staged": "{staged} av {total} köade",
252
+ "⌘↵ send · Esc cancel": "⌘↵ skicka · Esc avbryt"
253
+ }
@@ -0,0 +1,253 @@
1
+ {
2
+ "(no such paper)": "(無此論文)",
3
+ "(not registered)": "(未註冊)",
4
+ "Accept": "接受",
5
+ "Accept all": "全部接受",
6
+ "Accept all ({n})": "全部接受 ({n})",
7
+ "Accept anyway": "仍要接受",
8
+ "Accept bibliography entries that are not verified?": "要接受未驗證的參考文獻項目嗎?",
9
+ "Accept {n} undecided change": "接受 {n} 項未決定的變更",
10
+ "Accept {n} undecided changes": "接受 {n} 項未決定的變更",
11
+ "Accepted": "已接受",
12
+ "Accepted changes are in your manuscript.": "已接受的變更已寫入您的論文原稿。",
13
+ "Affects {n} place": "影響 {n} 處",
14
+ "Affects {n} places": "影響 {n} 處",
15
+ "After": "修改後",
16
+ "Agent needs your input": "智慧代理需要您的回覆",
17
+ "All changes are staged": "所有變更皆已暫存",
18
+ "All changes are staged.": "所有變更皆已暫存。",
19
+ "All changes reviewed": "所有變更皆已審閱",
20
+ "All changes reviewed. Your decisions are saved.": "所有變更皆已審閱。您的決定已儲存。",
21
+ "All decided": "已全部決定",
22
+ "All reviews": "所有審閱",
23
+ "All tasks": "所有任務",
24
+ "An agent can write an entry for a work that does not exist, or with the wrong authors, year or DOI. Check each one before it goes into your paper.": "智慧代理可能會為不存在的著作建立書目項目,或填入錯誤的作者、年份或 DOI。請在將每個項目納入論文前逐一核對。",
25
+ "Another entry in the bibliography has the same key.": "參考文獻中的另一個書目項目使用了相同的鍵值。",
26
+ "Authors": "作者",
27
+ "Awaiting revision": "等待修訂",
28
+ "Awaiting your review": "等待您審閱",
29
+ "Back to current changes →": "返回目前的變更 →",
30
+ "Back to review": "返回審閱",
31
+ "Before": "變更前",
32
+ "BibTeX cannot read this entry.": "BibTeX 無法讀取此書目項目。",
33
+ "Bibliography": "參考文獻",
34
+ "Binary file changed.": "二進位檔案已變更。",
35
+ "Cancel": "取消",
36
+ "Change map": "變更地圖",
37
+ "Change {list}": "變更 {list}",
38
+ "Change {n}": "變更 {n}",
39
+ "Changed entry": "已變更書目項目",
40
+ "Changes": "變更",
41
+ "Changes are ready": "變更已就緒",
42
+ "Changes {list}": "變更 {list}",
43
+ "Check again": "再次檢查",
44
+ "Checked by you": "已由您核對",
45
+ "Checking…": "檢查中…",
46
+ "Choose how to save the accepted changes to your manuscript.": "選擇如何將已接受的變更儲存至您的論文原稿。",
47
+ "Cited {n} time: {places}": "引用 {n} 次:{places}",
48
+ "Cited {n} times: {places}": "引用 {n} 次:{places}",
49
+ "Cites {key}, which no bibliography entry defines.": "引用了 {key},但沒有任何參考文獻項目定義此鍵值。",
50
+ "Clipboard unavailable. Select the PDF text and use your browser’s Copy command.": "無法使用剪貼簿。請選取 PDF 文字並使用瀏覽器的複製指令。",
51
+ "Close": "關閉",
52
+ "Closest record": "最接近的紀錄",
53
+ "Comment": "評論",
54
+ "Comment on change {n}": "對變更 {n} 發表評論",
55
+ "Commented": "已評論",
56
+ "Commit them when you are ready.": "準備好後即可提交。",
57
+ "Comparing with the last commit…": "正在與上次提交比對…",
58
+ "Comparison failed": "比對失敗",
59
+ "Compiling LaTeX": "正在編譯 LaTeX",
60
+ "Continued: only line breaks moved here.": "續上頁:此處僅有換行位置變動。",
61
+ "Copied selected text with file, lines and PDF page.": "已複製所選文字及檔案、行號與 PDF 頁碼。",
62
+ "Copied the change location.": "已複製變更位置。",
63
+ "Copy reference": "複製引用位置",
64
+ "Copy selected PDF text": "複製所選 PDF 文字",
65
+ "Copy selected text with this change’s file, line numbers and PDF page": "複製所選文字及此變更的檔案、行號與 PDF 頁碼",
66
+ "Could not check": "無法檢查",
67
+ "Current changes": "目前的變更",
68
+ "DOI": "DOI",
69
+ "Differs from the record": "與紀錄不符",
70
+ "Earlier changes": "先前的變更",
71
+ "Edited": "已編輯",
72
+ "Editing": "編輯中",
73
+ "Entry": "書目項目",
74
+ "Feedback queued": "意見回饋已排入佇列",
75
+ "Feedback sent · Agent is working": "意見回饋已傳送 · 智慧代理處理中",
76
+ "Filter reviews": "篩選審閱",
77
+ "Finish or abort the merge in the Git panel before staging or reverting changes.": "在暫存或還原變更前,請先在 Git 面板中完成或中止合併。",
78
+ "Finished": "已完成",
79
+ "History": "歷史記錄",
80
+ "I checked it myself": "我已自行核對",
81
+ "In review": "審閱中",
82
+ "J / K or → / ←": "J / K 或 → / ←",
83
+ "Keyboard shortcuts": "鍵盤快速鍵",
84
+ "Last decision undone. The restored changes need review again.": "已復原上一個決定。還原的變更需要重新審閱。",
85
+ "Layout": "版面配置",
86
+ "Leaves {n} change with bibliography entries to check.": "尚有 {n} 處含待核對書目條目的變更。",
87
+ "Leaves {n} changes with bibliography entries to check.": "尚有 {n} 處含待核對書目條目的變更。",
88
+ "Loading…": "載入中…",
89
+ "Long change: the source is shortened.": "變更較長:原始碼已縮略。",
90
+ "Looking this entry up in Crossref, DBLP and arXiv…": "正在 Crossref、DBLP 與 arXiv 中查詢此書目項目…",
91
+ "Matches the record in {source}, apart from the small differences below.": "除下方細微差異外,與 {source} 中的紀錄一致。",
92
+ "Matches the record in {source}.": "與 {source} 中的紀錄一致。",
93
+ "Merge review": "合併審閱",
94
+ "Mixed": "混合",
95
+ "Moved": "已移動",
96
+ "New changes will appear here when ready.": "新的變更準備就緒後會顯示於此。",
97
+ "New entry": "新增書目項目",
98
+ "Next / previous change": "下一個/上一個變更",
99
+ "Next change": "下一個變更",
100
+ "Next change (J or →)": "下一個變更 (J 或 →)",
101
+ "Next undecided": "下一個未決定項",
102
+ "Next unstaged": "下一個未暫存項目",
103
+ "No arXiv paper has this identifier, and no record matches the title.": "沒有使用此識別碼的 arXiv 論文,且沒有與標題相符的紀錄。",
104
+ "No bibliography entry has this key.": "沒有任何參考文獻項目使用此鍵值。",
105
+ "No changes to review.": "沒有需要審閱的變更。",
106
+ "No open reviews yet. Start a task from your document repository.": "目前沒有進行中的審閱。請從您的文件儲存庫開始一項任務。",
107
+ "No record in Crossref, DBLP or arXiv matches this entry. Theses, reports and many books are in none of them, so check it yourself.": "Crossref、DBLP 或 arXiv 中皆無與此書目項目相符的紀錄。學位論文、報告及許多書籍皆未收錄於這些資料庫中,因此請自行核對。",
108
+ "No reviews match this filter.": "沒有符合此篩選條件的審閱。",
109
+ "No uncommitted changes": "沒有未提交的變更",
110
+ "No visible change": "無可見變更",
111
+ "No visible change in the PDF; see the LaTeX source.": "PDF 中無可見變更;請檢視 LaTeX 原始碼。",
112
+ "Not checked online": "未在線上檢查",
113
+ "Not cited in the paper, so it does not appear in the PDF.": "論文中未引用,因此不會顯示在 PDF 中。",
114
+ "Not published yet": "尚未發佈",
115
+ "Not verified": "未驗證",
116
+ "Nothing to check": "無須檢查",
117
+ "Online checks are off in Settings, so this entry was not looked up.": "「設定」中已關閉線上檢查,因此未查詢此書目項目。",
118
+ "Open Chat to answer the agent's question.": "開啟聊天室以回答智慧代理的問題。",
119
+ "Open →": "開啟 →",
120
+ "Other changes": "其他變更",
121
+ "Partly staged": "部分已暫存",
122
+ "Pause this task in Papilot before accepting, rejecting, or undoing changes. You can still add comments.": "在接受、拒絕或復原變更前,請先在 Papilot 中暫停此任務。您仍可新增評論。",
123
+ "Pending": "待處理",
124
+ "Preparing the full PDF…": "正在準備完整 PDF…",
125
+ "Preparing the next review…": "正在準備下一次審閱…",
126
+ "Previous change": "上一個變更",
127
+ "Previous change (K or ←)": "上一個變更 (K 或 ←)",
128
+ "Publish failed": "發佈失敗",
129
+ "Publishing": "發佈中",
130
+ "Put back what the last revert removed (U)": "恢復上次還原所移除的內容 (U)",
131
+ "Queued behind {n} updates…": "排在 {n} 個更新之後…",
132
+ "Queued behind {n} update…": "排在 {n} 個更新之後…",
133
+ "Queued…": "排隊中…",
134
+ "Reconnecting…": "重新連線中…",
135
+ "Record": "紀錄",
136
+ "Reflow": "重新排版",
137
+ "Reject": "拒絕",
138
+ "Reject all": "全部拒絕",
139
+ "Reject all ({n})": "全部拒絕 ({n})",
140
+ "Reject {n} undecided change": "拒絕 {n} 項未決定的變更",
141
+ "Reject {n} undecided changes": "拒絕 {n} 項未決定的變更",
142
+ "Rejected": "已拒絕",
143
+ "Removed entry": "已移除書目項目",
144
+ "Rendering the diff": "正在算繪差異",
145
+ "Revert": "還原",
146
+ "Revert undone. The changes are back in your files.": "已復原還原操作。變更已回到您的檔案中。",
147
+ "Reverted": "已還原",
148
+ "Review complete": "審閱完成",
149
+ "Review history": "審閱歷史記錄",
150
+ "Review the current change": "審閱目前的變更",
151
+ "Review view": "審閱檢視",
152
+ "Review →": "審閱 →",
153
+ "Reviewed changes · View in History": "已審閱的變更 · 在歷史記錄中檢視",
154
+ "Revised after your comment: ": "根據您的評論修訂:",
155
+ "Search by title or task name": "依標題或任務名稱搜尋",
156
+ "Search reviews": "搜尋審閱",
157
+ "Select Check status in Papilot before accepting, rejecting, or undoing changes. You can still add comments.": "在接受、拒絕或復原變更前,請先在 Papilot 中選取「檢查狀態」。您仍可新增評論。",
158
+ "Select text directly in the PDF preview. Copy reference includes the selection and its file, line numbers and page. Review shortcuts pause while text is selected.": "直接在 PDF 預覽中選取文字。「複製引用位置」會包含所選內容及其檔案、行號與頁碼。選取文字期間,審閱快捷鍵會暫停使用。",
159
+ "Send": "傳送",
160
+ "Show LaTeX source": "顯示 LaTeX 原始碼",
161
+ "Show the LaTeX source (S)": "顯示 LaTeX 原始碼 (S)",
162
+ "Show {n} more": "再顯示 {n} 項",
163
+ "Since the last commit": "自上次提交以來",
164
+ "Source only": "僅原始碼",
165
+ "Stage": "暫存",
166
+ "Stage all": "全部暫存",
167
+ "Stage all ({n})": "全部暫存 ({n})",
168
+ "Stage anyway": "仍要暫存",
169
+ "Stage bibliography entries that are not verified?": "要暫存未驗證的參考文獻項目嗎?",
170
+ "Stage or unstage": "暫存或取消暫存",
171
+ "Stage the {n} unstaged change.": "暫存 {n} 個未暫存的變更。",
172
+ "Stage the {n} unstaged changes.": "暫存 {n} 個未暫存的變更。",
173
+ "Staged": "已暫存",
174
+ "Starting": "正在啟動",
175
+ "Taking a snapshot": "正在建立快照",
176
+ "Text": "文字",
177
+ "The DOI is not registered, and no record matches the title.": "此 DOI 未註冊,且沒有與標題相符的紀錄。",
178
+ "The PDF matches the last commit.": "PDF 與上次提交一致。",
179
+ "The comparison could not be built: ": "無法建立比對:",
180
+ "The entry has no title, DOI or arXiv identifier to look up.": "此書目項目沒有可供查詢的標題、DOI 或 arXiv 識別碼。",
181
+ "The full PDF could not be loaded.": "無法載入完整 PDF。",
182
+ "The last commit changed. The comparison is being updated.": "上次提交已變更。正在更新比對。",
183
+ "The latest publish failed: ": "最近一次發布失敗:",
184
+ "The paper does not use this .bib file, so the entry will not appear.": "論文未使用此 .bib 檔案,因此該書目項目不會顯示。",
185
+ "The paper still cites this key, and no entry defines it now.": "論文仍引用此鍵值,但目前沒有書目項目定義它。",
186
+ "The sources could not be reached.": "無法連線至資料來源。",
187
+ "There are no accepted changes to save.": "沒有可儲存的已接受變更。",
188
+ "There are no new changes to review. Previous decisions are available in History.": "沒有需要審閱的新變更。先前的決定可在歷史記錄中檢視。",
189
+ "This page updates by itself.": "此頁面會自動更新。",
190
+ "This review is finished. Accepted changes are in your manuscript.": "本次審閱已完成。已接受的變更已寫入您的論文原稿。",
191
+ "This task is being deleted. Review actions and comments are unavailable.": "正在刪除此任務。審閱操作與評論功能無法使用。",
192
+ "This task is no longer available in Papilot. Return to the workspace.": "此任務在 Papilot 中已無法使用。請返回工作區。",
193
+ "Title": "標題",
194
+ "Unchanged text": "未變更文字",
195
+ "Unchanged text is folded": "未變更文字已摺疊",
196
+ "Uncommitted changes": "未提交的變更",
197
+ "Undo": "復原",
198
+ "Undo last decision": "復原上一個決定",
199
+ "Undo revert": "復原還原操作",
200
+ "Undo {action} · {changes}": "復原{action} · {changes}",
201
+ "Unstage": "取消暫存",
202
+ "Unstaged": "未暫存",
203
+ "Updating changes…": "正在更新變更…",
204
+ "Updating the comparison with your latest edits. You can keep staging and reverting meanwhile.": "正在使用您的最新編輯更新比對。在此期間您仍可繼續暫存與還原。",
205
+ "Verified": "已驗證",
206
+ "Viewing earlier changes.": "正在檢視較早的變更。",
207
+ "Wait for the PDF build before accepting, rejecting, or undoing changes. You can still add comments.": "在接受、拒絕或復原變更前,請先等待 PDF 建置完成。您仍可新增評論。",
208
+ "Wait for the current review action before accepting, rejecting, or undoing changes. You can still add comments.": "在接受、拒絕或復原變更前,請先等待目前的審閱操作完成。您仍可新增評論。",
209
+ "Wait for the merge suggestion before changing review decisions.": "請先等待合併建議,再變更審閱決定。",
210
+ "Waiting for the agent to publish its changes.": "正在等待智慧代理發布變更。",
211
+ "What should the agent change here?": "智慧代理應該在此處做什麼修改?",
212
+ "Year": "年份",
213
+ "You checked this entry yourself.": "您已自行核對此條目。",
214
+ "Your comment: ": "您的評論:",
215
+ "Your comments are saved for the agent.": "您的評論已儲存供智慧代理參考。",
216
+ "Your comments are saved. Send feedback so the agent can revise.": "您的評論已儲存。請傳送意見回饋,讓智慧代理進行修訂。",
217
+ "Your decisions are saved. Send them to the agent to continue.": "您的決定已儲存。請傳送給智慧代理以繼續。",
218
+ "Your manuscript is unchanged until you save the merged result.": "在儲存合併結果之前,您的論文原稿不會變更。",
219
+ "arXiv": "arXiv",
220
+ "checking {n}…": "正在檢查 {n} 個…",
221
+ "deleted": "已刪除",
222
+ "lines {start}–{end}": "第 {start}–{end} 行",
223
+ "new file": "新檔案",
224
+ "online checks are off": "線上檢查已關閉",
225
+ "p. {pages}": "第 {pages} 頁",
226
+ "small": "細微",
227
+ "with {changes}": "含 {changes}",
228
+ "{decided} of {total} decided": "已決定 {decided} / {total} 項",
229
+ "{label}, PDF page {page}": "{label},PDF 第 {page} 頁",
230
+ "{n} accepted": "{n} 個已接受",
231
+ "{n} checked by you": "{n} 項已由您核對",
232
+ "{n} citation without an entry": "{n} 處引用缺少書目項目",
233
+ "{n} citations without an entry": "{n} 處引用缺少書目項目",
234
+ "{n} commented": "{n} 個已評論",
235
+ "{n} could not be checked": "{n} 個無法檢查",
236
+ "{n} differ from their records": "{n} 個與其紀錄不符",
237
+ "{n} differs from its record": "{n} 個與其紀錄不符",
238
+ "{n} edits · LaTeX": "{n} 處編輯 · LaTeX",
239
+ "{n} entries changed": "{n} 個書目項目已變更",
240
+ "{n} entry changed": "{n} 個書目項目已變更",
241
+ "{n} new LaTeX warning": "{n} 則新 LaTeX 警告",
242
+ "{n} new LaTeX warnings": "{n} 則新 LaTeX 警告",
243
+ "{n} not verified": "{n} 個未驗證",
244
+ "{n} open review": "{n} 個進行中的審閱",
245
+ "{n} open reviews": "{n} 個進行中的審閱",
246
+ "{n} pending": "{n} 個待處理",
247
+ "{n} rejected": "{n} 個已拒絕",
248
+ "{n} verified": "{n} 個已驗證",
249
+ "{sources} could not be reached.": "無法連線至 {sources}。",
250
+ "{source} has this work with other details. Compare them below.": "{source} 中收錄的此著作具有其他詳細資訊。請在下方進行比對。",
251
+ "{staged} of {total} staged": "已暫存 {staged} / {total}",
252
+ "⌘↵ send · Esc cancel": "⌘↵ 傳送 · Esc 取消"
253
+ }
@@ -0,0 +1,13 @@
1
+ import type { ChangeBlock } from "../types.ts";
2
+
3
+ // A change block in the numbering of the changes view, for the full paper.
4
+ export interface PlacedChange {
5
+ block: ChangeBlock;
6
+ index: number;
7
+ }
8
+
9
+ // The full paper can show the changes when at least one strip knows where
10
+ // it starts on its page; a change whose strips do not follows the change
11
+ // before it.
12
+ export const placeable = (changes: PlacedChange[]) =>
13
+ changes.some((c) => c.block.after.some((s) => s.top !== undefined));
@@ -168,7 +168,7 @@ export function risks(
168
168
  }
169
169
 
170
170
  // Chinese sentences follow each other without a space.
171
- const gap = () => (language() === "zh-CN" ? "" : " ");
171
+ const gap = () => (language().startsWith("zh") ? "" : " ");
172
172
  function where(place: ReferenceCitation) {
173
173
  return `${place.section ? `${place.section} · ` : ""}${place.file}:${place.line}`;
174
174
  }