Skip to content

Index of errors are sometimes wrong #2

@albbas

Description

@albbas

Error with divvun-runtime

❯ echo "Lea álbmot mii mearrida guđet sánit váldojuvvojit adnui." | divvun-runtime run -p bundle.drb
2025-09-08T10:51:01.996914Z  WARN divvun_runtime::util::fluent_loader: No valid Fluent resources loaded from pattern: errors-*.ftl
[
  {
    "beg": 54,
    "end": 59,
    "err": "real-adnui-atnui",
    "form": "adnui",
    "msg": [
      "real-adnui-atnui",
      "real-adnui-atnui"
    ],
    "rep": [
      ""
    ]
  }
]

Correct:

❯ echo "lea stuoriss" | divvun-runtime run -p bundle.drb 
2025-09-08T10:54:06.444542Z  WARN divvun_runtime::util::fluent_loader: No valid Fluent resources loaded from pattern: errors-*.ftl
[
  {
    "beg": 4,
    "end": 12,
    "err": "typo",
    "form": "stuoriss",
    "msg": [
      "typo",
      "typo"
    ],
    "rep": [
      "shuaras",
      "stuorida",
      "stuoridus",
      "stuoris",
      "stuoros",
      "stuorrás",
      "stuorus",
      "stuorás",
      "stuoráš",
      "sturoš"
    ]
  }
]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions