keymanapp / keymanapp/keyman

bug(developer): BCP47 non-canonical warning should be emitted for aksarabali_panlex kmp build 🗜

Open
#9,099 9 comments 0 reactions 0 assignees View on GitHub
bug developer/ developer/compilers/ epic-kmc-kmw m:bcp47
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

Warning should be emitted for aksarabali_panlex kmp build: `aksarabali_panlex.kps: Keyboard with ID 'aksarabali_panlex' has a BCP 47 warning: 'kaw-Bali' is a valid tag but is not canonical: it should be 'kaw'.`

Full kmc log:
```
Building keyboard /c/Projects/keyman/keyboards/release/a/aksarabali_panlex/
INFO 5002: Building aksarabali_panlex.kpj
INFO 5002: Building C:\Projects\keyman\keyboards\release\a\aksarabali_panlex\source\aksarabali_panlex.kmn
HINT 1020ae [253]: This rule will never be matched as another rule takes precedence Overridden by rule on line 189
HINT 1020ae [242]: This rule will never be matched as another rule takes precedence Overridden by rule on line 185
HINT 1020ae [252]: This rule will never be matched as another rule takes precedence Overridden by rule on line 243
HINT 1020ae [253]: This rule will never be matched as another rule takes precedence Overridden by rule on line 189
HINT 1020ae [242]: This rule will never be matched as another rule takes precedence Overridden by rule on line 185
HINT 1020ae [252]: This rule will never be matched as another rule takes precedence Overridden by rule on line 243
WARN 2020a9: Key "K_SHIFT" on platform "phone", layer "shift" does not have the key type "Special" or "Special (active)" but has the label "*Shifted*". This feature is only supported in Keyman 14 or later
INFO 5006: aksarabali_panlex.kmn built successfully.
INFO 5002: Building C:\Projects\keyman\keyboards\release\a\aksarabali_panlex\source\aksarabali_panlex.kps
WARN 20400f: The file Vimala.ttf does not follow the recommended filename conventions. The extension should be all lower case, and the filename should include only alphanumeric characters, -, _, + and .
INFO 5006: aksarabali_panlex.kps built successfully.
INFO 5006: aksarabali_panlex.kpj built successfully.
```

Full kmcomp log:
```
Building keyboard release/a/aksarabali_panlex/

aksarabali_panlex.kmn: Compiling 'C:\Projects\keyman\keyboards\release\a\aksarabali_panlex\source\aksarabali_panlex.kmn' for Windows, macOS, Linux, Desktop devices...
aksarabali_panlex.kmn (253): Hint: 10AE This rule will never be matched as another rule takes precedence Overridden by rule on line 189
aksarabali_panlex.kmn (242): Hint: 10AE This rule will never be matched as another rule takes precedence Overridden by rule on line 185
aksarabali_panlex.kmn (252): Hint: 10AE This rule will never be matched as another rule takes precedence Overridden by rule on line 243
aksarabali_panlex.kmn: Success: 'C:\Projects\keyman\keyboards\release\a\aksarabali_panlex\source\aksarabali_panlex.kmn' was compiled successfully for Windows, macOS, Linux, Desktop devices to 'C:\Projects\keyman\keyboards\release\a\aksarabali_panlex\build\aksarabali_panlex.kmx'.
aksarabali_panlex.kmn: Compiling 'C:\Projects\keyman\keyboards\release\a\aksarabali_panlex\source\aksarabali_panlex.kmn' for Web, iPhone, iPad, Android phone, Android tablet, Mobile devices, Tablet devices...
aksarabali_panlex.kmn (253): Hint: 10AE This rule will never be matched as another rule takes precedence Overridden by rule on line 189
aksarabali_panlex.kmn (242): Hint: 10AE This rule will never be matched as another rule takes precedence Overridden by rule on line 185
aksarabali_panlex.kmn (252): Hint: 10AE This rule will never be matched as another rule takes precedence Overridden by rule on line 243
aksarabali_panlex.kmn: Success: 'C:\Projects\keyman\keyboards\release\a\aksarabali_panlex\source\aksarabali_panlex.kmn' was compiled successfully for Web, iPhone, iPad, Android phone, Android tablet, Mobile devices, Tablet devices to 'C:\Projects\keyman\keyboards\release\a\aksarabali_panlex\build\aksarabali_panlex.js'.
aksarabali_panlex.kps: Compiling package aksarabali_panlex.kps...
aksarabali_panlex.kps: Keyboard with ID 'aksarabali_panlex' has a BCP 47 warning: 'kaw-Bali' is a valid tag but is not canonical: it should be 'kaw'.
aksarabali_panlex.kps: Success: 'C:\Projects\keyman\keyboards\release\a\aksarabali_panlex\source\aksarabali_panlex.kps' compiled successfully to 'C:\Projects\keyman\keyboards\release\a\aksarabali_panlex\build\aksarabali_panlex.kmp'.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.