Skip to content

Commit

Permalink
Renamed src/data/metadata-translator.js -> src/data/metadataTranslato…
Browse files Browse the repository at this point in the history
…r.js
  • Loading branch information
Björn Bergström committed May 24, 2024
1 parent 330cacc commit c13b73d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/read-mode-flow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/components/read-mode-page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) {
Expand Down
8 changes: 4 additions & 4 deletions src/data/MapBrailleToSwedishCharacters.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ export const mapBrailleToPunctuation = {


/*
missing:
single: "•"
double:
one-letter: "•"
two-letter:
three-letter:
four-letter:
*/
File renamed without changes.
2 changes: 1 addition & 1 deletion src/functions/fileReader.js
Original file line number Diff line number Diff line change
@@ -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'];

Expand Down

0 comments on commit c13b73d

Please sign in to comment.