From 9876d7aa7c089a85b65c63dccc7856dc87f989fa Mon Sep 17 00:00:00 2001 From: Hona <10430890+Hona@users.noreply.github.com> Date: Sun, 9 Aug 2026 17:13:17 +0000 Subject: [PATCH] refactor(i18n): centralize locale-aware rendering --- packages/app/src/i18n/parity.test.ts | 17 +++++ .../pages/session/usage-exceeded-dialogs.tsx | 15 +++-- packages/session-ui/AGENTS.md | 2 + .../src/components/line-comment.tsx | 10 +-- .../src/components/tool-count-label.css | 53 +--------------- .../src/components/tool-count-label.tsx | 55 ++-------------- packages/ui/AGENTS.md | 2 + packages/ui/src/components/list.tsx | 13 +--- packages/ui/src/context/i18n.test.ts | 57 ++++++++++++++++- packages/ui/src/context/i18n.tsx | 63 ++++++++++++++++--- packages/ui/src/i18n/am.ts | 9 +-- packages/ui/src/i18n/ar.ts | 9 +-- packages/ui/src/i18n/az.ts | 9 +-- packages/ui/src/i18n/bg.ts | 9 +-- packages/ui/src/i18n/bn.ts | 13 ++-- packages/ui/src/i18n/br.ts | 9 +-- packages/ui/src/i18n/bs.ts | 9 +-- packages/ui/src/i18n/ca.ts | 9 +-- packages/ui/src/i18n/cs.ts | 9 +-- packages/ui/src/i18n/da.ts | 9 +-- packages/ui/src/i18n/de.ts | 9 +-- packages/ui/src/i18n/dv.ts | 9 +-- packages/ui/src/i18n/dz.ts | 13 ++-- packages/ui/src/i18n/el.ts | 9 +-- packages/ui/src/i18n/en.ts | 9 +-- packages/ui/src/i18n/es.ts | 9 +-- packages/ui/src/i18n/et.ts | 9 +-- packages/ui/src/i18n/fa.ts | 9 +-- packages/ui/src/i18n/fi.ts | 9 +-- packages/ui/src/i18n/fo.ts | 9 +-- packages/ui/src/i18n/fr.ts | 9 +-- packages/ui/src/i18n/hi.ts | 9 +-- packages/ui/src/i18n/hr.ts | 9 +-- packages/ui/src/i18n/hu.ts | 9 +-- packages/ui/src/i18n/hy.ts | 9 +-- packages/ui/src/i18n/id.ts | 9 +-- packages/ui/src/i18n/is.ts | 9 +-- packages/ui/src/i18n/it.ts | 9 +-- packages/ui/src/i18n/ja.ts | 9 +-- packages/ui/src/i18n/ka.ts | 9 +-- packages/ui/src/i18n/km.ts | 9 +-- packages/ui/src/i18n/ko.ts | 9 +-- packages/ui/src/i18n/lo.ts | 9 +-- packages/ui/src/i18n/lt.ts | 9 +-- packages/ui/src/i18n/lv.ts | 9 +-- packages/ui/src/i18n/mk.ts | 9 +-- packages/ui/src/i18n/mn.ts | 9 +-- packages/ui/src/i18n/ms.ts | 9 +-- packages/ui/src/i18n/my.ts | 9 +-- packages/ui/src/i18n/ne.ts | 13 ++-- packages/ui/src/i18n/nl.ts | 9 +-- packages/ui/src/i18n/no.ts | 9 +-- packages/ui/src/i18n/pa.ts | 13 ++-- packages/ui/src/i18n/pl.ts | 9 +-- packages/ui/src/i18n/ro.ts | 9 +-- packages/ui/src/i18n/ru.ts | 9 +-- packages/ui/src/i18n/si.ts | 15 ++--- packages/ui/src/i18n/sk.ts | 9 +-- packages/ui/src/i18n/sl.ts | 9 +-- packages/ui/src/i18n/sq.ts | 9 +-- packages/ui/src/i18n/sr.ts | 9 +-- packages/ui/src/i18n/sv.ts | 9 +-- packages/ui/src/i18n/tg.ts | 9 +-- packages/ui/src/i18n/th.ts | 9 +-- packages/ui/src/i18n/tk.ts | 9 +-- packages/ui/src/i18n/tr.ts | 9 +-- packages/ui/src/i18n/uk.ts | 9 +-- packages/ui/src/i18n/ur.ts | 9 +-- packages/ui/src/i18n/uz.ts | 9 +-- packages/ui/src/i18n/vi.ts | 9 +-- packages/ui/src/i18n/zh.ts | 9 +-- packages/ui/src/i18n/zht.ts | 9 +-- 72 files changed, 348 insertions(+), 519 deletions(-) diff --git a/packages/app/src/i18n/parity.test.ts b/packages/app/src/i18n/parity.test.ts index d2f1ed35d14..4f8997f6bbe 100644 --- a/packages/app/src/i18n/parity.test.ts +++ b/packages/app/src/i18n/parity.test.ts @@ -167,6 +167,23 @@ describe("i18n parity", () => { } } }) + + test("UI rich templates keep exactly one typed slot", async () => { + const expected = { + "ui.lineComment.label": "selection", + "ui.lineComment.editorLabel": "selection", + "ui.list.emptyWithFilter": "query", + } as const + const legacy = Object.keys(expected).flatMap((key) => [`${key}.prefix`, `${key}.suffix`]) + + for (const locale of ["en", ...appLocales]) { + const target = await dictionary(`../../../ui/src/i18n/${locale}.ts`) + for (const [key, slot] of Object.entries(expected)) { + expect({ locale, key, placeholders: placeholders(target[key]) }).toEqual({ locale, key, placeholders: [slot] }) + } + expect({ locale, legacy: legacy.filter((key) => Object.hasOwn(target, key)) }).toEqual({ locale, legacy: [] }) + } + }) }) describe("i18n plural parity", () => { diff --git a/packages/app/src/pages/session/usage-exceeded-dialogs.tsx b/packages/app/src/pages/session/usage-exceeded-dialogs.tsx index d56fa3d1f48..e3733de0baa 100644 --- a/packages/app/src/pages/session/usage-exceeded-dialogs.tsx +++ b/packages/app/src/pages/session/usage-exceeded-dialogs.tsx @@ -37,8 +37,7 @@ export function useUsageExceededDialogs() { const sdk = useSDK() const dialog = useDialog() const { params } = useSessionLayout() - const { t, locale } = useI18n() - const isEnglish = () => locale() === "en" + const { tDynamic } = useI18n() const [goUpsellState, setGoUpsellState] = persisted( Persist.global("go-upsell"), @@ -68,9 +67,9 @@ export function useUsageExceededDialogs() { if (action.reason === "free_tier_limit") { dialog.show(() => ( { setGoUpsellState(keys.lastSeenAt, Date.now()) @@ -88,9 +87,9 @@ export function useUsageExceededDialogs() { } else if (action.reason === "account_rate_limit") { dialog.show(() => ( { setGoUpsellState(keys.lastSeenAt, Date.now()) diff --git a/packages/session-ui/AGENTS.md b/packages/session-ui/AGENTS.md index 678ae1bf90d..3bade63ce0e 100644 --- a/packages/session-ui/AGENTS.md +++ b/packages/session-ui/AGENTS.md @@ -3,5 +3,7 @@ - NEVER hardcode user-visible English strings in production code. ALWAYS use an i18n key for visible copy, placeholders, accessible labels, tooltips, menus, dialogs, empty states, and displayed errors. - When migrating existing copy to i18n, preserve the English text byte-for-byte unless the task explicitly requests a copy change. - NEVER change existing English text or English keys to facilitate translation. English is intentional, designer-written source copy; adapt locale-specific translations and i18n mechanics around it. +- Keep locale and grammar logic behind the shared typed i18n API. Session components should use `t(...)`, `plural(...)`, `parts(...)`, or `pluralParts(...)`; they must not inspect locales, choose plural categories, construct category-suffixed keys, or assemble translated grammatical fragments. +- Prefer complete phrase templates with typed rich slots for styled values. If the current API cannot express a phrase, deepen the shared context instead of leaking locale mechanics into session components. - Do not translate from model knowledge alone. Verify terminology and grammar with Unicode CLDR locale/plural data, Microsoft Localization Style Guides and terminology, Apple localization/style guidance and localized platform UI, Mozilla localization style guides, Mozilla Pontoon, and the Firefox localization corpus at `github.com/mozilla-l10n/firefox-l10n`. - Also use the relevant language authority or official dictionary for the locale (for example RAE/Fundéu, FranceTerme, Duden, TDK, Kotus/Kielitoimiston sanakirja, Språkrådet/Bokmålsordboka, Rada Języka Polskiego/PWN, the Russian and Arabic language academies, the Ukrainian Orthography, Taiwan MOE dictionaries, or the Royal Society of Thailand). Treat the English dictionary as the semantic source of truth and preserve placeholders, code identifiers, product names, and keyboard labels. diff --git a/packages/session-ui/src/components/line-comment.tsx b/packages/session-ui/src/components/line-comment.tsx index 0ad1a590e75..5f17d20e095 100644 --- a/packages/session-ui/src/components/line-comment.tsx +++ b/packages/session-ui/src/components/line-comment.tsx @@ -146,11 +146,7 @@ export const LineComment = (props: LineCommentProps) => {
{split.actions}
-
- {i18n.t("ui.lineComment.label.prefix")} - {split.selection} - {i18n.t("ui.lineComment.label.suffix")} -
+
{i18n.parts("ui.lineComment.label", { selection: split.selection })}
) @@ -395,9 +391,7 @@ export const LineCommentEditor = (props: LineCommentEditorProps) => {
- {i18n.t("ui.lineComment.editorLabel.prefix")} - {split.selection} - {i18n.t("ui.lineComment.editorLabel.suffix")} + {i18n.parts("ui.lineComment.editorLabel", { selection: split.selection })}
pluralCategory(i18n.locale(), Math.round(props.count))) - const one = createMemo(() => split(i18n.t(pluralKey(props.plural, "one")))) - const other = createMemo(() => split(i18n.t(pluralKey(props.plural, "other")))) - const active = createMemo(() => split(i18n.t(pluralKey(props.plural, category())))) - const suffix = createMemo(() => common(one().after, other().after)) - const splitSuffix = createMemo( - () => - (category() === "one" || category() === "other") && - one().before === other().before && - (one().after.startsWith(other().after) || other().after.startsWith(one().after)), + const parts = createMemo(() => + i18n.pluralParts(props.plural, Math.round(props.count), { + count: , + }), ) - const before = createMemo(() => (splitSuffix() ? one().before : active().before)) - const stem = createMemo(() => (splitSuffix() ? suffix().stem : active().after)) - const tail = createMemo(() => { - if (!splitSuffix()) return "" - if (category() === "one") return suffix().one - return suffix().other - }) - const showTail = createMemo(() => splitSuffix() && tail().length > 0) return ( - {before()} - - - {stem()} - - {tail()} - - + {parts()} ) } diff --git a/packages/ui/AGENTS.md b/packages/ui/AGENTS.md index 73b12de4d7c..7ad0f489f42 100644 --- a/packages/ui/AGENTS.md +++ b/packages/ui/AGENTS.md @@ -3,6 +3,8 @@ - NEVER hardcode user-visible English strings in production code. ALWAYS use an i18n key for component defaults, visible copy, placeholders, accessible labels, tooltips, dialogs, toasts, empty states, and displayed errors. - When migrating existing copy to i18n, preserve the English text byte-for-byte unless the task explicitly requests a copy change. - NEVER change existing English text or English keys to facilitate translation. English is intentional, designer-written source copy; adapt locale-specific translations and i18n mechanics around it. +- Keep locale and grammar logic behind the shared typed i18n API. Components should use `t(...)`, `plural(...)`, `parts(...)`, or `pluralParts(...)`; they must not inspect locales, choose plural categories, construct category-suffixed keys, or assemble translated grammatical fragments. +- Prefer complete phrase templates with typed rich slots for styled values. If the current API cannot express a phrase, deepen the shared context instead of leaking locale mechanics into components. - Do not translate from model knowledge alone. Verify terminology and grammar with Unicode CLDR locale/plural data, Microsoft Localization Style Guides and terminology, Apple localization/style guidance and localized platform UI, Mozilla localization style guides, Mozilla Pontoon, and the Firefox localization corpus at `github.com/mozilla-l10n/firefox-l10n`. - For developer-facing terminology, prefer established usage in the target language's developer community over literal translations. Cross-check maintained Firefox, KDE, and VS Code localizations, using at least two independent corpora when available. Keep established English loanwords and acronyms instead of inventing unfamiliar terms. - Translate whole UI phrases in context rather than substituting glossary words. Audit recurring concepts for consistency and review every exact-English value; retain it only when it is an intentional product/provider/tool name, URL, code token, keyboard legend, acronym, asset name, or established borrowing. diff --git a/packages/ui/src/components/list.tsx b/packages/ui/src/components/list.tsx index cc5fc0ce5dc..0f139d00538 100644 --- a/packages/ui/src/components/list.tsx +++ b/packages/ui/src/components/list.tsx @@ -247,16 +247,9 @@ export function List(props: ListProps & { ref?: (ref: ListRef) => void }) const query = filter() if (!query) return i18n.t("ui.list.empty") - const suffix = i18n.t("ui.list.emptyWithFilter.suffix") - return ( - <> - {i18n.t("ui.list.emptyWithFilter.prefix")} - "{query}" - - {suffix} - - - ) + return i18n.parts("ui.list.emptyWithFilter", { + query: "{query}", + }) } return ( diff --git a/packages/ui/src/context/i18n.test.ts b/packages/ui/src/context/i18n.test.ts index fe9bc0aaea3..a7107956384 100644 --- a/packages/ui/src/context/i18n.test.ts +++ b/packages/ui/src/context/i18n.test.ts @@ -1,5 +1,5 @@ import { describe, expect, test } from "bun:test" -import { pluralCategory } from "./i18n" +import { createUiI18n, pluralCategory, pluralKey, type UiI18nParams, type UiI18nSource } from "./i18n" describe("pluralCategory", () => { test.each([ @@ -22,3 +22,58 @@ describe("pluralCategory", () => { expect(pluralCategory(locale, count)).toBe(expected) }) }) + +function i18n(locale: string, messages: Record) { + const source: UiI18nSource = { + locale: () => locale, + t: (key, params) => resolve(messages[key] ?? key, params), + plural: (key, count, params) => + source.t(pluralKey(key, pluralCategory(source.locale(), count)), { ...params, count }), + } + return createUiI18n(source) +} + +function resolve(template: string, params?: UiI18nParams) { + if (!params) return template + return template.replace(/{{\s*([^}]+?)\s*}}/g, (_, key) => String(params[String(key)] ?? "")) +} + +describe("createUiI18n", () => { + test("keeps dynamic source copy for English locale tags", () => { + const value = i18n("en-US", { title: "Dictionary title" }) + expect(value.tDynamic("title", "Runtime {{name}}", { name: "title" })).toBe("Runtime title") + }) + + test("uses dictionary copy for non-English locales", () => { + const value = i18n("fr", { title: "Titre traduit" }) + expect(value.tDynamic("title", "Runtime title")).toBe("Titre traduit") + }) + + test("inserts rich values in dictionary order", () => { + const value = i18n("ja", { + "ui.lineComment.label": "{{selection}}へのコメント", + "ui.lineComment.editorLabel": "Commenting on {{selection}}", + "ui.list.emptyWithFilter": "没有关于{{query}}的结果", + }) + const selection = { id: "selection" } + expect(value.parts("ui.lineComment.label", { selection })).toEqual(["", selection, "へのコメント"]) + expect(value.parts("ui.list.emptyWithFilter", { query: "needle" })).toEqual(["没有关于", "needle", "的结果"]) + }) + + test("rejects malformed rich templates", () => { + const value = i18n("en", { "ui.lineComment.label": "Comment" }) + expect(() => value.parts("ui.lineComment.label", { selection: "path" })).toThrow() + }) + + test("selects plural copy before inserting the animated count", () => { + const value = i18n("ar", { + "ui.messagePart.context.read.two": "تمت قراءة ملفين: {{count}} في {{folder}}", + }) + const count = { id: "animated-count" } + expect(value.pluralParts("ui.messagePart.context.read", 2, { count }, { folder: "src" })).toEqual([ + "تمت قراءة ملفين: ", + count, + " في src", + ]) + }) +}) diff --git a/packages/ui/src/context/i18n.tsx b/packages/ui/src/context/i18n.tsx index be7a4d4f1e9..14dd8dcddcc 100644 --- a/packages/ui/src/context/i18n.tsx +++ b/packages/ui/src/context/i18n.tsx @@ -16,13 +16,32 @@ export type UiI18nPluralLookupKey = `${UiI18nPluralKey}.${UiPluralCategory}` export type UiI18nParams = Record -export type UiI18n = { +export const UI_RICH_KEYS = { + "ui.lineComment.label": "selection", + "ui.lineComment.editorLabel": "selection", + "ui.list.emptyWithFilter": "query", +} as const +export type UiI18nRichKey = keyof typeof UI_RICH_KEYS +export type UiI18nRichSlot = (typeof UI_RICH_KEYS)[K] +export type UiI18nPart = string | T + +export type UiI18nSource = { locale: Accessor layoutLocale?: Accessor t: (key: UiI18nKey, params?: UiI18nParams) => string plural: (key: UiI18nPluralKey, count: number, params?: UiI18nParams) => string } +export type UiI18n = UiI18nSource & { + /** Preserve runtime-generated English copy while using the keyed dictionary for every other locale. */ + tDynamic: (key: UiI18nKey, source: string, params?: UiI18nParams) => string + parts: , unknown>>( + key: K, + slots: S, + ) => UiI18nPart]>[] + pluralParts: (key: UiI18nPluralKey, count: number, slots: { count: T }, params?: UiI18nParams) => UiI18nPart[] +} + const rules = new Map() export function pluralCategory(locale: string, count: number): UiPluralCategory { @@ -35,7 +54,7 @@ export function pluralCategory(locale: string, count: number): UiPluralCategory } export function pluralKey(key: UiI18nPluralKey, category: UiPluralCategory) { - return `${key}.${category}` as UiI18nPluralLookupKey + return `${key}.${category}` } function resolveTemplate(text: string, params?: UiI18nParams) { @@ -47,22 +66,50 @@ function resolveTemplate(text: string, params?: UiI18nParams) { }) } -const fallback: UiI18n = { +function resolveParts(template: string, slot: string, value: T, params?: UiI18nParams): UiI18nPart[] { + const matches = Array.from(template.matchAll(/{{\s*([^}]+?)\s*}}/g)).filter((match) => match[1] === slot) + if (matches.length !== 1) throw new Error(`Expected exactly one {{${slot}}} placeholder`) + const match = matches[0] + const index = match.index + return [ + resolveTemplate(template.slice(0, index), params), + value, + resolveTemplate(template.slice(index + match[0].length), params), + ] +} + +export function createUiI18n(source: UiI18nSource): UiI18n { + return { + ...source, + tDynamic: (key, value, params) => + source.locale().toLowerCase().split("-")[0] === "en" ? resolveTemplate(value, params) : source.t(key, params), + parts: (key, slots) => { + const slot = UI_RICH_KEYS[key] + return resolveParts(source.t(key), slot, slots[slot]) + }, + pluralParts: (key, count, slots, params) => + resolveParts(source.t(pluralKey(key, pluralCategory(source.locale(), count))), "count", slots.count, params), + } +} + +const fallbackSource: UiI18nSource = { locale: () => "en", t: (key, params) => { - const value = en[key] ?? String(key) + const value = en[key] ?? key return resolveTemplate(value, params) }, plural: (key, count, params) => - fallback.t(pluralKey(key, pluralCategory(fallback.locale(), count)), { ...params, count }), + fallbackSource.t(pluralKey(key, pluralCategory(fallbackSource.locale(), count)), { ...params, count }), } +const fallback = createUiI18n(fallbackSource) const Context = createContext(fallback) -function UiI18nProvider(props: ParentProps<{ value: UiI18n }>) { +function UiI18nProvider(props: ParentProps<{ value: UiI18nSource }>) { + const value = createUiI18n(props.value) return ( - - {props.children} + + {props.children} ) } diff --git a/packages/ui/src/i18n/am.ts b/packages/ui/src/i18n/am.ts index 12557ab24cc..1c90aa95efd 100644 --- a/packages/ui/src/i18n/am.ts +++ b/packages/ui/src/i18n/am.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "ሁለትዮሽ ፋይል", "ui.fileMedia.binary.description.path": "{{path}} ሁለትዮሽ ነው።", "ui.fileMedia.binary.description.default": "ሁለትዮሽ ይዘት", - "ui.lineComment.label.prefix": "አስተያየት በ ላይ ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "በላይ አስተያየት መስጠት ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "አስተያየት በ ላይ {{selection}}", + "ui.lineComment.editorLabel": "በላይ አስተያየት መስጠት {{selection}}", "ui.lineComment.placeholder": "አስተያየት ያክሉ", "ui.lineComment.contextPlaceholder": "ለዚህ ለውጥ አውድ ጨምር", "ui.lineComment.submit": "አስተያየት", @@ -102,8 +100,7 @@ export const dict: Record = { "ui.list.loading": "በመጫን ላይ", "ui.list.empty": "ምንም ውጤቶች", "ui.list.clearFilter": "ማጣሪያን አጽዳ", - "ui.list.emptyWithFilter.prefix": "ምንም ውጤቶች ለ", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "ምንም ውጤቶች ለ{{query}}", "ui.fileSearch.placeholder": "አግኝ", "ui.fileSearch.previousMatch": "የቀድሞ ግጥሚያ", "ui.fileSearch.nextMatch": "ቀጣይ ተዛማጅ", diff --git a/packages/ui/src/i18n/ar.ts b/packages/ui/src/i18n/ar.ts index 8be4f840a4b..d5edfa93852 100644 --- a/packages/ui/src/i18n/ar.ts +++ b/packages/ui/src/i18n/ar.ts @@ -44,10 +44,8 @@ export const dict = { "ui.fileMedia.binary.description.path": "{{path}} عبارة عن ملف ثنائي ولا يمكن عرضه.", "ui.fileMedia.binary.description.default": "هذا ملف ثنائي ولا يمكن عرضه.", - "ui.lineComment.label.prefix": "تعليق على ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "جارٍ التعليق على ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "تعليق على {{selection}}", + "ui.lineComment.editorLabel": "جارٍ التعليق على {{selection}}", "ui.lineComment.placeholder": "أضف تعليقًا", "ui.lineComment.contextPlaceholder": "أضف سياقًا لهذا التغيير", "ui.lineComment.submit": "تعليق", @@ -126,8 +124,7 @@ export const dict = { "ui.list.loading": "جارٍ التحميل", "ui.list.empty": "لا توجد نتائج", "ui.list.clearFilter": "مسح عامل التصفية", - "ui.list.emptyWithFilter.prefix": "لا توجد نتائج لـ", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "لا توجد نتائج لـ{{query}}", "ui.messageNav.newMessage": "رسالة جديدة", diff --git a/packages/ui/src/i18n/az.ts b/packages/ui/src/i18n/az.ts index a93750645bf..45cabeace80 100644 --- a/packages/ui/src/i18n/az.ts +++ b/packages/ui/src/i18n/az.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "İkili fayl", "ui.fileMedia.binary.description.path": "{{path}} ikili fayldır.", "ui.fileMedia.binary.description.default": "İkili məzmun", - "ui.lineComment.label.prefix": "Şərh: ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Şərh yazılır: ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Şərh: {{selection}}", + "ui.lineComment.editorLabel": "Şərh yazılır: {{selection}}", "ui.lineComment.placeholder": "Şərh əlavə et", "ui.lineComment.contextPlaceholder": "Bu dəyişiklik üçün kontekst əlavə et", "ui.lineComment.submit": "Şərh et", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "Yüklənir", "ui.list.empty": "Nəticə yoxdur", "ui.list.clearFilter": "Filtri təmizlə", - "ui.list.emptyWithFilter.prefix": "Nəticə tapılmadı:", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Nəticə tapılmadı:{{query}}", "ui.fileSearch.placeholder": "Axtar", "ui.fileSearch.previousMatch": "Əvvəlki uyğunluq", "ui.fileSearch.nextMatch": "Növbəti uyğunluq", diff --git a/packages/ui/src/i18n/bg.ts b/packages/ui/src/i18n/bg.ts index ee4963b2db0..607f5f7b804 100644 --- a/packages/ui/src/i18n/bg.ts +++ b/packages/ui/src/i18n/bg.ts @@ -43,10 +43,8 @@ export const dict = { "ui.fileMedia.binary.title": "Двоичен файл", "ui.fileMedia.binary.description.path": "{{path}} е двоичен.", "ui.fileMedia.binary.description.default": "Двоично съдържание", - "ui.lineComment.label.prefix": "Коментирайте", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Коментиране на", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Коментирайте{{selection}}", + "ui.lineComment.editorLabel": "Коментиране на{{selection}}", "ui.lineComment.placeholder": "Добавете коментар", "ui.lineComment.contextPlaceholder": "Добавете контекст за тази промяна", "ui.lineComment.submit": "Коментирайте", @@ -103,8 +101,7 @@ export const dict = { "ui.list.loading": "Зарежда се", "ui.list.empty": "Няма резултати", "ui.list.clearFilter": "Изчистване на филтъра", - "ui.list.emptyWithFilter.prefix": "Няма резултати за", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Няма резултати за{{query}}", "ui.fileSearch.placeholder": "Намерете", "ui.fileSearch.previousMatch": "Предишен мач", "ui.fileSearch.nextMatch": "Следващ мач", diff --git a/packages/ui/src/i18n/bn.ts b/packages/ui/src/i18n/bn.ts index fcbf6867e77..c9bd4dc14b4 100644 --- a/packages/ui/src/i18n/bn.ts +++ b/packages/ui/src/i18n/bn.ts @@ -45,10 +45,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "বাইনারি ফাইল", "ui.fileMedia.binary.description.path": "{{path}} হল বাইনারি।", "ui.fileMedia.binary.description.default": "বাইনারি বিষয়বস্তু", - "ui.lineComment.label.prefix": "মন্তব্য করুন", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "মন্তব্য করছেন", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "মন্তব্য করুন{{selection}}", + "ui.lineComment.editorLabel": "মন্তব্য করছেন{{selection}}", "ui.lineComment.placeholder": "মন্তব্য যোগ করুন", "ui.lineComment.contextPlaceholder": "এই পরিবর্তনের জন্য প্রসঙ্গ যোগ করুন", "ui.lineComment.submit": "মন্তব্য করুন", @@ -105,8 +103,7 @@ export const dict: Record = { "ui.list.loading": "লোড হচ্ছে", "ui.list.empty": "কোন ফলাফল নেই", "ui.list.clearFilter": "ফিল্টার পরিষ্কার করুন", - "ui.list.emptyWithFilter.prefix": "জন্য কোন ফলাফল", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "জন্য কোন ফলাফল{{query}}", "ui.fileSearch.placeholder": "খুঁজুন", "ui.fileSearch.previousMatch": "আগের ম্যাচ", "ui.fileSearch.nextMatch": "পরের ম্যাচ", @@ -141,8 +138,8 @@ export const dict: Record = { "ui.tool.grep": "Grep", "ui.tool.task": "টাস্ক", "ui.tool.webfetch": "ওয়েবফেচ", - "ui.tool.websearch": "Web Search", - "ui.tool.websearch.provider": "{{provider}} Web Search", + "ui.tool.websearch": "ওয়েব অনুসন্ধান", + "ui.tool.websearch.provider": "{{provider}} ওয়েব অনুসন্ধান", "ui.tool.shell": "শেল", "ui.tool.patch": "প্যাচ", "ui.tool.todos": "করণীয়", diff --git a/packages/ui/src/i18n/br.ts b/packages/ui/src/i18n/br.ts index 1844aaf79c9..1c29d1ae518 100644 --- a/packages/ui/src/i18n/br.ts +++ b/packages/ui/src/i18n/br.ts @@ -44,10 +44,8 @@ export const dict = { "ui.fileMedia.binary.description.path": "Não é possível exibir {{path}} porque é um arquivo binário.", "ui.fileMedia.binary.description.default": "Não é possível exibir o arquivo porque ele é binário.", - "ui.lineComment.label.prefix": "Comentar em ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Comentando em ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Comentar em {{selection}}", + "ui.lineComment.editorLabel": "Comentando em {{selection}}", "ui.lineComment.placeholder": "Adicionar comentário", "ui.lineComment.contextPlaceholder": "Adicionar contexto para esta alteração", "ui.lineComment.submit": "Comentar", @@ -114,8 +112,7 @@ export const dict = { "ui.list.loading": "Carregando", "ui.list.empty": "Nenhum resultado", "ui.list.clearFilter": "Limpar filtro", - "ui.list.emptyWithFilter.prefix": "Nenhum resultado para", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Nenhum resultado para{{query}}", "ui.messageNav.newMessage": "Nova mensagem", diff --git a/packages/ui/src/i18n/bs.ts b/packages/ui/src/i18n/bs.ts index bf16eceea3b..747aa3ef77e 100644 --- a/packages/ui/src/i18n/bs.ts +++ b/packages/ui/src/i18n/bs.ts @@ -48,10 +48,8 @@ export const dict = { "ui.fileMedia.binary.description.path": "{{path}} je binarna datoteka.", "ui.fileMedia.binary.description.default": "Binarni sadržaj", - "ui.lineComment.label.prefix": "Komentar na ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Komentarišeš ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Komentar na {{selection}}", + "ui.lineComment.editorLabel": "Komentarišeš {{selection}}", "ui.lineComment.placeholder": "Dodaj komentar", "ui.lineComment.contextPlaceholder": "Dodaj kontekst za ovu izmjenu", "ui.lineComment.submit": "Komentariši", @@ -118,8 +116,7 @@ export const dict = { "ui.list.loading": "Učitavanje", "ui.list.empty": "Nema rezultata", "ui.list.clearFilter": "Očisti filter", - "ui.list.emptyWithFilter.prefix": "Nema rezultata za", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Nema rezultata za{{query}}", "ui.messageNav.newMessage": "Nova poruka", diff --git a/packages/ui/src/i18n/ca.ts b/packages/ui/src/i18n/ca.ts index ca3d49b0039..18c961f80c7 100644 --- a/packages/ui/src/i18n/ca.ts +++ b/packages/ui/src/i18n/ca.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Fitxer binari", "ui.fileMedia.binary.description.path": "{{path}} és binari.", "ui.fileMedia.binary.description.default": "Contingut binari", - "ui.lineComment.label.prefix": "Comenta ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Comentant ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Comenta {{selection}}", + "ui.lineComment.editorLabel": "Comentant {{selection}}", "ui.lineComment.placeholder": "Afegeix un comentari", "ui.lineComment.contextPlaceholder": "Afegeix context per a aquest canvi", "ui.lineComment.submit": "Comenta", @@ -107,8 +105,7 @@ export const dict: Record = { "ui.list.loading": "Carregant", "ui.list.empty": "Sense resultats", "ui.list.clearFilter": "Esborra el filtre", - "ui.list.emptyWithFilter.prefix": "No hi ha resultats per a", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "No hi ha resultats per a{{query}}", "ui.fileSearch.placeholder": "Troba", "ui.fileSearch.previousMatch": "Coincidència anterior", "ui.fileSearch.nextMatch": "Coincidència següent", diff --git a/packages/ui/src/i18n/cs.ts b/packages/ui/src/i18n/cs.ts index ed7f9fbf058..c965f060cef 100644 --- a/packages/ui/src/i18n/cs.ts +++ b/packages/ui/src/i18n/cs.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Binární soubor", "ui.fileMedia.binary.description.path": "{{path}} je binární.", "ui.fileMedia.binary.description.default": "Binární obsah", - "ui.lineComment.label.prefix": "Komentář k ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Komentování ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Komentář k {{selection}}", + "ui.lineComment.editorLabel": "Komentování {{selection}}", "ui.lineComment.placeholder": "Přidat komentář", "ui.lineComment.contextPlaceholder": "Přidejte kontext pro tuto změnu", "ui.lineComment.submit": "Komentář", @@ -111,8 +109,7 @@ export const dict: Record = { "ui.list.loading": "Načítání", "ui.list.empty": "Žádné výsledky", "ui.list.clearFilter": "Vymazat filtr", - "ui.list.emptyWithFilter.prefix": "Žádné výsledky pro", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Žádné výsledky pro{{query}}", "ui.fileSearch.placeholder": "Najít", "ui.fileSearch.previousMatch": "Předchozí shoda", "ui.fileSearch.nextMatch": "Další shoda", diff --git a/packages/ui/src/i18n/da.ts b/packages/ui/src/i18n/da.ts index 7bac164eb68..bc014102d6b 100644 --- a/packages/ui/src/i18n/da.ts +++ b/packages/ui/src/i18n/da.ts @@ -44,10 +44,8 @@ export const dict = { "ui.fileMedia.binary.title": "Binær fil", "ui.fileMedia.binary.description.path": "{{path}} kan ikke vises, fordi det er en binær fil.", "ui.fileMedia.binary.description.default": "Denne fil kan ikke vises, fordi det er en binær fil.", - "ui.lineComment.label.prefix": "Skriv en kommentar til ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Skriver en kommentar til ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Skriv en kommentar til {{selection}}", + "ui.lineComment.editorLabel": "Skriver en kommentar til {{selection}}", "ui.lineComment.placeholder": "Tilføj kommentar", "ui.lineComment.submit": "Kommenter", "ui.lineComment.cancel": "Annuller", @@ -108,8 +106,7 @@ export const dict = { "ui.list.loading": "Indlæser", "ui.list.empty": "Ingen resultater", "ui.list.clearFilter": "Ryd filter", - "ui.list.emptyWithFilter.prefix": "Ingen resultater for", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Ingen resultater for{{query}}", "ui.messageNav.newMessage": "Ny besked", diff --git a/packages/ui/src/i18n/de.ts b/packages/ui/src/i18n/de.ts index fbe9f3cd23b..2c9fa01bec5 100644 --- a/packages/ui/src/i18n/de.ts +++ b/packages/ui/src/i18n/de.ts @@ -51,10 +51,8 @@ export const dict = { "{{path}} kann nicht angezeigt werden, da es sich um eine Binärdatei handelt.", "ui.fileMedia.binary.description.default": "Diese Datei kann nicht angezeigt werden, da es sich um eine Binärdatei handelt.", - "ui.lineComment.label.prefix": "Kommentar zu ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Kommentiere ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Kommentar zu {{selection}}", + "ui.lineComment.editorLabel": "Kommentiere {{selection}}", "ui.lineComment.placeholder": "Kommentar hinzufügen", "ui.lineComment.submit": "Kommentieren", "ui.lineComment.cancel": "Abbrechen", @@ -115,8 +113,7 @@ export const dict = { "ui.list.loading": "Laden", "ui.list.empty": "Keine Ergebnisse", "ui.list.clearFilter": "Filter löschen", - "ui.list.emptyWithFilter.prefix": "Keine Ergebnisse für", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Keine Ergebnisse für{{query}}", "ui.messageNav.newMessage": "Neue Nachricht", diff --git a/packages/ui/src/i18n/dv.ts b/packages/ui/src/i18n/dv.ts index 6c6a7384be4..c3be4fccdc3 100644 --- a/packages/ui/src/i18n/dv.ts +++ b/packages/ui/src/i18n/dv.ts @@ -44,10 +44,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "ބައިނަރީ ފައިލް އެވެ", "ui.fileMedia.binary.description.path": "{{path}} އަކީ ބައިނަރީ އެއްޗެކެވެ.", "ui.fileMedia.binary.description.default": "ބައިނަރީ ކޮންޓެންޓް", - "ui.lineComment.label.prefix": "ކޮމެންޓް ކޮށްލައްވާ ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "ކޮމެންޓް ކުރަމުންނެވެ ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "ކޮމެންޓް ކޮށްލައްވާ {{selection}}", + "ui.lineComment.editorLabel": "ކޮމެންޓް ކުރަމުންނެވެ {{selection}}", "ui.lineComment.placeholder": "ކޮމެންޓް އެޑް ކުރާށެވެ", "ui.lineComment.contextPlaceholder": "މި ބަދަލަށް ކޮންޓެކްސްޓް އިތުރުކުރުން", "ui.lineComment.submit": "ކޮމެންޓް", @@ -104,8 +102,7 @@ export const dict: Record = { "ui.list.loading": "ލޯޑިންގ", "ui.list.empty": "ނަތީޖާއެއް ނެތެވެ", "ui.list.clearFilter": "ފިލްޓަރ ސާފުކުރުން", - "ui.list.emptyWithFilter.prefix": "އެއްވެސް ނަތީޖާއެއް ނުލިބެއެވެ", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "އެއްވެސް ނަތީޖާއެއް ނުލިބެއެވެ{{query}}", "ui.fileSearch.placeholder": "ހޯދުން", "ui.fileSearch.previousMatch": "ކުރީ މެޗެވެ", "ui.fileSearch.nextMatch": "ދެން މެޗް", diff --git a/packages/ui/src/i18n/dz.ts b/packages/ui/src/i18n/dz.ts index b14d576a259..5de1d1972f8 100644 --- a/packages/ui/src/i18n/dz.ts +++ b/packages/ui/src/i18n/dz.ts @@ -45,10 +45,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "ཟུང་ལྡན་ཡིག་སྣོད།", "ui.fileMedia.binary.description.path": "{{path}} འདི་ཟུང་ལྡན་ཨིན།", "ui.fileMedia.binary.description.default": "ཟུང་ལྡན་ནང་དོན།", - "ui.lineComment.label.prefix": "བསམ་འཆར།", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "བསམ་འཆར་བཀོད་དོན།", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "བསམ་འཆར།{{selection}}", + "ui.lineComment.editorLabel": "བསམ་འཆར་བཀོད་དོན།{{selection}}", "ui.lineComment.placeholder": "བསམ་འཆར་ཁ་སྣོན་འབད།", "ui.lineComment.contextPlaceholder": "བསྒྱུར་བཅོས་འདི་གི་དོན་ལུ་ སྐབས་དོན་ཁ་སྐོང་བརྐྱབ།", "ui.lineComment.submit": "བསམ༌འཆར", @@ -105,8 +103,7 @@ export const dict: Record = { "ui.list.loading": "མངོན་གསལ་འབད་དོ།", "ui.list.empty": "གྲུབ་འབྲས་མེད།", "ui.list.clearFilter": "ཚགས་མ་བསལ།", - "ui.list.emptyWithFilter.prefix": "2019 ལོའི་གྲུབ་འབྲས་མེད།", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "2019 ལོའི་གྲུབ་འབྲས་མེད།{{query}}", "ui.fileSearch.placeholder": "འཚོལ་ནི", "ui.fileSearch.previousMatch": "ཧེ་མའི་རྩེད་འགྲན་འདི།", "ui.fileSearch.nextMatch": "རྩེད་འགྲན་ཤུལ་མམ།", @@ -141,8 +138,8 @@ export const dict: Record = { "ui.tool.grep": "Grep།", "ui.tool.task": "ལཱ", "ui.tool.webfetch": "ཝེབ་ཕིཆ།", - "ui.tool.websearch": "Web Search", - "ui.tool.websearch.provider": "{{provider}} Web Search", + "ui.tool.websearch": "ཡོངས་འབྲེལ་འཚོལ་ཞིབ།", + "ui.tool.websearch.provider": "{{provider}} ཡོངས་འབྲེལ་འཚོལ་ཞིབ།", "ui.tool.shell": "Shell", "ui.tool.patch": "ལྷནམ", "ui.tool.todos": "འབད་དགོཔ་ཚུ།", diff --git a/packages/ui/src/i18n/el.ts b/packages/ui/src/i18n/el.ts index f4fc56c1a82..5e5a27dfc6b 100644 --- a/packages/ui/src/i18n/el.ts +++ b/packages/ui/src/i18n/el.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Δυαδικό αρχείο", "ui.fileMedia.binary.description.path": "{{path}} είναι δυαδικό.", "ui.fileMedia.binary.description.default": "Δυαδικό περιεχόμενο", - "ui.lineComment.label.prefix": "Σχόλιο ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Σχολιασμός ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Σχόλιο {{selection}}", + "ui.lineComment.editorLabel": "Σχολιασμός {{selection}}", "ui.lineComment.placeholder": "Προσθήκη σχολίου", "ui.lineComment.contextPlaceholder": "Προσθήκη περιβάλλοντος για αυτήν την αλλαγή", "ui.lineComment.submit": "Σχόλιο", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "Φόρτωση", "ui.list.empty": "Δεν υπάρχουν αποτελέσματα", "ui.list.clearFilter": "Διαγραφή φίλτρου", - "ui.list.emptyWithFilter.prefix": "Δεν υπάρχουν αποτελέσματα για", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Δεν υπάρχουν αποτελέσματα για{{query}}", "ui.fileSearch.placeholder": "Εύρεση", "ui.fileSearch.previousMatch": "Προηγούμενη αντιστοίχιση", "ui.fileSearch.nextMatch": "Επόμενος αγώνας", diff --git a/packages/ui/src/i18n/en.ts b/packages/ui/src/i18n/en.ts index aa0ec9c5735..59403dca653 100644 --- a/packages/ui/src/i18n/en.ts +++ b/packages/ui/src/i18n/en.ts @@ -46,10 +46,8 @@ export const dict: Record = { "ui.fileMedia.binary.description.path": "{{path}} is binary.", "ui.fileMedia.binary.description.default": "Binary content", - "ui.lineComment.label.prefix": "Comment on ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Commenting on ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Comment on {{selection}}", + "ui.lineComment.editorLabel": "Commenting on {{selection}}", "ui.lineComment.placeholder": "Add comment", "ui.lineComment.contextPlaceholder": "Add context for this change", "ui.lineComment.submit": "Comment", @@ -112,8 +110,7 @@ export const dict: Record = { "ui.list.loading": "Loading", "ui.list.empty": "No results", "ui.list.clearFilter": "Clear filter", - "ui.list.emptyWithFilter.prefix": "No results for", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "No results for{{query}}", "ui.fileSearch.placeholder": "Find", "ui.fileSearch.previousMatch": "Previous match", diff --git a/packages/ui/src/i18n/es.ts b/packages/ui/src/i18n/es.ts index 4153680d30e..75ff7011f46 100644 --- a/packages/ui/src/i18n/es.ts +++ b/packages/ui/src/i18n/es.ts @@ -44,10 +44,8 @@ export const dict = { "ui.fileMedia.binary.description.path": "No se puede mostrar {{path}} porque es un archivo binario.", "ui.fileMedia.binary.description.default": "No se puede mostrar este archivo porque es un archivo binario.", - "ui.lineComment.label.prefix": "Comentar en ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Comentando en ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Comentar en {{selection}}", + "ui.lineComment.editorLabel": "Comentando en {{selection}}", "ui.lineComment.placeholder": "Añadir comentario", "ui.lineComment.contextPlaceholder": "Añadir contexto para este cambio", "ui.lineComment.submit": "Comentar", @@ -114,8 +112,7 @@ export const dict = { "ui.list.loading": "Cargando", "ui.list.empty": "Sin resultados", "ui.list.clearFilter": "Borrar filtro", - "ui.list.emptyWithFilter.prefix": "Sin resultados para", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Sin resultados para{{query}}", "ui.messageNav.newMessage": "Nuevo mensaje", diff --git a/packages/ui/src/i18n/et.ts b/packages/ui/src/i18n/et.ts index b37223e98c2..7cce3b66143 100644 --- a/packages/ui/src/i18n/et.ts +++ b/packages/ui/src/i18n/et.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Binaarne fail", "ui.fileMedia.binary.description.path": "{{path}} on binaarne.", "ui.fileMedia.binary.description.default": "Binaarne sisu", - "ui.lineComment.label.prefix": "kommenteerida ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Kommenteerides ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "kommenteerida {{selection}}", + "ui.lineComment.editorLabel": "Kommenteerides {{selection}}", "ui.lineComment.placeholder": "Lisa kommentaar", "ui.lineComment.contextPlaceholder": "Lisage selle muudatuse kontekst", "ui.lineComment.submit": "Kommenteeri", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "Laadimine", "ui.list.empty": "Tulemusi pole", "ui.list.clearFilter": "Selge filter", - "ui.list.emptyWithFilter.prefix": "Päringule pole tulemusi", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Päringule pole tulemusi{{query}}", "ui.fileSearch.placeholder": "Otsi", "ui.fileSearch.previousMatch": "Eelmine vaste", "ui.fileSearch.nextMatch": "Järgmine vaste", diff --git a/packages/ui/src/i18n/fa.ts b/packages/ui/src/i18n/fa.ts index f166bea8fbe..eea4fc2184b 100644 --- a/packages/ui/src/i18n/fa.ts +++ b/packages/ui/src/i18n/fa.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "فایل باینری", "ui.fileMedia.binary.description.path": "{{path}} باینری است.", "ui.fileMedia.binary.description.default": "محتوای باینری", - "ui.lineComment.label.prefix": "نظر دهید ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "در حال اظهار نظر ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "نظر دهید {{selection}}", + "ui.lineComment.editorLabel": "در حال اظهار نظر {{selection}}", "ui.lineComment.placeholder": "نظر اضافه کنید", "ui.lineComment.contextPlaceholder": "برای این تغییر زمینه اضافه کنید", "ui.lineComment.submit": "نظر دهید", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "در حال بارگذاری", "ui.list.empty": "هیچ نتیجه ای وجود ندارد", "ui.list.clearFilter": "فیلتر را پاک کنید", - "ui.list.emptyWithFilter.prefix": "هیچ نتیجه ای برای", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "هیچ نتیجه ای برای{{query}}", "ui.fileSearch.placeholder": "پیدا کنید", "ui.fileSearch.previousMatch": "مسابقه قبلی", "ui.fileSearch.nextMatch": "مسابقه بعدی", diff --git a/packages/ui/src/i18n/fi.ts b/packages/ui/src/i18n/fi.ts index a78ba7a1723..bd1ffc2b9c4 100644 --- a/packages/ui/src/i18n/fi.ts +++ b/packages/ui/src/i18n/fi.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Binääritiedosto", "ui.fileMedia.binary.description.path": "{{path}} on binääritiedosto.", "ui.fileMedia.binary.description.default": "Binäärisisältö", - "ui.lineComment.label.prefix": "Kommentoi ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Kommentoit kohdetta ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Kommentoi {{selection}}", + "ui.lineComment.editorLabel": "Kommentoit kohdetta {{selection}}", "ui.lineComment.placeholder": "Lisää kommentti", "ui.lineComment.submit": "Kommentoi", "ui.lineComment.cancel": "Peruuta", @@ -102,8 +100,7 @@ export const dict: Record = { "ui.list.loading": "Ladataan", "ui.list.empty": "Ei tuloksia", "ui.list.clearFilter": "Tyhjennä suodatin", - "ui.list.emptyWithFilter.prefix": "Ei tuloksia haulle", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Ei tuloksia haulle{{query}}", "ui.fileSearch.placeholder": "Etsi", "ui.fileSearch.previousMatch": "Edellinen osuma", "ui.fileSearch.nextMatch": "Seuraava osuma", diff --git a/packages/ui/src/i18n/fo.ts b/packages/ui/src/i18n/fo.ts index df45382c828..74a34955a8e 100644 --- a/packages/ui/src/i18n/fo.ts +++ b/packages/ui/src/i18n/fo.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Binær fíla", "ui.fileMedia.binary.description.path": "{{path}} er binær.", "ui.fileMedia.binary.description.default": "Binært innihald", - "ui.lineComment.label.prefix": "Viðmerk á ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Viðmerkjandi ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Viðmerk á {{selection}}", + "ui.lineComment.editorLabel": "Viðmerkjandi {{selection}}", "ui.lineComment.placeholder": "Legg viðmerking til", "ui.lineComment.contextPlaceholder": "Legg samanhang til hesa broyting", "ui.lineComment.submit": "Viðmerking", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "Innlesing", "ui.list.empty": "Einki úrslit", "ui.list.clearFilter": "Rudda filtur", - "ui.list.emptyWithFilter.prefix": "Einki úrslit fyri", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Einki úrslit fyri{{query}}", "ui.fileSearch.placeholder": "Finn", "ui.fileSearch.previousMatch": "Fyrra samsvar", "ui.fileSearch.nextMatch": "Næsta samsvar", diff --git a/packages/ui/src/i18n/fr.ts b/packages/ui/src/i18n/fr.ts index 5e9a54708f3..38362b1d89c 100644 --- a/packages/ui/src/i18n/fr.ts +++ b/packages/ui/src/i18n/fr.ts @@ -45,10 +45,8 @@ export const dict = { "ui.fileMedia.binary.description.path": "Impossible d'afficher {{path}} car il s'agit d'un fichier binaire.", "ui.fileMedia.binary.description.default": "Impossible d'afficher ce fichier car il s'agit d'un fichier binaire.", - "ui.lineComment.label.prefix": "Commenter ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Commentaire concernant ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Commenter {{selection}}", + "ui.lineComment.editorLabel": "Commentaire concernant {{selection}}", "ui.lineComment.placeholder": "Ajouter un commentaire", "ui.lineComment.contextPlaceholder": "Ajouter du contexte à cette modification", "ui.lineComment.submit": "Commenter", @@ -115,8 +113,7 @@ export const dict = { "ui.list.loading": "Chargement", "ui.list.empty": "Aucun résultat", "ui.list.clearFilter": "Effacer le filtre", - "ui.list.emptyWithFilter.prefix": "Aucun résultat pour", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Aucun résultat pour{{query}}", "ui.messageNav.newMessage": "Nouveau message", diff --git a/packages/ui/src/i18n/hi.ts b/packages/ui/src/i18n/hi.ts index 4805dfcf4b5..3eae0ca1e99 100644 --- a/packages/ui/src/i18n/hi.ts +++ b/packages/ui/src/i18n/hi.ts @@ -44,10 +44,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "बाइनरी फ़ाइल", "ui.fileMedia.binary.description.path": "{{path}} बाइनरी है।", "ui.fileMedia.binary.description.default": "बाइनरी सामग्री", - "ui.lineComment.label.prefix": "इस पर टिप्पणी: ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "इस पर टिप्पणी की जा रही है: ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "इस पर टिप्पणी: {{selection}}", + "ui.lineComment.editorLabel": "इस पर टिप्पणी की जा रही है: {{selection}}", "ui.lineComment.placeholder": "टिप्पणी जोड़ें", "ui.lineComment.contextPlaceholder": "इस परिवर्तन के लिए संदर्भ जोड़ें", "ui.lineComment.submit": "टिप्पणी", @@ -104,8 +102,7 @@ export const dict: Record = { "ui.list.loading": "लोड हो रहा है", "ui.list.empty": "कोई परिणाम नहीं", "ui.list.clearFilter": "फ़िल्टर साफ़ करें", - "ui.list.emptyWithFilter.prefix": "के लिए कोई परिणाम नहीं", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "के लिए कोई परिणाम नहीं{{query}}", "ui.fileSearch.placeholder": "खोजें", "ui.fileSearch.previousMatch": "पिछला मिलान", "ui.fileSearch.nextMatch": "अगला मिलान", diff --git a/packages/ui/src/i18n/hr.ts b/packages/ui/src/i18n/hr.ts index 2d482e6ff0e..6db90ba0e27 100644 --- a/packages/ui/src/i18n/hr.ts +++ b/packages/ui/src/i18n/hr.ts @@ -44,10 +44,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Binarna datoteka", "ui.fileMedia.binary.description.path": "{{path}} je binarni.", "ui.fileMedia.binary.description.default": "Binarni sadržaj", - "ui.lineComment.label.prefix": "Komentirajte", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Komentiranje", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Komentirajte{{selection}}", + "ui.lineComment.editorLabel": "Komentiranje{{selection}}", "ui.lineComment.placeholder": "Dodajte komentar", "ui.lineComment.contextPlaceholder": "Dodajte kontekst za ovu promjenu", "ui.lineComment.submit": "Komentar", @@ -108,8 +106,7 @@ export const dict: Record = { "ui.list.loading": "Učitavanje", "ui.list.empty": "Nema rezultata", "ui.list.clearFilter": "Očisti filter", - "ui.list.emptyWithFilter.prefix": "Nema rezultata za", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Nema rezultata za{{query}}", "ui.fileSearch.placeholder": "Pronaći", "ui.fileSearch.previousMatch": "Prethodno podudaranje", "ui.fileSearch.nextMatch": "Sljedeće podudaranje", diff --git a/packages/ui/src/i18n/hu.ts b/packages/ui/src/i18n/hu.ts index 6039bb6edb0..a486f399161 100644 --- a/packages/ui/src/i18n/hu.ts +++ b/packages/ui/src/i18n/hu.ts @@ -45,10 +45,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Bináris fájl", "ui.fileMedia.binary.description.path": "A {{path}} bináris.", "ui.fileMedia.binary.description.default": "Bináris tartalom", - "ui.lineComment.label.prefix": "Hozzászólás", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Hozzászólás", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Hozzászólás{{selection}}", + "ui.lineComment.editorLabel": "Hozzászólás{{selection}}", "ui.lineComment.placeholder": "Megjegyzés hozzáadása", "ui.lineComment.contextPlaceholder": "Kontextus hozzáadása ehhez a módosításhoz", "ui.lineComment.submit": "Megjegyzés", @@ -105,8 +103,7 @@ export const dict: Record = { "ui.list.loading": "Betöltés", "ui.list.empty": "Nincs eredmény", "ui.list.clearFilter": "Szűrő törlése", - "ui.list.emptyWithFilter.prefix": "Nincs találat a következőre", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Nincs találat a következőre{{query}}", "ui.fileSearch.placeholder": "Keresés", "ui.fileSearch.previousMatch": "Előző találat", "ui.fileSearch.nextMatch": "Következő találat", diff --git a/packages/ui/src/i18n/hy.ts b/packages/ui/src/i18n/hy.ts index 968163416eb..89e6b4eba90 100644 --- a/packages/ui/src/i18n/hy.ts +++ b/packages/ui/src/i18n/hy.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Երկուական ֆայլ", "ui.fileMedia.binary.description.path": "{{path}}-ը երկուական է:", "ui.fileMedia.binary.description.default": "Երկուական բովանդակություն", - "ui.lineComment.label.prefix": "Մեկնաբանություն ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Մեկնաբանում ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Մեկնաբանություն {{selection}}", + "ui.lineComment.editorLabel": "Մեկնաբանում {{selection}}", "ui.lineComment.placeholder": "Ավելացնել մեկնաբանություն", "ui.lineComment.contextPlaceholder": "Ավելացնել համատեքստ այս փոփոխության համար", "ui.lineComment.submit": "Մեկնաբանություն", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "Բեռնվում", "ui.list.empty": "Արդյունք չկա", "ui.list.clearFilter": "Մաքրել զտիչը", - "ui.list.emptyWithFilter.prefix": "Արդյունք չկա", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Արդյունք չկա{{query}}", "ui.fileSearch.placeholder": "Գտնել", "ui.fileSearch.previousMatch": "Նախորդ համընկնում", "ui.fileSearch.nextMatch": "Հաջորդ համընկնում", diff --git a/packages/ui/src/i18n/id.ts b/packages/ui/src/i18n/id.ts index 0e2d74fb42f..a7ffac094bc 100644 --- a/packages/ui/src/i18n/id.ts +++ b/packages/ui/src/i18n/id.ts @@ -45,10 +45,8 @@ export const dict: Record = { "ui.fileMedia.binary.description.path": "Berkas {{path}} bersifat biner.", "ui.fileMedia.binary.description.default": "Konten biner", - "ui.lineComment.label.prefix": "Komentar pada ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Mengomentari ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Komentar pada {{selection}}", + "ui.lineComment.editorLabel": "Mengomentari {{selection}}", "ui.lineComment.placeholder": "Tambah komentar", "ui.lineComment.contextPlaceholder": "Tambahkan konteks untuk perubahan ini", "ui.lineComment.submit": "Komentar", @@ -111,8 +109,7 @@ export const dict: Record = { "ui.list.loading": "Memuat", "ui.list.empty": "Tidak ada hasil", "ui.list.clearFilter": "Hapus filter", - "ui.list.emptyWithFilter.prefix": "Tidak ada hasil untuk", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Tidak ada hasil untuk{{query}}", "ui.fileSearch.placeholder": "Cari", "ui.fileSearch.previousMatch": "Kecocokan sebelumnya", diff --git a/packages/ui/src/i18n/is.ts b/packages/ui/src/i18n/is.ts index b9c29a9bb34..bbae14d5023 100644 --- a/packages/ui/src/i18n/is.ts +++ b/packages/ui/src/i18n/is.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Tvíundarskrá", "ui.fileMedia.binary.description.path": "{{path}} er tvíundarskrá.", "ui.fileMedia.binary.description.default": "Tvíundarefni", - "ui.lineComment.label.prefix": "Athugasemdir við", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Gerir athugasemdir við", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Athugasemdir við{{selection}}", + "ui.lineComment.editorLabel": "Gerir athugasemdir við{{selection}}", "ui.lineComment.placeholder": "Bæta við athugasemd", "ui.lineComment.contextPlaceholder": "Bættu við samhengi fyrir þessa breytingu", "ui.lineComment.submit": "Athugasemd", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "Hleðsla", "ui.list.empty": "Engar niðurstöður", "ui.list.clearFilter": "Hreinsaðu síu", - "ui.list.emptyWithFilter.prefix": "Engar niðurstöður fyrir", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Engar niðurstöður fyrir{{query}}", "ui.fileSearch.placeholder": "Finndu", "ui.fileSearch.previousMatch": "Fyrri samsvörun", "ui.fileSearch.nextMatch": "Næsta samsvörun", diff --git a/packages/ui/src/i18n/it.ts b/packages/ui/src/i18n/it.ts index 73b0461ede3..2f87ff2e144 100644 --- a/packages/ui/src/i18n/it.ts +++ b/packages/ui/src/i18n/it.ts @@ -44,10 +44,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "File binario", "ui.fileMedia.binary.description.path": "{{path}} è binario.", "ui.fileMedia.binary.description.default": "Contenuto binario", - "ui.lineComment.label.prefix": "Commento su ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Commento su ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Commento su {{selection}}", + "ui.lineComment.editorLabel": "Commento su {{selection}}", "ui.lineComment.placeholder": "Aggiungi commento", "ui.lineComment.contextPlaceholder": "Aggiungi contesto per questa modifica", "ui.lineComment.submit": "Commenta", @@ -108,8 +106,7 @@ export const dict: Record = { "ui.list.loading": "Caricamento", "ui.list.empty": "Nessun risultato", "ui.list.clearFilter": "Cancella filtro", - "ui.list.emptyWithFilter.prefix": "Nessun risultato per", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Nessun risultato per{{query}}", "ui.fileSearch.placeholder": "Cerca", "ui.fileSearch.previousMatch": "Corrispondenza precedente", "ui.fileSearch.nextMatch": "Corrispondenza successiva", diff --git a/packages/ui/src/i18n/ja.ts b/packages/ui/src/i18n/ja.ts index 3bbc00e8a0a..6d0afd84b0f 100644 --- a/packages/ui/src/i18n/ja.ts +++ b/packages/ui/src/i18n/ja.ts @@ -44,10 +44,8 @@ export const dict = { "ui.fileMedia.binary.title": "バイナリファイル", "ui.fileMedia.binary.description.path": "{{path}} はバイナリファイルのため表示できません。", "ui.fileMedia.binary.description.default": "このファイルはバイナリファイルのため表示できません。", - "ui.lineComment.label.prefix": "", - "ui.lineComment.label.suffix": "へのコメント", - "ui.lineComment.editorLabel.prefix": "", - "ui.lineComment.editorLabel.suffix": "へのコメントを作成中", + "ui.lineComment.label": "{{selection}}へのコメント", + "ui.lineComment.editorLabel": "{{selection}}へのコメントを作成中", "ui.lineComment.placeholder": "コメントを追加", "ui.lineComment.contextPlaceholder": "この変更に関するコンテキストを追加", "ui.lineComment.submit": "コメント", @@ -109,8 +107,7 @@ export const dict = { "ui.list.loading": "読み込み中", "ui.list.empty": "結果なし", "ui.list.clearFilter": "フィルターをクリア", - "ui.list.emptyWithFilter.prefix": "次の検索結果はありません: ", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "次の検索結果はありません: {{query}}", "ui.messageNav.newMessage": "新しいメッセージ", diff --git a/packages/ui/src/i18n/ka.ts b/packages/ui/src/i18n/ka.ts index 02742e8405c..f3c36f84779 100644 --- a/packages/ui/src/i18n/ka.ts +++ b/packages/ui/src/i18n/ka.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "ორობითი ფაილი", "ui.fileMedia.binary.description.path": "{{path}} არის ორობითი.", "ui.fileMedia.binary.description.default": "ორობითი შინაარსი", - "ui.lineComment.label.prefix": "კომენტარი ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "კომენტირება ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "კომენტარი {{selection}}", + "ui.lineComment.editorLabel": "კომენტირება {{selection}}", "ui.lineComment.placeholder": "კომენტარის დამატება", "ui.lineComment.contextPlaceholder": "დაამატეთ კონტექსტი ამ ცვლილებისთვის", "ui.lineComment.submit": "კომენტარი", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "იტვირთება", "ui.list.empty": "შედეგები არ არის", "ui.list.clearFilter": "ფილტრის გასუფთავება", - "ui.list.emptyWithFilter.prefix": "შედეგები არ არის", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "შედეგები არ არის{{query}}", "ui.fileSearch.placeholder": "მოძებნა", "ui.fileSearch.previousMatch": "წინა მატჩი", "ui.fileSearch.nextMatch": "შემდეგი მატჩი", diff --git a/packages/ui/src/i18n/km.ts b/packages/ui/src/i18n/km.ts index df0b6fad7cf..f19cbdbfbde 100644 --- a/packages/ui/src/i18n/km.ts +++ b/packages/ui/src/i18n/km.ts @@ -44,10 +44,8 @@ export const dict = { "ui.fileMedia.binary.title": "ឯកសារគោលពីរ", "ui.fileMedia.binary.description.path": "{{path}} គឺជាប្រព័ន្ធគោលពីរ។", "ui.fileMedia.binary.description.default": "មាតិកាគោលពីរ", - "ui.lineComment.label.prefix": "មតិយោបល់លើ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "អត្ថាធិប្បាយលើ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "មតិយោបល់លើ{{selection}}", + "ui.lineComment.editorLabel": "អត្ថាធិប្បាយលើ{{selection}}", "ui.lineComment.placeholder": "បន្ថែមមតិ", "ui.lineComment.contextPlaceholder": "បន្ថែមបរិបទសម្រាប់ការផ្លាស់ប្តូរនេះ។", "ui.lineComment.submit": "មតិយោបល់", @@ -104,8 +102,7 @@ export const dict = { "ui.list.loading": "កំពុងផ្ទុក", "ui.list.empty": "គ្មានលទ្ធផល", "ui.list.clearFilter": "ជម្រះតម្រង", - "ui.list.emptyWithFilter.prefix": "គ្មានលទ្ធផលសម្រាប់", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "គ្មានលទ្ធផលសម្រាប់{{query}}", "ui.fileSearch.placeholder": "ស្វែងរក", "ui.fileSearch.previousMatch": "ការប្រកួតពីមុន", "ui.fileSearch.nextMatch": "ការប្រកួតបន្ទាប់", diff --git a/packages/ui/src/i18n/ko.ts b/packages/ui/src/i18n/ko.ts index 6448d9c0010..15568fc06f8 100644 --- a/packages/ui/src/i18n/ko.ts +++ b/packages/ui/src/i18n/ko.ts @@ -26,10 +26,8 @@ export const dict = { "ui.fileMedia.binary.description.path": "{{path}}은(는) 바이너리 파일이므로 표시할 수 없습니다.", "ui.fileMedia.binary.description.default": "바이너리 파일이므로 표시할 수 없습니다.", - "ui.lineComment.label.prefix": "", - "ui.lineComment.label.suffix": "에 댓글 달기", - "ui.lineComment.editorLabel.prefix": "", - "ui.lineComment.editorLabel.suffix": "에 댓글 작성 중", + "ui.lineComment.label": "{{selection}}에 댓글 달기", + "ui.lineComment.editorLabel": "{{selection}}에 댓글 작성 중", "ui.lineComment.placeholder": "댓글 추가", "ui.lineComment.contextPlaceholder": "이 변경 사항에 대한 컨텍스트 추가", "ui.lineComment.submit": "댓글 달기", @@ -86,8 +84,7 @@ export const dict = { "ui.list.loading": "로딩 중", "ui.list.empty": "결과 없음", "ui.list.clearFilter": "필터 지우기", - "ui.list.emptyWithFilter.prefix": "다음에 대한 결과 없음: ", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "다음에 대한 결과 없음: {{query}}", "ui.messageNav.newMessage": "새 메시지", diff --git a/packages/ui/src/i18n/lo.ts b/packages/ui/src/i18n/lo.ts index 32ad2f721ee..c35798c73d4 100644 --- a/packages/ui/src/i18n/lo.ts +++ b/packages/ui/src/i18n/lo.ts @@ -43,10 +43,8 @@ export const dict = { "ui.fileMedia.binary.title": "ໄຟລ໌ຖານສອງ", "ui.fileMedia.binary.description.path": "{{path}} ເປັນໄບນາຣີ.", "ui.fileMedia.binary.description.default": "ເນື້ອໃນຖານສອງ", - "ui.lineComment.label.prefix": "ຄໍາເຫັນກ່ຽວກັບ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "ຄໍາເຫັນກ່ຽວກັບ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "ຄໍາເຫັນກ່ຽວກັບ{{selection}}", + "ui.lineComment.editorLabel": "ຄໍາເຫັນກ່ຽວກັບ{{selection}}", "ui.lineComment.placeholder": "ເພີ່ມຄຳເຫັນ", "ui.lineComment.contextPlaceholder": "ເພີ່ມບໍລິບົດສໍາລັບການປ່ຽນແປງນີ້", "ui.lineComment.submit": "ຄໍາເຫັນ", @@ -103,8 +101,7 @@ export const dict = { "ui.list.loading": "ກຳລັງໂຫຼດ", "ui.list.empty": "ບໍ່ມີຜົນໄດ້ຮັບ", "ui.list.clearFilter": "ລ້າງການກັ່ນຕອງ", - "ui.list.emptyWithFilter.prefix": "ບໍ່ມີຜົນໄດ້ຮັບສໍາລັບ", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "ບໍ່ມີຜົນໄດ້ຮັບສໍາລັບ{{query}}", "ui.fileSearch.placeholder": "ຊອກຫາ", "ui.fileSearch.previousMatch": "ການແຂ່ງຂັນທີ່ຜ່ານມາ", "ui.fileSearch.nextMatch": "ການແຂ່ງຂັນຕໍ່ໄປ", diff --git a/packages/ui/src/i18n/lt.ts b/packages/ui/src/i18n/lt.ts index 7cec4a8d8a9..e07c5b8211c 100644 --- a/packages/ui/src/i18n/lt.ts +++ b/packages/ui/src/i18n/lt.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Dvejetainis failas", "ui.fileMedia.binary.description.path": "{{path}} yra dvejetainis.", "ui.fileMedia.binary.description.default": "Dvejetainis turinys", - "ui.lineComment.label.prefix": "Komentuoti", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Komentuodamas", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Komentuoti{{selection}}", + "ui.lineComment.editorLabel": "Komentuodamas{{selection}}", "ui.lineComment.placeholder": "Pridėti komentarą", "ui.lineComment.contextPlaceholder": "Pridėkite šio pakeitimo kontekstą", "ui.lineComment.submit": "komentuoti", @@ -111,8 +109,7 @@ export const dict: Record = { "ui.list.loading": "Įkeliama", "ui.list.empty": "Jokių rezultatų", "ui.list.clearFilter": "Išvalyti filtrą", - "ui.list.emptyWithFilter.prefix": "Nėra rezultatų pagal", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Nėra rezultatų pagal{{query}}", "ui.fileSearch.placeholder": "Rasti", "ui.fileSearch.previousMatch": "Ankstesnis atitikmuo", "ui.fileSearch.nextMatch": "Kitas atitikmuo", diff --git a/packages/ui/src/i18n/lv.ts b/packages/ui/src/i18n/lv.ts index 52d598f6dc9..a9ed86bbf82 100644 --- a/packages/ui/src/i18n/lv.ts +++ b/packages/ui/src/i18n/lv.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Binārs fails", "ui.fileMedia.binary.description.path": "{{path}} ir binārs fails.", "ui.fileMedia.binary.description.default": "Binārs saturs", - "ui.lineComment.label.prefix": "Komentēt", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Komentē", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Komentēt{{selection}}", + "ui.lineComment.editorLabel": "Komentē{{selection}}", "ui.lineComment.placeholder": "Pievieno komentāru", "ui.lineComment.contextPlaceholder": "Pievieno kontekstu šai izmaiņai", "ui.lineComment.submit": "Komentēt", @@ -107,8 +105,7 @@ export const dict: Record = { "ui.list.loading": "Ielādējas", "ui.list.empty": "Nav rezultātu", "ui.list.clearFilter": "Notīrīt filtru", - "ui.list.emptyWithFilter.prefix": "Nav rezultātu vaicājumam", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Nav rezultātu vaicājumam{{query}}", "ui.fileSearch.placeholder": "Meklēt", "ui.fileSearch.previousMatch": "Iepriekšējā atbilstība", "ui.fileSearch.nextMatch": "Nākamā atbilstība", diff --git a/packages/ui/src/i18n/mk.ts b/packages/ui/src/i18n/mk.ts index c99740c6b90..f913dcaf6f0 100644 --- a/packages/ui/src/i18n/mk.ts +++ b/packages/ui/src/i18n/mk.ts @@ -43,10 +43,8 @@ export const dict = { "ui.fileMedia.binary.title": "Бинарна датотека", "ui.fileMedia.binary.description.path": "{{path}} е бинарен.", "ui.fileMedia.binary.description.default": "Бинарна содржина", - "ui.lineComment.label.prefix": "Коментар на", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Коментирајќи на", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Коментар на{{selection}}", + "ui.lineComment.editorLabel": "Коментирајќи на{{selection}}", "ui.lineComment.placeholder": "Додадете коментар", "ui.lineComment.contextPlaceholder": "Додадете контекст за оваа промена", "ui.lineComment.submit": "Коментар", @@ -103,8 +101,7 @@ export const dict = { "ui.list.loading": "Се вчитува", "ui.list.empty": "Нема резултати", "ui.list.clearFilter": "Исчистете го филтерот", - "ui.list.emptyWithFilter.prefix": "Нема резултати за", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Нема резултати за{{query}}", "ui.fileSearch.placeholder": "Најдете", "ui.fileSearch.previousMatch": "Претходен натпревар", "ui.fileSearch.nextMatch": "Следен натпревар", diff --git a/packages/ui/src/i18n/mn.ts b/packages/ui/src/i18n/mn.ts index ee68ce917fb..23df2845a0d 100644 --- a/packages/ui/src/i18n/mn.ts +++ b/packages/ui/src/i18n/mn.ts @@ -43,10 +43,8 @@ export const dict = { "ui.fileMedia.binary.title": "Хоёртын файл", "ui.fileMedia.binary.description.path": "{{path}} нь хоёртын систем юм.", "ui.fileMedia.binary.description.default": "Хоёртын агуулга", - "ui.lineComment.label.prefix": "Сэтгэгдэл бичих", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Сэтгэгдэл бичиж байна", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Сэтгэгдэл бичих{{selection}}", + "ui.lineComment.editorLabel": "Сэтгэгдэл бичиж байна{{selection}}", "ui.lineComment.placeholder": "Сэтгэгдэл нэмэх", "ui.lineComment.contextPlaceholder": "Энэ өөрчлөлтийн контекст нэмнэ үү", "ui.lineComment.submit": "Сэтгэгдэл", @@ -103,8 +101,7 @@ export const dict = { "ui.list.loading": "Ачааж байна", "ui.list.empty": "Үр дүн алга", "ui.list.clearFilter": "Шүүлтүүрийг цэвэрлэх", - "ui.list.emptyWithFilter.prefix": "-д илэрц байхгүй", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "-д илэрц байхгүй{{query}}", "ui.fileSearch.placeholder": "Хай", "ui.fileSearch.previousMatch": "Өмнөх тоглолт", "ui.fileSearch.nextMatch": "Дараагийн тоглолт", diff --git a/packages/ui/src/i18n/ms.ts b/packages/ui/src/i18n/ms.ts index 75cc0290ada..d0e8fcc1a5d 100644 --- a/packages/ui/src/i18n/ms.ts +++ b/packages/ui/src/i18n/ms.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Fail binari", "ui.fileMedia.binary.description.path": "{{path}} ialah fail binari.", "ui.fileMedia.binary.description.default": "Kandungan binari", - "ui.lineComment.label.prefix": "Komen pada", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Sedang mengulas pada", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Komen pada{{selection}}", + "ui.lineComment.editorLabel": "Sedang mengulas pada{{selection}}", "ui.lineComment.placeholder": "Tambah komen", "ui.lineComment.contextPlaceholder": "Tambah konteks untuk perubahan ini", "ui.lineComment.submit": "Komen", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "Memuatkan", "ui.list.empty": "Tiada hasil", "ui.list.clearFilter": "Kosongkan penapis", - "ui.list.emptyWithFilter.prefix": "Tiada hasil untuk", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Tiada hasil untuk{{query}}", "ui.fileSearch.placeholder": "Cari", "ui.fileSearch.previousMatch": "Padanan sebelumnya", "ui.fileSearch.nextMatch": "Padanan seterusnya", diff --git a/packages/ui/src/i18n/my.ts b/packages/ui/src/i18n/my.ts index ad804687dfe..5d1efecb7fc 100644 --- a/packages/ui/src/i18n/my.ts +++ b/packages/ui/src/i18n/my.ts @@ -44,10 +44,8 @@ export const dict = { "ui.fileMedia.binary.title": "Binary ဖိုင်", "ui.fileMedia.binary.description.path": "{{path}} သည် ဒွိစုံဖြစ်သည်။", "ui.fileMedia.binary.description.default": "Binary အကြောင်းအရာ", - "ui.lineComment.label.prefix": "မှတ်ချက်", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "မှတ်ချက်ပေးခြင်း", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "မှတ်ချက်{{selection}}", + "ui.lineComment.editorLabel": "မှတ်ချက်ပေးခြင်း{{selection}}", "ui.lineComment.placeholder": "မှတ်ချက်ထည့်ပါ။", "ui.lineComment.contextPlaceholder": "ဤပြောင်းလဲမှုအတွက် အကြောင်းအရာကို ထည့်ပါ။", "ui.lineComment.submit": "မှတ်ချက်", @@ -104,8 +102,7 @@ export const dict = { "ui.list.loading": "တင်နေသည်။", "ui.list.empty": "ရလဒ်မရှိပါ။", "ui.list.clearFilter": "စစ်ထုတ်မှုကို ရှင်းလင်းပါ။", - "ui.list.emptyWithFilter.prefix": "အတွက် ရလဒ်များ မရှိပါ။", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "အတွက် ရလဒ်များ မရှိပါ။{{query}}", "ui.fileSearch.placeholder": "ရှာပါ။", "ui.fileSearch.previousMatch": "ယခင်ပွဲ", "ui.fileSearch.nextMatch": "နောက်ပွဲ", diff --git a/packages/ui/src/i18n/ne.ts b/packages/ui/src/i18n/ne.ts index f2bea06af9c..b3d403ec5a5 100644 --- a/packages/ui/src/i18n/ne.ts +++ b/packages/ui/src/i18n/ne.ts @@ -45,10 +45,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "बाइनरी फाइल", "ui.fileMedia.binary.description.path": "{{path}} बाइनरी हो।", "ui.fileMedia.binary.description.default": "बाइनरी सामग्री", - "ui.lineComment.label.prefix": "टिप्पणी गर्नुहोस्", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "टिप्पणी गर्दै", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "टिप्पणी गर्नुहोस्{{selection}}", + "ui.lineComment.editorLabel": "टिप्पणी गर्दै{{selection}}", "ui.lineComment.placeholder": "टिप्पणी थप्नुहोस्", "ui.lineComment.contextPlaceholder": "यो परिवर्तनको लागि सन्दर्भ थप्नुहोस्", "ui.lineComment.submit": "टिप्पणी गर्नुहोस्", @@ -105,8 +103,7 @@ export const dict: Record = { "ui.list.loading": "लोड गर्दै", "ui.list.empty": "कुनै परिणाम छैन", "ui.list.clearFilter": "फिल्टर खाली गर्नुहोस्", - "ui.list.emptyWithFilter.prefix": "को लागि कुनै परिणाम छैन", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "को लागि कुनै परिणाम छैन{{query}}", "ui.fileSearch.placeholder": "फेला पार्नुहोस्", "ui.fileSearch.previousMatch": "अघिल्लो खेल", "ui.fileSearch.nextMatch": "अर्को खेल", @@ -141,8 +138,8 @@ export const dict: Record = { "ui.tool.grep": "Grep", "ui.tool.task": "कार्य", "ui.tool.webfetch": "Webfetch", - "ui.tool.websearch": "Web Search", - "ui.tool.websearch.provider": "{{provider}} Web Search", + "ui.tool.websearch": "वेब खोज", + "ui.tool.websearch.provider": "{{provider}} वेब खोज", "ui.tool.shell": "शेल", "ui.tool.patch": "प्याच", "ui.tool.todos": "गर्नुपर्ने कार्यहरू", diff --git a/packages/ui/src/i18n/nl.ts b/packages/ui/src/i18n/nl.ts index a9554c070ff..6c710e82a88 100644 --- a/packages/ui/src/i18n/nl.ts +++ b/packages/ui/src/i18n/nl.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Binair bestand", "ui.fileMedia.binary.description.path": "{{path}} is binair.", "ui.fileMedia.binary.description.default": "Binaire inhoud", - "ui.lineComment.label.prefix": "Opmerking bij ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Opmerking bij ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Opmerking bij {{selection}}", + "ui.lineComment.editorLabel": "Opmerking bij {{selection}}", "ui.lineComment.placeholder": "Opmerking toevoegen", "ui.lineComment.contextPlaceholder": "Context voor deze wijziging toevoegen", "ui.lineComment.submit": "Opmerking plaatsen", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "Laden", "ui.list.empty": "Geen resultaten", "ui.list.clearFilter": "Filter wissen", - "ui.list.emptyWithFilter.prefix": "Geen resultaten voor", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Geen resultaten voor{{query}}", "ui.fileSearch.placeholder": "Zoeken", "ui.fileSearch.previousMatch": "Vorige overeenkomst", "ui.fileSearch.nextMatch": "Volgende overeenkomst", diff --git a/packages/ui/src/i18n/no.ts b/packages/ui/src/i18n/no.ts index 9d9738d5966..22959fd227b 100644 --- a/packages/ui/src/i18n/no.ts +++ b/packages/ui/src/i18n/no.ts @@ -29,10 +29,8 @@ export const dict: Record = { "ui.fileMedia.binary.description.path": "{{path}} kan ikke vises fordi det er en binærfil.", "ui.fileMedia.binary.description.default": "Denne filen kan ikke vises fordi det er en binærfil.", - "ui.lineComment.label.prefix": "Legg inn kommentar til ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Kommentar til ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Legg inn kommentar til {{selection}}", + "ui.lineComment.editorLabel": "Kommentar til {{selection}}", "ui.lineComment.placeholder": "Legg til kommentar", "ui.lineComment.contextPlaceholder": "Legg til kontekst for denne endringen", "ui.lineComment.submit": "Kommenter", @@ -89,8 +87,7 @@ export const dict: Record = { "ui.list.loading": "Laster", "ui.list.empty": "Ingen resultater", "ui.list.clearFilter": "Tøm filter", - "ui.list.emptyWithFilter.prefix": "Ingen resultater for", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Ingen resultater for{{query}}", "ui.messageNav.newMessage": "Ny melding", diff --git a/packages/ui/src/i18n/pa.ts b/packages/ui/src/i18n/pa.ts index dbb09e8d728..f7ab5691191 100644 --- a/packages/ui/src/i18n/pa.ts +++ b/packages/ui/src/i18n/pa.ts @@ -44,10 +44,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "بائنری فائل", "ui.fileMedia.binary.description.path": "{{path}} بائنری اے۔", "ui.fileMedia.binary.description.default": "بائنری مواد", - "ui.lineComment.label.prefix": "ایتھے تبصرہ کرو: ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "ایتھے تبصرہ ہو رہیا اے: ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "ایتھے تبصرہ کرو: {{selection}}", + "ui.lineComment.editorLabel": "ایتھے تبصرہ ہو رہیا اے: {{selection}}", "ui.lineComment.placeholder": "تبصرہ شامل کرو", "ui.lineComment.contextPlaceholder": "اس تبدیلی لئی تناظر شامل کرو", "ui.lineComment.submit": "تبصرہ کرو", @@ -104,8 +102,7 @@ export const dict: Record = { "ui.list.loading": "لوڈ ہو رہیا اے", "ui.list.empty": "کوئی نتیجہ نئیں نکلیا", "ui.list.clearFilter": "فلٹر صاف کرو", - "ui.list.emptyWithFilter.prefix": "لئی کوئی نتیجہ نئیں", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "لئی کوئی نتیجہ نئیں{{query}}", "ui.fileSearch.placeholder": "لبھو", "ui.fileSearch.previousMatch": "پچھلا میل", "ui.fileSearch.nextMatch": "اگلا میل", @@ -140,8 +137,8 @@ export const dict: Record = { "ui.tool.grep": "Grep", "ui.tool.task": "کم", "ui.tool.webfetch": "Webfetch", - "ui.tool.websearch": "Web Search", - "ui.tool.websearch.provider": "{{provider}} Web Search", + "ui.tool.websearch": "ویب تلاش", + "ui.tool.websearch.provider": "{{provider}} ویب تلاش", "ui.tool.shell": "Shell", "ui.tool.patch": "Patch", "ui.tool.todos": "ٹوڈوس", diff --git a/packages/ui/src/i18n/pl.ts b/packages/ui/src/i18n/pl.ts index 680eadf7b9f..ebec5ce0f58 100644 --- a/packages/ui/src/i18n/pl.ts +++ b/packages/ui/src/i18n/pl.ts @@ -44,10 +44,8 @@ export const dict = { "ui.fileMedia.binary.title": "Plik binarny", "ui.fileMedia.binary.description.path": "Nie można wyświetlić pliku {{path}}, ponieważ jest to plik binarny.", "ui.fileMedia.binary.description.default": "Nie można wyświetlić tego pliku, ponieważ jest to plik binarny.", - "ui.lineComment.label.prefix": "Komentarz do ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Komentowanie: ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Komentarz do {{selection}}", + "ui.lineComment.editorLabel": "Komentowanie: {{selection}}", "ui.lineComment.placeholder": "Dodaj komentarz", "ui.lineComment.contextPlaceholder": "Dodaj kontekst tej zmiany", "ui.lineComment.submit": "Skomentuj", @@ -117,8 +115,7 @@ export const dict = { "ui.list.loading": "Ładowanie", "ui.list.empty": "Brak wyników", "ui.list.clearFilter": "Wyczyść filtr", - "ui.list.emptyWithFilter.prefix": "Brak wyników dla", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Brak wyników dla{{query}}", "ui.messageNav.newMessage": "Nowa wiadomość", diff --git a/packages/ui/src/i18n/ro.ts b/packages/ui/src/i18n/ro.ts index 771cf8ff63d..5f0a0ee3d1d 100644 --- a/packages/ui/src/i18n/ro.ts +++ b/packages/ui/src/i18n/ro.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Fișier binar", "ui.fileMedia.binary.description.path": "{{path}} este binar.", "ui.fileMedia.binary.description.default": "Conținut binar", - "ui.lineComment.label.prefix": "Comentează la", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Se comentează la", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Comentează la{{selection}}", + "ui.lineComment.editorLabel": "Se comentează la{{selection}}", "ui.lineComment.placeholder": "Adaugă comentariu", "ui.lineComment.contextPlaceholder": "Adaugă context pentru această modificare", "ui.lineComment.submit": "Comentează", @@ -107,8 +105,7 @@ export const dict: Record = { "ui.list.loading": "Se încarcă", "ui.list.empty": "Niciun rezultat", "ui.list.clearFilter": "Șterge filtrul", - "ui.list.emptyWithFilter.prefix": "Niciun rezultat pentru", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Niciun rezultat pentru{{query}}", "ui.fileSearch.placeholder": "Caută", "ui.fileSearch.previousMatch": "Potrivirea anterioară", "ui.fileSearch.nextMatch": "Potrivirea următoare", diff --git a/packages/ui/src/i18n/ru.ts b/packages/ui/src/i18n/ru.ts index 77bc4ef6db0..d4d108faeb1 100644 --- a/packages/ui/src/i18n/ru.ts +++ b/packages/ui/src/i18n/ru.ts @@ -44,10 +44,8 @@ export const dict = { "ui.fileMedia.binary.title": "Двоичный файл", "ui.fileMedia.binary.description.path": "Невозможно отобразить {{path}}, так как это двоичный файл.", "ui.fileMedia.binary.description.default": "Невозможно отобразить этот файл, так как он двоичный.", - "ui.lineComment.label.prefix": "Комментарий к ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Комментирование: ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Комментарий к {{selection}}", + "ui.lineComment.editorLabel": "Комментирование: {{selection}}", "ui.lineComment.placeholder": "Добавить комментарий", "ui.lineComment.contextPlaceholder": "Добавить контекст для этого изменения", "ui.lineComment.submit": "Добавить комментарий", @@ -117,8 +115,7 @@ export const dict = { "ui.list.loading": "Загрузка", "ui.list.empty": "Нет результатов", "ui.list.clearFilter": "Очистить фильтр", - "ui.list.emptyWithFilter.prefix": "Нет результатов для", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Нет результатов для{{query}}", "ui.messageNav.newMessage": "Новое сообщение", diff --git a/packages/ui/src/i18n/si.ts b/packages/ui/src/i18n/si.ts index 367a9b33c7b..d0d6d39e09a 100644 --- a/packages/ui/src/i18n/si.ts +++ b/packages/ui/src/i18n/si.ts @@ -14,7 +14,7 @@ export const dict: Record = { "ui.sessionReview.image.placeholder": "රූපය", "ui.sessionReview.largeDiff.title": "විදැහුම් කිරීමට විශාල වෙනස", "ui.sessionReview.largeDiff.meta": "සීමාව: {{limit}} රේඛා වෙනස් කර ඇත. වත්මන්: {{current}} වෙනස් කළ රේඛා.", - "ui.sessionReview.largeDiff.renderAnyway": "කොහොම හරි Render කරන්න", + "ui.sessionReview.largeDiff.renderAnyway": "කෙසේ හෝ විදැහුම් කරන්න", "ui.sessionReviewV2.expandMode": "වෙනස පුළුල් කරන්න හෝ හකුළන්න", "ui.sessionReviewV2.filterFiles": "ගොනු පෙරහන් කරන්න", "ui.sessionReviewV2.toggleSidebar": "ගොනු ගස ටොගල් කරන්න", @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "ද්විමය ගොනුව", "ui.fileMedia.binary.description.path": "{{path}} ද්විමය වේ.", "ui.fileMedia.binary.description.default": "ද්විමය අන්තර්ගතය", - "ui.lineComment.label.prefix": "අදහස් දක්වන්න", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "අදහස් දක්වමින්", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "අදහස් දක්වන්න{{selection}}", + "ui.lineComment.editorLabel": "අදහස් දක්වමින්{{selection}}", "ui.lineComment.placeholder": "අදහස් එක් කරන්න", "ui.lineComment.contextPlaceholder": "මෙම වෙනස සඳහා සන්දර්භය එක් කරන්න", "ui.lineComment.submit": "අදහස් දක්වන්න", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "පැටවීම", "ui.list.empty": "ප්‍රතිඵල නැත", "ui.list.clearFilter": "පෙරහන හිස් කරන්න", - "ui.list.emptyWithFilter.prefix": "සඳහා ප්‍රතිඵල නැත", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "සඳහා ප්‍රතිඵල නැත{{query}}", "ui.fileSearch.placeholder": "සොයන්න", "ui.fileSearch.previousMatch": "පෙර තරගය", "ui.fileSearch.nextMatch": "ඊළඟ තරගය", @@ -139,8 +136,8 @@ export const dict: Record = { "ui.tool.grep": "Grep", "ui.tool.task": "කාර්යය", "ui.tool.webfetch": "Webfetch", - "ui.tool.websearch": "Web Search", - "ui.tool.websearch.provider": "{{provider}} Web Search", + "ui.tool.websearch": "වෙබ් සෙවුම", + "ui.tool.websearch.provider": "{{provider}} වෙබ් සෙවුම", "ui.tool.shell": "ෂෙල්", "ui.tool.patch": "පැච්", "ui.tool.todos": "කළ යුතු දේ", diff --git a/packages/ui/src/i18n/sk.ts b/packages/ui/src/i18n/sk.ts index 90063ced929..649724287cb 100644 --- a/packages/ui/src/i18n/sk.ts +++ b/packages/ui/src/i18n/sk.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Binárny súbor", "ui.fileMedia.binary.description.path": "{{path}} je binárny súbor.", "ui.fileMedia.binary.description.default": "Binárny obsah", - "ui.lineComment.label.prefix": "Komentár k", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Komentujete", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Komentár k{{selection}}", + "ui.lineComment.editorLabel": "Komentujete{{selection}}", "ui.lineComment.placeholder": "Pridať komentár", "ui.lineComment.contextPlaceholder": "Pridať kontext k tejto zmene", "ui.lineComment.submit": "Komentovať", @@ -111,8 +109,7 @@ export const dict: Record = { "ui.list.loading": "Načítava sa", "ui.list.empty": "Žiadne výsledky", "ui.list.clearFilter": "Vymazať filter", - "ui.list.emptyWithFilter.prefix": "Žiadne výsledky pre", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Žiadne výsledky pre{{query}}", "ui.fileSearch.placeholder": "Hľadať", "ui.fileSearch.previousMatch": "Predchádzajúca zhoda", "ui.fileSearch.nextMatch": "Nasledujúca zhoda", diff --git a/packages/ui/src/i18n/sl.ts b/packages/ui/src/i18n/sl.ts index bc5a4a85761..c8a0bbbe09d 100644 --- a/packages/ui/src/i18n/sl.ts +++ b/packages/ui/src/i18n/sl.ts @@ -44,10 +44,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Binarna datoteka", "ui.fileMedia.binary.description.path": "{{path}} je binaren.", "ui.fileMedia.binary.description.default": "Binarna vsebina", - "ui.lineComment.label.prefix": "Komentiraj ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Komentiranje ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Komentiraj {{selection}}", + "ui.lineComment.editorLabel": "Komentiranje {{selection}}", "ui.lineComment.placeholder": "Dodaj komentar", "ui.lineComment.contextPlaceholder": "Dodajte kontekst za to spremembo", "ui.lineComment.submit": "Komentiraj", @@ -112,8 +110,7 @@ export const dict: Record = { "ui.list.loading": "Nalaganje", "ui.list.empty": "Brez rezultatov", "ui.list.clearFilter": "Počisti filter", - "ui.list.emptyWithFilter.prefix": "Ni rezultatov za", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Ni rezultatov za{{query}}", "ui.fileSearch.placeholder": "Najdi", "ui.fileSearch.previousMatch": "Prejšnja tekma", "ui.fileSearch.nextMatch": "Naslednja tekma", diff --git a/packages/ui/src/i18n/sq.ts b/packages/ui/src/i18n/sq.ts index d7261b318d4..404f81724a0 100644 --- a/packages/ui/src/i18n/sq.ts +++ b/packages/ui/src/i18n/sq.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Skedar binar", "ui.fileMedia.binary.description.path": "{{path}} është binare.", "ui.fileMedia.binary.description.default": "Përmbajtja binare", - "ui.lineComment.label.prefix": "Komentoni ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Duke komentuar ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Komentoni {{selection}}", + "ui.lineComment.editorLabel": "Duke komentuar {{selection}}", "ui.lineComment.placeholder": "Shto koment", "ui.lineComment.contextPlaceholder": "Shto kontekst për këtë ndryshim", "ui.lineComment.submit": "Komentoni", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "Po ngarkohet", "ui.list.empty": "Nuk ka rezultate", "ui.list.clearFilter": "Pastro filtrin", - "ui.list.emptyWithFilter.prefix": "Nuk ka rezultate për", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Nuk ka rezultate për{{query}}", "ui.fileSearch.placeholder": "Gjeni", "ui.fileSearch.previousMatch": "Ndeshja e mëparshme", "ui.fileSearch.nextMatch": "Ndeshja e radhës", diff --git a/packages/ui/src/i18n/sr.ts b/packages/ui/src/i18n/sr.ts index cb2379e534e..0797eb6b09b 100644 --- a/packages/ui/src/i18n/sr.ts +++ b/packages/ui/src/i18n/sr.ts @@ -44,10 +44,8 @@ export const dict = { "ui.fileMedia.binary.title": "Бинарна датотека", "ui.fileMedia.binary.description.path": "{{path}} је бинарни.", "ui.fileMedia.binary.description.default": "бинарни садржај", - "ui.lineComment.label.prefix": "Коментирајте", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "коментаришем", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Коментирајте{{selection}}", + "ui.lineComment.editorLabel": "коментаришем{{selection}}", "ui.lineComment.placeholder": "Додајте коментар", "ui.lineComment.contextPlaceholder": "Додајте контекст за ову промену", "ui.lineComment.submit": "Коментар", @@ -108,8 +106,7 @@ export const dict = { "ui.list.loading": "Учитавање", "ui.list.empty": "Нема резултата", "ui.list.clearFilter": "Обриши филтер", - "ui.list.emptyWithFilter.prefix": "Нема резултата за", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Нема резултата за{{query}}", "ui.fileSearch.placeholder": "Пронађи", "ui.fileSearch.previousMatch": "Претходно подударање", "ui.fileSearch.nextMatch": "Следеће подударање", diff --git a/packages/ui/src/i18n/sv.ts b/packages/ui/src/i18n/sv.ts index 921c2a59419..ac005456a14 100644 --- a/packages/ui/src/i18n/sv.ts +++ b/packages/ui/src/i18n/sv.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Binär fil", "ui.fileMedia.binary.description.path": "{{path}} är binär.", "ui.fileMedia.binary.description.default": "Binärt innehåll", - "ui.lineComment.label.prefix": "Kommentera ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Kommenterar ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Kommentera {{selection}}", + "ui.lineComment.editorLabel": "Kommenterar {{selection}}", "ui.lineComment.placeholder": "Lägg till kommentar", "ui.lineComment.contextPlaceholder": "Lägg till kontext för den här ändringen", "ui.lineComment.submit": "Kommentera", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "Laddar", "ui.list.empty": "Inga resultat", "ui.list.clearFilter": "Rensa filter", - "ui.list.emptyWithFilter.prefix": "Inga resultat för", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Inga resultat för{{query}}", "ui.fileSearch.placeholder": "Hitta", "ui.fileSearch.previousMatch": "Föregående match", "ui.fileSearch.nextMatch": "Nästa match", diff --git a/packages/ui/src/i18n/tg.ts b/packages/ui/src/i18n/tg.ts index 210662b01ff..b6b664e1072 100644 --- a/packages/ui/src/i18n/tg.ts +++ b/packages/ui/src/i18n/tg.ts @@ -43,10 +43,8 @@ export const dict = { "ui.fileMedia.binary.title": "Файли дуӣ", "ui.fileMedia.binary.description.path": "{{path}} дуӣ аст.", "ui.fileMedia.binary.description.default": "Мундариҷаи дуӣ", - "ui.lineComment.label.prefix": "Шарҳ дар бораи", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Шарҳ дар бораи", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Шарҳ дар бораи{{selection}}", + "ui.lineComment.editorLabel": "Шарҳ дар бораи{{selection}}", "ui.lineComment.placeholder": "Иловаи шарҳ", "ui.lineComment.contextPlaceholder": "Барои ин тағирот контекст илова кунед", "ui.lineComment.submit": "Шарҳ", @@ -103,8 +101,7 @@ export const dict = { "ui.list.loading": "Бор карда мешавад", "ui.list.empty": "Ҳеҷ натиҷае нест", "ui.list.clearFilter": "Филтрро тоза кунед", - "ui.list.emptyWithFilter.prefix": "Ягон натиҷа барои", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Ягон натиҷа барои{{query}}", "ui.fileSearch.placeholder": "Пайдо кунед", "ui.fileSearch.previousMatch": "Бозии қаблӣ", "ui.fileSearch.nextMatch": "Бозии навбатй", diff --git a/packages/ui/src/i18n/th.ts b/packages/ui/src/i18n/th.ts index a0aecbe7c1f..0276f64f30e 100644 --- a/packages/ui/src/i18n/th.ts +++ b/packages/ui/src/i18n/th.ts @@ -44,10 +44,8 @@ export const dict = { "ui.fileMedia.binary.description.path": "{{path}} เป็นไฟล์ไบนารีและไม่สามารถแสดงผลได้", "ui.fileMedia.binary.description.default": "ไฟล์ไบนารีไม่สามารถแสดงผลได้", - "ui.lineComment.label.prefix": "แสดงความคิดเห็นที่ ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "กำลังแสดงความคิดเห็นที่ ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "แสดงความคิดเห็นที่ {{selection}}", + "ui.lineComment.editorLabel": "กำลังแสดงความคิดเห็นที่ {{selection}}", "ui.lineComment.placeholder": "เพิ่มความคิดเห็น", "ui.lineComment.contextPlaceholder": "เพิ่มบริบทสำหรับการเปลี่ยนแปลงนี้", "ui.lineComment.submit": "แสดงความคิดเห็น", @@ -110,8 +108,7 @@ export const dict = { "ui.list.loading": "กำลังโหลด", "ui.list.empty": "ไม่มีผลลัพธ์", "ui.list.clearFilter": "ล้างตัวกรอง", - "ui.list.emptyWithFilter.prefix": "ไม่มีผลลัพธ์สำหรับ", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "ไม่มีผลลัพธ์สำหรับ{{query}}", "ui.messageNav.newMessage": "ข้อความใหม่", diff --git a/packages/ui/src/i18n/tk.ts b/packages/ui/src/i18n/tk.ts index e89f7d3538d..be1c8030eab 100644 --- a/packages/ui/src/i18n/tk.ts +++ b/packages/ui/src/i18n/tk.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Ikilik faýl", "ui.fileMedia.binary.description.path": "{{path}} ikilikdir.", "ui.fileMedia.binary.description.default": "Ikilik mazmuny", - "ui.lineComment.label.prefix": "Düşündiriş ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Düşündiriş ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Düşündiriş {{selection}}", + "ui.lineComment.editorLabel": "Düşündiriş {{selection}}", "ui.lineComment.placeholder": "Teswir goşuň", "ui.lineComment.contextPlaceholder": "Bu üýtgeşmäniň mazmunyny goşuň", "ui.lineComment.submit": "Düşündiriş", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "Adingüklemek", "ui.list.empty": "Netije ýok", "ui.list.clearFilter": "Süzgüçi arassalaň", - "ui.list.emptyWithFilter.prefix": "Netije ýok", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Netije ýok{{query}}", "ui.fileSearch.placeholder": "Tap", "ui.fileSearch.previousMatch": "Öňki oýun", "ui.fileSearch.nextMatch": "Indiki oýun", diff --git a/packages/ui/src/i18n/tr.ts b/packages/ui/src/i18n/tr.ts index 6dd2cd0e321..cdfcc37c509 100644 --- a/packages/ui/src/i18n/tr.ts +++ b/packages/ui/src/i18n/tr.ts @@ -50,10 +50,8 @@ export const dict = { "ui.fileMedia.binary.description.path": "{{path}} ikili dosyadır.", "ui.fileMedia.binary.description.default": "İkili içerik", - "ui.lineComment.label.prefix": "Yorum: ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Yorum yapılıyor: ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Yorum: {{selection}}", + "ui.lineComment.editorLabel": "Yorum yapılıyor: {{selection}}", "ui.lineComment.placeholder": "Yorum ekle", "ui.lineComment.contextPlaceholder": "Bu değişiklik için bağlam ekle", "ui.lineComment.submit": "Yorum yap", @@ -116,8 +114,7 @@ export const dict = { "ui.list.loading": "Yükleniyor", "ui.list.empty": "Sonuç bulunamadı", "ui.list.clearFilter": "Filtreyi temizle", - "ui.list.emptyWithFilter.prefix": "Sonuç bulunamadı:", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Sonuç bulunamadı:{{query}}", "ui.messageNav.newMessage": "Yeni mesaj", diff --git a/packages/ui/src/i18n/uk.ts b/packages/ui/src/i18n/uk.ts index e48f7c1a65a..efc7b5881a9 100644 --- a/packages/ui/src/i18n/uk.ts +++ b/packages/ui/src/i18n/uk.ts @@ -46,10 +46,8 @@ export const dict: Record = { "ui.fileMedia.binary.description.path": "Неможливо відобразити {{path}}, оскільки це двійковий файл.", "ui.fileMedia.binary.description.default": "Неможливо відобразити цей файл, оскільки він двійковий.", - "ui.lineComment.label.prefix": "Коментар до ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Коментування: ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Коментар до {{selection}}", + "ui.lineComment.editorLabel": "Коментування: {{selection}}", "ui.lineComment.placeholder": "Додати коментар", "ui.lineComment.contextPlaceholder": "Додати контекст для цієї зміни", "ui.lineComment.submit": "Коментувати", @@ -120,8 +118,7 @@ export const dict: Record = { "ui.list.loading": "Завантаження", "ui.list.empty": "Немає результатів", "ui.list.clearFilter": "Очистити фільтр", - "ui.list.emptyWithFilter.prefix": "Немає результатів для", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Немає результатів для{{query}}", "ui.fileSearch.placeholder": "Знайти", "ui.fileSearch.previousMatch": "Попередній збіг", diff --git a/packages/ui/src/i18n/ur.ts b/packages/ui/src/i18n/ur.ts index d235a076001..f43c60f5cc5 100644 --- a/packages/ui/src/i18n/ur.ts +++ b/packages/ui/src/i18n/ur.ts @@ -44,10 +44,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "بائنری فائل", "ui.fileMedia.binary.description.path": "{{path}} بائنری ہے۔", "ui.fileMedia.binary.description.default": "بائنری مواد", - "ui.lineComment.label.prefix": "اس پر تبصرہ: ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "اس پر تبصرہ کیا جا رہا ہے: ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "اس پر تبصرہ: {{selection}}", + "ui.lineComment.editorLabel": "اس پر تبصرہ کیا جا رہا ہے: {{selection}}", "ui.lineComment.placeholder": "تبصرہ شامل کریں۔", "ui.lineComment.contextPlaceholder": "اس تبدیلی کا سیاق و سباق شامل کریں", "ui.lineComment.submit": "تبصرہ کریں", @@ -104,8 +102,7 @@ export const dict: Record = { "ui.list.loading": "لوڈ ہو رہا ہے۔", "ui.list.empty": "کوئی نتیجہ نہیں ملا", "ui.list.clearFilter": "فلٹر صاف کریں۔", - "ui.list.emptyWithFilter.prefix": "اس کے لیے کوئی نتیجہ نہیں ملا: ", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "اس کے لیے کوئی نتیجہ نہیں ملا: {{query}}", "ui.fileSearch.placeholder": "تلاش کریں۔", "ui.fileSearch.previousMatch": "پچھلی مماثلت", "ui.fileSearch.nextMatch": "اگلی مماثلت", diff --git a/packages/ui/src/i18n/uz.ts b/packages/ui/src/i18n/uz.ts index 8dd4eb18f0d..9d05aafd795 100644 --- a/packages/ui/src/i18n/uz.ts +++ b/packages/ui/src/i18n/uz.ts @@ -45,10 +45,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Ikkilik fayl", "ui.fileMedia.binary.description.path": "{{path}} ikkilikdir.", "ui.fileMedia.binary.description.default": "Ikkilik tarkib", - "ui.lineComment.label.prefix": "Fikr bildiring ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Fikr bildirish ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Fikr bildiring {{selection}}", + "ui.lineComment.editorLabel": "Fikr bildirish {{selection}}", "ui.lineComment.placeholder": "Fikr qo'shing", "ui.lineComment.contextPlaceholder": "Ushbu o'zgarish uchun kontekst qo'shing", "ui.lineComment.submit": "Izoh", @@ -105,8 +103,7 @@ export const dict: Record = { "ui.list.loading": "Yuklanmoqda", "ui.list.empty": "Natija yoʻq", "ui.list.clearFilter": "Filtrni tozalash", - "ui.list.emptyWithFilter.prefix": "uchun hech qanday natija topilmadi", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "uchun hech qanday natija topilmadi{{query}}", "ui.fileSearch.placeholder": "Toping", "ui.fileSearch.previousMatch": "Oldingi o'yin", "ui.fileSearch.nextMatch": "Keyingi o'yin", diff --git a/packages/ui/src/i18n/vi.ts b/packages/ui/src/i18n/vi.ts index 7db5f0975e9..237bb6f8906 100644 --- a/packages/ui/src/i18n/vi.ts +++ b/packages/ui/src/i18n/vi.ts @@ -43,10 +43,8 @@ export const dict: Record = { "ui.fileMedia.binary.title": "Tệp nhị phân", "ui.fileMedia.binary.description.path": "{{path}} là nhị phân.", "ui.fileMedia.binary.description.default": "Nội dung nhị phân", - "ui.lineComment.label.prefix": "Bình luận về ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "Bình luận về ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "Bình luận về {{selection}}", + "ui.lineComment.editorLabel": "Bình luận về {{selection}}", "ui.lineComment.placeholder": "Thêm nhận xét", "ui.lineComment.contextPlaceholder": "Thêm ngữ cảnh cho thay đổi này", "ui.lineComment.submit": "Bình luận", @@ -103,8 +101,7 @@ export const dict: Record = { "ui.list.loading": "Đang tải", "ui.list.empty": "Không có kết quả", "ui.list.clearFilter": "Xóa bộ lọc", - "ui.list.emptyWithFilter.prefix": "Không có kết quả cho", - "ui.list.emptyWithFilter.suffix": "", + "ui.list.emptyWithFilter": "Không có kết quả cho{{query}}", "ui.fileSearch.placeholder": "Tìm", "ui.fileSearch.previousMatch": "Kết quả khớp trước", "ui.fileSearch.nextMatch": "Kết quả khớp tiếp theo", diff --git a/packages/ui/src/i18n/zh.ts b/packages/ui/src/i18n/zh.ts index b0d75b9181f..a757aaad08c 100644 --- a/packages/ui/src/i18n/zh.ts +++ b/packages/ui/src/i18n/zh.ts @@ -48,10 +48,8 @@ export const dict = { "ui.fileMedia.binary.description.path": "无法显示 {{path}},因为它是二进制文件。", "ui.fileMedia.binary.description.default": "无法显示此文件,因为它是二进制文件。", - "ui.lineComment.label.prefix": "评论", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "正在评论", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "评论{{selection}}", + "ui.lineComment.editorLabel": "正在评论{{selection}}", "ui.lineComment.placeholder": "添加评论", "ui.lineComment.contextPlaceholder": "添加此更改的上下文", "ui.lineComment.submit": "发布评论", @@ -112,8 +110,7 @@ export const dict = { "ui.list.loading": "加载中", "ui.list.empty": "无结果", "ui.list.clearFilter": "清除筛选", - "ui.list.emptyWithFilter.prefix": "没有关于", - "ui.list.emptyWithFilter.suffix": "的结果", + "ui.list.emptyWithFilter": "没有关于{{query}}的结果", "ui.messageNav.newMessage": "新消息", diff --git a/packages/ui/src/i18n/zht.ts b/packages/ui/src/i18n/zht.ts index 28ceac4f427..3756205ce7d 100644 --- a/packages/ui/src/i18n/zht.ts +++ b/packages/ui/src/i18n/zht.ts @@ -48,10 +48,8 @@ export const dict = { "ui.fileMedia.binary.description.path": "無法顯示 {{path}},因為它是二進位檔案。", "ui.fileMedia.binary.description.default": "無法顯示此檔案,因為它是二進位檔案。", - "ui.lineComment.label.prefix": "留言於 ", - "ui.lineComment.label.suffix": "", - "ui.lineComment.editorLabel.prefix": "正在留言於 ", - "ui.lineComment.editorLabel.suffix": "", + "ui.lineComment.label": "留言於 {{selection}}", + "ui.lineComment.editorLabel": "正在留言於 {{selection}}", "ui.lineComment.placeholder": "新增留言", "ui.lineComment.contextPlaceholder": "新增此變更的相關資訊", "ui.lineComment.submit": "留言", @@ -112,8 +110,7 @@ export const dict = { "ui.list.loading": "載入中", "ui.list.empty": "無結果", "ui.list.clearFilter": "清除篩選", - "ui.list.emptyWithFilter.prefix": "沒有關於", - "ui.list.emptyWithFilter.suffix": "的結果", + "ui.list.emptyWithFilter": "沒有關於{{query}}的結果", "ui.messageNav.newMessage": "新訊息",