diff --git a/src/components/read-mode-flow.jsx b/src/components/read-mode-flow.jsx index 324df89..fc8e0b8 100644 --- a/src/components/read-mode-flow.jsx +++ b/src/components/read-mode-flow.jsx @@ -4,7 +4,7 @@ import brailleTranslator from "../functions/translator/brailleTranslator.js"; import { filterUnnecessarySentence } from "../functions/filterSetences.js" import { manipulatePageIndexToRemoveUnnecessaryPages } from "../functions/filterPages.js"; import { FormatModeEnum, CookieEnum } from "../data/enums.js"; -import { metadataVariableTranslation } from "../data/metadata-translator.js"; +import { metadataVariableTranslation } from "../data/metadataTranslator.js"; export default function ReadModeFlow({ cookiePermission, savedPageIndex, setSavedPageIndex, setReadmode, pefObject }) { const [bookView, setBookView] = useState(FormatModeEnum.BRAILLE_VIEW) diff --git a/src/components/read-mode-page.jsx b/src/components/read-mode-page.jsx index 30a36fa..e2ccb83 100644 --- a/src/components/read-mode-page.jsx +++ b/src/components/read-mode-page.jsx @@ -3,7 +3,7 @@ import brailleTranslator from "../functions/translator/brailleTranslator.js"; import { filterUnnecessarySentence } from "../functions/filterSetences.js" import { manipulatePageIndexToRemoveUnnecessaryPages } from "../functions/filterPages.js"; import { FormatModeEnum, CookieEnum } from '../data/enums.js' -import { metadataVariableTranslation } from '../data/metadata-translator.js' +import { metadataVariableTranslation } from '../data/metadataTranslator.js' import updateBrowserTabText from "../functions/updateBrowserTabText.js"; export default function ReadModePageByPage({ savedPageIndex, setSavedPageIndex, cookiePermission, setReadmode, pefObject }) { diff --git a/src/data/MapBrailleToSwedishCharacters.js b/src/data/MapBrailleToSwedishCharacters.js index ab29843..2ee661c 100644 --- a/src/data/MapBrailleToSwedishCharacters.js +++ b/src/data/MapBrailleToSwedishCharacters.js @@ -112,9 +112,9 @@ export const mapBrailleToPunctuation = { /* - missing: -single: "•" -double: - +one-letter: "•" +two-letter: +three-letter: +four-letter: */ \ No newline at end of file diff --git a/src/data/metadata-translator.js b/src/data/metadataTranslator.js similarity index 100% rename from src/data/metadata-translator.js rename to src/data/metadataTranslator.js diff --git a/src/functions/fileReader.js b/src/functions/fileReader.js index 76c7d6f..2be325d 100644 --- a/src/functions/fileReader.js +++ b/src/functions/fileReader.js @@ -1,4 +1,4 @@ -import { languageCodeTranslator, bibliographicInformationTranslator } from "../data/metadata-translator"; +import { languageCodeTranslator, bibliographicInformationTranslator } from "../data/metadataTranslator"; const KNOWN_PEF_FILE_TYPES = ['image/PEF', 'image/x-pentax-pef', 'application/x-pef+xml'];