Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
fix(ok): explain the file-tree problem count on hover (PRD-8101) (#3652)
serafin-garcia00b18fea4ffa
diff --git a/.changeset/file-tree-problem-chip-tooltip.md b/.changeset/file-tree-problem-chip-tooltip.mdnew file mode 100644index 000000000..0bfc71e5b--- /dev/null+++ b/.changeset/file-tree-problem-chip-tooltip.md@@ -0,0 +1,5 @@+---+"@inkeep/open-knowledge": patch+---++The number next to a file name in the sidebar now explains itself on hover. The chip counts the validation problems in that file, and the red or yellow tint on the name is the worst severity among them, but nothing said so anywhere in the interface. The explanation existed already and was reaching screen readers as the chip's accessible name, while a sighted reader hovering the chip got either nothing or the file's full path. Two things stood in the way: the chip declined pointer events, so the cursor fell through to the row underneath, and the row carries the full path as its own tooltip, which a descendant only escapes by carrying a tooltip of its own. The chip now does both, so hovering it reads something like "2 errors and 1 warning in this file. Open the Problems panel for details." The text is translated into every supported language.diff --git a/packages/app/src/components/FileTree.tsx b/packages/app/src/components/FileTree.tsxindex a7b6a5109..a1c9eeae8 100644--- a/packages/app/src/components/FileTree.tsx+++ b/packages/app/src/components/FileTree.tsx@@ -2633,7 +2633,14 @@ export function FileTree({ ref }: { ref?: Ref<FileTreeHandle | null> }) {// without a DOM mutation (e.g. a project audit landing while the tree is// idle). Our own attribute writes are outside the `data-item-path` filter// and the badge write is value-gated, so the observer stays quiescent.+ //+ // `i18n.locale` is a dep because the badge's tooltip and accessible name are+ // written from an effect, not during render. `dynamicActivate` swaps the+ // locale in place with no reload, so subscribing via `useLingui()` re-renders+ // this component but would leave every chip already on screen in the old+ // language until the tree next mutated or an audit landed.const problemIndicatorsEnabled = merged?.validation?.fileTreeIndicators !== false;+ // biome-ignore lint/correctness/useExhaustiveDependencies: i18n.locale is an intentional re-run trigger, not a value the body reads; the strings it controls are written inside applyProblemIndicators.useEffect(() => {if (loading || documents.length === 0) return;const shadow = fileTreeHostRef.current?.querySelector(FILE_TREE_TAG_NAME)?.shadowRoot;@@ -2658,7 +2665,7 @@ export function FileTree({ ref }: { ref?: Ref<FileTreeHandle | null> }) {observer.disconnect();unsubscribe();};- }, [loading, documents.length, problemIndicatorsEnabled]);+ }, [loading, documents.length, problemIndicatorsEnabled, i18n.locale]);// Select Pierre's rename-input stem while keeping the extension visible and// editable. Kept separate from the badge observer because the watched eventdiff --git a/packages/app/src/components/file-tree-problem-indicators.dom.test.tsx b/packages/app/src/components/file-tree-problem-indicators.dom.test.tsxindex 00936c0ef..79afeb3db 100644--- a/packages/app/src/components/file-tree-problem-indicators.dom.test.tsx+++ b/packages/app/src/components/file-tree-problem-indicators.dom.test.tsx@@ -11,6 +11,7 @@ import { cleanup } from '@testing-library/react';import { afterEach, describe, expect, test } from 'vitest';import {applyProblemIndicators,+ FILE_TREE_PROBLEM_CSS,OK_PROBLEM_BADGE_ATTR,OK_PROBLEM_ROW_ATTR,} from './file-tree-problem-indicators';@@ -59,14 +60,18 @@ describe('applyProblemIndicators', () => {expect(errorRow?.getAttribute(OK_PROBLEM_ROW_ATTR)).toBe('error');const errorBadge = errorRow?.querySelector(`[${OK_PROBLEM_BADGE_ATTR}]`);expect(errorBadge?.textContent).toBe('3');- expect(errorBadge?.getAttribute('aria-label')).toBe('3 problems: 2 errors, 1 warning');+ expect(errorBadge?.getAttribute('aria-label')).toBe(+ '2 errors and 1 warning in this file. Open the Problems panel for details.',+ );expect(errorBadge?.hasAttribute('aria-hidden')).toBe(false);const warningRow = rows.get('guides/b.md');expect(warningRow?.getAttribute(OK_PROBLEM_ROW_ATTR)).toBe('warning');const warningBadge = warningRow?.querySelector(`[${OK_PROBLEM_BADGE_ATTR}]`);expect(warningBadge?.textContent).toBe('4');- expect(warningBadge?.getAttribute('aria-label')).toBe('4 problems: 0 errors, 4 warnings');+ expect(warningBadge?.getAttribute('aria-label')).toBe(+ '4 warnings in this file. Open the Problems panel for details.',+ );const cleanRow = rows.get('clean.md');expect(cleanRow?.hasAttribute(OK_PROBLEM_ROW_ATTR)).toBe(false);@@ -111,4 +116,60 @@ describe('applyProblemIndicators', () => {applyProblemIndicators(root, new Map([['a', { errorCount: 100, warningCount: 50 }]]));expect(rows.get('a.md')?.querySelector(`[${OK_PROBLEM_BADGE_ATTR}]`)?.textContent).toBe('99+');});++ test('badge carries its own hover tooltip, not just an accessible name', () => {+ const { root, rows } = buildTree(['a.md']);+ applyProblemIndicators(root, new Map([['a', { errorCount: 0, warningCount: 1 }]]));+ const badge = rows.get('a.md')?.querySelector<HTMLElement>(`[${OK_PROBLEM_BADGE_ATTR}]`);+ expect(badge?.title).toBe('1 warning in this file. Open the Problems panel for details.');+ expect(badge?.getAttribute('aria-label')).toBe(badge?.title);+ // Without a name-from-author role the aria-label is dropped and a screen+ // reader announces the bare digit, which is the thing this fix is about.+ expect(badge?.getAttribute('role')).toBe('img');+ });++ test('the badge title outranks the full-path title FileTree stamps on the row', () => {+ const { root, rows } = buildTree(['guides/a.md']);+ const row = rows.get('guides/a.md');+ // FileTree stamps the row's own title imperatively; the badge is a+ // descendant, so only a title of its own resolves under the cursor.+ if (row) row.title = 'guides/a.md';+ applyProblemIndicators(root, new Map([['guides/a', { errorCount: 1, warningCount: 0 }]]));+ const badge = row?.querySelector<HTMLElement>(`[${OK_PROBLEM_BADGE_ATTR}]`);+ expect(badge?.title).toBe('1 error in this file. Open the Problems panel for details.');+ expect(badge?.title).not.toBe(row?.title);+ });++ test('badge stays a pointer hit target so its tooltip can surface', () => {+ // jsdom does not apply the shadow root's adopted stylesheet, so the+ // declaration is where this contract is observable here. The rendered+ // element is pinned at real-browser fidelity in tests/stress/unified-+ // problems.e2e.ts, which reads getComputedStyle on the live badge.+ //+ // Slice to the badge's own rule first: a row-tint selector may one day+ // want `pointer-events: none` for its own reasons, and that must not red+ // a test named for the badge.+ const withoutComments = FILE_TREE_PROBLEM_CSS.replace(/\/\*[\s\S]*?\*\//g, '');+ const badgeRule = withoutComments.match(+ new RegExp(`\\[${OK_PROBLEM_BADGE_ATTR}\\]\\s*\\{([^}]*)\\}`),+ )?.[1];+ expect(badgeRule).toBeDefined();+ expect(badgeRule).not.toMatch(/pointer-events:\s*none/);+ });++ test('tooltip tracks the counts as they change', () => {+ const { root, rows } = buildTree(['a.md']);+ applyProblemIndicators(root, new Map([['a', { errorCount: 1, warningCount: 0 }]]));+ const badge = rows.get('a.md')?.querySelector<HTMLElement>(`[${OK_PROBLEM_BADGE_ATTR}]`);+ expect(badge?.title).toBe('1 error in this file. Open the Problems panel for details.');+ expect(badge?.getAttribute('aria-label')).toBe(badge?.title);++ // Both attributes are written behind separate value-gates, so the update+ // path has to assert both: breaking one guard leaves the other passing.+ applyProblemIndicators(root, new Map([['a', { errorCount: 3, warningCount: 2 }]]));+ expect(badge?.title).toBe(+ '3 errors and 2 warnings in this file. Open the Problems panel for details.',+ );+ expect(badge?.getAttribute('aria-label')).toBe(badge?.title);+ });});diff --git a/packages/app/src/components/file-tree-problem-indicators.ts b/packages/app/src/components/file-tree-problem-indicators.tsindex 645258694..b41c6ca29 100644--- a/packages/app/src/components/file-tree-problem-indicators.ts+++ b/packages/app/src/components/file-tree-problem-indicators.ts@@ -17,6 +17,7 @@* The `var()` fallback literals below only apply if the alias is missing.*/+import { plural, t } from '@lingui/core/macro';import { filePathToDocName } from '@/lib/doc-hash';import type { DocProblemCounts } from '@/lib/validation-store';@@ -43,7 +44,9 @@ export const FILE_TREE_PROBLEM_CSS = `border-radius: 0.5rem;padding: 0 0.25rem;flex-shrink: 0;- pointer-events: none;+ /* No pointer-events: none. The badge has to stay a hit target or the+ cursor falls through to the row and resolves the row's full-path+ title instead of the badge's own explanation. */user-select: none;color: var(--ok-tree-problem-warning, oklch(70% 0.15 75));background: color-mix(in oklab, currentColor 14%, transparent);@@ -87,20 +90,43 @@ function clearProblemIndicators(row: HTMLElement): void {row.querySelector(`[${OK_PROBLEM_BADGE_ATTR}]`)?.remove();}+/**+ * The badge's hover tooltip and accessible name. Names what the number counts+ * and where to act on it, because the digit alone reads as unexplained+ * decoration next to the file name.+ *+ * A function rather than a module constant: the macro at module scope would+ * resolve once at import and then keep whatever language was active then.+ */+function problemBadgeLabel(counts: DocProblemCounts): string {+ const errorCount = counts.errorCount;+ const warningCount = counts.warningCount;+ const errorText = plural(errorCount, { one: '# error', other: '# errors' });+ const warningText = plural(warningCount, { one: '# warning', other: '# warnings' });+ let summary: string;+ if (errorCount > 0 && warningCount > 0) {+ summary = t({+ message: `${errorText} and ${warningText}`,+ comment:+ 'Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.',+ });+ } else if (errorCount > 0) {+ summary = errorText;+ } else {+ summary = warningText;+ }+ return t`${summary} in this file. Open the Problems panel for details.`;+}+/*** Inject (or update) the count badge right before the action lane — the same* slot contract as the extension badge's `upsertBadge`, landing AFTER any* extension badge already in that position so the order reads* `[label] [decoration?] [EXT?] [count] [action ···]`.+ *+ * The badge sets its OWN `title`. FileTree stamps the full path as the row's+ * title, and a descendant only escapes that by carrying a title of its own.*/-function problemBadgeLabel(counts: DocProblemCounts): string {- const total = counts.errorCount + counts.warningCount;- const problems = total === 1 ? 'problem' : 'problems';- const errors = counts.errorCount === 1 ? 'error' : 'errors';- const warnings = counts.warningCount === 1 ? 'warning' : 'warnings';- return `${total} ${problems}: ${counts.errorCount} ${errors}, ${counts.warningCount} ${warnings}`;-}-function upsertProblemBadge(row: HTMLElement, counts: DocProblemCounts): void {const total = counts.errorCount + counts.warningCount;const label = total > 99 ? '99+' : String(total);@@ -108,6 +134,11 @@ function upsertProblemBadge(row: HTMLElement, counts: DocProblemCounts): void {if (!badge) {badge = row.ownerDocument.createElement('span');badge.setAttribute(OK_PROBLEM_BADGE_ATTR, '');+ // A bare span's implicit role is `generic`, and ARIA 1.2 prohibits a name+ // on it, so browsers drop the aria-label below and announce only the+ // digit. `img` is on the name-from-author list, which is what makes the+ // accessible name reach a screen reader at all.+ badge.setAttribute('role', 'img');const actionSection = row.querySelector('[data-item-section="action"]');if (actionSection) {actionSection.before(badge);@@ -116,8 +147,9 @@ function upsertProblemBadge(row: HTMLElement, counts: DocProblemCounts): void {}}if (badge.textContent !== label) badge.textContent = label;- const accessibleLabel = problemBadgeLabel(counts);- if (badge.getAttribute('aria-label') !== accessibleLabel) {- badge.setAttribute('aria-label', accessibleLabel);+ const description = problemBadgeLabel(counts);+ if (badge.getAttribute('aria-label') !== description) {+ badge.setAttribute('aria-label', description);}+ if (badge.title !== description) badge.title = description;}diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.jsonindex e8c5f4c87..4a762f951 100644--- a/packages/app/src/locales/ar/messages.json+++ b/packages/app/src/locales/ar/messages.json@@ -753,6 +753,7 @@],"8Uv5e6": ["الوكلاء"],"8Vq20-": ["تبديل شجرة العمل"],+ "8WTrGF": [["summary"], " في هذا الملف. افتح لوحة المشكلات لمزيد من التفاصيل."],"8Wav8y": ["إذا وصل تحديث لشيء تحرّره، فأنت من يختار أي نسخة يُبقي، مثل تعارض الدمج."],"8XQRON": ["يجري تحميل المستودعات"],"8YymuQ": ["لم يُعدّ أي وكيل بعد — يجري فتح «إعداد الوكلاء»."],@@ -797,6 +798,7 @@],"99eR72": ["تحديد جدول المحرر المرئي"],"9Bd18D": ["فشل تحميل الصفحات المحورية"],+ "9E_WAi": [["errorText"], " و", ["warningText"]],"9EykGQ": ["إدراج عمود إلى اليمين"],"9GbR5F": ["الأعلى"],"9HKBNN": ["أوامر"],@@ -1020,6 +1022,20 @@],"C-twqs": ["محتوى مستعاد"],"C-xgad": ["أو استخدم حزمة بداية"],+ "C0C43b": [+ [+ "warningCount",+ "plural",+ {+ "zero": ["#", " تحذير"],+ "one": ["تحذير واحد"],+ "two": ["تحذيران"],+ "few": ["#", " تحذيرات"],+ "many": ["#", " تحذيرًا"],+ "other": ["#", " تحذير"]+ }+ ]+ ],"C0Ciaj": ["استُورد باسم «", ["0"], "» — الاسم «", ["1"], "» كان مأخوذًا."],"C0cll5": ["مثبَّت في ", ["0"], " — انقر للإزالة"],"C0hoX6": ["مُدرج دائمًا"],@@ -2392,6 +2408,20 @@],"ScwcF2": ["يوجد مشروع بالفعل في هذا الموقع. اختر مجلدًا أبًا مختلفًا."],"SfxQX8": ["يكتب إعداد MCP للمشروع لكل أداة محددة."],+ "Sg-6Bo": [+ [+ "errorCount",+ "plural",+ {+ "zero": ["#", " خطأ"],+ "one": ["خطأ واحد"],+ "two": ["خطآن"],+ "few": ["#", " أخطاء"],+ "many": ["#", " خطأً"],+ "other": ["#", " خطأ"]+ }+ ]+ ],"SgKLfA": ["غير متصل بـ GitHub."],"Sh3Qkg": ["لا توجد فروع مطابقة."],"Si7mIR": ["إنشاء تقرير"],diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.poindex abe6c4f2b..1e41827ff 100644--- a/packages/app/src/locales/ar/messages.po+++ b/packages/app/src/locales/ar/messages.po@@ -661,6 +661,15 @@ msgstr "حجم {docName} هو {0}. يفتح OpenKnowledge حاليًا ملفاmsgid "{enabledCount}/{0} on"msgstr "{enabledCount}/{0} مفعَّل"+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr "{errorCount, plural, zero {# خطأ} one {خطأ واحد} two {خطآن} few {# أخطاء} many {# خطأً} other {# خطأ}}"++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr "{errorText} و{warningText}"+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr "ينشر {source} {count} مهارة. ثبِّت أيًّا منها مmsgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr "{strandedCommitCount, plural, zero {لديك # تغيير لم تشاركه. سيبقى على هذا الجهاز.} one {لديك تغيير واحد لم تشاركه. سيبقى على هذا الجهاز.} two {لديك تغييران لم تشاركهما. سيبقيان على هذا الجهاز.} few {لديك # تغييرات لم تشاركها. ستبقى على هذا الجهاز.} many {لديك # تغييرًا لم تشاركها. ستبقى على هذا الجهاز.} other {لديك # تغيير لم تشاركه. سيبقى على هذا الجهاز.}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr "{summary} في هذا الملف. افتح لوحة المشكلات لمزيد من التفاصيل."+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr "{templateCount, plural, zero {قوالب} one {قالب} two {قالبان} few {قوالب} many {قالبًا} other {قالب}}"@@ -934,6 +947,10 @@ msgstr "{userName} · {tabCount, plural, zero {# تبويب} one {تبويب وmsgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr "{userName}، {tabCount, plural, zero {# تبويب متزامن} one {تبويب واحد متزامن} two {تبويبان متزامنان} few {# تبويبات متزامنة} many {# تبويبًا متزامنًا} other {# تبويب متزامن}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr "{warningCount, plural, zero {# تحذير} one {تحذير واحد} two {تحذيران} few {# تحذيرات} many {# تحذيرًا} other {# تحذير}}"+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr "{words, plural, zero {كلمات} one {كلمة} two {كلمتان} few {كلمات} many {كلمةً} other {كلمة}}"diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.jsonindex 1d0d61f5a..c2ba273c8 100644--- a/packages/app/src/locales/bn/messages.json+++ b/packages/app/src/locales/bn/messages.json@@ -627,6 +627,7 @@],"8Uv5e6": ["এজেন্ট"],"8Vq20-": ["ওয়ার্কট্রি বদলান"],+ "8WTrGF": ["এই ফাইলে ", ["summary"], "। বিস্তারিত জানতে সমস্যা প্যানেল খুলুন।"],"8Wav8y": ["আপনি যা সম্পাদনা করছেন তার জন্য কোনো হালনাগাদ এলে আপনি বেছে নেন কোন সংস্করণটি রাখবেন, ঠিক মার্জ দ্বন্দ্বের মতো।"],@@ -675,6 +676,7 @@],"99eR72": ["দৃশ্য সম্পাদকের টেবিল নির্বাচন"],"9Bd18D": ["হাব পাতা লোড করতে ব্যর্থ"],+ "9E_WAi": [["errorText"], " এবং ", ["warningText"]],"9EykGQ": ["ডানে কলাম যোগ করুন"],"9GbR5F": ["সর্বোচ্চ"],"9HKBNN": ["কমান্ড"],@@ -858,6 +860,7 @@],"C-twqs": ["পুনরুদ্ধার করা বিষয়বস্তু"],"C-xgad": ["নয়তো একটি স্টার্টার প্যাক ব্যবহার করুন"],+ "C0C43b": [["warningCount", "plural", { "one": ["#", " সতর্কতা"], "other": ["#", " সতর্কতা"] }]],"C0Ciaj": ["\"", ["0"], "\" হিসেবে আমদানি করা হয়েছে — \"", ["1"], "\" নামটি আগেই নেওয়া ছিল।"],"C0cll5": [["0"], "-এ ইনস্টল করা — সরাতে ক্লিক করুন"],"C0hoX6": ["সবসময় অন্তর্ভুক্ত"],@@ -2061,6 +2064,7 @@],"ScwcF2": ["এই জায়গায় আগে থেকেই একটি প্রকল্প আছে। অন্য মূল ফোল্ডার বাছুন।"],"SfxQX8": ["নির্বাচিত প্রতিটি টুলের জন্য একটি প্রকল্প-MCP কনফিগ লেখে।"],+ "Sg-6Bo": [["errorCount", "plural", { "one": ["#", " ত্রুটি"], "other": ["#", " ত্রুটি"] }]],"SgKLfA": ["GitHub-এর সঙ্গে যুক্ত নয়।"],"Sh3Qkg": ["মিলে যাওয়া কোনো ব্রাঞ্চ নেই।"],"Si7mIR": ["রিপোর্ট তৈরি করুন"],diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.poindex f3990d7f5..b2502b395 100644--- a/packages/app/src/locales/bn/messages.po+++ b/packages/app/src/locales/bn/messages.po@@ -661,6 +661,15 @@ msgstr "{docName} {0}। OpenKnowledge এখন {1} পর্যন্ত ফmsgid "{enabledCount}/{0} on"msgstr "{0}টির মধ্যে {enabledCount}টি চালু"+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr "{errorCount, plural, one {# ত্রুটি} other {# ত্রুটি}}"++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr "{errorText} এবং {warningText}"+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr "{source} {count}টি স্কিল প্রকাশ করে।msgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr "{strandedCommitCount, plural, one {আপনার ১টি পরিবর্তন আছে যা আপনি ভাগ করেননি। এটি এই কম্পিউটারেই থাকবে।} other {আপনার # পরিবর্তন আছে যা আপনি ভাগ করেননি। সেগুলো এই কম্পিউটারেই থাকবে।}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr "এই ফাইলে {summary}। বিস্তারিত জানতে সমস্যা প্যানেল খুলুন।"+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr "{templateCount, plural, one {টেমপ্লেট} other {টেমপ্লেট}}"@@ -934,6 +947,10 @@ msgstr "{userName} · {tabCount, plural, one {# ট্যাব} other {# ট্msgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr "{userName}, {tabCount, plural, one {# একযোগে ট্যাব} other {# একযোগে ট্যাব}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr "{warningCount, plural, one {# সতর্কতা} other {# সতর্কতা}}"+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr "{words, plural, one {শব্দ} other {শব্দ}}"diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.jsonindex 9d451a5af..228ad62e0 100644--- a/packages/app/src/locales/en/messages.json+++ b/packages/app/src/locales/en/messages.json@@ -642,6 +642,7 @@],"8Uv5e6": ["Agents"],"8Vq20-": ["Switch worktree"],+ "8WTrGF": [["summary"], " in this file. Open the Problems panel for details."],"8Wav8y": ["If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."],@@ -690,6 +691,7 @@],"99eR72": ["Visual editor table selection"],"9Bd18D": ["Failed to load hub pages"],+ "9E_WAi": [["errorText"], " and ", ["warningText"]],"9EykGQ": ["Insert column right"],"9GbR5F": ["HI"],"9HKBNN": ["commands"],@@ -884,6 +886,9 @@],"C-twqs": ["Recovered content"],"C-xgad": ["or use a starter pack"],+ "C0C43b": [+ ["warningCount", "plural", { "one": ["#", " warning"], "other": ["#", " warnings"] }]+ ],"C0Ciaj": ["Imported as \"", ["0"], "\" — the name \"", ["1"], "\" was taken."],"C0cll5": ["Installed at ", ["0"], " — click to remove"],"C0hoX6": ["Always included"],@@ -2104,6 +2109,7 @@],"ScwcF2": ["A project already exists at this location. Pick a different parent folder."],"SfxQX8": ["Writes a project-MCP config for each selected tool."],+ "Sg-6Bo": [["errorCount", "plural", { "one": ["#", " error"], "other": ["#", " errors"] }]],"SgKLfA": ["Not connected to GitHub."],"Sh3Qkg": ["No matching branches."],"Si7mIR": ["Create report"],diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.poindex ff2d43ac3..f142496a2 100644--- a/packages/app/src/locales/en/messages.po+++ b/packages/app/src/locales/en/messages.po@@ -661,6 +661,15 @@ msgstr "{docName} is {0}. OpenKnowledge currently opens files up to {1}."msgid "{enabledCount}/{0} on"msgstr "{enabledCount}/{0} on"+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr "{errorCount, plural, one {# error} other {# errors}}"++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr "{errorText} and {warningText}"+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr "{source} publishes {count} skills. Install any of them together."msgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr "{summary} in this file. Open the Problems panel for details."+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr "{templateCount, plural, one {template} other {templates}}"@@ -934,6 +947,10 @@ msgstr "{userName} · {tabCount, plural, one {# tab} other {# tabs}}"msgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr "{warningCount, plural, one {# warning} other {# warnings}}"+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr "{words, plural, one {word} other {words}}"diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.jsonindex 8b79d4c92..3095f2c7d 100644--- a/packages/app/src/locales/es/messages.json+++ b/packages/app/src/locales/es/messages.json@@ -760,6 +760,7 @@],"8Uv5e6": ["Agentes"],"8Vq20-": ["Cambiar de worktree"],+ "8WTrGF": [["summary"], " en este archivo. Abre el panel Problemas para ver los detalles."],"8Wav8y": ["Si llega una actualización de algo que estás editando, tú eliges qué versión conservar, como en un conflicto de fusión."],@@ -808,6 +809,7 @@],"99eR72": ["Selección de tabla del editor visual"],"9Bd18D": ["No se pudieron cargar las páginas índice"],+ "9E_WAi": [["errorText"], " y ", ["warningText"]],"9EykGQ": ["Insertar columna a la derecha"],"9GbR5F": ["MÁX"],"9HKBNN": ["comandos"],@@ -1033,6 +1035,17 @@],"C-twqs": ["Contenido recuperado"],"C-xgad": ["o usa un paquete inicial"],+ "C0C43b": [+ [+ "warningCount",+ "plural",+ {+ "one": ["#", " advertencia"],+ "many": ["#", " advertencias"],+ "other": ["#", " advertencias"]+ }+ ]+ ],"C0Ciaj": ["Se importó como \"", ["0"], "\": el nombre \"", ["1"], "\" ya estaba ocupado."],"C0cll5": ["Instalado en ", ["0"], ": haz clic para quitarlo"],"C0hoX6": ["Siempre incluido"],@@ -2416,6 +2429,13 @@],"ScwcF2": ["Ya existe un proyecto en esta ubicación. Elige otra carpeta superior."],"SfxQX8": ["Escribe una configuración MCP de proyecto para cada herramienta seleccionada."],+ "Sg-6Bo": [+ [+ "errorCount",+ "plural",+ { "one": ["#", " error"], "many": ["#", " errores"], "other": ["#", " errores"] }+ ]+ ],"SgKLfA": ["No hay conexión con GitHub."],"Sh3Qkg": ["Ninguna rama coincide."],"Si7mIR": ["Crear informe"],diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.poindex bef62aa9f..94df4193f 100644--- a/packages/app/src/locales/es/messages.po+++ b/packages/app/src/locales/es/messages.po@@ -661,6 +661,15 @@ msgstr "{docName} ocupa {0}. Por ahora OpenKnowledge abre archivos de hasta {1}.msgid "{enabledCount}/{0} on"msgstr "{enabledCount}/{0} activos"+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr "{errorCount, plural, one {# error} many {# errores} other {# errores}}"++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr "{errorText} y {warningText}"+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr "{source} publica {count} habilidades. Puedes instalarlas todas juntas."msgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr "{strandedCommitCount, plural, one {Tienes 1 cambio sin compartir. Se quedará en este equipo.} many {Tienes # cambios sin compartir. Se quedarán en este equipo.} other {Tienes # cambios sin compartir. Se quedarán en este equipo.}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr "{summary} en este archivo. Abre el panel Problemas para ver los detalles."+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr "{templateCount, plural, one {plantilla} many {plantillas} other {plantillas}}"@@ -934,6 +947,10 @@ msgstr "{userName} · {tabCount, plural, one {# pestaña} many {# pestañas} othmsgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr "{userName}, {tabCount, plural, one {# pestaña simultánea} many {# pestañas simultáneas} other {# pestañas simultáneas}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr "{warningCount, plural, one {# advertencia} many {# advertencias} other {# advertencias}}"+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr "{words, plural, one {palabra} many {palabras} other {palabras}}"diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.jsonindex 2b33a379b..2c8ff4713 100644--- a/packages/app/src/locales/fr/messages.json+++ b/packages/app/src/locales/fr/messages.json@@ -784,6 +784,7 @@],"8Uv5e6": ["Agents"],"8Vq20-": ["Changer de worktree"],+ "8WTrGF": [["summary"], " dans ce fichier. Ouvrez le panneau Problèmes pour plus de détails."],"8Wav8y": ["Si une mise à jour arrive pour ce que vous êtes en train de modifier, vous choisissez quelle version conserver, comme pour un conflit de fusion."],@@ -832,6 +833,7 @@],"99eR72": ["Sélection de tableau de l'éditeur visuel"],"9Bd18D": ["Échec du chargement des pages pivots"],+ "9E_WAi": [["errorText"], " et ", ["warningText"]],"9EykGQ": ["Insérer une colonne à droite"],"9GbR5F": ["MAX"],"9HKBNN": ["commandes"],@@ -1057,6 +1059,17 @@],"C-twqs": ["Contenu récupéré"],"C-xgad": ["ou utilisez un pack de démarrage"],+ "C0C43b": [+ [+ "warningCount",+ "plural",+ {+ "one": ["#", " avertissement"],+ "many": ["#", " avertissements"],+ "other": ["#", " avertissements"]+ }+ ]+ ],"C0Ciaj": ["Importé sous « ", ["0"], " » — le nom « ", ["1"], " » était déjà pris."],"C0cll5": ["Installé dans ", ["0"], " — cliquez pour retirer"],"C0hoX6": ["Toujours inclus"],@@ -2443,6 +2456,13 @@],"ScwcF2": ["Un projet existe déjà à cet emplacement. Choisissez un autre dossier parent."],"SfxQX8": ["Écrit une configuration MCP de projet pour chaque outil sélectionné."],+ "Sg-6Bo": [+ [+ "errorCount",+ "plural",+ { "one": ["#", " erreur"], "many": ["#", " erreurs"], "other": ["#", " erreurs"] }+ ]+ ],"SgKLfA": ["Non connecté à GitHub."],"Sh3Qkg": ["Aucune branche correspondante."],"Si7mIR": ["Créer un rapport"],diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.poindex cb3cd3f67..fd50148a5 100644--- a/packages/app/src/locales/fr/messages.po+++ b/packages/app/src/locales/fr/messages.po@@ -661,6 +661,15 @@ msgstr "{docName} fait {0}. OpenKnowledge ouvre actuellement les fichiers jusqu'msgid "{enabledCount}/{0} on"msgstr "{enabledCount}/{0} activés"+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr "{errorCount, plural, one {# erreur} many {# erreurs} other {# erreurs}}"++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr "{errorText} et {warningText}"+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr "{source} publie {count} compétences. Installez-les toutes ensemble si vmsgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr "{strandedCommitCount, plural, one {Vous avez 1 modification que vous n'avez pas partagée. Elle restera sur cet ordinateur.} many {Vous avez # modifications que vous n'avez pas partagées. Elles resteront sur cet ordinateur.} other {Vous avez # modifications que vous n'avez pas partagées. Elles resteront sur cet ordinateur.}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr "{summary} dans ce fichier. Ouvrez le panneau Problèmes pour plus de détails."+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr "{templateCount, plural, one {modèle} many {modèles} other {modèles}}"@@ -934,6 +947,10 @@ msgstr "{userName} · {tabCount, plural, one {# onglet} many {# onglets} other {msgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr "{userName}, {tabCount, plural, one {# onglet simultané} many {# onglets simultanés} other {# onglets simultanés}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr "{warningCount, plural, one {# avertissement} many {# avertissements} other {# avertissements}}"+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr "{words, plural, one {mot} many {mots} other {mots}}"diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.jsonindex 22f7f50f3..51a3ed325 100644--- a/packages/app/src/locales/hi/messages.json+++ b/packages/app/src/locales/hi/messages.json@@ -626,6 +626,7 @@],"8Uv5e6": ["एजेंट"],"8Vq20-": ["वर्कट्री बदलें"],+ "8WTrGF": ["इस फ़ाइल में ", ["summary"], "। विवरण के लिए समस्याएँ पैनल खोलें।"],"8Wav8y": ["यदि आपके संपादित किए जा रहे किसी हिस्से के लिए कोई अपडेट आता है, तो आप चुनते हैं कि कौन सा संस्करण रखना है, ठीक मर्ज टकराव की तरह।"],@@ -674,6 +675,7 @@],"99eR72": ["दृश्य संपादक की तालिका का चयन"],"9Bd18D": ["हब पेज लोड करने में विफल"],+ "9E_WAi": [["errorText"], " और ", ["warningText"]],"9EykGQ": ["दाईं ओर कॉलम जोड़ें"],"9GbR5F": ["उच्च"],"9HKBNN": ["कमांड"],@@ -860,6 +862,9 @@],"C-twqs": ["पुनर्प्राप्त सामग्री"],"C-xgad": ["या कोई स्टार्टर पैक उपयोग करें"],+ "C0C43b": [+ ["warningCount", "plural", { "one": ["#", " चेतावनी"], "other": ["#", " चेतावनियाँ"] }]+ ],"C0Ciaj": ["\"", ["0"], "\" के रूप में आयात किया गया — नाम \"", ["1"], "\" पहले से लिया जा चुका था।"],"C0cll5": [["0"], " पर इंस्टॉल है — हटाने के लिए क्लिक करें"],"C0hoX6": ["हमेशा शामिल"],@@ -2052,6 +2057,7 @@],"ScwcF2": ["इस स्थान पर एक प्रोजेक्ट पहले से मौजूद है। कोई दूसरा मूल फ़ोल्डर चुनें।"],"SfxQX8": ["हर चयनित टूल के लिए एक प्रोजेक्ट-MCP कॉन्फ़िग लिखता है।"],+ "Sg-6Bo": [["errorCount", "plural", { "one": ["#", " त्रुटि"], "other": ["#", " त्रुटियाँ"] }]],"SgKLfA": ["GitHub से जुड़ा नहीं।"],"Sh3Qkg": ["कोई मेल खाती ब्रांच नहीं।"],"Si7mIR": ["रिपोर्ट बनाएँ"],diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.poindex fbabc1248..d35c8817b 100644--- a/packages/app/src/locales/hi/messages.po+++ b/packages/app/src/locales/hi/messages.po@@ -661,6 +661,15 @@ msgstr "{docName} {0} है। OpenKnowledge फ़िलहाल {1} तकmsgid "{enabledCount}/{0} on"msgstr "{0} में से {enabledCount} चालू"+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr "{errorCount, plural, one {# त्रुटि} other {# त्रुटियाँ}}"++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr "{errorText} और {warningText}"+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr "{source} {count} स्किल प्रकाशित करताmsgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr "{strandedCommitCount, plural, one {आपके पास 1 बदलाव है जो आपने साझा नहीं किया। यह इसी कंप्यूटर पर रहेगा।} other {आपके पास # बदलाव हैं जो आपने साझा नहीं किए। ये इसी कंप्यूटर पर रहेंगे।}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr "इस फ़ाइल में {summary}। विवरण के लिए समस्याएँ पैनल खोलें।"+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr "{templateCount, plural, one {टेम्पलेट} other {टेम्पलेट}}"@@ -934,6 +947,10 @@ msgstr "{userName} · {tabCount, plural, one {# टैब} other {# टैब}}"msgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr "{userName}, {tabCount, plural, one {# समवर्ती टैब} other {# समवर्ती टैब}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr "{warningCount, plural, one {# चेतावनी} other {# चेतावनियाँ}}"+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr "{words, plural, one {शब्द} other {शब्द}}"diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.jsonindex 97c37bae1..d84b11578 100644--- a/packages/app/src/locales/id/messages.json+++ b/packages/app/src/locales/id/messages.json@@ -650,6 +650,7 @@],"8Uv5e6": ["Agen"],"8Vq20-": ["Ganti worktree"],+ "8WTrGF": [["summary"], " di file ini. Buka panel Masalah untuk detailnya."],"8Wav8y": ["Jika sebuah pembaruan datang untuk hal yang sedang Anda sunting, Anda memilih versi mana yang disimpan, seperti konflik penggabungan."],@@ -698,6 +699,7 @@],"99eR72": ["Pilihan tabel penyunting visual"],"9Bd18D": ["Gagal memuat halaman pusat"],+ "9E_WAi": [["errorText"], " dan ", ["warningText"]],"9EykGQ": ["Sisipkan kolom di kanan"],"9GbR5F": ["MAKS"],"9HKBNN": ["perintah"],@@ -875,6 +877,7 @@],"C-twqs": ["Konten yang dipulihkan"],"C-xgad": ["atau pakai paket awal"],+ "C0C43b": [["warningCount", "plural", { "other": ["#", " peringatan"] }]],"C0Ciaj": ["Diimpor sebagai \"", ["0"], "\" — nama \"", ["1"], "\" sudah dipakai."],"C0cll5": ["Terpasang di ", ["0"], " — klik untuk menghapus"],"C0hoX6": ["Selalu disertakan"],@@ -2114,6 +2117,7 @@],"ScwcF2": ["Sudah ada proyek di lokasi ini. Pilih folder induk lain."],"SfxQX8": ["Menulis konfigurasi MCP proyek untuk setiap alat yang dipilih."],+ "Sg-6Bo": [["errorCount", "plural", { "other": ["#", " galat"] }]],"SgKLfA": ["Tidak terhubung ke GitHub."],"Sh3Qkg": ["Tidak ada cabang yang cocok."],"Si7mIR": ["Buat laporan"],diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.poindex f53b29ce7..502e44166 100644--- a/packages/app/src/locales/id/messages.po+++ b/packages/app/src/locales/id/messages.po@@ -661,6 +661,15 @@ msgstr "{docName} berukuran {0}. Saat ini OpenKnowledge membuka berkas hingga {1msgid "{enabledCount}/{0} on"msgstr "{enabledCount}/{0} aktif"+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr "{errorCount, plural, other {# galat}}"++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr "{errorText} dan {warningText}"+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr "{source} menerbitkan {count} keterampilan. Anda bisa memasang semuanya smsgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr "{strandedCommitCount, plural, other {Anda punya # perubahan yang belum dibagikan. Semuanya akan tetap di komputer ini.}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr "{summary} di file ini. Buka panel Masalah untuk detailnya."+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr "{templateCount, plural, other {templat}}"@@ -934,6 +947,10 @@ msgstr "{userName} · {tabCount, plural, other {# tab}}"msgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr "{userName}, {tabCount, plural, other {# tab bersamaan}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr "{warningCount, plural, other {# peringatan}}"+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr "{words, plural, other {kata}}"diff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.jsonindex 27de2a221..9b6cc2758 100644--- a/packages/app/src/locales/ko/messages.json+++ b/packages/app/src/locales/ko/messages.json@@ -626,6 +626,7 @@],"8Uv5e6": ["에이전트"],"8Vq20-": ["워크트리 전환"],+ "8WTrGF": ["이 파일에 ", ["summary"], "가 있습니다. 자세한 내용은 문제 패널을 여세요."],"8Wav8y": ["편집 중인 항목에 업데이트가 도착하면 병합 충돌처럼 유지할 버전을 선택합니다."],"8XQRON": ["저장소 불러오는 중"],"8YymuQ": ["에이전트 미설정. 에이전트 설정을 엽니다."],@@ -672,6 +673,7 @@],"99eR72": ["비주얼 편집기 표 선택 영역"],"9Bd18D": ["허브 페이지 불러오기 실패"],+ "9E_WAi": [["errorText"], ", ", ["warningText"]],"9EykGQ": ["오른쪽에 열 삽입"],"9GbR5F": ["안녕"],"9HKBNN": ["명령어"],@@ -844,6 +846,7 @@],"C-twqs": ["복구된 콘텐츠"],"C-xgad": ["또는 스타터 팩 사용"],+ "C0C43b": [["warningCount", "plural", { "other": ["경고 ", "#", "개"] }]],"C0Ciaj": ["\"", ["0"], "\"으로 가져왔습니다. 이름 \"", ["1"], "\"은 이미 사용 중입니다."],"C0cll5": [["0"], "에 설치됨. 제거하려면 클릭"],"C0hoX6": ["항상 포함"],@@ -2022,6 +2025,7 @@],"ScwcF2": ["이 위치에 프로젝트가 이미 있습니다. 다른 상위 폴더를 선택하세요."],"SfxQX8": ["선택한 각 도구에 프로젝트 MCP 구성을 작성합니다."],+ "Sg-6Bo": [["errorCount", "plural", { "other": ["오류 ", "#", "개"] }]],"SgKLfA": ["GitHub에 연결되지 않음"],"Sh3Qkg": ["일치하는 브랜치가 없습니다."],"Si7mIR": ["보고서 만들기"],diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.poindex 45b6a161a..a8bb5de63 100644--- a/packages/app/src/locales/ko/messages.po+++ b/packages/app/src/locales/ko/messages.po@@ -661,6 +661,15 @@ msgstr "{docName}은 {0}입니다. OpenKnowledge는 현재 최대 {1} 크기의msgid "{enabledCount}/{0} on"msgstr "{enabledCount}/{0}개 켜짐"+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr "{errorCount, plural, other {오류 #개}}"++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr "{errorText}, {warningText}"+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr "{source}에서 스킬 {count}개를 게시합니다. 원하는 스킬을msgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr "{strandedCommitCount, plural, other {공유하지 않은 변경 사항이 #개 있습니다. 이 변경 사항은 이 컴퓨터에 남습니다.}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr "이 파일에 {summary}가 있습니다. 자세한 내용은 문제 패널을 여세요."+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr "{templateCount, plural, other {템플릿}}"@@ -934,6 +947,10 @@ msgstr "{userName} · {tabCount, plural, other {탭 #개}}"msgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr "{userName}, {tabCount, plural, other {동시 탭 #개}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr "{warningCount, plural, other {경고 #개}}"+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr "{words, plural, other {단어}}"diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.jsonindex 1e33ed2ee..228f53429 100644--- a/packages/app/src/locales/pseudo/messages.json+++ b/packages/app/src/locales/pseudo/messages.json@@ -642,6 +642,7 @@],"8Uv5e6": ["Àĝēńţś"],"8Vq20-": ["Śŵĩţćĥ ŵōŕķţŕēē"],+ "8WTrGF": [["summary"], " ĩń ţĥĩś ƒĩĺē. Ōƥēń ţĥē Ƥŕōƀĺēḿś ƥàńēĺ ƒōŕ ďēţàĩĺś."],"8Wav8y": ["Ĩƒ àń ũƥďàţē àŕŕĩvēś ƒōŕ śōḿēţĥĩńĝ ŷōũ àŕē ēďĩţĩńĝ, ŷōũ ćĥōōśē ŵĥĩćĥ vēŕśĩōń ţō ķēēƥ, ĺĩķē à ḿēŕĝē ćōńƒĺĩćţ."],@@ -690,6 +691,7 @@],"99eR72": ["Vĩśũàĺ ēďĩţōŕ ţàƀĺē śēĺēćţĩōń"],"9Bd18D": ["Ƒàĩĺēď ţō ĺōàď ĥũƀ ƥàĝēś"],+ "9E_WAi": [["errorText"], " àńď ", ["warningText"]],"9EykGQ": ["Ĩńśēŕţ ćōĺũḿń ŕĩĝĥţ"],"9GbR5F": ["ĤĨ"],"9HKBNN": ["ćōḿḿàńďś"],@@ -884,6 +886,9 @@],"C-twqs": ["Ŕēćōvēŕēď ćōńţēńţ"],"C-xgad": ["ōŕ ũśē à śţàŕţēŕ ƥàćķ"],+ "C0C43b": [+ ["warningCount", "plural", { "one": ["#", " ŵàŕńĩńĝ"], "other": ["#", " ŵàŕńĩńĝś"] }]+ ],"C0Ciaj": ["Ĩḿƥōŕţēď àś \"", ["0"], "\" — ţĥē ńàḿē \"", ["1"], "\" ŵàś ţàķēń."],"C0cll5": ["Ĩńśţàĺĺēď àţ ", ["0"], " — ćĺĩćķ ţō ŕēḿōvē"],"C0hoX6": ["Àĺŵàŷś ĩńćĺũďēď"],@@ -2104,6 +2109,7 @@],"ScwcF2": ["À ƥŕōĴēćţ àĺŕēàďŷ ēxĩśţś àţ ţĥĩś ĺōćàţĩōń. Ƥĩćķ à ďĩƒƒēŕēńţ ƥàŕēńţ ƒōĺďēŕ."],"SfxQX8": ["Ŵŕĩţēś à ƥŕōĴēćţ-ḾĆƤ ćōńƒĩĝ ƒōŕ ēàćĥ śēĺēćţēď ţōōĺ."],+ "Sg-6Bo": [["errorCount", "plural", { "one": ["#", " ēŕŕōŕ"], "other": ["#", " ēŕŕōŕś"] }]],"SgKLfA": ["Ńōţ ćōńńēćţēď ţō ĜĩţĤũƀ."],"Sh3Qkg": ["Ńō ḿàţćĥĩńĝ ƀŕàńćĥēś."],"Si7mIR": ["Ćŕēàţē ŕēƥōŕţ"],diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.poindex 340b98a59..b4cb7371b 100644--- a/packages/app/src/locales/pseudo/messages.po+++ b/packages/app/src/locales/pseudo/messages.po@@ -661,6 +661,15 @@ msgstr ""msgid "{enabledCount}/{0} on"msgstr ""+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr ""++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr ""+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr ""msgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr ""+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr ""+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr ""@@ -934,6 +947,10 @@ msgstr ""msgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr ""+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr ""+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr ""diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.jsonindex f5fb969a3..8da7f903e 100644--- a/packages/app/src/locales/pt-BR/messages.json+++ b/packages/app/src/locales/pt-BR/messages.json@@ -750,6 +750,7 @@],"8Uv5e6": ["Agentes"],"8Vq20-": ["Trocar de worktree"],+ "8WTrGF": [["summary"], " neste arquivo. Abra o painel Problemas para ver os detalhes."],"8Wav8y": ["Se chegar uma atualização de algo que você está editando, você escolhe qual versão manter, como em um conflito de mesclagem."],@@ -798,6 +799,7 @@],"99eR72": ["Seleção de tabela do editor visual"],"9Bd18D": ["Falha ao carregar as páginas de índice"],+ "9E_WAi": [["errorText"], " e ", ["warningText"]],"9EykGQ": ["Inserir coluna à direita"],"9GbR5F": ["MÁX"],"9HKBNN": ["comandos"],@@ -1019,6 +1021,13 @@],"C-twqs": ["Conteúdo recuperado"],"C-xgad": ["ou use um pacote inicial"],+ "C0C43b": [+ [+ "warningCount",+ "plural",+ { "one": ["#", " aviso"], "many": ["#", " avisos"], "other": ["#", " avisos"] }+ ]+ ],"C0Ciaj": ["Importado como \"", ["0"], "\" — o nome \"", ["1"], "\" já estava em uso."],"C0cll5": ["Instalado em ", ["0"], " — clique para remover"],"C0hoX6": ["Sempre incluído"],@@ -2386,6 +2395,13 @@],"ScwcF2": ["Já existe um projeto neste local. Escolha outra pasta acima."],"SfxQX8": ["Grava uma configuração MCP de projeto para cada ferramenta selecionada."],+ "Sg-6Bo": [+ [+ "errorCount",+ "plural",+ { "one": ["#", " erro"], "many": ["#", " erros"], "other": ["#", " erros"] }+ ]+ ],"SgKLfA": ["Não conectado ao GitHub."],"Sh3Qkg": ["Nenhum ramo corresponde."],"Si7mIR": ["Criar relatório"],diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.poindex 4b3325b0a..046a629da 100644--- a/packages/app/src/locales/pt-BR/messages.po+++ b/packages/app/src/locales/pt-BR/messages.po@@ -661,6 +661,15 @@ msgstr "{docName} ocupa {0}. Por enquanto, o OpenKnowledge abre arquivos de atémsgid "{enabledCount}/{0} on"msgstr "{enabledCount}/{0} ativos"+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr "{errorCount, plural, one {# erro} many {# erros} other {# erros}}"++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr "{errorText} e {warningText}"+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr "{source} publica {count} habilidades. Instale todas de uma vez."msgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr "{strandedCommitCount, plural, one {Você tem 1 alteração que não compartilhou. Ela vai ficar neste computador.} many {Você tem # alterações que não compartilhou. Elas vão ficar neste computador.} other {Você tem # alterações que não compartilhou. Elas vão ficar neste computador.}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr "{summary} neste arquivo. Abra o painel Problemas para ver os detalhes."+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr "{templateCount, plural, one {modelo} many {modelos} other {modelos}}"@@ -934,6 +947,10 @@ msgstr "{userName} · {tabCount, plural, one {# aba} many {# abas} other {# abasmsgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr "{userName}, {tabCount, plural, one {# aba simultânea} many {# abas simultâneas} other {# abas simultâneas}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr "{warningCount, plural, one {# aviso} many {# avisos} other {# avisos}}"+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr "{words, plural, one {palavra} many {palavras} other {palavras}}"diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.jsonindex d18ec8a12..9bedc7983 100644--- a/packages/app/src/locales/ur/messages.json+++ b/packages/app/src/locales/ur/messages.json@@ -658,6 +658,7 @@],"8Uv5e6": ["ایجنٹس"],"8Vq20-": ["ورک ٹری بدلیں"],+ "8WTrGF": ["اس فائل میں ", ["summary"], "۔ تفصیلات کے لیے مسائل پینل کھولیں۔"],"8Wav8y": ["اگر آپ جس چیز میں ترمیم کر رہے ہیں اس کی اپ ڈیٹ آ جائے تو آپ خود منتخب کرتے ہیں کہ کون سا ورژن رکھنا ہے، بالکل ضم کے تصادم کی طرح۔"],@@ -706,6 +707,7 @@],"99eR72": ["بصری ایڈیٹر کے ٹیبل کا انتخاب"],"9Bd18D": ["مرکزی صفحات لوڈ نہیں ہو سکے"],+ "9E_WAi": [["errorText"], " اور ", ["warningText"]],"9EykGQ": ["دائیں طرف کالم داخل کریں"],"9GbR5F": ["بلند ترین"],"9HKBNN": ["کمانڈز"],@@ -894,6 +896,9 @@],"C-twqs": ["بحال شدہ مواد"],"C-xgad": ["یا کوئی ابتدائی پیک استعمال کریں"],+ "C0C43b": [+ ["warningCount", "plural", { "one": ["#", " انتباہ"], "other": ["#", " انتباہات"] }]+ ],"C0Ciaj": ["«", ["0"], "» کے نام سے درآمد ہوا — نام «", ["1"], "» پہلے سے لیا ہوا تھا۔"],"C0cll5": [["0"], " پر نصب — ہٹانے کے لیے کلک کریں"],"C0hoX6": ["ہمیشہ شامل"],@@ -2155,6 +2160,7 @@],"ScwcF2": ["اس مقام پر پہلے سے ایک پروجیکٹ موجود ہے۔ کوئی مختلف والد فولڈر منتخب کریں۔"],"SfxQX8": ["ہر منتخب ٹول کے لیے پروجیکٹ کی MCP کنفیگ لکھتا ہے۔"],+ "Sg-6Bo": [["errorCount", "plural", { "one": ["#", " خرابی"], "other": ["#", " خرابیاں"] }]],"SgKLfA": ["GitHub سے منسلک نہیں۔"],"Sh3Qkg": ["کوئی مماثل برانچ نہیں۔"],"Si7mIR": ["رپورٹ بنائیں"],diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.poindex be73118cb..3cef48bd5 100644--- a/packages/app/src/locales/ur/messages.po+++ b/packages/app/src/locales/ur/messages.po@@ -661,6 +661,15 @@ msgstr "{docName} کا حجم {0} ہے۔ OpenKnowledge فی الحال {1} تکmsgid "{enabledCount}/{0} on"msgstr "{enabledCount}/{0} فعال"+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr "{errorCount, plural, one {# خرابی} other {# خرابیاں}}"++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr "{errorText} اور {warningText}"+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr "{source} {count} مہارتیں شائع کرتا ہے۔ ان میں سmsgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr "{strandedCommitCount, plural, one {آپ کے پاس 1 تبدیلی ہے جو آپ نے شیئر نہیں کی۔ یہ اسی کمپیوٹر پر رہے گی۔} other {آپ کے پاس # تبدیلیاں ہیں جو آپ نے شیئر نہیں کیں۔ یہ اسی کمپیوٹر پر رہیں گی۔}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr "اس فائل میں {summary}۔ تفصیلات کے لیے مسائل پینل کھولیں۔"+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr "{templateCount, plural, one {ٹیمپلیٹ} other {ٹیمپلیٹس}}"@@ -934,6 +947,10 @@ msgstr "{userName} · {tabCount, plural, one {# ٹیب} other {# ٹیبز}}"msgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr "{userName}، {tabCount, plural, one {# بیک وقت ٹیب} other {# بیک وقت ٹیبز}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr "{warningCount, plural, one {# انتباہ} other {# انتباہات}}"+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr "{words, plural, one {لفظ} other {الفاظ}}"diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.jsonindex b70092990..3972cc033 100644--- a/packages/app/src/locales/zh-Hans/messages.json+++ b/packages/app/src/locales/zh-Hans/messages.json@@ -578,6 +578,7 @@],"8Uv5e6": ["智能体"],"8Vq20-": ["切换 worktree"],+ "8WTrGF": ["此文件中有 ", ["summary"], "。打开问题面板查看详情。"],"8Wav8y": ["如果你正在编辑的内容收到更新,你可以像处理合并冲突那样选择保留哪个版本。"],"8XQRON": ["正在加载仓库"],"8YymuQ": ["还没有配置任何智能体——正在打开「配置智能体」。"],@@ -622,6 +623,7 @@],"99eR72": ["可视化编辑器表格选区"],"9Bd18D": ["加载中枢页面失败"],+ "9E_WAi": [["errorText"], "和", ["warningText"]],"9EykGQ": ["在右侧插入列"],"9GbR5F": ["最高"],"9HKBNN": ["命令"],@@ -783,6 +785,7 @@],"C-twqs": ["已恢复的内容"],"C-xgad": ["或者使用入门包"],+ "C0C43b": [["warningCount", "plural", { "other": ["#", " 个警告"] }]],"C0Ciaj": ["已作为“", ["0"], "”导入——名称“", ["1"], "”已被占用。"],"C0cll5": ["已安装在 ", ["0"], "——点击可移除"],"C0hoX6": ["始终包含"],@@ -1860,6 +1863,7 @@"Sc1bKE": ["未能及时清除“", ["docName"], "”的本地协作数据。请重新加载后重试。"],"ScwcF2": ["该位置已存在一个项目。请换一个上级文件夹。"],"SfxQX8": ["为每个选中的工具写入一份项目级 MCP 配置。"],+ "Sg-6Bo": [["errorCount", "plural", { "other": ["#", " 个错误"] }]],"SgKLfA": ["未连接到 GitHub。"],"Sh3Qkg": ["没有匹配的分支。"],"Si7mIR": ["生成报告"],diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.poindex 4ec4b6719..90d92e3d6 100644--- a/packages/app/src/locales/zh-Hans/messages.po+++ b/packages/app/src/locales/zh-Hans/messages.po@@ -661,6 +661,15 @@ msgstr "{docName} 有 {0}。OpenKnowledge 目前最多可打开 {1} 的文件。msgid "{enabledCount}/{0} on"msgstr "已开启 {enabledCount}/{0}"+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr "{errorCount, plural, other {# 个错误}}"++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr "{errorText}和{warningText}"+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr "{source} 发布了 {count} 个技能。你可以把它们一起安装。msgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr "{strandedCommitCount, plural, other {你有 # 处改动尚未共享,它们只会留在这台电脑上。}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr "此文件中有 {summary}。打开问题面板查看详情。"+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr "{templateCount, plural, other {模板}}"@@ -934,6 +947,10 @@ msgstr "{userName} · {tabCount, plural, other {# 个标签页}}"msgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr "{userName},{tabCount, plural, other {# 个并发标签页}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr "{warningCount, plural, other {# 个警告}}"+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr "{words, plural, other {词}}"diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.jsonindex bbfed8f0f..977632e11 100644--- a/packages/app/src/locales/zh-Hant/messages.json+++ b/packages/app/src/locales/zh-Hant/messages.json@@ -582,6 +582,7 @@],"8Uv5e6": ["代理"],"8Vq20-": ["切換 worktree"],+ "8WTrGF": ["此檔案中有 ", ["summary"], "。開啟問題面板查看詳情。"],"8Wav8y": ["如果你正在編輯的東西收到更新,你可以像處理合併衝突那樣選擇要保留哪個版本。"],"8XQRON": ["正在載入儲存庫"],"8YymuQ": ["還沒有設定任何代理——正在開啟「設定代理」。"],@@ -626,6 +627,7 @@],"99eR72": ["視覺化編輯器表格選取範圍"],"9Bd18D": ["載入樞紐頁面失敗"],+ "9E_WAi": [["errorText"], "和", ["warningText"]],"9EykGQ": ["在右側插入欄"],"9GbR5F": ["最高"],"9HKBNN": ["指令"],@@ -787,6 +789,7 @@],"C-twqs": ["已復原的內容"],"C-xgad": ["或者用入門套件"],+ "C0C43b": [["warningCount", "plural", { "other": ["#", " 個警告"] }]],"C0Ciaj": ["已用「", ["0"], "」這個名稱匯入——名稱「", ["1"], "」已被占用。"],"C0cll5": ["已安裝在 ", ["0"], "——點一下可移除"],"C0hoX6": ["一律包含"],@@ -1884,6 +1887,7 @@"Sc1bKE": ["來不及清除「", ["docName"], "」的本機協作資料。請重新載入後再試一次。"],"ScwcF2": ["這個位置已經有一個專案了。請換一個上層資料夾。"],"SfxQX8": ["為每個選取的工具寫入一份專案層級的 MCP 設定。"],+ "Sg-6Bo": [["errorCount", "plural", { "other": ["#", " 個錯誤"] }]],"SgKLfA": ["尚未連接到 GitHub。"],"Sh3Qkg": ["沒有相符的分支。"],"Si7mIR": ["建立回報"],diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.poindex 6c9e54e65..f4306ddf4 100644--- a/packages/app/src/locales/zh-Hant/messages.po+++ b/packages/app/src/locales/zh-Hant/messages.po@@ -661,6 +661,15 @@ msgstr "{docName} 有 {0}。OpenKnowledge 目前最多可開啟 {1} 的檔案。msgid "{enabledCount}/{0} on"msgstr "已開啟 {enabledCount}/{0}"+#: src/components/file-tree-problem-indicators.ts+msgid "{errorCount, plural, one {# error} other {# errors}}"+msgstr "{errorCount, plural, other {# 個錯誤}}"++#. Joins the two counts in a file-tree problem tooltip. Reaches a translator as two placeholders and a conjunction, so: errorText is already pluralized ("2 errors"), warningText likewise ("1 warning"), and the result is the subject of the sentence that follows it.+#: src/components/file-tree-problem-indicators.ts+msgid "{errorText} and {warningText}"+msgstr "{errorText}和{warningText}"+#. placeholder {0}: ids.length#: src/comments/store.tsmsgid "{failed} of {0} comments could not be updated."@@ -897,6 +906,10 @@ msgstr "{source} 發布了 {count} 個技能。你可以把它們一起安裝。msgid "{strandedCommitCount, plural, one {You have 1 change you haven't shared. It will stay on this computer.} other {You have # changes you haven't shared. They will stay on this computer.}}"msgstr "{strandedCommitCount, plural, other {你有 # 處變更尚未分享,它們只會留在這台電腦上。}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{summary} in this file. Open the Problems panel for details."+msgstr "此檔案中有 {summary}。開啟問題面板查看詳情。"+#: src/components/CreatedItemsList.tsxmsgid "{templateCount, plural, one {template} other {templates}}"msgstr "{templateCount, plural, other {範本}}"@@ -934,6 +947,10 @@ msgstr "{userName} · {tabCount, plural, other {# 個分頁}}"msgid "{userName}, {tabCount, plural, one {# concurrent tab} other {# concurrent tabs}}"msgstr "{userName},{tabCount, plural, other {# 個同時開啟的分頁}}"+#: src/components/file-tree-problem-indicators.ts+msgid "{warningCount, plural, one {# warning} other {# warnings}}"+msgstr "{warningCount, plural, other {# 個警告}}"+#: src/components/EditorFooter.tsxmsgid "{words, plural, one {word} other {words}}"msgstr "{words, plural, other {字詞}}"diff --git a/packages/app/tests/stress/unified-problems.e2e.ts b/packages/app/tests/stress/unified-problems.e2e.tsindex 02f873414..877b00e71 100644--- a/packages/app/tests/stress/unified-problems.e2e.ts+++ b/packages/app/tests/stress/unified-problems.e2e.ts@@ -150,11 +150,23 @@ test.describe('unified Problems — file-tree indicators', () => {}).toBe('warning');- // Count badge is injected next to the label.- const badgeText = await (await treeRowHandle(page, `${linkDocName}.md`)).evaluate(- (el) => el?.querySelector('[data-ok-problem-badge]')?.textContent ?? null,- );- expect(badgeText).toBe('1');+ // Count badge is injected next to the label, and carries its own hover+ // explanation. Both halves of that need the real browser: the DOM test can+ // only read the stylesheet source, and jsdom never resolves hit-testing.+ const badge = await (await treeRowHandle(page, `${linkDocName}.md`)).evaluate((el) => {+ const node = el?.querySelector('[data-ok-problem-badge]');+ if (!node) return null;+ return {+ text: node.textContent,+ title: (node as HTMLElement).title,+ pointerEvents: getComputedStyle(node).pointerEvents,+ };+ });+ expect(badge?.text).toBe('1');+ // Not `none`: the cursor has to resolve on the badge, or it falls through+ // to the row and surfaces the row's full-path title instead.+ expect(badge?.pointerEvents).not.toBe('none');+ expect(badge?.title).toBe('1 warning in this file. Open the Problems panel for details.');// The unsafeCSS actually paints: a tinted row's label color differs from a// clean row's — the pixels jsdom cannot verify.