few tiny changes

This commit is contained in:
Meadowsys 2023-03-26 20:05:24 -07:00
parent 3fbf7d0017
commit a397b84b9c
No known key found for this signature in database
GPG Key ID: 9E9BB6D25186E719

View File

@ -28,7 +28,7 @@ class I18n {
/**
* {
* [ns (package id or core)]: {
* [ns (package id)]: {
* [language id]: {
* string objects without core ns
* }
@ -78,7 +78,7 @@ class I18n {
enum: dircontents.map(p => p.substring(0, p.length - extlen))
.map(p => ({
value: p,
description: new Intl.DisplayNames([p], { type: "language" }).of(p)
description: `${new Intl.DisplayNames([p], { type: "language" }).of(p)} (${p})`
}))
});