Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix: keep entry headers with content and map overflow pages

Amruth Pillaif63c9cdfe8e2
diff --git a/apps/mobile/locales/af-ZA.po b/apps/mobile/locales/af-ZA.po
index e62ecfa5c..e0c84dc4a 100644
--- a/apps/mobile/locales/af-ZA.po
+++ b/apps/mobile/locales/af-ZA.po
@@ -13726,3 +13726,14 @@ msgstr "Zoem uit"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zoeloe"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/am-ET.po b/apps/mobile/locales/am-ET.po
index fb5d0630b..c5c227186 100644
--- a/apps/mobile/locales/am-ET.po
+++ b/apps/mobile/locales/am-ET.po
@@ -13726,3 +13726,14 @@ msgstr "አጉር"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "ዙሉ"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/ar-SA.po b/apps/mobile/locales/ar-SA.po
index 024fd6259..08e44c698 100644
--- a/apps/mobile/locales/ar-SA.po
+++ b/apps/mobile/locales/ar-SA.po
@@ -13726,3 +13726,14 @@ msgstr "تصغير"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "الزولو"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/az-AZ.po b/apps/mobile/locales/az-AZ.po
index a30e3c3e6..edc1d38cf 100644
--- a/apps/mobile/locales/az-AZ.po
+++ b/apps/mobile/locales/az-AZ.po
@@ -13726,3 +13726,14 @@ msgstr "Uzaqlaşdır"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/bg-BG.po b/apps/mobile/locales/bg-BG.po
index de3ca2418..9613fe465 100644
--- a/apps/mobile/locales/bg-BG.po
+++ b/apps/mobile/locales/bg-BG.po
@@ -13726,3 +13726,14 @@ msgstr "Намаляване"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Зулуски"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/bn-BD.po b/apps/mobile/locales/bn-BD.po
index 2aa472523..0cd8744d7 100644
--- a/apps/mobile/locales/bn-BD.po
+++ b/apps/mobile/locales/bn-BD.po
@@ -13726,3 +13726,14 @@ msgstr "জুম আউট"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "জুলু"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/ca-ES.po b/apps/mobile/locales/ca-ES.po
index c13591b2f..51f5cd3ee 100644
--- a/apps/mobile/locales/ca-ES.po
+++ b/apps/mobile/locales/ca-ES.po
@@ -13726,3 +13726,14 @@ msgstr "Allunya"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulú"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/cs-CZ.po b/apps/mobile/locales/cs-CZ.po
index 66fba5cca..b25a6abce 100644
--- a/apps/mobile/locales/cs-CZ.po
+++ b/apps/mobile/locales/cs-CZ.po
@@ -13726,3 +13726,14 @@ msgstr "Oddálit"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/da-DK.po b/apps/mobile/locales/da-DK.po
index b0bd88ab3..cd02b403e 100644
--- a/apps/mobile/locales/da-DK.po
+++ b/apps/mobile/locales/da-DK.po
@@ -13726,3 +13726,14 @@ msgstr "Zoom ud"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/de-DE.po b/apps/mobile/locales/de-DE.po
index 17ec2b146..b9f6e5ef4 100644
--- a/apps/mobile/locales/de-DE.po
+++ b/apps/mobile/locales/de-DE.po
@@ -13726,3 +13726,14 @@ msgstr "Herauszoomen"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/el-GR.po b/apps/mobile/locales/el-GR.po
index 0364287cb..33b6210c5 100644
--- a/apps/mobile/locales/el-GR.po
+++ b/apps/mobile/locales/el-GR.po
@@ -13726,3 +13726,14 @@ msgstr "Σμίκρυνση"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Ζουλού"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/en-GB.po b/apps/mobile/locales/en-GB.po
index cce5da456..7979451b4 100644
--- a/apps/mobile/locales/en-GB.po
+++ b/apps/mobile/locales/en-GB.po
@@ -13726,3 +13726,14 @@ msgstr "Zoom out"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/en-US.po b/apps/mobile/locales/en-US.po
index 1fe4c3e43..ffb612085 100644
--- a/apps/mobile/locales/en-US.po
+++ b/apps/mobile/locales/en-US.po
@@ -13728,3 +13728,14 @@ msgstr "Zoom out"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr "{0, plural, one {Runs to # page} other {Runs to # pages}}"
diff --git a/apps/mobile/locales/es-ES.po b/apps/mobile/locales/es-ES.po
index e012c7603..a7d6b7550 100644
--- a/apps/mobile/locales/es-ES.po
+++ b/apps/mobile/locales/es-ES.po
@@ -13726,3 +13726,14 @@ msgstr "Alejar"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulú"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/fa-IR.po b/apps/mobile/locales/fa-IR.po
index 2502b8c0b..c9b17ae1c 100644
--- a/apps/mobile/locales/fa-IR.po
+++ b/apps/mobile/locales/fa-IR.po
@@ -13726,3 +13726,14 @@ msgstr "کوچک‌نمایی"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "زولو"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/fi-FI.po b/apps/mobile/locales/fi-FI.po
index 991f19933..3305c2b10 100644
--- a/apps/mobile/locales/fi-FI.po
+++ b/apps/mobile/locales/fi-FI.po
@@ -13726,3 +13726,14 @@ msgstr "Loitonna"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/fr-FR.po b/apps/mobile/locales/fr-FR.po
index 0a7551359..470ea6479 100644
--- a/apps/mobile/locales/fr-FR.po
+++ b/apps/mobile/locales/fr-FR.po
@@ -13726,3 +13726,14 @@ msgstr "Zoom arrière"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zoulou"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/he-IL.po b/apps/mobile/locales/he-IL.po
index 21086f013..3a85470fb 100644
--- a/apps/mobile/locales/he-IL.po
+++ b/apps/mobile/locales/he-IL.po
@@ -13726,3 +13726,14 @@ msgstr "התרחקות"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "זולו"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/hi-IN.po b/apps/mobile/locales/hi-IN.po
index 003b5ed63..9578835b9 100644
--- a/apps/mobile/locales/hi-IN.po
+++ b/apps/mobile/locales/hi-IN.po
@@ -13726,3 +13726,14 @@ msgstr "ज़ूम आउट"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "ज़ुलु"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/hu-HU.po b/apps/mobile/locales/hu-HU.po
index 08b6097fc..d4587e0fa 100644
--- a/apps/mobile/locales/hu-HU.po
+++ b/apps/mobile/locales/hu-HU.po
@@ -13726,3 +13726,14 @@ msgstr "Kicsinyítés"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/id-ID.po b/apps/mobile/locales/id-ID.po
index bb0226fc4..cfc247e70 100644
--- a/apps/mobile/locales/id-ID.po
+++ b/apps/mobile/locales/id-ID.po
@@ -13726,3 +13726,14 @@ msgstr "Perkecil"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/it-IT.po b/apps/mobile/locales/it-IT.po
index d8cad8fe4..f82e5c7b2 100644
--- a/apps/mobile/locales/it-IT.po
+++ b/apps/mobile/locales/it-IT.po
@@ -13726,3 +13726,14 @@ msgstr "Rimpicciolisci"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/ja-JP.po b/apps/mobile/locales/ja-JP.po
index 18513ea3e..736001caf 100644
--- a/apps/mobile/locales/ja-JP.po
+++ b/apps/mobile/locales/ja-JP.po
@@ -13726,3 +13726,14 @@ msgstr "ズームアウト"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "ズールー語"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/km-KH.po b/apps/mobile/locales/km-KH.po
index 74e26b541..4ac64a114 100644
--- a/apps/mobile/locales/km-KH.po
+++ b/apps/mobile/locales/km-KH.po
@@ -13726,3 +13726,14 @@ msgstr "បង្រួម"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/kn-IN.po b/apps/mobile/locales/kn-IN.po
index ce720be51..9011745ea 100644
--- a/apps/mobile/locales/kn-IN.po
+++ b/apps/mobile/locales/kn-IN.po
@@ -13726,3 +13726,14 @@ msgstr "ಗಾತ್ರ ಕುಗ್ಗಿಸಿ"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "ಜೂಲೂ"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/ko-KR.po b/apps/mobile/locales/ko-KR.po
index 8adca1d0b..2e3a09ac9 100644
--- a/apps/mobile/locales/ko-KR.po
+++ b/apps/mobile/locales/ko-KR.po
@@ -13726,3 +13726,14 @@ msgstr "축소"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "줄루어"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/lt-LT.po b/apps/mobile/locales/lt-LT.po
index 49b9a51e7..b20b4fb4d 100644
--- a/apps/mobile/locales/lt-LT.po
+++ b/apps/mobile/locales/lt-LT.po
@@ -13726,3 +13726,14 @@ msgstr "Tolinti"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulų"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/lv-LV.po b/apps/mobile/locales/lv-LV.po
index f7a2dc9ca..aefc48a93 100644
--- a/apps/mobile/locales/lv-LV.po
+++ b/apps/mobile/locales/lv-LV.po
@@ -13726,3 +13726,14 @@ msgstr "Tālināt"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/ml-IN.po b/apps/mobile/locales/ml-IN.po
index 009a859d4..98d5d9185 100644
--- a/apps/mobile/locales/ml-IN.po
+++ b/apps/mobile/locales/ml-IN.po
@@ -13726,3 +13726,14 @@ msgstr "സൂം ഔട്ട് ചെയ്യുക"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "സൂളു"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/mr-IN.po b/apps/mobile/locales/mr-IN.po
index e8fd48d06..07fce87a8 100644
--- a/apps/mobile/locales/mr-IN.po
+++ b/apps/mobile/locales/mr-IN.po
@@ -13726,3 +13726,14 @@ msgstr "बाहेर झूम करा"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "झुलू"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/ms-MY.po b/apps/mobile/locales/ms-MY.po
index ae1afb361..19a91d37c 100644
--- a/apps/mobile/locales/ms-MY.po
+++ b/apps/mobile/locales/ms-MY.po
@@ -13726,3 +13726,14 @@ msgstr "Zum keluar"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/ne-NP.po b/apps/mobile/locales/ne-NP.po
index 31612b8b1..56a2cbdf8 100644
--- a/apps/mobile/locales/ne-NP.po
+++ b/apps/mobile/locales/ne-NP.po
@@ -13726,3 +13726,14 @@ msgstr "जूम आउट"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "जुलु"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/nl-NL.po b/apps/mobile/locales/nl-NL.po
index cbdf8d6de..4ac7fe793 100644
--- a/apps/mobile/locales/nl-NL.po
+++ b/apps/mobile/locales/nl-NL.po
@@ -13726,3 +13726,14 @@ msgstr "Uitzoomen"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/no-NO.po b/apps/mobile/locales/no-NO.po
index 95f13d4d6..8f292e457 100644
--- a/apps/mobile/locales/no-NO.po
+++ b/apps/mobile/locales/no-NO.po
@@ -13726,3 +13726,14 @@ msgstr "Zoom ut"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/or-IN.po b/apps/mobile/locales/or-IN.po
index cdc7e3949..e349fae5d 100644
--- a/apps/mobile/locales/or-IN.po
+++ b/apps/mobile/locales/or-IN.po
@@ -13774,3 +13774,14 @@ msgstr "ଜୁମ୍ ଆଉଟ୍ କରନ୍ତୁ"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "ଜୁଲୁ"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/pl-PL.po b/apps/mobile/locales/pl-PL.po
index 0c6f84307..f3601bca7 100644
--- a/apps/mobile/locales/pl-PL.po
+++ b/apps/mobile/locales/pl-PL.po
@@ -13726,3 +13726,14 @@ msgstr "Pomniejsz"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/pt-BR.po b/apps/mobile/locales/pt-BR.po
index 6e4228f05..593b5cc9b 100644
--- a/apps/mobile/locales/pt-BR.po
+++ b/apps/mobile/locales/pt-BR.po
@@ -13726,3 +13726,14 @@ msgstr "Diminuir zoom"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/pt-PT.po b/apps/mobile/locales/pt-PT.po
index b6ede086d..c9668f058 100644
--- a/apps/mobile/locales/pt-PT.po
+++ b/apps/mobile/locales/pt-PT.po
@@ -13726,3 +13726,14 @@ msgstr "Afastar"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/ro-RO.po b/apps/mobile/locales/ro-RO.po
index 85e148301..67c9ba8f2 100644
--- a/apps/mobile/locales/ro-RO.po
+++ b/apps/mobile/locales/ro-RO.po
@@ -13726,3 +13726,14 @@ msgstr "Micșorează"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/ru-RU.po b/apps/mobile/locales/ru-RU.po
index ece1f1621..4b97aa59d 100644
--- a/apps/mobile/locales/ru-RU.po
+++ b/apps/mobile/locales/ru-RU.po
@@ -13726,3 +13726,14 @@ msgstr "Уменьшить"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Зулу"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/sk-SK.po b/apps/mobile/locales/sk-SK.po
index e301e3f89..d3e7af0b0 100644
--- a/apps/mobile/locales/sk-SK.po
+++ b/apps/mobile/locales/sk-SK.po
@@ -13726,3 +13726,14 @@ msgstr "Oddialiť"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/sl-SI.po b/apps/mobile/locales/sl-SI.po
index ec1e70d43..62a0383a2 100644
--- a/apps/mobile/locales/sl-SI.po
+++ b/apps/mobile/locales/sl-SI.po
@@ -13726,3 +13726,14 @@ msgstr "Oddalji"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zuluščina"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/sq-AL.po b/apps/mobile/locales/sq-AL.po
index 65f6eb0b2..30b281206 100644
--- a/apps/mobile/locales/sq-AL.po
+++ b/apps/mobile/locales/sq-AL.po
@@ -13726,3 +13726,14 @@ msgstr "Zvogëlo"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/sr-SP.po b/apps/mobile/locales/sr-SP.po
index bbb2cf200..0a9ee9370 100644
--- a/apps/mobile/locales/sr-SP.po
+++ b/apps/mobile/locales/sr-SP.po
@@ -13726,3 +13726,14 @@ msgstr "Умањи"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Зулу"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/sv-SE.po b/apps/mobile/locales/sv-SE.po
index e69565f88..be9310ece 100644
--- a/apps/mobile/locales/sv-SE.po
+++ b/apps/mobile/locales/sv-SE.po
@@ -13726,3 +13726,14 @@ msgstr "Zooma ut"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/ta-IN.po b/apps/mobile/locales/ta-IN.po
index 3c6d58bb6..c63272c58 100644
--- a/apps/mobile/locales/ta-IN.po
+++ b/apps/mobile/locales/ta-IN.po
@@ -13726,3 +13726,14 @@ msgstr "சிறிதாக்கு"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "ஜூலு"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/te-IN.po b/apps/mobile/locales/te-IN.po
index f23c26de6..3c523b2a5 100644
--- a/apps/mobile/locales/te-IN.po
+++ b/apps/mobile/locales/te-IN.po
@@ -13726,3 +13726,14 @@ msgstr "జూమ్ అవుట్ చేయండి"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "జులు"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/th-TH.po b/apps/mobile/locales/th-TH.po
index f715cbecf..8477a9caa 100644
--- a/apps/mobile/locales/th-TH.po
+++ b/apps/mobile/locales/th-TH.po
@@ -13726,3 +13726,14 @@ msgstr "ซูมออก"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "ซูลู"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/tr-TR.po b/apps/mobile/locales/tr-TR.po
index 2c36ee9c8..6dede15b9 100644
--- a/apps/mobile/locales/tr-TR.po
+++ b/apps/mobile/locales/tr-TR.po
@@ -13726,3 +13726,14 @@ msgstr "Uzaklaştır"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/uk-UA.po b/apps/mobile/locales/uk-UA.po
index 89537e6b9..e7e207bd5 100644
--- a/apps/mobile/locales/uk-UA.po
+++ b/apps/mobile/locales/uk-UA.po
@@ -13726,3 +13726,14 @@ msgstr "Зменшити"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Зулу"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/uz-UZ.po b/apps/mobile/locales/uz-UZ.po
index 9c9ad166a..c492c7e55 100644
--- a/apps/mobile/locales/uz-UZ.po
+++ b/apps/mobile/locales/uz-UZ.po
@@ -13726,3 +13726,14 @@ msgstr "Kichraytirish"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/vi-VN.po b/apps/mobile/locales/vi-VN.po
index dded12bec..574eb43fe 100644
--- a/apps/mobile/locales/vi-VN.po
+++ b/apps/mobile/locales/vi-VN.po
@@ -13726,3 +13726,14 @@ msgstr "Thu nhỏ"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/zh-CN.po b/apps/mobile/locales/zh-CN.po
index 9f28b047f..7949ec937 100644
--- a/apps/mobile/locales/zh-CN.po
+++ b/apps/mobile/locales/zh-CN.po
@@ -13726,3 +13726,14 @@ msgstr "缩小"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "祖鲁语"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/zh-TW.po b/apps/mobile/locales/zh-TW.po
index 4b418f3c0..dee30f036 100644
--- a/apps/mobile/locales/zh-TW.po
+++ b/apps/mobile/locales/zh-TW.po
@@ -13726,3 +13726,14 @@ msgstr "縮小"
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr "祖魯語"
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/locales/zu-ZA.po b/apps/mobile/locales/zu-ZA.po
index 4c41d53c0..9692609cf 100644
--- a/apps/mobile/locales/zu-ZA.po
+++ b/apps/mobile/locales/zu-ZA.po
@@ -13726,3 +13726,14 @@ msgstr ""
#: src/features/settings/locale-names.ts
msgid "Zulu"
msgstr ""
+
+
+#. placeholder {0}: firstSpill.lines
+#: src/preview/page.tsx
+msgid "{0, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#. placeholder {0}: overflow.pageCount
+#: src/preview/page.tsx
+msgid "{0, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
diff --git a/apps/mobile/src/preview/page.tsx b/apps/mobile/src/preview/page.tsx
index 09f25da5e..0688718c4 100644
--- a/apps/mobile/src/preview/page.tsx
+++ b/apps/mobile/src/preview/page.tsx
@@ -6,6 +6,7 @@ import { useRouter } from "expo-router";
import { useEffect, useLayoutEffect, useRef, useState } from "react";
import { ActivityIndicator, Pressable, View, useWindowDimensions } from "react-native";
import { Gesture, GestureDetector } from "react-native-gesture-handler";
+import { measureOverflow } from "@reactive-resume/pdf/page-map";
import { fitResume } from "./fit";
import { usePageZoom, ZoomViewport } from "./use-page-zoom";
import { usePreview } from "./usePreview";
@@ -95,7 +96,9 @@ export function ResumePage({ id, draft, focused, previewData }: ResumePageProps)
}
};
const authored = Math.max(1, data?.metadata.layout.pages.length ?? 1);
- const overflow = result && result.pageCount > authored;
+ const overflow = data && result ? measureOverflow(data, result) : null;
+ const firstSpill = overflow?.spills[0];
+ const page = firstSpill?.authoredPage;
const currentPage = Math.min(
result?.pageCount ?? 1,
Number(Object.entries(rows).find(([, row]) => (row.y + row.height) * (zoom ?? 1) > offset)?.[0] ?? 0) + 1,
@@ -165,10 +168,10 @@ export function ResumePage({ id, draft, focused, previewData }: ResumePageProps)
) : null}
<ZoomViewport controller={zoomController} width={viewport.width} pageWidth={fitWidth} onScroll={setOffset}>
<View style={{ gap: space.s8, alignItems: "center" }}>
- {pageSizes.map((page, index) => {
+ {pageSizes.map((pageSize, index) => {
const image = result?.pages.find((entry) => entry.index === index);
- const width = page.width * displayScale;
- const height = page.height * displayScale;
+ const width = pageSize.width * displayScale;
+ const height = pageSize.height * displayScale;
return (
<View
key={index}
@@ -184,9 +187,19 @@ export function ResumePage({ id, draft, focused, previewData }: ResumePageProps)
}}
>
<Text variant="caption" color="ink3" align="center">{t`Page ${index + 1}`}</Text>
+ {overflow?.spills.some((spill) => spill.pages.includes(index + 1)) ? (
+ <View style={{ borderTopWidth: 1.5, borderStyle: "dashed", borderColor: colors.warnText }} />
+ ) : null}
{index === 0 && overflow ? (
<View style={{ maxWidth: width, gap: space.s1 }}>
- <Text variant="callout" color="warnText">{t`Runs onto page ${authored + 1}`}</Text>
+ <Text variant="callout" color="warnText">
+ {firstSpill && firstSpill.pages.length === 1 && firstSpill.lines
+ ? plural(firstSpill.lines, {
+ one: `Page ${page} runs over by about # line`,
+ other: `Page ${page} runs over by about # lines`,
+ })
+ : plural(overflow.pageCount, { one: "Runs to # page", other: "Runs to # pages" })}
+ </Text>
<Button
variant="secondary"
label={plural(authored, { 1: "Fit to one page", other: "Fit to # pages" })}
diff --git a/apps/web/locales/af-ZA.po b/apps/web/locales/af-ZA.po
index c9812c57c..461423dd7 100644
--- a/apps/web/locales/af-ZA.po
+++ b/apps/web/locales/af-ZA.po
@@ -17252,3 +17252,33 @@ msgstr "Zoem uit"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zoeloe"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/am-ET.po b/apps/web/locales/am-ET.po
index d60be3f6c..64b8136c4 100644
--- a/apps/web/locales/am-ET.po
+++ b/apps/web/locales/am-ET.po
@@ -17252,3 +17252,33 @@ msgstr "አጉር"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "ዙሉ"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/ar-SA.po b/apps/web/locales/ar-SA.po
index bf1ee5c0a..03262289f 100644
--- a/apps/web/locales/ar-SA.po
+++ b/apps/web/locales/ar-SA.po
@@ -17252,3 +17252,33 @@ msgstr "تصغير"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "الزولو"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/az-AZ.po b/apps/web/locales/az-AZ.po
index e5d8ed793..a29220696 100644
--- a/apps/web/locales/az-AZ.po
+++ b/apps/web/locales/az-AZ.po
@@ -17252,3 +17252,33 @@ msgstr "Uzaqlaşdır"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/bg-BG.po b/apps/web/locales/bg-BG.po
index 1d2a7b72c..af5dca6b9 100644
--- a/apps/web/locales/bg-BG.po
+++ b/apps/web/locales/bg-BG.po
@@ -17252,3 +17252,33 @@ msgstr "Намаляване"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Зулуски"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/bn-BD.po b/apps/web/locales/bn-BD.po
index 846d8bab1..9ef8cdd19 100644
--- a/apps/web/locales/bn-BD.po
+++ b/apps/web/locales/bn-BD.po
@@ -17252,3 +17252,33 @@ msgstr "জুম আউট"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "জুলু"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/ca-ES.po b/apps/web/locales/ca-ES.po
index abdf7344a..db0cda43b 100644
--- a/apps/web/locales/ca-ES.po
+++ b/apps/web/locales/ca-ES.po
@@ -17252,3 +17252,33 @@ msgstr "Allunya"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulú"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/cs-CZ.po b/apps/web/locales/cs-CZ.po
index 5599d7f5a..a521dcca6 100644
--- a/apps/web/locales/cs-CZ.po
+++ b/apps/web/locales/cs-CZ.po
@@ -17252,3 +17252,33 @@ msgstr "Oddálit"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/da-DK.po b/apps/web/locales/da-DK.po
index a8ca81f16..e88e1482c 100644
--- a/apps/web/locales/da-DK.po
+++ b/apps/web/locales/da-DK.po
@@ -17252,3 +17252,33 @@ msgstr "Zoom ud"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/de-DE.po b/apps/web/locales/de-DE.po
index 602e7c0f8..31e40c60a 100644
--- a/apps/web/locales/de-DE.po
+++ b/apps/web/locales/de-DE.po
@@ -17252,3 +17252,33 @@ msgstr "Herauszoomen"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/el-GR.po b/apps/web/locales/el-GR.po
index 94ed3132f..47be4d06b 100644
--- a/apps/web/locales/el-GR.po
+++ b/apps/web/locales/el-GR.po
@@ -17252,3 +17252,33 @@ msgstr "Σμίκρυνση"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Ζουλού"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/en-GB.po b/apps/web/locales/en-GB.po
index 28ef61394..d370022bc 100644
--- a/apps/web/locales/en-GB.po
+++ b/apps/web/locales/en-GB.po
@@ -17252,3 +17252,33 @@ msgstr "Zoom out"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/en-US.po b/apps/web/locales/en-US.po
index 11dd002a9..0c8ed0696 100644
--- a/apps/web/locales/en-US.po
+++ b/apps/web/locales/en-US.po
@@ -17249,3 +17249,33 @@ msgstr "Zoom out"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr "Tighten to one page. It currently runs to {count} pages."
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr "Tighten to one page. Page {page} runs over by about {lines} lines."
diff --git a/apps/web/locales/es-ES.po b/apps/web/locales/es-ES.po
index 765c55f56..bb9cf1d73 100644
--- a/apps/web/locales/es-ES.po
+++ b/apps/web/locales/es-ES.po
@@ -17252,3 +17252,33 @@ msgstr "Alejar"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulú"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/fa-IR.po b/apps/web/locales/fa-IR.po
index febafdcfb..d7cdc8a89 100644
--- a/apps/web/locales/fa-IR.po
+++ b/apps/web/locales/fa-IR.po
@@ -17252,3 +17252,33 @@ msgstr "کوچک‌نمایی"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "زولو"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/fi-FI.po b/apps/web/locales/fi-FI.po
index 5167907d7..c8aca06c1 100644
--- a/apps/web/locales/fi-FI.po
+++ b/apps/web/locales/fi-FI.po
@@ -17252,3 +17252,33 @@ msgstr "Loitonna"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/fr-FR.po b/apps/web/locales/fr-FR.po
index f1aa9f61e..0ec0c3af3 100644
--- a/apps/web/locales/fr-FR.po
+++ b/apps/web/locales/fr-FR.po
@@ -17252,3 +17252,33 @@ msgstr "Zoom arrière"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zoulou"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/he-IL.po b/apps/web/locales/he-IL.po
index 8c8c33602..ba7d26642 100644
--- a/apps/web/locales/he-IL.po
+++ b/apps/web/locales/he-IL.po
@@ -17252,3 +17252,33 @@ msgstr "התרחקות"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "זולו"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/hi-IN.po b/apps/web/locales/hi-IN.po
index 11e2a0a50..688591374 100644
--- a/apps/web/locales/hi-IN.po
+++ b/apps/web/locales/hi-IN.po
@@ -17252,3 +17252,33 @@ msgstr "ज़ूम आउट"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "ज़ुलु"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/hu-HU.po b/apps/web/locales/hu-HU.po
index 1bb1e21bf..2da6c65a3 100644
--- a/apps/web/locales/hu-HU.po
+++ b/apps/web/locales/hu-HU.po
@@ -17252,3 +17252,33 @@ msgstr "Kicsinyítés"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/id-ID.po b/apps/web/locales/id-ID.po
index 98cb0baf5..b82eaefa5 100644
--- a/apps/web/locales/id-ID.po
+++ b/apps/web/locales/id-ID.po
@@ -17252,3 +17252,33 @@ msgstr "Perkecil"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/it-IT.po b/apps/web/locales/it-IT.po
index fee2c0a46..ad2e2c25c 100644
--- a/apps/web/locales/it-IT.po
+++ b/apps/web/locales/it-IT.po
@@ -17252,3 +17252,33 @@ msgstr "Rimpicciolisci"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/ja-JP.po b/apps/web/locales/ja-JP.po
index a83ad7849..aed8a60ab 100644
--- a/apps/web/locales/ja-JP.po
+++ b/apps/web/locales/ja-JP.po
@@ -17252,3 +17252,33 @@ msgstr "ズームアウト"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "ズールー語"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/km-KH.po b/apps/web/locales/km-KH.po
index efd4a127a..3e69412cc 100644
--- a/apps/web/locales/km-KH.po
+++ b/apps/web/locales/km-KH.po
@@ -17252,3 +17252,33 @@ msgstr "បង្រួម"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/kn-IN.po b/apps/web/locales/kn-IN.po
index 98b5f6675..530d99d83 100644
--- a/apps/web/locales/kn-IN.po
+++ b/apps/web/locales/kn-IN.po
@@ -17252,3 +17252,33 @@ msgstr "ಗಾತ್ರ ಕುಗ್ಗಿಸಿ"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "ಜೂಲೂ"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/ko-KR.po b/apps/web/locales/ko-KR.po
index 5745ea797..88bccf2e3 100644
--- a/apps/web/locales/ko-KR.po
+++ b/apps/web/locales/ko-KR.po
@@ -17252,3 +17252,33 @@ msgstr "축소"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "줄루어"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/lt-LT.po b/apps/web/locales/lt-LT.po
index 6a857b1ab..ae86339fe 100644
--- a/apps/web/locales/lt-LT.po
+++ b/apps/web/locales/lt-LT.po
@@ -17252,3 +17252,33 @@ msgstr "Tolinti"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulų"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/lv-LV.po b/apps/web/locales/lv-LV.po
index 6ed8df085..0c8ed9810 100644
--- a/apps/web/locales/lv-LV.po
+++ b/apps/web/locales/lv-LV.po
@@ -17252,3 +17252,33 @@ msgstr "Tālināt"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/ml-IN.po b/apps/web/locales/ml-IN.po
index b6fff4a13..25cc3a031 100644
--- a/apps/web/locales/ml-IN.po
+++ b/apps/web/locales/ml-IN.po
@@ -17252,3 +17252,33 @@ msgstr "സൂം ഔട്ട് ചെയ്യുക"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "സൂളു"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/mr-IN.po b/apps/web/locales/mr-IN.po
index dcfb8e95b..4bb042b95 100644
--- a/apps/web/locales/mr-IN.po
+++ b/apps/web/locales/mr-IN.po
@@ -17252,3 +17252,33 @@ msgstr "बाहेर झूम करा"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "झुलू"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/ms-MY.po b/apps/web/locales/ms-MY.po
index a4e274dbd..1e9b5ce92 100644
--- a/apps/web/locales/ms-MY.po
+++ b/apps/web/locales/ms-MY.po
@@ -17252,3 +17252,33 @@ msgstr "Zum keluar"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/ne-NP.po b/apps/web/locales/ne-NP.po
index eb91f4d06..3e5eee01a 100644
--- a/apps/web/locales/ne-NP.po
+++ b/apps/web/locales/ne-NP.po
@@ -17252,3 +17252,33 @@ msgstr "जूम आउट"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "जुलु"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/nl-NL.po b/apps/web/locales/nl-NL.po
index 2698fb9f0..8fdf98579 100644
--- a/apps/web/locales/nl-NL.po
+++ b/apps/web/locales/nl-NL.po
@@ -17252,3 +17252,33 @@ msgstr "Uitzoomen"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/no-NO.po b/apps/web/locales/no-NO.po
index bea379aad..6379757e0 100644
--- a/apps/web/locales/no-NO.po
+++ b/apps/web/locales/no-NO.po
@@ -17252,3 +17252,33 @@ msgstr "Zoom ut"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/or-IN.po b/apps/web/locales/or-IN.po
index 0fd9a9971..9241407bc 100644
--- a/apps/web/locales/or-IN.po
+++ b/apps/web/locales/or-IN.po
@@ -17255,3 +17255,33 @@ msgstr "ଜୁମ୍ ଆଉଟ୍ କରନ୍ତୁ"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "ଜୁଲୁ"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/pl-PL.po b/apps/web/locales/pl-PL.po
index c04d65bd8..0d664208a 100644
--- a/apps/web/locales/pl-PL.po
+++ b/apps/web/locales/pl-PL.po
@@ -17252,3 +17252,33 @@ msgstr "Pomniejsz"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/pt-BR.po b/apps/web/locales/pt-BR.po
index c43247d9c..a58b2e35b 100644
--- a/apps/web/locales/pt-BR.po
+++ b/apps/web/locales/pt-BR.po
@@ -17252,3 +17252,33 @@ msgstr "Diminuir zoom"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/pt-PT.po b/apps/web/locales/pt-PT.po
index ac5c4904b..a2b38fc48 100644
--- a/apps/web/locales/pt-PT.po
+++ b/apps/web/locales/pt-PT.po
@@ -17252,3 +17252,33 @@ msgstr "Afastar"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/ro-RO.po b/apps/web/locales/ro-RO.po
index 313bcd9fd..ab5510e18 100644
--- a/apps/web/locales/ro-RO.po
+++ b/apps/web/locales/ro-RO.po
@@ -17252,3 +17252,33 @@ msgstr "Micșorează"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/ru-RU.po b/apps/web/locales/ru-RU.po
index d2c70b6be..05ab1de10 100644
--- a/apps/web/locales/ru-RU.po
+++ b/apps/web/locales/ru-RU.po
@@ -17252,3 +17252,33 @@ msgstr "Уменьшить"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Зулу"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/sk-SK.po b/apps/web/locales/sk-SK.po
index 71e67a109..d07fe2cd7 100644
--- a/apps/web/locales/sk-SK.po
+++ b/apps/web/locales/sk-SK.po
@@ -17252,3 +17252,33 @@ msgstr "Oddialiť"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/sl-SI.po b/apps/web/locales/sl-SI.po
index 3cf7550e1..4f9e06d60 100644
--- a/apps/web/locales/sl-SI.po
+++ b/apps/web/locales/sl-SI.po
@@ -17252,3 +17252,33 @@ msgstr "Oddalji"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zuluščina"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/sq-AL.po b/apps/web/locales/sq-AL.po
index 034098abc..be684f478 100644
--- a/apps/web/locales/sq-AL.po
+++ b/apps/web/locales/sq-AL.po
@@ -17252,3 +17252,33 @@ msgstr "Zvogëlo"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/sr-SP.po b/apps/web/locales/sr-SP.po
index 3f6adab70..5663974c4 100644
--- a/apps/web/locales/sr-SP.po
+++ b/apps/web/locales/sr-SP.po
@@ -17252,3 +17252,33 @@ msgstr "Умањи"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Зулу"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/sv-SE.po b/apps/web/locales/sv-SE.po
index 534f828fc..6cf2b9786 100644
--- a/apps/web/locales/sv-SE.po
+++ b/apps/web/locales/sv-SE.po
@@ -17252,3 +17252,33 @@ msgstr "Zooma ut"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/ta-IN.po b/apps/web/locales/ta-IN.po
index 5e1389434..7e9f61d7a 100644
--- a/apps/web/locales/ta-IN.po
+++ b/apps/web/locales/ta-IN.po
@@ -17252,3 +17252,33 @@ msgstr "சிறிதாக்கு"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "ஜூலு"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/te-IN.po b/apps/web/locales/te-IN.po
index c760f214e..6f3a82631 100644
--- a/apps/web/locales/te-IN.po
+++ b/apps/web/locales/te-IN.po
@@ -17252,3 +17252,33 @@ msgstr "జూమ్ అవుట్ చేయండి"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "జులు"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/th-TH.po b/apps/web/locales/th-TH.po
index 22373bca2..926773848 100644
--- a/apps/web/locales/th-TH.po
+++ b/apps/web/locales/th-TH.po
@@ -17252,3 +17252,33 @@ msgstr "ซูมออก"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "ซูลู"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/tr-TR.po b/apps/web/locales/tr-TR.po
index 172a6a7b7..d221f6474 100644
--- a/apps/web/locales/tr-TR.po
+++ b/apps/web/locales/tr-TR.po
@@ -17252,3 +17252,33 @@ msgstr "Uzaklaştır"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/uk-UA.po b/apps/web/locales/uk-UA.po
index 607e5a381..b3137f78a 100644
--- a/apps/web/locales/uk-UA.po
+++ b/apps/web/locales/uk-UA.po
@@ -17252,3 +17252,33 @@ msgstr "Зменшити"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Зулу"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/uz-UZ.po b/apps/web/locales/uz-UZ.po
index dcee29041..3231ceee1 100644
--- a/apps/web/locales/uz-UZ.po
+++ b/apps/web/locales/uz-UZ.po
@@ -17252,3 +17252,33 @@ msgstr "Kichraytirish"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/vi-VN.po b/apps/web/locales/vi-VN.po
index 45a1e96dd..aaf9b9ecf 100644
--- a/apps/web/locales/vi-VN.po
+++ b/apps/web/locales/vi-VN.po
@@ -17252,3 +17252,33 @@ msgstr "Thu nhỏ"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "Zulu"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/zh-CN.po b/apps/web/locales/zh-CN.po
index e8b96ed1e..d995b717f 100644
--- a/apps/web/locales/zh-CN.po
+++ b/apps/web/locales/zh-CN.po
@@ -17252,3 +17252,33 @@ msgstr "缩小"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "祖鲁语"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/zh-TW.po b/apps/web/locales/zh-TW.po
index 03f2bc188..4155a8dc2 100644
--- a/apps/web/locales/zh-TW.po
+++ b/apps/web/locales/zh-TW.po
@@ -17252,3 +17252,33 @@ msgstr "縮小"
#: src/libs/locale.ts
msgid "Zulu"
msgstr "祖魯語"
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/locales/zu-ZA.po b/apps/web/locales/zu-ZA.po
index 40e3f1234..4e645cc4a 100644
--- a/apps/web/locales/zu-ZA.po
+++ b/apps/web/locales/zu-ZA.po
@@ -17247,3 +17247,33 @@ msgstr ""
#: src/libs/locale.ts
msgid "Zulu"
msgstr ""
+
+
+#. placeholder {0}: overflow.pageCount
+#: src/features/assistant/conversation.tsx
+msgid "{0, plural, one {Still runs to # page.} other {Still runs to # pages.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{lines, plural, one {Page {page} runs over by about # line} other {Page {page} runs over by about # lines}}"
+msgstr ""
+
+#: src/features/assistant/conversation.tsx
+msgid "{lines, plural, one {Page {page} still runs over by about # line.} other {Page {page} still runs over by about # lines.}}"
+msgstr ""
+
+#: src/routes/builder/$resumeId/-components/page-canvas.tsx
+msgid "{pageCount, plural, one {Runs to # page} other {Runs to # pages}}"
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It currently runs to {count} pages."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. It fits within the planned pages, so only cut what's weak."
+msgstr ""
+
+#: src/features/assistant/assistant-panel.tsx
+msgid "Tighten to one page. Page {page} runs over by about {lines} lines."
+msgstr ""
diff --git a/apps/web/src/features/assistant/assistant-panel.tsx b/apps/web/src/features/assistant/assistant-panel.tsx
index 1cac2f911..4cbb18d70 100644
--- a/apps/web/src/features/assistant/assistant-panel.tsx
+++ b/apps/web/src/features/assistant/assistant-panel.tsx
@@ -10,6 +10,7 @@ import { ORPCError } from "@orpc/client";
import { useQuery, useQueryClient } from "@tanstack/react-query";
import { useNavigate, useSearch } from "@tanstack/react-router";
import { useEffect, useRef, useState } from "react";
+import { measureOverflow } from "@reactive-resume/pdf/page-map";
import { Button } from "@reactive-resume/ui/components/button";
import {
DropdownMenu,
@@ -26,7 +27,6 @@ import { ConnectionNotice } from "./connection-notice";
import { Composer, Conversation } from "./conversation";
import { ProviderSetup, SetUpAi } from "./provider-setup";
import { useResumeStore } from "@/features/resume/builder/draft";
-import { measureOverflow } from "@/features/resume/editor/design/fit";
import { useEditorStore } from "@/features/resume/editor/store";
import { formatVersionTime } from "@/features/resume/share/format";
import { AiProviderLoadState } from "@/features/settings/integrations/ai-provider-load-state";
@@ -418,11 +418,15 @@ type Overflow = ReturnType<typeof measureOverflow> | undefined;
/** Tighten asks with the page's real overflow, so the reply can say honestly whether text edits close it. */
function tightenPrompt(overflow: Overflow) {
if (overflow === undefined) return t`Tighten to one page`;
- if (!overflow) return t`Tighten to one page. It already fits on one page, so only cut what's weak.`;
- const next = overflow.authored + 1;
- return overflow.lines
- ? t`Tighten to one page. It runs onto page ${next} by about ${overflow.lines} lines.`
- : t`Tighten to one page. It runs onto page ${next}.`;
+ if (!overflow) return t`Tighten to one page. It fits within the planned pages, so only cut what's weak.`;
+ const first = overflow.spills[0];
+ if (first && first.pages.length === 1 && first.lines) {
+ const page = first.authoredPage;
+ const lines = first.lines;
+ return t`Tighten to one page. Page ${page} runs over by about ${lines} lines.`;
+ }
+ const count = overflow.pageCount;
+ return t`Tighten to one page. It currently runs to ${count} pages.`;
}
function suggestionsFor(document: AssistantDocument, prepare: boolean, overflow?: Overflow): Suggestion[] {
diff --git a/apps/web/src/features/assistant/conversation.tsx b/apps/web/src/features/assistant/conversation.tsx
index 76fbefc2c..a71f3d5ea 100644
--- a/apps/web/src/features/assistant/conversation.tsx
+++ b/apps/web/src/features/assistant/conversation.tsx
@@ -18,6 +18,7 @@ import {
readPageOutputSchema,
tailoringAllows,
} from "@reactive-resume/ai/tools/agent-tool-contracts";
+import { measureOverflow } from "@reactive-resume/pdf/page-map";
import { withEditedText } from "@reactive-resume/resume/proposals";
import { Button } from "@reactive-resume/ui/components/button";
import { Icon } from "@reactive-resume/ui/components/icon";
@@ -44,7 +45,7 @@ import { UsedChip } from "./used-chip";
import { useDialogStore } from "@/dialogs/store";
import { ContextChip } from "@/features/career/shared";
import { useResumeStore } from "@/features/resume/builder/draft";
-import { measureOverflow, runFit } from "@/features/resume/editor/design/fit";
+import { runFit } from "@/features/resume/editor/design/fit";
import { ChangeSet, Coverage } from "@/features/resume/editor/proposals/proposal-list";
import { useEditorStore } from "@/features/resume/editor/store";
import { getOrpcErrorMessage, isProviderFailure, toastError } from "@/libs/error-message";
@@ -853,18 +854,20 @@ function StillOverflows() {
const [fitting, setFitting] = useState(false);
const overflow = data && rendered.pageCount > 0 ? measureOverflow(data, rendered) : null;
if (!overflow) return null;
- const next = overflow.authored + 1;
+ const first = overflow.spills[0];
+ const page = first?.authoredPage;
+ const lines = first?.lines;
return (
<p className="flex flex-wrap items-center gap-x-2 gap-y-1 rounded-lg bg-warn-soft px-3 py-2 text-xs text-warn-text">
<span className="flex-1">
- {overflow.lines ? (
+ {first && first.pages.length === 1 && lines ? (
<Plural
- value={overflow.lines}
- one={`Still runs onto page ${next} by about # line.`}
- other={`Still runs onto page ${next} by about # lines.`}
+ value={lines}
+ one={`Page ${page} still runs over by about # line.`}
+ other={`Page ${page} still runs over by about # lines.`}
/>
) : (
- <Trans>Still runs onto page {next}.</Trans>
+ <Plural value={overflow.pageCount} one="Still runs to # page." other="Still runs to # pages." />
)}
</span>
<Button
diff --git a/apps/web/src/features/resume/editor/design/fit.ts b/apps/web/src/features/resume/editor/design/fit.ts
index 0189c7477..ebf4f4d45 100644
--- a/apps/web/src/features/resume/editor/design/fit.ts
+++ b/apps/web/src/features/resume/editor/design/fit.ts
@@ -1,5 +1,4 @@
import type { FitStep } from "./presets";
-import type { PageMap } from "@reactive-resume/pdf/page-map";
import type { ResumeData } from "@reactive-resume/schema/resume/data";
import type { WritableDraft } from "immer";
import { plural, t } from "@lingui/core/macro";
@@ -36,27 +35,6 @@ function applyStep(metadata: WritableDraft<ResumeData["metadata"]>, step: FitSte
const densityLabel = () => ({ compact: t`Compact`, normal: t`Normal`, roomy: t`Roomy` });
const marginsLabel = () => ({ narrow: t`narrow margins`, normal: t`normal margins`, wide: t`wide margins` });
-/** How far the content runs past the authored pages, in lines of body text, from the page map on screen. */
-export function measureOverflow(data: ResumeData, rendered: { pageCount: number; pageMap: PageMap | undefined }) {
- const authored = Math.max(1, data.metadata.layout.pages.length);
- if (rendered.pageCount <= authored) return null;
-
- // The extent of the content on each spill page (positions are per page), summed.
- const extents = new Map<number, { top: number; bottom: number }>();
- for (const node of rendered.pageMap?.nodes ?? []) {
- if (node.page < authored) continue;
- const extent = extents.get(node.page);
- extents.set(node.page, {
- top: Math.min(extent?.top ?? node.y, node.y),
- bottom: Math.max(extent?.bottom ?? 0, node.y + node.height),
- });
- }
- const height = [...extents.values()].reduce((sum, extent) => sum + extent.bottom - extent.top, 0);
- const lineHeight = data.metadata.typography.body.fontSize * data.metadata.typography.body.lineHeight;
- const lines = height > 0 && lineHeight > 0 ? Math.max(1, Math.round(height / lineHeight)) : null;
- return { authored, pageCount: rendered.pageCount, lines };
-}
-
/**
* Fit to the authored pages: tightens density, then margins, then size (never below 9 pt), waiting for the page
* to re-render after each step. The whole run is one undo step.
diff --git a/apps/web/src/routes/builder/$resumeId/-components/page-canvas.tsx b/apps/web/src/routes/builder/$resumeId/-components/page-canvas.tsx
index 91421bf70..3a5722a9f 100644
--- a/apps/web/src/routes/builder/$resumeId/-components/page-canvas.tsx
+++ b/apps/web/src/routes/builder/$resumeId/-components/page-canvas.tsx
@@ -7,6 +7,7 @@ import { Plural, Trans } from "@lingui/react/macro";
import { useQuery } from "@tanstack/react-query";
import { lazyRouteComponent } from "@tanstack/react-router";
import { Suspense, useState } from "react";
+import { measureOverflow } from "@reactive-resume/pdf/page-map";
import { Icon } from "@reactive-resume/ui/components/icon";
import { useBreakpoint } from "@reactive-resume/ui/hooks/use-breakpoint";
import { cn } from "@reactive-resume/utils/style";
@@ -15,7 +16,7 @@ import { useCurrentBuilderResumeSelector, useResumeData, useResumeStore } from "
import { CheckPageLayer, PageViewToggle } from "@/features/resume/editor/check/page-layer";
import { ParserView } from "@/features/resume/editor/check/parser-view";
import { CanvasStatusPill, usePageScale, ZoomBar } from "@/features/resume/editor/chrome";
-import { measureOverflow, runFit } from "@/features/resume/editor/design/fit";
+import { runFit } from "@/features/resume/editor/design/fit";
import { PageOverlay } from "@/features/resume/editor/page-overlay";
import { markProposals, pendingProposals } from "@/features/resume/editor/proposals/proposals";
import { useEditorStore } from "@/features/resume/editor/store";
@@ -215,8 +216,8 @@ function ResumePageCaption(props: ResumePageCaptionProps) {
);
}
- // Content past the authored pages: a dashed warn line at the page boundary.
- if (overflow && pageNumber > overflow.authored) {
+ // Every continuation belongs to its authored page, even before the last authored page starts.
+ if (overflow?.spills.some((spill) => spill.pages.includes(pageNumber))) {
return (
<figcaption className="relative mb-2.5 border-t-[1.5px] border-dashed border-warn">
<span className="absolute end-0 -top-2.5 rounded bg-sunken px-1.5 text-[11px] font-semibold text-warn-text">
@@ -233,24 +234,26 @@ function ResumePageCaption(props: ResumePageCaptionProps) {
);
}
-type OverflowChipProps = { authored: number; lines: number | null };
+type OverflowChipProps = NonNullable<ReturnType<typeof measureOverflow>>;
-/** "Runs onto page 2 by about 6 lines" with Fit, which tightens the design until it fits (one undo step). */
-function OverflowChip({ authored, lines }: OverflowChipProps) {
+/** Names the first authored page that spills, with Fit using the existing single undo step. */
+function OverflowChip({ authored, spills, pageCount }: OverflowChipProps) {
const [fitting, setFitting] = useState(false);
- const next = authored + 1;
+ const first = spills[0];
+ const page = first?.authoredPage;
+ const lines = first?.lines;
return (
<span className="flex min-h-8 items-center gap-2 rounded-lg bg-warn-soft py-1 ps-3 pe-1.5 text-[13px] text-warn-text">
<Icon name="square-split-horizontal" size={18} />
- {lines ? (
+ {first && first.pages.length === 1 && lines ? (
<Plural
value={lines}
- one={`Runs onto page ${next} by about # line`}
- other={`Runs onto page ${next} by about # lines`}
+ one={`Page ${page} runs over by about # line`}
+ other={`Page ${page} runs over by about # lines`}
/>
) : (
- <Trans>Runs onto page {next}</Trans>
+ <Plural value={pageCount} one="Runs to # page" other="Runs to # pages" />
)}
<button
type="button"
diff --git a/docs/guides/editor-overview.mdx b/docs/guides/editor-overview.mdx
index 75d57788a..7b298c4d6 100644
--- a/docs/guides/editor-overview.mdx
+++ b/docs/guides/editor-overview.mdx
@@ -85,7 +85,7 @@ The page on the right is a live preview of the PDF you'll download. Each page ha
- **Click a line on the page to edit it.** Hovering over the page tints the block under the pointer. Clicking it selects that entry, marks it with an **Editing** tag, and opens it in the Write panel. On an Experience or Education entry, the tag also offers **Swap rows**, which puts the position or the company first in every entry. Clicking your name or contact details opens the Basics card. Press <kbd>Esc</kbd> to clear the selection.
- **Proposed edits** from the assistant or from Check appear on the page, with old text struck through and new text highlighted. Nothing changes until you accept them.
-- **Overflow warning.** If your content runs onto an extra page, the label above the first page says so, for example "Runs onto page 2 by about 6 lines", and offers **Fit to one page**. See [Fitting content on a page](/guides/fitting-content-on-a-page).
+- **Overflow warning.** If your content runs onto an extra page, the label above the first page identifies the planned page that spills, for example "Page 1 runs over by about 6 lines", and offers **Fit to one page**. Longer overflow shows the total printed page count. See [Fitting content on a page](/guides/fitting-content-on-a-page).
### Zooming
diff --git a/docs/guides/fitting-content-on-a-page.mdx b/docs/guides/fitting-content-on-a-page.mdx
index 4f6b48714..f210ea34a 100644
--- a/docs/guides/fitting-content-on-a-page.mdx
+++ b/docs/guides/fitting-content-on-a-page.mdx
@@ -9,14 +9,14 @@ Many employers expect a one-page resume, or two pages at most. Reactive Resume t
Your layout has a set number of pages (one, unless you add more; see [Arranging the layout](/guides/arranging-the-layout)). When the content needs more than that, three things show it:
-- A warning above the first page says how far it runs over, for example "Runs onto page 2 by about 6 lines", next to a **Fit to one page** button.
-- A dashed amber line with the page number marks where each extra page begins.
+- A warning above the first page identifies the first planned page that spills, for example "Page 1 runs over by about 6 lines", next to a **Fit to one page** button. If that page needs several extra sheets, the warning shows the total, for example "Runs to 6 pages".
+- A dashed amber line with the page number marks each spill page, including spills between planned pages. For example, planned pages 1 and 2 can spill onto printed pages 2 and 4; printed page 5 can still be a planned page.
- The zoom bar at the bottom of the page shows the total number of pages.
<Frame caption="Overflow warning with the automatic Fit action">
<img
- src="/images/guides/fitting-content-on-a-page/overflow-chip.webp"
- alt="Amber overflow warning saying Runs onto page 4 by about 36 lines with Fit to 3 pages"
+ src="/images/guides/fitting-content-on-a-page/overflow-authored-page.png"
+ alt="Above the fictional resume, Page 1 runs over by about 12 lines appears beside Fit to 3 pages"
/>
</Frame>
diff --git a/docs/images/guides/fitting-content-on-a-page/overflow-authored-page.png b/docs/images/guides/fitting-content-on-a-page/overflow-authored-page.png
new file mode 100644
index 000000000..2d75ad6ac
Binary files /dev/null and b/docs/images/guides/fitting-content-on-a-page/overflow-authored-page.png differ
diff --git a/packages/pdf/src/forme/long-list-pagination.integration.test.tsx b/packages/pdf/src/forme/long-list-pagination.integration.test.tsx
index f2742313c..a3b49092f 100644
--- a/packages/pdf/src/forme/long-list-pagination.integration.test.tsx
+++ b/packages/pdf/src/forme/long-list-pagination.integration.test.tsx
@@ -126,6 +126,14 @@ it.each(cases)(
(await page.getTextContent()).items.flatMap((item) => ("str" in item && item.str.trim() ? [item.str] : [])),
);
}
+ for (let index = 0; index < roles && !lines; index++) {
+ const headerPage = pages.findIndex((page) =>
+ new RegExp(`Synthetic Studio ${index + 1}(?![0-9])`).test(page.join("")),
+ );
+ expect(headerPage).toBeGreaterThanOrEqual(0);
+ const bulletPage = pages.findIndex((page) => page.join("").includes(`Project ${index + 1}.1:`));
+ expect(headerPage, `entry ${index + 1} header stays with first bullet`).toBe(bulletPage);
+ }
// Lapras repeats its section heading inside split content in the PDF text stream.
const text = pages
.flat()
diff --git a/packages/pdf/src/forme/render.ts b/packages/pdf/src/forme/render.ts
index 01cb9ff6a..6b508d057 100644
--- a/packages/pdf/src/forme/render.ts
+++ b/packages/pdf/src/forme/render.ts
@@ -121,6 +121,79 @@ function unplacedBlocks(layout: RenderWithLayoutResult["layout"]): string[] {
return [...missing];
}
+/** Measure stable keep-with-next space; oversized descriptions still split after their first line. */
+function entryPaginationRepairs(layout: RenderWithLayoutResult["layout"], splitItems: ReadonlySet<number>) {
+ const headers = new Map<
+ string,
+ { page: number; lastPage: number; top: number; bottom: number; height: number; available: number }
+ >();
+ const bodies = new Map<string, { page: number; y: number; height: number; lineHeight: number }>();
+ for (const [pageIndex, page] of layout.pages.entries()) {
+ const visit = (element: ElementInfo, parentSource?: ElementInfo["sourceLocation"]) => {
+ const source = element.sourceLocation ?? parentSource;
+ if (source && !offPage(element.y) && !offPage(element.height)) {
+ const key = source.file.replace(/^(rr-node:|rr-in:)/, "");
+ const item = key.match(/^(.+\/section-items\/item-[^/]+)/)?.[1];
+ if (item && element.kind === "Text" && key.startsWith(`${item}/item-header`)) {
+ const header = headers.get(item);
+ if (!header)
+ headers.set(item, {
+ page: pageIndex,
+ lastPage: pageIndex,
+ top: element.y,
+ bottom: element.y + element.height,
+ height: 0,
+ available: page.contentHeight,
+ });
+ else {
+ if (header.lastPage === pageIndex) {
+ header.top = Math.min(header.top, element.y);
+ header.bottom = Math.max(header.bottom, element.y + element.height);
+ } else {
+ header.height += header.bottom - header.top;
+ header.lastPage = pageIndex;
+ header.top = element.y;
+ header.bottom = element.y + element.height;
+ }
+ }
+ } else if (
+ item &&
+ !key.startsWith(`${item}/item-header`) &&
+ !bodies.has(item) &&
+ (source.column === LIST_ROLE.item || (element.kind === "Text" && source.column !== LIST_ROLE.marker))
+ ) {
+ const lineHeight = element.style.fontSize * element.style.lineHeight;
+ bodies.set(item, {
+ page: pageIndex,
+ y: element.y,
+ lineHeight,
+ height:
+ source.column === LIST_ROLE.item && !splitItems.has(source.line - 1)
+ ? element.height + element.style.margin.top + element.style.margin.bottom
+ : lineHeight,
+ });
+ }
+ }
+ for (const child of element.children) visit(child, source);
+ };
+ for (const element of page.elements) visit(element);
+ }
+ const presenceAhead = new Map<string, number>();
+ const orphans: string[] = [];
+ for (const [key, header] of headers) {
+ const body = bodies.get(key);
+ if (!body) continue;
+ const headerKey = `${key}/item-header`;
+ const gap = body.page === header.lastPage ? Math.max(0, body.y - header.bottom) : body.lineHeight;
+ const ahead = body.height + gap;
+ if (header.height + header.bottom - header.top + ahead <= header.available) {
+ presenceAhead.set(headerKey, ahead);
+ if (body.page > header.page) orphans.push(headerKey);
+ }
+ }
+ return { orphans, presenceAhead };
+}
+
const isFixed = (element: ElementInfo): boolean =>
element.sourceLocation?.file === FIXED_SOURCE || element.children.some(isFixed);
@@ -254,6 +327,7 @@ export async function renderResumeElement(
const breakBeforeListItems = new Set<number>();
const splitListItems = new Set<number>();
const breakBeforeNodes = new Set<string>();
+ const presenceAheadNodes = new Map<string, number>();
// Every pass draws the same text, so the fonts are prepared once, from the first pass's document.
let formeFonts: typeof fonts | undefined;
const layOutOnce = async (keepNestedRowsWhole: boolean) => {
@@ -264,6 +338,7 @@ export async function renderResumeElement(
breakBeforeListItems,
splitListItems,
breakBeforeNodes,
+ presenceAheadNodes,
freeFormHeights,
});
// Forme rewrites the font entries it's given (bytes to base64), so each render gets its own.
@@ -339,15 +414,22 @@ export async function renderResumeElement(
};
let { result, warnings } = await layOut(false);
- if (misplacesABox(result)) ({ result, warnings } = await layOut(true));
- // ponytail: three repairs cap rendering cost; remove this workaround when Forme fixes nested pagination.
+ let keepNestedRowsWhole = misplacesABox(result);
+ if (keepNestedRowsWhole) ({ result, warnings } = await layOut(true));
+ // shortcut: three repairs cap rendering cost until Forme supports keep-with-next and reliable nested pagination.
for (let pass = 0; pass < 3; pass++) {
const first = unplacedBlocks(result.layout).find((key) => !breakBeforeNodes.has(key));
- if (!first) break;
- // Retry the first failed block from a fresh page; later failures may recover without extra breaks.
- breakBeforeNodes.add(first);
- ({ result, warnings } = await layOut(true));
+ const headers = entryPaginationRepairs(result.layout, splitListItems);
+ const reserveHeaders = headers.orphans.length > 0 && presenceAheadNodes.size === 0;
+ if (!first && !reserveHeaders) break;
+ // Reserve all first fragments together: the constraint remains valid after earlier entries move.
+ if (reserveHeaders) for (const [key, height] of headers.presenceAhead) presenceAheadNodes.set(key, height);
+ if (first) breakBeforeNodes.add(first);
+ keepNestedRowsWhole ||= first !== undefined || misplacesABox(result);
+ ({ result, warnings } = await layOut(keepNestedRowsWhole));
}
+ if (entryPaginationRepairs(result.layout, splitListItems).orphans.length > 0)
+ warnings.push("render defect: the engine couldn't keep an entry header with its content");
if (misplacesABox(result))
warnings.push("render defect: the engine couldn't place a box; a page may be laid out wrong");
diff --git a/packages/pdf/src/forme/to-forme.tsx b/packages/pdf/src/forme/to-forme.tsx
index fdc0bbe4e..a23e962ce 100644
--- a/packages/pdf/src/forme/to-forme.tsx
+++ b/packages/pdf/src/forme/to-forme.tsx
@@ -56,6 +56,7 @@ type Context = {
rowParent: boolean;
keepNestedRowsWhole: boolean;
breakBeforeNodes: ReadonlySet<string>;
+ presenceAheadNodes: ReadonlyMap<string, number>;
/** The parent's padding: Forme places absolute boxes inside it, react-pdf over it. */
parentPadding: Edges;
/** The opaque colour behind the element being converted (see `flattenAlpha`). */
@@ -460,7 +461,17 @@ function barAsBorder(spread: { style: FormeStyle; children: ReactNode[] }): {
}
function convertChildren(children: HostNode[], context: Context): ReactNode[] {
- return children.map((child, index) => convertNode(child, context, index));
+ let ahead = 0;
+ return children.map((child, index) => {
+ let element = convertNode(child, context, index);
+ if (ahead && element) {
+ element = createElement(FormeView, { key: index, style: { marginTop: -ahead } }, element);
+ ahead = 0;
+ }
+ const key = "props" in child ? child.props[RESUME_NODE_PROP] : undefined;
+ if (typeof key === "string") ahead = context.presenceAheadNodes.get(key) ?? ahead;
+ return element;
+ });
}
function convertNode(node: HostNode, parentContext: Context, key: number): ReactNode {
@@ -523,7 +534,7 @@ function convertNode(node: HostNode, parentContext: Context, key: number): React
)
viewStyle.wrap = false;
const bordered = insetBorder(viewStyle, children);
- const element = createElement(
+ let element = createElement(
FormeView,
{
key,
@@ -532,6 +543,12 @@ function convertNode(node: HostNode, parentContext: Context, key: number): React
...bordered.children,
);
tagNode(element, props, context);
+ const ahead = typeof nodeKey === "string" ? context.presenceAheadNodes.get(nodeKey) : undefined;
+ if (ahead) {
+ // Transparent reserved space participates in pagination, then the following content occupies it.
+ element = createElement(FormeView, { key, style: { wrap: false, paddingBottom: ahead } }, element);
+ tagNode(element, props, context);
+ }
if (props.fixed !== true)
return strutMinWidth(shrinkToFit(placePercentOffset(element, style, context), context), context);
// A repeated view nested in a column stays with the column: its fragments already paint on each page.
@@ -967,6 +984,8 @@ export type ConvertOptions = {
splitListItems?: ReadonlySet<number>;
/** Unplaced sections or items that need an explicit page break on a render retry. */
breakBeforeNodes?: ReadonlySet<string>;
+ /** Keep an entry header with its measured first body fragment, without keeping its whole entry together. */
+ presenceAheadNodes?: ReadonlyMap<string, number>;
/** Measured heights of free-form pages, by page index; an unmeasured one is `FREE_FORM_MEASURE_HEIGHT` tall. */
freeFormHeights?: readonly (number | undefined)[] | undefined;
};
@@ -979,6 +998,7 @@ export function toFormeDocument(
breakBeforeListItems = new Set(),
splitListItems = new Set(),
breakBeforeNodes = new Set(),
+ presenceAheadNodes = new Map(),
freeFormHeights = [],
}: ConvertOptions = {},
): ConvertedDocument {
@@ -995,6 +1015,7 @@ export function toFormeDocument(
rowParent: false,
keepNestedRowsWhole,
breakBeforeNodes,
+ presenceAheadNodes,
images,
backdrop: WHITE,
pageMargin: undefined,
diff --git a/packages/pdf/src/page-map.integration.test.tsx b/packages/pdf/src/page-map.integration.test.tsx
index af4714fcb..9ffc17266 100644
--- a/packages/pdf/src/page-map.integration.test.tsx
+++ b/packages/pdf/src/page-map.integration.test.tsx
@@ -4,9 +4,11 @@ import type { ResumeData } from "@reactive-resume/schema/resume/data";
import type { Template } from "@reactive-resume/schema/templates";
import { describe, expect, it } from "vite-plus/test";
import * as forme from "@formepdf/core";
+import { getDocument } from "pdfjs-dist/legacy/build/pdf.mjs";
+import { act } from "react";
import { sampleResumeData } from "@reactive-resume/schema/resume/sample";
import { renderResume } from "./forme/render";
-import { extractPageMap, parseResumeNodeKey } from "./page-map";
+import { extractPageMap, measureOverflow, parseResumeNodeKey } from "./page-map";
// The sample's picture points at a web path that doesn't exist in Node; hide it so renders stay quiet.
const data: ResumeData = { ...sampleResumeData, picture: { ...sampleResumeData.picture, hidden: true } };
@@ -14,6 +16,80 @@ const data: ResumeData = { ...sampleResumeData, picture: { ...sampleResumeData.p
const renderPageMap = async (template: Template): Promise<PageMap> =>
(await renderResume(forme, { data, template })).pageMap;
+describe("authored page overflow", () => {
+ it.each(["onyx", "rhyhorn", "lapras", "porygon"] as const)(
+ "maps the sample's early spill pages in %s",
+ async (template) => {
+ const rendered = await act(() => renderResume(forme, { data, template }));
+ const pageMap = rendered.pageMap;
+ const overflow = measureOverflow(data, { pageMap, pageCount: pageMap.pages.length });
+ expect(pageMap.pages).toHaveLength(5);
+ expect(overflow?.spills.map(({ authoredPage, pages }) => ({ authoredPage, pages }))).toEqual([
+ { authoredPage: 1, pages: [2] },
+ { authoredPage: 2, pages: [4] },
+ ]);
+ expect(overflow?.spills[0]?.lines).toBeGreaterThan(0);
+ const loading = getDocument({ data: rendered.pdf.slice(), useSystemFonts: true });
+ try {
+ const pdf = await loading.promise;
+ const lineHeight = data.metadata.typography.body.fontSize * data.metadata.typography.body.lineHeight;
+ for (const spill of overflow?.spills ?? []) {
+ let height = 0;
+ for (const number of spill.pages) {
+ const page = await pdf.getPage(number);
+ const baselines = (await page.getTextContent()).items.flatMap((item) =>
+ "str" in item && item.str.trim() ? [item.transform[5] as number] : [],
+ );
+ height += Math.max(...baselines) - Math.min(...baselines) + lineHeight;
+ }
+ // PDF text baselines independently bound the visible content; the chip is approximate to one line.
+ expect(Math.abs((spill.lines ?? 0) - Math.round(height / lineHeight))).toBeLessThanOrEqual(1);
+ }
+ } finally {
+ await loading.destroy();
+ }
+ },
+ );
+
+ it("counts each spill's extent once, excludes the next authored page, and tolerates a missing map", () => {
+ const boxes: [number, number, number, number][] = [
+ [0, 1, 20, 600],
+ [1, 1, 20, 150],
+ [1, 1, 30, 100],
+ [2, 2, 20, 600],
+ [3, 2, 20, 195],
+ [4, 3, 20, 500],
+ ];
+ const pageMap: PageMap = {
+ pages: Array.from({ length: 5 }, () => ({ width: 600, height: 800 })),
+ nodes: boxes.map(([page, authoredPage, y, height]) => ({
+ kind: "section" as const,
+ sectionId: "experience",
+ key: `page-${authoredPage}/region-main/section-experience`,
+ page,
+ x: 20,
+ y,
+ width: 500,
+ height,
+ })),
+ };
+ expect(measureOverflow(data, { pageMap, pageCount: 5 })).toEqual({
+ authored: 3,
+ pageCount: 5,
+ spills: [
+ { authoredPage: 1, pages: [2], lines: 10 },
+ { authoredPage: 2, pages: [4], lines: 13 },
+ ],
+ });
+ expect(measureOverflow(data, { pageMap, pageCount: 3 })).toBeNull();
+ expect(measureOverflow(data, { pageMap: undefined, pageCount: 5 })).toEqual({
+ authored: 3,
+ pageCount: 5,
+ spills: [],
+ });
+ });
+});
+
describe("parseResumeNodeKey", () => {
it("reads headers, sections and items, and ignores deeper nodes", () => {
expect(parseResumeNodeKey("page-1/region-header/header")).toEqual({ kind: "header" });
diff --git a/packages/pdf/src/page-map.ts b/packages/pdf/src/page-map.ts
index c95e2ed6a..88f37e452 100644
--- a/packages/pdf/src/page-map.ts
+++ b/packages/pdf/src/page-map.ts
@@ -1,4 +1,5 @@
import type { ElementInfo, LayoutInfo } from "@formepdf/core";
+import type { ResumeData } from "@reactive-resume/schema/resume/data";
/**
* Maps rendered PDF regions back to resume data, so the editor can outline the block a field
@@ -35,10 +36,45 @@ export type PageMapNode = PageMapTarget & {
};
export type PageMap = {
- pages: { width: number; height: number }[];
+ pages: { width: number; height: number; contentBounds?: { top: number; bottom: number } }[];
nodes: PageMapNode[];
};
+/** Physical spill pages grouped by their authored page, using the semantic keys carried through rendering. */
+export function measureOverflow(data: ResumeData, rendered: { pageCount: number; pageMap: PageMap | undefined }) {
+ const authored = Math.max(1, data.metadata.layout.pages.length);
+ if (rendered.pageCount <= authored) return null;
+ const groups = new Map<number, Map<number, { top: number; bottom: number }>>();
+ for (const node of rendered.pageMap?.nodes ?? []) {
+ const authoredPage = Number(node.key.match(/^page-(\d+)\//)?.[1]);
+ if (!Number.isInteger(authoredPage) || authoredPage < 1 || authoredPage > authored) continue;
+ let pages = groups.get(authoredPage);
+ if (!pages) groups.set(authoredPage, (pages = new Map()));
+ const extent = pages.get(node.page);
+ const content = rendered.pageMap?.pages[node.page]?.contentBounds;
+ pages.set(node.page, {
+ top: content?.top ?? Math.min(extent?.top ?? node.y, node.y),
+ bottom: content?.bottom ?? Math.max(extent?.bottom ?? 0, node.y + node.height),
+ });
+ }
+ const lineHeight = data.metadata.typography.body.fontSize * data.metadata.typography.body.lineHeight;
+ const spills = [...groups]
+ .sort(([a], [b]) => a - b)
+ .flatMap(([authoredPage, pages]) => {
+ const ordered = [...pages].sort(([a], [b]) => a - b).slice(1);
+ if (ordered.length === 0) return [];
+ const height = ordered.reduce((sum, [, extent]) => sum + extent.bottom - extent.top, 0);
+ return [
+ {
+ authoredPage,
+ pages: ordered.map(([page]) => page + 1),
+ lines: height > 0 && lineHeight > 0 ? Math.max(1, Math.round(height / lineHeight)) : null,
+ },
+ ];
+ });
+ return { authored, pageCount: rendered.pageCount, spills };
+}
+
const decode = (value: string) => {
try {
return decodeURIComponent(value);
@@ -100,15 +136,31 @@ export const extractPageMap = (layout: LayoutInfo): PageMap => {
const nodes: PageMapNode[] = [];
// Only blocks something is tagged with; the paths between them aren't blocks.
const tagged = new Set<string>();
+ const contentBounds: ({ top: number; bottom: number } | undefined)[] = [];
const pages = layout.pages.map((page) => {
const own = new Map<string, Box>();
const contents = new Map<string, Box>();
- const visit = (element: ElementInfo) => {
+ let textBounds: { top: number; bottom: number } | undefined;
+ const visit = (element: ElementInfo, parentFile?: string) => {
const file = element.sourceLocation?.file;
+ const textFile = file ?? parentFile;
const box = { x: element.x, y: element.y, width: element.width, height: element.height };
// Forme leaves a box it failed to place at ±Number.MAX_VALUE.
const finite = Object.values(box).every((value) => Math.abs(value) < 1e6);
+ if (
+ finite &&
+ element.kind === "Text" &&
+ (textFile?.startsWith(NODE_SOURCE_PREFIX) || textFile?.startsWith(NODE_CONTENT_PREFIX))
+ ) {
+ const top = Math.max(page.contentY, box.y);
+ const bottom = Math.min(page.contentY + page.contentHeight, box.y + box.height);
+ if (bottom > top)
+ textBounds = {
+ top: Math.min(textBounds?.top ?? top, top),
+ bottom: Math.max(textBounds?.bottom ?? bottom, bottom),
+ };
+ }
if (finite && file?.startsWith(NODE_SOURCE_PREFIX)) {
const key = file.slice(NODE_SOURCE_PREFIX.length);
if (!own.has(key)) own.set(key, box);
@@ -123,9 +175,10 @@ export const extractPageMap = (layout: LayoutInfo): PageMap => {
key = key.slice(0, Math.max(0, key.lastIndexOf("/")));
}
}
- for (const child of element.children) visit(child);
+ for (const child of element.children) visit(child, textFile);
};
for (const element of page.elements) visit(element);
+ contentBounds.push(textBounds);
return { own, contents };
});
@@ -136,5 +189,12 @@ export const extractPageMap = (layout: LayoutInfo): PageMap => {
}
});
- return { pages: layout.pages.map((page) => ({ width: page.width, height: page.height })), nodes };
+ return {
+ pages: layout.pages.map((page, index) => ({
+ width: page.width,
+ height: page.height,
+ ...(contentBounds[index] ? { contentBounds: contentBounds[index] } : {}),
+ })),
+ nodes,
+ };
};
diff --git a/tests/e2e/specs/assistant.spec.ts b/tests/e2e/specs/assistant.spec.ts
index 023f88e3d..ecf8918de 100644
--- a/tests/e2e/specs/assistant.spec.ts
+++ b/tests/e2e/specs/assistant.spec.ts
@@ -55,13 +55,28 @@ test("proposes edits that change nothing until accepted, asks before assuming, a
test.setTimeout(90_000);
await createSampleResumeFromDashboard(page, testInfo);
const resumeId = resumeIdOf(page);
+ const template = await page.request.patch(`/api/openapi/resumes/${resumeId}`, {
+ data: { operations: [{ op: "replace", path: "/metadata/template", value: "onyx" }] },
+ });
+ expect(template.ok()).toBe(true);
+ await page.reload();
+ await expect(page.locator("figcaption")).toHaveCount(5);
+ await expect(page.locator("figcaption").first()).toContainText(/Page 1 runs over by about \d+ lines/);
await page.getByRole("button", { name: "Assistant", exact: true }).click();
await connectStub(page);
- await send(page, "Tighten my resume");
+ const before = stub.requests.length;
+ await page.getByRole("button", { name: /Tighten to one page/ }).click();
const edits = page.getByRole("list", { name: "Proposed edits" });
await expect(edits).toBeVisible({ timeout: 20_000 });
+ await expect
+ .poll(() =>
+ JSON.stringify(
+ stub.requests.slice(before).flatMap((request) => request.messages.filter((m) => m.role === "user")),
+ ),
+ )
+ .toMatch(/Tighten to one page\. Page 1 runs over by about \d+ lines\./);
await expect(page.getByText("1 proposed", { exact: true })).toBeVisible();
// The page caption appears once the in-browser preview has fetched its fonts and rendered.
const activePreview = page.locator('[data-resume-preview-template][aria-hidden="false"]');
@@ -72,6 +87,7 @@ test("proposes edits that change nothing until accepted, asks before assuming, a
await expect(edits.getByText("Applied")).toBeVisible();
await expect.poll(() => resumeJson(page, resumeId), { timeout: 15_000 }).toContain("(tightened by the stub)");
await expect(page.getByText("1 proposed", { exact: true })).toBeHidden();
+ await expect(page.getByText(/Page 1 still runs over by about \d+ lines\./)).toBeVisible();
// A clarifying question: the answer continues the reply.
await send(page, "Ask me a question first");
diff --git a/tests/e2e/specs/pagination.spec.ts b/tests/e2e/specs/pagination.spec.ts
new file mode 100644
index 000000000..40521574e
--- /dev/null
+++ b/tests/e2e/specs/pagination.spec.ts
@@ -0,0 +1,64 @@
+import { createSampleResumeFromDashboard } from "../fixtures/resume";
+import { expect, test } from "../fixtures/test";
+
+test("overflow names its authored page and marks the actual continuation pages", async ({
+ authPage: page,
+}, testInfo) => {
+ await createSampleResumeFromDashboard(page, testInfo);
+ const resumeId = new URL(page.url()).pathname.split("/")[2];
+ const patch = await page.request.patch(`/api/openapi/resumes/${resumeId}`, {
+ data: { operations: [{ op: "replace", path: "/metadata/template", value: "onyx" }] },
+ });
+ expect(patch.ok()).toBe(true);
+ await page.reload();
+ const captions = page.locator("figcaption");
+ await expect(captions).toHaveCount(5);
+ await expect(captions.first()).toContainText(/Page 1 runs over by about \d+ lines/);
+ for (let index = 1; index < 5; index++) {
+ if (index === 1 || index === 3) await expect(captions.nth(index)).toHaveCSS("border-top-style", "dashed");
+ else await expect(captions.nth(index)).not.toHaveCSS("border-top-style", "dashed");
+ }
+ const readResume = async () => {
+ const response = await page.request.get(`/api/openapi/resumes/${resumeId}`);
+ expect(response.ok()).toBe(true);
+ return response.json();
+ };
+ const resume = await readResume();
+ await captions.first().screenshot({ path: testInfo.outputPath("sample-overflow.png"), animations: "disabled" });
+ await page.getByRole("button", { name: "Fit to 3 pages", exact: true }).click();
+ const fitted = page.locator('[data-slot="toast"]').filter({ hasText: "Fits on 3 pages:" });
+ await expect(fitted).toBeVisible();
+ await expect(captions).toHaveCount(3);
+ await fitted.getByRole("button", { name: "Undo", exact: true }).click();
+ await expect(captions).toHaveCount(5);
+ await expect(captions.first()).toContainText(/Page 1 runs over by about \d+ lines/);
+ await expect.poll(async () => (await readResume()).data.metadata).toEqual(resume.data.metadata);
+
+ const entry = resume.data.sections.experience.items[0];
+ const items = Array.from({ length: 16 }, (_, index) => ({
+ ...entry,
+ id: crypto.randomUUID(),
+ company: `Fictional Studio ${index + 1}`,
+ description: `<ul>${Array.from({ length: 6 }, () => "<li>Delivered measurable outcomes for a fictional team.</li>").join("")}</ul>`,
+ }));
+ const longer = await page.request.patch(`/api/openapi/resumes/${resumeId}`, {
+ data: {
+ operations: [
+ { op: "replace", path: "/sections/experience/items", value: items },
+ {
+ op: "replace",
+ path: "/metadata/layout/pages",
+ value: [{ fullWidth: true, main: ["experience"], sidebar: [] }],
+ },
+ ],
+ },
+ });
+ expect(longer.ok()).toBe(true);
+ await page.reload();
+ await expect(captions.first()).toContainText(/Runs to \d+ pages/);
+ const count = await captions.count();
+ expect(count).toBeGreaterThan(3);
+ await expect(captions.first()).toContainText(`Runs to ${count} pages`);
+ for (let index = 1; index < count; index++) await expect(captions.nth(index)).toHaveCSS("border-top-style", "dashed");
+ await captions.first().screenshot({ path: testInfo.outputPath("long-overflow.png"), animations: "disabled" });
+});