Skip to content

Commit 5387a60

Browse files
committed
feat(testing): allow '...' at the end of a uc label
1 parent 957d9e3 commit 5387a60

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
Replace `Provider` by `Factory` in Dependency Injection (`inversify`). If you're using `bindProvider`, simply replace it by `bindFactory`.
66

7+
Allow '...' at the end of a uc label. Although a label ending with '.' is odd, one ending with '...' is not (e.g. "Connect...").
8+
79
See all the changes here : https://github.com/c100k/libmodulor/compare/v0.27.0...master
810

911
## v0.27.0 (2026-02-09)

dist/esm/testing/workers/checkers/AppI18nChecker.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ let AppI18nChecker = class AppI18nChecker {
4141
if (!matches) {
4242
this.output.errors.push(ERR_I18N_KEY_INVALID(key));
4343
}
44-
if (key.endsWith('_label') && translation.endsWith('.')) {
44+
if (key.endsWith('_label') &&
45+
translation.endsWith('.') &&
46+
!translation.endsWith('...')) {
4547
this.output.errors.push(ERR_I18N_LABEL_NO_DOT(key));
4648
}
4749
}

0 commit comments

Comments
 (0)