pcm-shared-components 0.0.116 → 0.0.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -4
- package/dist/locals/i18n.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import ReusablePopupMenu from './components/Menus/ReusablePopupMenu';
|
|
|
15
15
|
import SearchBar from './components/TextBoxes/SearchBar';
|
|
16
16
|
import TillButton from './components/Buttons/TillButton';
|
|
17
17
|
import DropdownButton from './components/Buttons/DropdownButton';
|
|
18
|
-
import translationResources from './locals/translationResources';
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export { TestButton, CodeHighlight, CustomFab, HelpButton, GenericDialogWindow, PcSharedComponentThemeInheritor, ImageCanvasDraw, PCMScrollbar, TwoColumnDisplay, SimpleTab, HrefLink, GenericAppBar, ReusablePopupMenu, SearchBar, TillButton, DropdownButton, translationResources };
|
|
18
|
+
import translationResources from './locals/translationResources';
|
|
19
|
+
import coreLocals from './locals/coreLocals';
|
|
20
|
+
import currencySymbol from './locals/currencySymbol';
|
|
21
|
+
export { TestButton, CodeHighlight, CustomFab, HelpButton, GenericDialogWindow, PcSharedComponentThemeInheritor, ImageCanvasDraw, PCMScrollbar, TwoColumnDisplay, SimpleTab, HrefLink, GenericAppBar, ReusablePopupMenu, SearchBar, TillButton, DropdownButton, translationResources, coreLocals, currencySymbol };
|
package/dist/locals/i18n.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import i18n from 'i18next';
|
|
2
2
|
import { initReactI18next } from 'react-i18next';
|
|
3
3
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
|
4
|
-
import translationResources from './translationResources';
|
|
4
|
+
import translationResources from './translationResources'; //! Note: translation files are now taken from the ./translationResources
|
|
5
|
+
// import translationEN from '../languages/en/translations.json';
|
|
5
6
|
// import translationFR from '../languages/fr/translations.json';
|
|
6
7
|
// import translationES from '../languages/es/translations.json';
|
|
7
8
|
// // the translations
|
|
@@ -42,5 +43,4 @@ i18n // detect user language
|
|
|
42
43
|
useSuspense: false
|
|
43
44
|
}
|
|
44
45
|
});
|
|
45
|
-
export { i18n };
|
|
46
46
|
export default i18n;
|