diff --git a/src/w3c/level.js b/src/w3c/level.js index 5d15e7b105..3818b9d8b9 100644 --- a/src/w3c/level.js +++ b/src/w3c/level.js @@ -3,6 +3,8 @@ * of a spec when there is a valid level configuration. * * Levels should be integers >= 0. + * + * @module w3c/level */ import { getIntlData, showError } from "../core/utils.js"; @@ -12,10 +14,27 @@ const localizationStrings = { en: { level: "Level", }, + ja: { + level: "レベル", + }, + nl: { + level: "Niveau", + }, + de: { + level: "Stufe", + }, + zh: { + level: "级别", + }, }; const l10n = getIntlData(localizationStrings); +/** + * Updates the title and shortName of a spec based on the level configuration. + * + * @param {Conf} conf - The configuration object. + */ export function run(conf) { if (!conf.hasOwnProperty("level")) return;