Merge develop

This commit is contained in:
Pieter Vander Vennet 2025-08-01 19:03:52 +02:00
commit 55ebaaa256
17 changed files with 640 additions and 645 deletions

View file

@ -2,6 +2,7 @@ import { Validator } from "../Validator"
import { Translation } from "../../i18n/Translation"
import licenses from "../../../assets/generated/license_info.json"
import { Utils } from "../../../Utils"
import { Strings } from "../../../Utils/Strings"
export default class IconValidator extends Validator {
private static allLicenses = new Set(licenses.map((l) => l.path))
@ -16,7 +17,7 @@ export default class IconValidator extends Validator {
}
getFeedback(s: string, getCountry, sloppy?: boolean): Translation | undefined {
if (Utils.isEmoji(s)) {
if (Strings.isEmoji(s)) {
return undefined
}
s = this.reformat(s)