* refactor(plugin-fm): change api and allow to select storage * fix(plugin-fm): fix lint errors and demo actions * refactor(plugin-fm): refactor action codes * fix(plugin-fm): fix api in test * fix(plugin-fm): fix build * fix(plugin-fm): fix locale * refactor(plugin-fm): hide storage from api and use sourceField param * fix(plugin-fm): fix storage select load * fix: improve code * fix(plugin-fm): change to attachmentField * refactor(plugin-fm): change middleware name * fix(plugin-fm): fix params in test cases --------- Co-authored-by: chenos <chenlinxh@gmail.com>
8 lines
166 B
TypeScript
8 lines
166 B
TypeScript
import { useTranslation } from 'react-i18next';
|
|
|
|
export const NAMESPACE = 'file-manager';
|
|
|
|
export function useFmTranslation() {
|
|
return useTranslation(NAMESPACE);
|
|
}
|