mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 23:24:46 -04:00
New locale format (#94)
* Add new format for translation files Co-authored-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
afb2ea85b1
commit
1f347fb653
57 changed files with 5287 additions and 3386 deletions
|
@ -1,6 +1,6 @@
|
|||
import React, { Fragment, useEffect, useState } from 'react'
|
||||
import { useLocation } from 'react-router'
|
||||
import { setUp, InitTask } from '../../initializers'
|
||||
import { InitTask, setUp } from '../../initializers'
|
||||
import './application-loader.scss'
|
||||
|
||||
import { LoadingScreen } from './loading-screen'
|
||||
|
@ -24,7 +24,7 @@ export const ApplicationLoader: React.FC = ({ children }) => {
|
|||
return
|
||||
}
|
||||
setTasksAlreadyTriggered(true)
|
||||
const baseUrl:string = window.location.pathname.replace(pathname, '') + '/'
|
||||
const baseUrl: string = window.location.pathname.replace(pathname, '') + '/'
|
||||
console.debug('Base URL is', baseUrl)
|
||||
setInitTasks(setUp(baseUrl))
|
||||
}, [tasksAlreadyTriggered, pathname])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue