@opencode-ai/ui 0.0.0-dev-202608040433 → 0.0.0-dev-202608040451

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,18 @@
1
1
  import { type Accessor, type ParentProps } from "solid-js";
2
2
  import { dict as en } from "../i18n/en";
3
3
  export type UiI18nKey = keyof typeof en;
4
+ export declare const UI_PLURAL_KEYS: readonly ["ui.sessionTurn.diffs.changed", "ui.messagePart.context.read", "ui.messagePart.context.search", "ui.messagePart.context.list"];
5
+ export type UiI18nPluralKey = (typeof UI_PLURAL_KEYS)[number];
6
+ export type UiPluralCategory = "zero" | "one" | "two" | "few" | "many" | "other";
7
+ export type UiI18nPluralLookupKey = `${UiI18nPluralKey}.${UiPluralCategory}`;
4
8
  export type UiI18nParams = Record<string, string | number | boolean>;
5
9
  export type UiI18n = {
6
10
  locale: Accessor<string>;
7
11
  t: (key: UiI18nKey, params?: UiI18nParams) => string;
12
+ plural: (key: UiI18nPluralKey, count: number, params?: UiI18nParams) => string;
8
13
  };
14
+ export declare function pluralCategory(locale: string, count: number): UiPluralCategory;
15
+ export declare function pluralKey(key: UiI18nPluralKey, category: UiPluralCategory): UiI18nPluralLookupKey;
9
16
  export declare function I18nProvider(props: ParentProps<{
10
17
  value: UiI18n;
11
18
  }>): import("solid-js").JSX.Element;
