<commit_before>import { Injectable } from '@angular/core';
import { Subject } from 'rxjs/Subject';

import { MimeViewerIntl } from './viewer-intl';

@Injectable()
export class MimeViewerIntlNoNb extends MimeViewerIntl {
  closeLabel = 'Lukk';
  attributionLabel = 'Tillatelse';
  contentsLabel = 'Innhold';
  metadataLabel = 'Metadata';
  licenseLabel = 'Lisens';
  fullScreenLabel = 'Fullskjerm';
  exitFullScreenLabel = 'Avslutt fullskjerm';
  zoomInLabel = 'Zoom inn';
  zoomOutLabel = 'Zoom ut';
  previousPageLabel = 'Forrige side';
  nextPageLabel = 'Neste side';
  homeLabel = 'Hjem';
  searchLabel = 'Søk';
  previousHitLabelLabel = 'Forrige treff';
  nextHitLabelLabel = 'Neste treff';

  // ERRORS
  somethingHasGoneWrongLabel = 'Å nei! Noe har gått galt...';
  manifestUriMissingLabel = 'Lenke til manifest mangler';
  manifestNotValidLabel = 'Manifestet er ikke gyldig';

  noResultsFoundLabel = (q: string) => {
    return `Ingen treff funnet for <em class="current-search">${q}</em>`;
  }

  resultsFoundLabel = (numberOfHits: number, q: string) => {
    return `${numberOfHits} treff funnet for <em class="current-search">${q}</em>`;
  }

  currentHitLabel = (currentHit: number, numberOfHits: number) => {
    return `${currentHit} av ${numberOfHits} treff`;
  }

}
<commit_msg>fix: previousHitLabel and nextHitLabel for intl norwegian<commit_after>import { Injectable } from '@angular/core';
import { Subject } from 'rxjs/Subject';

import { MimeViewerIntl } from './viewer-intl';

@Injectable()
export class MimeViewerIntlNoNb extends MimeViewerIntl {
  closeLabel = 'Lukk';
  attributionLabel = 'Tillatelse';
  contentsLabel = 'Innhold';
  metadataLabel = 'Metadata';
  licenseLabel = 'Lisens';
  fullScreenLabel = 'Fullskjerm';
  exitFullScreenLabel = 'Avslutt fullskjerm';
  zoomInLabel = 'Zoom inn';
  zoomOutLabel = 'Zoom ut';
  previousPageLabel = 'Forrige side';
  nextPageLabel = 'Neste side';
  homeLabel = 'Hjem';
  searchLabel = 'Søk';
  previousHitLabel = 'Forrige treff';
  nextHitLabel = 'Neste treff';

  // ERRORS
  somethingHasGoneWrongLabel = 'Å nei! Noe har gått galt...';
  manifestUriMissingLabel = 'Lenke til manifest mangler';
  manifestNotValidLabel = 'Manifestet er ikke gyldig';

  noResultsFoundLabel = (q: string) => {
    return `Ingen treff funnet for <em class="current-search">${q}</em>`;
  }

  resultsFoundLabel = (numberOfHits: number, q: string) => {
    return `${numberOfHits} treff funnet for <em class="current-search">${q}</em>`;
  }

  currentHitLabel = (currentHit: number, numberOfHits: number) => {
    return `${currentHit} av ${numberOfHits} treff`;
  }

}

{'fraction_non_alphanumeric': 0.13539282990083906, 'fraction_numerical': 0.0, 'mean_word_length': 4.6898047722342735, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3095337', 'n_tokens_mistral': 913, 'n_tokens_neox': 907, 'n_words': 216}