@gram-lang/i18n 1.0.0-beta.2 → 1.0.0-beta.4

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.
package/dist/index.d.ts CHANGED
@@ -43,9 +43,13 @@ declare const en: {
43
43
  equipment: string;
44
44
  nutrition: string;
45
45
  totalTime: string;
46
- cookTime: string;
46
+ idleTime: string;
47
47
  activeTime: string;
48
48
  prepTime: string;
49
+ totalTimeTooltip: string;
50
+ idleTimeTooltip: string;
51
+ activeTimeCardTooltip: string;
52
+ prepTimeTooltip: string;
49
53
  est: string;
50
54
  passiveTimeTooltip: string;
51
55
  activeTimeTooltip: string;
@@ -59,6 +63,12 @@ declare const en: {
59
63
  standardized: string;
60
64
  optional: string;
61
65
  calculationPartialOrFailed: string;
66
+ ingredientsOverhead: string;
67
+ cookwareOverhead: string;
68
+ breakdownActive: string;
69
+ breakdownPassive: string;
70
+ breakdownTimer: string;
71
+ breakdownPrep: string;
62
72
  standardizedMass: string;
63
73
  quantity: string;
64
74
  intermediateIngredient: string;
@@ -95,6 +105,23 @@ declare const en: {
95
105
  jsonTree: string;
96
106
  markdown: string;
97
107
  preview: string;
108
+ gantt: string;
109
+ gantt_active: string;
110
+ gantt_passive: string;
111
+ gantt_compact: string;
112
+ gantt_time: string;
113
+ gantt_cook: string;
114
+ gantt_timer: string;
115
+ gantt_prep: string;
116
+ gantt_empty: string;
117
+ gantt_compressed: string;
118
+ gantt_assembly: string;
119
+ gantt_more_sections: string;
120
+ gantt_section: string;
121
+ gantt_mode_forward: string;
122
+ gantt_mode_reverse: string;
123
+ gantt_mode_target: string;
124
+ gantt_target_time_label: string;
98
125
  };
99
126
  options: {
100
127
  scaleTitle: string;
package/dist/index.js CHANGED
@@ -20,11 +20,13 @@ function compileDictionary(dictionaries2) {
20
20
 
21
21
  // src/time.ts
22
22
  var en = {
23
+ d: ["day", "days"],
23
24
  h: ["hour", "hours"],
24
25
  m: ["min", "mins", "minute", "minutes"],
25
26
  s: ["sec", "secs", "second", "seconds"]
26
27
  };
27
28
  var fr = {
29
+ d: ["j", "jour", "jours"],
28
30
  h: ["heure", "heures"],
29
31
  m: ["min", "mins", "minute", "minutes"],
30
32
  s: ["sec", "secs", "seconde", "secondes"]
@@ -190,9 +192,13 @@ var en3 = {
190
192
  equipment: "Equipment",
191
193
  nutrition: "Nutrition",
192
194
  totalTime: "Total Time",
193
- cookTime: "Cook Time",
195
+ idleTime: "Idle Time",
194
196
  activeTime: "Active Time",
195
197
  prepTime: "Prep Time",
198
+ totalTimeTooltip: "Total Time = Prep + Active + Idle",
199
+ idleTimeTooltip: "Idle Time = Total Time - Prep - Active",
200
+ activeTimeCardTooltip: "Active Time = Sum of manual work time",
201
+ prepTimeTooltip: "Prep Time = Time needed before starting step 1",
196
202
  est: "(est.)",
197
203
  passiveTimeTooltip: "Passive Time (Waiting, resting...)",
198
204
  activeTimeTooltip: "Active Time",
@@ -206,6 +212,12 @@ var en3 = {
206
212
  standardized: "Standardized",
207
213
  optional: "Optional",
208
214
  calculationPartialOrFailed: "Calculation partial or failed",
215
+ ingredientsOverhead: "Ingredients lookup (base)",
216
+ cookwareOverhead: "Cookware lookup (base)",
217
+ breakdownActive: "Active",
218
+ breakdownPassive: "Passive",
219
+ breakdownTimer: "Timer",
220
+ breakdownPrep: "Preparation",
209
221
  standardizedMass: "Standardized mass",
210
222
  quantity: "Quantity",
211
223
  intermediateIngredient: "Intermediate Ingredient",
@@ -241,7 +253,24 @@ var en3 = {
241
253
  ast: "AST (Raw)",
242
254
  jsonTree: "Interactive Tree",
243
255
  markdown: "Markdown",
244
- preview: "Preview (HTML)"
256
+ preview: "Preview (HTML)",
257
+ gantt: "Gantt Chart",
258
+ gantt_active: "Active Task",
259
+ gantt_passive: "Background Task",
260
+ gantt_compact: "Compact View",
261
+ gantt_time: "Time",
262
+ gantt_cook: "Actions",
263
+ gantt_timer: "Timer",
264
+ gantt_prep: "Prep",
265
+ gantt_empty: "No timing data available. Write a recipe with steps and durations to see the chart.",
266
+ gantt_compressed: "Time compressed (idle period)",
267
+ gantt_assembly: "Assembly / Dependencies",
268
+ gantt_more_sections: "+{count} more...",
269
+ gantt_section: "Section",
270
+ gantt_mode_forward: "Stopwatch (T+)",
271
+ gantt_mode_reverse: "Countdown (T-)",
272
+ gantt_mode_target: "Target Time",
273
+ gantt_target_time_label: "Serve at:"
245
274
  },
246
275
  options: {
247
276
  scaleTitle: "Scale by Ingredient",
@@ -290,9 +319,13 @@ var fr3 = {
290
319
  equipment: "\xC9quipement",
291
320
  nutrition: "Nutrition",
292
321
  totalTime: "Temps Total",
293
- cookTime: "Cuisson",
322
+ idleTime: "Attente",
294
323
  activeTime: "Actif",
295
324
  prepTime: "Pr\xE9paration",
325
+ totalTimeTooltip: "Temps Total = Pr\xE9paration + Actif + Attente",
326
+ idleTimeTooltip: "Temps d'Attente = Temps Total - Pr\xE9paration - Actif",
327
+ activeTimeCardTooltip: "Temps Actif = Somme des temps de manipulation manuelle",
328
+ prepTimeTooltip: "Pr\xE9paration = Temps n\xE9cessaire avant l'\xE9tape 1",
296
329
  est: "(est.)",
297
330
  passiveTimeTooltip: "Temps passif (Repos, attente...)",
298
331
  activeTimeTooltip: "Temps actif",
@@ -306,6 +339,12 @@ var fr3 = {
306
339
  standardized: "Standardis\xE9",
307
340
  optional: "Optionnel",
308
341
  calculationPartialOrFailed: "Calcul partiel ou \xE9chou\xE9",
342
+ ingredientsOverhead: "Ingr\xE9dients (base)",
343
+ cookwareOverhead: "Mat\xE9riel (base)",
344
+ breakdownActive: "Actif",
345
+ breakdownPassive: "Passif",
346
+ breakdownTimer: "Minuteur",
347
+ breakdownPrep: "Pr\xE9paration",
309
348
  standardizedMass: "Masse standardis\xE9e",
310
349
  quantity: "Quantit\xE9",
311
350
  intermediateIngredient: "Ingr\xE9dient interm\xE9diaire",
@@ -341,7 +380,24 @@ var fr3 = {
341
380
  ast: "AST (Brut)",
342
381
  jsonTree: "Arbre Interactif",
343
382
  markdown: "Markdown",
344
- preview: "Aper\xE7u (HTML)"
383
+ preview: "Aper\xE7u (HTML)",
384
+ gantt: "Diagramme de Gantt",
385
+ gantt_active: "T\xE2che active",
386
+ gantt_passive: "T\xE2che de fond",
387
+ gantt_compact: "Vue compacte",
388
+ gantt_time: "Temps",
389
+ gantt_cook: "Actions",
390
+ gantt_timer: "Minuteur",
391
+ gantt_prep: "Pr\xE9paration",
392
+ gantt_empty: "Aucune donn\xE9e temporelle disponible. \xC9crivez une recette avec des \xE9tapes et des dur\xE9es pour voir le diagramme.",
393
+ gantt_compressed: "Temps compress\xE9 (p\xE9riode d'inactivit\xE9)",
394
+ gantt_assembly: "Assemblage / D\xE9pendances",
395
+ gantt_more_sections: "+{count} autres...",
396
+ gantt_section: "Section",
397
+ gantt_mode_forward: "Chronom\xE8tre (T+)",
398
+ gantt_mode_reverse: "Compte \xE0 rebours (T-)",
399
+ gantt_mode_target: "Heure cible",
400
+ gantt_target_time_label: "Servir \xE0 :"
345
401
  },
346
402
  options: {
347
403
  scaleTitle: "Mettre \xE0 l'\xE9chelle par ingr\xE9dient",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gram-lang/i18n",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.4",
4
4
  "description": "Gram recipe i18n and unit normalization logic",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",