mario-core 2.9.36-admin → 2.9.37-lang

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.
@@ -0,0 +1,4 @@
1
+ declare const de: {
2
+ hello: string;
3
+ };
4
+ export default de;
@@ -0,0 +1,4 @@
1
+ declare const en: {
2
+ hello: string;
3
+ };
4
+ export default en;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TheLanguageDropdown: () => JSX.Element;
3
+ export default TheLanguageDropdown;
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
+ import "../i18n";
2
3
  declare const TheLayout: ({ routes, navigation }: any) => JSX.Element;
3
4
  export default TheLayout;
@@ -9,6 +9,7 @@ export declare const showMenuBar: import("@reduxjs/toolkit").ActionCreatorWithPa
9
9
  export declare const showFontSize: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
10
10
  export declare const setEnableIEP: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
11
11
  export declare const setConversationOneToOne: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
12
+ export declare const setLanguage: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
12
13
  export declare const setCurrentStudentId: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, string>;
13
14
  export declare const setCurrentStudentUserId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
14
15
  export declare const setCurrentStudentName: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
@@ -0,0 +1,2 @@
1
+ export declare const changeLanguageApp: (language: string) => void;
2
+ export declare const translation: (text: string) => string;
@@ -0,0 +1,3 @@
1
+ import "../i18n.js";
2
+ export declare const changeLanguageApp: (language: string) => void;
3
+ export declare const translation: (text: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mario-core",
3
- "version": "2.9.36-admin",
3
+ "version": "2.9.37-lang",
4
4
  "description": "Contains core components && functions for Mario project",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -81,6 +81,7 @@
81
81
  "bootstrap": "^4.6.0",
82
82
  "date-fns": "^2.19.0",
83
83
  "formik": "^2.2.6",
84
+ "i18next": "^19.8.7",
84
85
  "link": "^1.5.1",
85
86
  "moment": "^2.29.1",
86
87
  "node-sass": "^5.0.0",
@@ -88,6 +89,7 @@
88
89
  "react-datepicker": "^3.6.0",
89
90
  "react-google-login": "^5.2.2",
90
91
  "react-google-recaptcha-v3": "^1.9.3",
92
+ "react-i18next": "^11.8.5",
91
93
  "react-icons": "^4.2.0",
92
94
  "react-notifications-component": "3.0.4",
93
95
  "react-select": "^4.1.0",