@forsakringskassan/docs-generator 2.28.11 → 2.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24726,22 +24726,22 @@ class Translator extends EventEmitter {
24726
24726
  const zeroSuffix = `${this.options.pluralSeparator}zero`;
24727
24727
  const ordinalPrefix = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
24728
24728
  if (needsPluralHandling) {
24729
- finalKeys.push(key + pluralSuffix);
24730
24729
  if (opt.ordinal && pluralSuffix.indexOf(ordinalPrefix) === 0) {
24731
24730
  finalKeys.push(key + pluralSuffix.replace(ordinalPrefix, this.options.pluralSeparator));
24732
24731
  }
24732
+ finalKeys.push(key + pluralSuffix);
24733
24733
  if (needsZeroSuffixLookup) {
24734
24734
  finalKeys.push(key + zeroSuffix);
24735
24735
  }
24736
24736
  }
24737
24737
  if (needsContextHandling) {
24738
- const contextKey = `${key}${this.options.contextSeparator}${opt.context}`;
24738
+ const contextKey = `${key}${this.options.contextSeparator || '_'}${opt.context}`;
24739
24739
  finalKeys.push(contextKey);
24740
24740
  if (needsPluralHandling) {
24741
- finalKeys.push(contextKey + pluralSuffix);
24742
24741
  if (opt.ordinal && pluralSuffix.indexOf(ordinalPrefix) === 0) {
24743
24742
  finalKeys.push(contextKey + pluralSuffix.replace(ordinalPrefix, this.options.pluralSeparator));
24744
24743
  }
24744
+ finalKeys.push(contextKey + pluralSuffix);
24745
24745
  if (needsZeroSuffixLookup) {
24746
24746
  finalKeys.push(contextKey + zeroSuffix);
24747
24747
  }
@@ -26736,7 +26736,8 @@ var moduleImporter = {
26736
26736
  `${fileName}.css`,
26737
26737
  `${fileName}.scss`,
26738
26738
  `_${fileName}.scss`,
26739
- `${fileName}`
26739
+ `${fileName}`,
26740
+ `${fileName}/_index.scss`
26740
26741
  ];
26741
26742
  for (const variant of search) {
26742
26743
  try {
@@ -56132,4 +56133,4 @@ var srcExports = requireSrc();
56132
56133
  var tinylr = /*@__PURE__*/getDefaultExportFromCjs(srcExports);
56133
56134
 
56134
56135
  export { HighlightJS as H, MarkdownIt as M, createTwoFilesPatch as a, deflist_plugin as b, commonjsRequire as c, dedent as d, closest as e, distance as f, globSync as g, fm as h, isCI as i, glob as j, moduleImporter as k, cliProgress as l, minimatch as m, createInstance as n, fse as o, tinylr as t, watch$1 as w };
56135
- //# sourceMappingURL=vendor-CMzqoPR8.mjs.map
56136
+ //# sourceMappingURL=vendor-OuaFLIX7.mjs.map