Restricted symbols to lower-case only (#36)
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
Date format : day/month/year
|
Date format : day/month/year
|
||||||
|
|
||||||
|
## 1.8.1 - ??/??/2022 - ???
|
||||||
|
- Restricted symbols to lower-case only, ex : (air) work, (Air) will not (#36).
|
||||||
|
|
||||||
## 1.8.0 - 29/04/2022 - QoL & Compendiums Update
|
## 1.8.0 - 29/04/2022 - QoL & Compendiums Update
|
||||||
- Added 179 Japanese villages name table.
|
- Added 179 Japanese villages name table.
|
||||||
- Added Rōnin icon and tag symbol `(ronin)` (Thanks to TesserWract).
|
- Added Rōnin icon and tag symbol `(ronin)` (Thanks to TesserWract).
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ export class HelpersL5r5e {
|
|||||||
CONFIG.l5r5e.symbols.forEach((cfg, tag) => {
|
CONFIG.l5r5e.symbols.forEach((cfg, tag) => {
|
||||||
if (toSymbol) {
|
if (toSymbol) {
|
||||||
text = text.replace(
|
text = text.replace(
|
||||||
new RegExp(HelpersL5r5e.escapeRegExp(tag), "gi"),
|
new RegExp(HelpersL5r5e.escapeRegExp(tag), "g"),
|
||||||
`<i class="${cfg.class}" title="${game.i18n.localize(cfg.label)}"></i>`
|
`<i class="${cfg.class}" title="${game.i18n.localize(cfg.label)}"></i>`
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
"readme": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/README.md",
|
"readme": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/README.md",
|
||||||
"changelog": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/CHANGELOG.md",
|
"changelog": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/CHANGELOG.md",
|
||||||
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
|
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
|
||||||
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.8.0/raw/l5r5e.zip?job=build",
|
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.8.1/raw/l5r5e.zip?job=build",
|
||||||
"version": "1.8.0",
|
"version": "1.8.1",
|
||||||
"minimumCoreVersion": "9",
|
"minimumCoreVersion": "9",
|
||||||
"compatibleCoreVersion": "9",
|
"compatibleCoreVersion": "9",
|
||||||
"manifestPlusVersion": "1.0.0",
|
"manifestPlusVersion": "1.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user