package/dist/i18n/ar.d.ts CHANGED
@@ -55,6 +55,10 @@ export declare const dict: {
55
55
  "ui.sessionTurn.summary.response": string;
56
56
  "ui.sessionTurn.diff.showMore": string;
57
57
  "ui.sessionTurn.diffs.changed.one": string;
58
+ "ui.sessionTurn.diffs.changed.zero": string;
59
+ "ui.sessionTurn.diffs.changed.two": string;
60
+ "ui.sessionTurn.diffs.changed.few": string;
61
+ "ui.sessionTurn.diffs.changed.many": string;
58
62
  "ui.sessionTurn.diffs.changed.other": string;
59
63
  "ui.sessionTurn.diffs.showAll": string;
60
64
  "ui.sessionTurn.diffs.showLess": string;
@@ -87,10 +91,22 @@ export declare const dict: {
87
91
  "ui.messagePart.questions.dismissed": string;
88
92
  "ui.messagePart.compaction": string;
89
93
  "ui.messagePart.context.read.one": string;
94
+ "ui.messagePart.context.read.zero": string;
95
+ "ui.messagePart.context.read.two": string;
96
+ "ui.messagePart.context.read.few": string;
97
+ "ui.messagePart.context.read.many": string;
90
98
  "ui.messagePart.context.read.other": string;
91
99
  "ui.messagePart.context.search.one": string;
100
+ "ui.messagePart.context.search.zero": string;
101
+ "ui.messagePart.context.search.two": string;
102
+ "ui.messagePart.context.search.few": string;
103
+ "ui.messagePart.context.search.many": string;
92
104
  "ui.messagePart.context.search.other": string;
93
105
  "ui.messagePart.context.list.one": string;
106
+ "ui.messagePart.context.list.zero": string;
107
+ "ui.messagePart.context.list.two": string;
108
+ "ui.messagePart.context.list.few": string;
109
+ "ui.messagePart.context.list.many": string;
94
110
  "ui.messagePart.context.list.other": string;
95
111
  "ui.messagePart.diagnostic.error": string;
96
112
  "ui.messagePart.title.edit": string;
package/dist/i18n/br.d.ts CHANGED
@@ -55,6 +55,7 @@ export declare const dict: {
55
55
  "ui.sessionTurn.summary.response": string;
56
56
  "ui.sessionTurn.diff.showMore": string;
57
57
  "ui.sessionTurn.diffs.changed.one": string;
58
+ "ui.sessionTurn.diffs.changed.many": string;
58
59
  "ui.sessionTurn.diffs.changed.other": string;
59
60
  "ui.sessionTurn.diffs.showAll": string;
60
61
  "ui.sessionTurn.diffs.showLess": string;
@@ -87,10 +88,13 @@ export declare const dict: {
87
88
  "ui.messagePart.questions.dismissed": string;
88
89
  "ui.messagePart.compaction": string;
89
90
  "ui.messagePart.context.read.one": string;
91
+ "ui.messagePart.context.read.many": string;
90
92
  "ui.messagePart.context.read.other": string;
91
93
  "ui.messagePart.context.search.one": string;
94
+ "ui.messagePart.context.search.many": string;
92
95
  "ui.messagePart.context.search.other": string;
93
96
  "ui.messagePart.context.list.one": string;
97
+ "ui.messagePart.context.list.many": string;
94
98
  "ui.messagePart.context.list.other": string;
95
99
  "ui.messagePart.diagnostic.error": string;
96
100
  "ui.messagePart.title.edit": string;
package/dist/i18n/bs.d.ts CHANGED
@@ -55,6 +55,7 @@ export declare const dict: {
55
55
  "ui.sessionTurn.summary.response": string;
56
56
  "ui.sessionTurn.diff.showMore": string;
57
57
  "ui.sessionTurn.diffs.changed.one": string;
58
+ "ui.sessionTurn.diffs.changed.few": string;
58
59
  "ui.sessionTurn.diffs.changed.other": string;
59
60
  "ui.sessionTurn.diffs.showAll": string;
60
61
  "ui.sessionTurn.diffs.showLess": string;
@@ -87,10 +88,13 @@ export declare const dict: {
87
88
  "ui.messagePart.questions.dismissed": string;
88
89
  "ui.messagePart.compaction": string;
89
90
  "ui.messagePart.context.read.one": string;
91
+ "ui.messagePart.context.read.few": string;
90
92
  "ui.messagePart.context.read.other": string;
91
93
  "ui.messagePart.context.search.one": string;
94
+ "ui.messagePart.context.search.few": string;
92
95
  "ui.messagePart.context.search.other": string;
93
96
  "ui.messagePart.context.list.one": string;
97
+ "ui.messagePart.context.list.few": string;
94
98
  "ui.messagePart.context.list.other": string;
95
99
  "ui.messagePart.diagnostic.error": string;
96
100
  "ui.messagePart.title.edit": string;
package/dist/i18n/es.d.ts CHANGED
@@ -55,6 +55,7 @@ export declare const dict: {
55
55
  "ui.sessionTurn.summary.response": string;
56
56
  "ui.sessionTurn.diff.showMore": string;
57
57
  "ui.sessionTurn.diffs.changed.one": string;
58
+ "ui.sessionTurn.diffs.changed.many": string;
58
59
  "ui.sessionTurn.diffs.changed.other": string;
59
60
  "ui.sessionTurn.diffs.showAll": string;
60
61
  "ui.sessionTurn.diffs.showLess": string;
@@ -87,10 +88,13 @@ export declare const dict: {
87
88
  "ui.messagePart.questions.dismissed": string;
88
89
  "ui.messagePart.compaction": string;
89
90
  "ui.messagePart.context.read.one": string;
91
+ "ui.messagePart.context.read.many": string;
90
92
  "ui.messagePart.context.read.other": string;
91
93
  "ui.messagePart.context.search.one": string;
94
+ "ui.messagePart.context.search.many": string;
92
95
  "ui.messagePart.context.search.other": string;
93
96
  "ui.messagePart.context.list.one": string;
97
+ "ui.messagePart.context.list.many": string;
94
98
  "ui.messagePart.context.list.other": string;
95
99
  "ui.messagePart.diagnostic.error": string;
96
100
  "ui.messagePart.title.edit": string;
package/dist/i18n/fr.d.ts CHANGED
@@ -55,6 +55,7 @@ export declare const dict: {
55
55
  "ui.sessionTurn.summary.response": string;
56
56
  "ui.sessionTurn.diff.showMore": string;
57
57
  "ui.sessionTurn.diffs.changed.one": string;
58
+ "ui.sessionTurn.diffs.changed.many": string;
58
59
  "ui.sessionTurn.diffs.changed.other": string;
59
60
  "ui.sessionTurn.diffs.showAll": string;
60
61
  "ui.sessionTurn.diffs.showLess": string;
@@ -87,10 +88,13 @@ export declare const dict: {
87
88
  "ui.messagePart.questions.dismissed": string;
88
89
  "ui.messagePart.compaction": string;
89
90
  "ui.messagePart.context.read.one": string;
91
+ "ui.messagePart.context.read.many": string;
90
92
  "ui.messagePart.context.read.other": string;
91
93
  "ui.messagePart.context.search.one": string;
94
+ "ui.messagePart.context.search.many": string;
92
95
  "ui.messagePart.context.search.other": string;
93
96
  "ui.messagePart.context.list.one": string;
97
+ "ui.messagePart.context.list.many": string;
94
98
  "ui.messagePart.context.list.other": string;
95
99
  "ui.messagePart.diagnostic.error": string;
96
100
  "ui.messagePart.title.edit": string;
package/dist/i18n/pl.d.ts CHANGED
@@ -55,6 +55,8 @@ export declare const dict: {
55
55
  "ui.sessionTurn.summary.response": string;
56
56
  "ui.sessionTurn.diff.showMore": string;
57
57
  "ui.sessionTurn.diffs.changed.one": string;
58
+ "ui.sessionTurn.diffs.changed.few": string;
59
+ "ui.sessionTurn.diffs.changed.many": string;
58
60
  "ui.sessionTurn.diffs.changed.other": string;
59
61
  "ui.sessionTurn.diffs.showAll": string;
60
62
  "ui.sessionTurn.diffs.showLess": string;
@@ -87,10 +89,16 @@ export declare const dict: {
87
89
  "ui.messagePart.questions.dismissed": string;
88
90
  "ui.messagePart.compaction": string;
89
91
  "ui.messagePart.context.read.one": string;
92
+ "ui.messagePart.context.read.few": string;
93
+ "ui.messagePart.context.read.many": string;
90
94
  "ui.messagePart.context.read.other": string;
91
95
  "ui.messagePart.context.search.one": string;
96
+ "ui.messagePart.context.search.few": string;
97
+ "ui.messagePart.context.search.many": string;
92
98
  "ui.messagePart.context.search.other": string;
93
99
  "ui.messagePart.context.list.one": string;
100
+ "ui.messagePart.context.list.few": string;
101
+ "ui.messagePart.context.list.many": string;
94
102
  "ui.messagePart.context.list.other": string;
95
103
  "ui.messagePart.diagnostic.error": string;
96
104
  "ui.messagePart.title.edit": string;
package/dist/i18n/ru.d.ts CHANGED
@@ -55,6 +55,8 @@ export declare const dict: {
55
55
  "ui.sessionTurn.summary.response": string;
56
56
  "ui.sessionTurn.diff.showMore": string;
57
57
  "ui.sessionTurn.diffs.changed.one": string;
58
+ "ui.sessionTurn.diffs.changed.few": string;
59
+ "ui.sessionTurn.diffs.changed.many": string;
58
60
  "ui.sessionTurn.diffs.changed.other": string;
59
61
  "ui.sessionTurn.diffs.showAll": string;
60
62
  "ui.sessionTurn.diffs.showLess": string;
@@ -87,10 +89,16 @@ export declare const dict: {
87
89
  "ui.messagePart.questions.dismissed": string;
88
90
  "ui.messagePart.compaction": string;
89
91
  "ui.messagePart.context.read.one": string;
92
+ "ui.messagePart.context.read.few": string;
93
+ "ui.messagePart.context.read.many": string;
90
94
  "ui.messagePart.context.read.other": string;
91
95
  "ui.messagePart.context.search.one": string;
96
+ "ui.messagePart.context.search.few": string;
97
+ "ui.messagePart.context.search.many": string;
92
98
  "ui.messagePart.context.search.other": string;
93
99
  "ui.messagePart.context.list.one": string;
100
+ "ui.messagePart.context.list.few": string;
101
+ "ui.messagePart.context.list.many": string;
94
102
  "ui.messagePart.context.list.other": string;
95
103
  "ui.messagePart.diagnostic.error": string;
96
104
  "ui.messagePart.title.edit": string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode-ai/ui",
3
- "version": "0.0.0-dev-202608040433",
3
+ "version": "0.0.0-dev-202608040451",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -3,11 +3,37 @@ import { dict as en } from "../i18n/en"
3
3
 
4
4
  export type UiI18nKey = keyof typeof en
5
5
 
6
+ export const UI_PLURAL_KEYS = [
7
+ "ui.sessionTurn.diffs.changed",
8
+ "ui.messagePart.context.read",
9
+ "ui.messagePart.context.search",
10
+ "ui.messagePart.context.list",
11
+ ] as const
12
+ export type UiI18nPluralKey = (typeof UI_PLURAL_KEYS)[number]
13
+ export type UiPluralCategory = "zero" | "one" | "two" | "few" | "many" | "other"
14
+ export type UiI18nPluralLookupKey = `${UiI18nPluralKey}.${UiPluralCategory}`
15
+
6
16
  export type UiI18nParams = Record<string, string | number | boolean>
7
17
 
8
18
  export type UiI18n = {
9
19
  locale: Accessor<string>
10
20
  t: (key: UiI18nKey, params?: UiI18nParams) => string
21
+ plural: (key: UiI18nPluralKey, count: number, params?: UiI18nParams) => string
22
+ }
23
+
24
+ const rules = new Map<string, Intl.PluralRules>()
25
+
26
+ export function pluralCategory(locale: string, count: number): UiPluralCategory {
27
+ const cached = rules.get(locale)
28
+ if (cached) return cached.select(count)
29
+ const next = new Intl.PluralRules(locale)
30
+ if (rules.size >= 32) rules.delete(rules.keys().next().value!)
31
+ rules.set(locale, next)
32
+ return next.select(count)
33
+ }
34
+
35
+ export function pluralKey(key: UiI18nPluralKey, category: UiPluralCategory) {
36
+ return `${key}.${category}` as UiI18nPluralLookupKey
11
37
  }
12
38
 
13
39
  function resolveTemplate(text: string, params?: UiI18nParams) {
@@ -25,6 +51,8 @@ const fallback: UiI18n = {
25
51
  const value = en[key] ?? String(key)
26
52
  return resolveTemplate(value, params)
27
53
  },
54
+ plural: (key, count, params) =>
55
+ fallback.t(pluralKey(key, pluralCategory(fallback.locale(), count)), { ...params, count }),
28
56
  }
29
57
 
30
58
  const Context = createContext<UiI18n>(fallback)
package/src/i18n/ar.ts CHANGED
@@ -57,6 +57,10 @@ export const dict = {
57
57
  "ui.sessionTurn.summary.response": "استجابة",
58
58
  "ui.sessionTurn.diff.showMore": "إظهار المزيد من التغييرات ({{count}})",
59
59
  "ui.sessionTurn.diffs.changed.one": "ملف معدل: {{count}}",
60
+ "ui.sessionTurn.diffs.changed.zero": "الملفات المعدلة: {{count}}",
61
+ "ui.sessionTurn.diffs.changed.two": "عدد الملفات المعدلة: {{count}}",
62
+ "ui.sessionTurn.diffs.changed.few": "الملفات المعدلة: {{count}}",
63
+ "ui.sessionTurn.diffs.changed.many": "الملفات المعدلة: {{count}}",
60
64
  "ui.sessionTurn.diffs.changed.other": "الملفات المعدلة: {{count}}",
61
65
  "ui.sessionTurn.diffs.showAll": "إظهار الكل",
62
66
  "ui.sessionTurn.diffs.showLess": "إظهار عدد أقل",
@@ -95,10 +99,22 @@ export const dict = {
95
99
  "ui.messagePart.questions.dismissed": "تم إهمال الأسئلة",
96
100
  "ui.messagePart.compaction": "تم اختصار الجلسة",
97
101
  "ui.messagePart.context.read.one": "{{count}} قراءة",
102
+ "ui.messagePart.context.read.zero": "{{count}} قراءة",
103
+ "ui.messagePart.context.read.two": "عدد القراءات: {{count}}",
104
+ "ui.messagePart.context.read.few": "{{count}} قراءات",
105
+ "ui.messagePart.context.read.many": "{{count}} قراءةً",
98
106
  "ui.messagePart.context.read.other": "{{count}} قراءات",
99
107
  "ui.messagePart.context.search.one": "{{count}} بحث",
108
+ "ui.messagePart.context.search.zero": "{{count}} عملية بحث",
109
+ "ui.messagePart.context.search.two": "عدد عمليات البحث: {{count}}",
110
+ "ui.messagePart.context.search.few": "{{count}} عمليات بحث",
111
+ "ui.messagePart.context.search.many": "{{count}} عملية بحث",
100
112
  "ui.messagePart.context.search.other": "{{count}} عمليات بحث",
101
113
  "ui.messagePart.context.list.one": "{{count}} عملية سرد",
114
+ "ui.messagePart.context.list.zero": "{{count}} عملية سرد",
115
+ "ui.messagePart.context.list.two": "عدد عمليات السرد: {{count}}",
116
+ "ui.messagePart.context.list.few": "{{count}} عمليات سرد",
117
+ "ui.messagePart.context.list.many": "{{count}} عملية سرد",
102
118
  "ui.messagePart.context.list.other": "{{count}} عمليات سرد",
103
119
  "ui.messagePart.diagnostic.error": "خطأ",
104
120
  "ui.messagePart.title.edit": "تحرير",
package/src/i18n/br.ts CHANGED
@@ -57,6 +57,7 @@ export const dict = {
57
57
  "ui.sessionTurn.summary.response": "Resposta",
58
58
  "ui.sessionTurn.diff.showMore": "Mostrar mais alterações ({{count}})",
59
59
  "ui.sessionTurn.diffs.changed.one": "Arquivo alterado: {{count}}",
60
+ "ui.sessionTurn.diffs.changed.many": "Arquivos alterados: {{count}}",
60
61
  "ui.sessionTurn.diffs.changed.other": "Arquivos alterados: {{count}}",
61
62
  "ui.sessionTurn.diffs.showAll": "Mostrar tudo",
62
63
  "ui.sessionTurn.diffs.showLess": "Mostrar menos",
@@ -95,10 +96,13 @@ export const dict = {
95
96
  "ui.messagePart.questions.dismissed": "Perguntas descartadas",
96
97
  "ui.messagePart.compaction": "Sessão compactada",
97
98
  "ui.messagePart.context.read.one": "{{count}} leitura",
99
+ "ui.messagePart.context.read.many": "{{count}} de leituras",
98
100
  "ui.messagePart.context.read.other": "{{count}} leituras",
99
101
  "ui.messagePart.context.search.one": "{{count}} pesquisa",
102
+ "ui.messagePart.context.search.many": "{{count}} de pesquisas",
100
103
  "ui.messagePart.context.search.other": "{{count}} pesquisas",
101
104
  "ui.messagePart.context.list.one": "{{count}} lista",
105
+ "ui.messagePart.context.list.many": "{{count}} de listas",
102
106
  "ui.messagePart.context.list.other": "{{count}} listas",
103
107
  "ui.messagePart.diagnostic.error": "Erro",
104
108
  "ui.messagePart.title.edit": "Editar",
package/src/i18n/bs.ts CHANGED
@@ -61,6 +61,7 @@ export const dict = {
61
61
  "ui.sessionTurn.summary.response": "Odgovor",
62
62
  "ui.sessionTurn.diff.showMore": "Prikaži još izmjena ({{count}})",
63
63
  "ui.sessionTurn.diffs.changed.one": "{{count}} izmijenjena datoteka",
64
+ "ui.sessionTurn.diffs.changed.few": "{{count}} izmijenjene datoteke",
64
65
  "ui.sessionTurn.diffs.changed.other": "{{count}} izmijenjene datoteke",
65
66
  "ui.sessionTurn.diffs.showAll": "Prikaži sve",
66
67
  "ui.sessionTurn.diffs.showLess": "Prikaži manje",
@@ -99,10 +100,13 @@ export const dict = {
99
100
  "ui.messagePart.questions.dismissed": "Pitanja odbačena",
100
101
  "ui.messagePart.compaction": "Sesija sažeta",
101
102
  "ui.messagePart.context.read.one": "{{count}} čitanje",
103
+ "ui.messagePart.context.read.few": "{{count}} čitanja",
102
104
  "ui.messagePart.context.read.other": "{{count}} čitanja",
103
105
  "ui.messagePart.context.search.one": "{{count}} pretraga",
106
+ "ui.messagePart.context.search.few": "{{count}} pretrage",
104
107
  "ui.messagePart.context.search.other": "{{count}} pretrage",
105
108
  "ui.messagePart.context.list.one": "{{count}} listanje",
109
+ "ui.messagePart.context.list.few": "{{count}} listanja",
106
110
  "ui.messagePart.context.list.other": "{{count}} listanja",
107
111
  "ui.messagePart.diagnostic.error": "Greška",
108
112
  "ui.messagePart.title.edit": "Uredi",
package/src/i18n/es.ts CHANGED
@@ -57,6 +57,7 @@ export const dict = {
57
57
  "ui.sessionTurn.summary.response": "Respuesta",
58
58
  "ui.sessionTurn.diff.showMore": "Mostrar más cambios ({{count}})",
59
59
  "ui.sessionTurn.diffs.changed.one": "{{count}} archivo modificado",
60
+ "ui.sessionTurn.diffs.changed.many": "{{count}} de archivos modificados",
60
61
  "ui.sessionTurn.diffs.changed.other": "{{count}} archivos modificados",
61
62
  "ui.sessionTurn.diffs.showAll": "Mostrar todos",
62
63
  "ui.sessionTurn.diffs.showLess": "Mostrar menos",
@@ -95,10 +96,13 @@ export const dict = {
95
96
  "ui.messagePart.questions.dismissed": "Preguntas descartadas",
96
97
  "ui.messagePart.compaction": "Sesión compactada",
97
98
  "ui.messagePart.context.read.one": "{{count}} lectura",
99
+ "ui.messagePart.context.read.many": "{{count}} de lecturas",
98
100
  "ui.messagePart.context.read.other": "{{count}} lecturas",
99
101
  "ui.messagePart.context.search.one": "{{count}} búsqueda",
102
+ "ui.messagePart.context.search.many": "{{count}} de búsquedas",
100
103
  "ui.messagePart.context.search.other": "{{count}} búsquedas",
101
104
  "ui.messagePart.context.list.one": "{{count}} listado",
105
+ "ui.messagePart.context.list.many": "{{count}} de listados",
102
106
  "ui.messagePart.context.list.other": "{{count}} listados",
103
107
  "ui.messagePart.diagnostic.error": "Error",
104
108
  "ui.messagePart.title.edit": "Editar",
package/src/i18n/fr.ts CHANGED
@@ -58,6 +58,7 @@ export const dict = {
58
58
  "ui.sessionTurn.summary.response": "Réponse",
59
59
  "ui.sessionTurn.diff.showMore": "Afficher plus de modifications ({{count}})",
60
60
  "ui.sessionTurn.diffs.changed.one": "Fichier modifié : {{count}}",
61
+ "ui.sessionTurn.diffs.changed.many": "Fichiers modifiés : {{count}}",
61
62
  "ui.sessionTurn.diffs.changed.other": "Fichiers modifiés : {{count}}",
62
63
  "ui.sessionTurn.diffs.showAll": "Tout afficher",
63
64
  "ui.sessionTurn.diffs.showLess": "Afficher moins",
@@ -96,10 +97,13 @@ export const dict = {
96
97
  "ui.messagePart.questions.dismissed": "Questions ignorées",
97
98
  "ui.messagePart.compaction": "Session compactée",
98
99
  "ui.messagePart.context.read.one": "{{count}} lecture",
100
+ "ui.messagePart.context.read.many": "{{count}} de lectures",
99
101
  "ui.messagePart.context.read.other": "{{count}} lectures",
100
102
  "ui.messagePart.context.search.one": "{{count}} recherche",
103
+ "ui.messagePart.context.search.many": "{{count}} de recherches",
101
104
  "ui.messagePart.context.search.other": "{{count}} recherches",
102
105
  "ui.messagePart.context.list.one": "{{count}} liste",
106
+ "ui.messagePart.context.list.many": "{{count}} de listes",
103
107
  "ui.messagePart.context.list.other": "{{count}} listes",
104
108
  "ui.messagePart.diagnostic.error": "Erreur",
105
109
  "ui.messagePart.title.edit": "Modifier",
package/src/i18n/it.ts CHANGED
@@ -56,6 +56,7 @@ export const dict: Record<string, string> = {
56
56
  "ui.sessionTurn.summary.response": "Risposta",
57
57
  "ui.sessionTurn.diff.showMore": "Mostra più modifiche ({{count}})",
58
58
  "ui.sessionTurn.diffs.changed.one": "{{count}} file modificato",
59
+ "ui.sessionTurn.diffs.changed.many": "{{count}} di file modificati",
59
60
  "ui.sessionTurn.diffs.changed.other": "{{count}} file modificati",
60
61
  "ui.sessionTurn.diffs.showAll": "Mostra tutto",
61
62
  "ui.sessionTurn.diffs.showLess": "Mostra meno",
@@ -95,10 +96,13 @@ export const dict: Record<string, string> = {
95
96
  "ui.messagePart.questions.dismissed": "Domande ignorate",
96
97
  "ui.messagePart.compaction": "Sessione compattata",
97
98
  "ui.messagePart.context.read.one": "{{count}} lettura",
99
+ "ui.messagePart.context.read.many": "{{count}} di letture",
98
100
  "ui.messagePart.context.read.other": "{{count}} letture",
99
101
  "ui.messagePart.context.search.one": "{{count}} ricerca",
102
+ "ui.messagePart.context.search.many": "{{count}} di ricerche",
100
103
  "ui.messagePart.context.search.other": "{{count}} ricerche",
101
104
  "ui.messagePart.context.list.one": "{{count}} elenco",
105
+ "ui.messagePart.context.list.many": "{{count}} di elenchi",
102
106
  "ui.messagePart.context.list.other": "{{count}} elenchi",
103
107
  "ui.list.loading": "Caricamento",
104
108
  "ui.list.empty": "Nessun risultato",
package/src/i18n/pl.ts CHANGED
@@ -56,6 +56,8 @@ export const dict = {
56
56
  "ui.sessionTurn.summary.response": "Odpowiedź",
57
57
  "ui.sessionTurn.diff.showMore": "Pokaż więcej zmian ({{count}})",
58
58
  "ui.sessionTurn.diffs.changed.one": "{{count}} zmieniony plik",
59
+ "ui.sessionTurn.diffs.changed.few": "{{count}} zmienione pliki",
60
+ "ui.sessionTurn.diffs.changed.many": "{{count}} zmienionych plików",
59
61
  "ui.sessionTurn.diffs.changed.other": "Liczba zmienionych plików: {{count}}",
60
62
  "ui.sessionTurn.diffs.showAll": "Pokaż wszystkie",
61
63
  "ui.sessionTurn.diffs.showLess": "Pokaż mniej",
@@ -94,10 +96,16 @@ export const dict = {
94
96
  "ui.messagePart.questions.dismissed": "Pytania odrzucone",
95
97
  "ui.messagePart.compaction": "Sesja skompaktowana",
96
98
  "ui.messagePart.context.read.one": "Liczba odczytów: {{count}}",
99
+ "ui.messagePart.context.read.few": "Liczba odczytów: {{count}}",
100
+ "ui.messagePart.context.read.many": "Liczba odczytów: {{count}}",
97
101
  "ui.messagePart.context.read.other": "Liczba odczytów: {{count}}",
98
102
  "ui.messagePart.context.search.one": "Liczba wyszukiwań: {{count}}",
103
+ "ui.messagePart.context.search.few": "Liczba wyszukiwań: {{count}}",
104
+ "ui.messagePart.context.search.many": "Liczba wyszukiwań: {{count}}",
99
105
  "ui.messagePart.context.search.other": "Liczba wyszukiwań: {{count}}",
100
106
  "ui.messagePart.context.list.one": "Liczba list: {{count}}",
107
+ "ui.messagePart.context.list.few": "Liczba list: {{count}}",
108
+ "ui.messagePart.context.list.many": "Liczba list: {{count}}",
101
109
  "ui.messagePart.context.list.other": "Liczba list: {{count}}",
102
110
  "ui.messagePart.diagnostic.error": "Błąd",
103
111
  "ui.messagePart.title.edit": "Edycja",
package/src/i18n/ru.ts CHANGED
@@ -56,6 +56,8 @@ export const dict = {
56
56
  "ui.sessionTurn.summary.response": "Ответ",
57
57
  "ui.sessionTurn.diff.showMore": "Показать ещё изменений ({{count}})",
58
58
  "ui.sessionTurn.diffs.changed.one": "Изменённый файл: {{count}}",
59
+ "ui.sessionTurn.diffs.changed.few": "{{count}} изменённых файла",
60
+ "ui.sessionTurn.diffs.changed.many": "{{count}} изменённых файлов",
59
61
  "ui.sessionTurn.diffs.changed.other": "Изменённые файлы: {{count}}",
60
62
  "ui.sessionTurn.diffs.showAll": "Показать все",
61
63
  "ui.sessionTurn.diffs.showLess": "Показать меньше",
@@ -94,10 +96,16 @@ export const dict = {
94
96
  "ui.messagePart.questions.dismissed": "Вопросы отклонены",
95
97
  "ui.messagePart.compaction": "Сессия сжата",
96
98
  "ui.messagePart.context.read.one": "{{count}} чтение",
99
+ "ui.messagePart.context.read.few": "{{count}} чтения",
100
+ "ui.messagePart.context.read.many": "{{count}} чтений",
97
101
  "ui.messagePart.context.read.other": "Операций чтения: {{count}}",
98
102
  "ui.messagePart.context.search.one": "{{count}} поиск",
103
+ "ui.messagePart.context.search.few": "{{count}} поиска",
104
+ "ui.messagePart.context.search.many": "{{count}} поисков",
99
105
  "ui.messagePart.context.search.other": "Операций поиска: {{count}}",
100
106
  "ui.messagePart.context.list.one": "{{count}} список",
107
+ "ui.messagePart.context.list.few": "{{count}} списка",
108
+ "ui.messagePart.context.list.many": "{{count}} списков",
101
109
  "ui.messagePart.context.list.other": "Получено списков: {{count}}",
102
110
  "ui.messagePart.diagnostic.error": "Ошибка",
103
111
  "ui.messagePart.title.edit": "Редактировать",
package/src/i18n/uk.ts CHANGED
@@ -59,6 +59,8 @@ export const dict: Record<string, string> = {
59
59
  "ui.sessionTurn.summary.response": "Відповідь",
60
60
  "ui.sessionTurn.diff.showMore": "Показати більше змін ({{count}})",
61
61
  "ui.sessionTurn.diffs.changed.one": "Змінений файл: {{count}}",
62
+ "ui.sessionTurn.diffs.changed.few": "Змінені файли: {{count}}",
63
+ "ui.sessionTurn.diffs.changed.many": "Змінених файлів: {{count}}",
62
64
  "ui.sessionTurn.diffs.changed.other": "Змінені файли: {{count}}",
63
65
  "ui.sessionTurn.diffs.showAll": "Показати всі",
64
66
  "ui.sessionTurn.diffs.showLess": "Показати менше",
@@ -102,10 +104,16 @@ export const dict: Record<string, string> = {
102
104
  "ui.messagePart.questions.dismissed": "Запитання відхилено",
103
105
  "ui.messagePart.compaction": "Сесію стиснуто",
104
106
  "ui.messagePart.context.read.one": "{{count}} читання",
107
+ "ui.messagePart.context.read.few": "{{count}} читання",
108
+ "ui.messagePart.context.read.many": "{{count}} читань",
105
109
  "ui.messagePart.context.read.other": "{{count}} читань",
106
110
  "ui.messagePart.context.search.one": "{{count}} пошук",
111
+ "ui.messagePart.context.search.few": "{{count}} пошуки",
112
+ "ui.messagePart.context.search.many": "{{count}} пошуків",
107
113
  "ui.messagePart.context.search.other": "{{count}} пошуків",
108
114
  "ui.messagePart.context.list.one": "{{count}} список",
115
+ "ui.messagePart.context.list.few": "{{count}} списки",
116
+ "ui.messagePart.context.list.many": "{{count}} списків",
109
117
  "ui.messagePart.context.list.other": "{{count}} списків",
110
118
 
111
119
  "ui.list.loading": "Завантаження",