@trazum/cli 1.77.1 → 1.79.0

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/src/i18n/types.ts CHANGED
@@ -609,6 +609,7 @@ export interface CliMessages {
609
609
  unmeasured(scope: string, why: string): string;
610
610
  why(reason: 'no-clock' | 'no-labels' | 'nothing-recorded' | 'label-unseen'): string;
611
611
  cannotSayHeading(): string;
612
+ cannotSay(code: string): string;
612
613
  unpriced(count: number): string;
613
614
  /** The source, named: this log alone, never merged with the store. */
614
615
  source(): string;
package/src/index.ts CHANGED
@@ -2999,8 +2999,8 @@ async function commandPosition(
2999
2999
  if (document.cannotSay.length > 0) {
3000
3000
  console.log();
3001
3001
  console.log(` ${c.bold(t.position.cannotSayHeading())}`);
3002
- for (const line of document.cannotSay) {
3003
- console.log(` ${c.dim(wrap(line, 70, ' '))}`);
3002
+ for (const code of document.cannotSay) {
3003
+ console.log(` ${c.dim(wrap(t.position.cannotSay(code), 70, ' '))}`);
3004
3004
  }
3005
3005
  }
3006
3006
  if (document.unpricedRecords > 0) {