l-min-components 1.0.930 → 1.0.934

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.0.930",
3
+ "version": "1.0.934",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -163,7 +163,12 @@ const AppMainLayout = () => {
163
163
  "Created",
164
164
  "Report",
165
165
  "Dictionary",
166
- "What's your language?"
166
+ "What's your language?",
167
+ "Add account",
168
+ "Developer accounts",
169
+ "Developer",
170
+ "Search",
171
+ "Get started"
167
172
  ];
168
173
 
169
174
  const {
@@ -22,7 +22,7 @@ const Banner = ( { findText} ) => {
22
22
  <BannerImage src={BannerImg} alt="Banner" />
23
23
  <Button
24
24
  type="primary"
25
- text="Get started"
25
+ text={findText("Get started")}
26
26
  icon={{
27
27
  jsx: FaArrowRight,
28
28
  right: true,
@@ -112,7 +112,7 @@ const AccountDropdown = (props) => {
112
112
  <>
113
113
  {props?.developerAccountData.length > 0 && (
114
114
  <div>
115
- <h3 style={{ marginBottom: 10 }}>Developer accounts</h3>
115
+ <h3 style={{ marginBottom: 10 }}>{props.findText("Developer accounts")}</h3>
116
116
  {props?.developerAccountData
117
117
  ?.filter((developerItem) => !developerItem?.pending_delete) // filter out pending delete items
118
118
  .map((developerItem, idx) => {
@@ -306,7 +306,7 @@ const AccountDropdown = (props) => {
306
306
  }
307
307
  }}
308
308
  style={{ cursor: "pointer" }}>
309
- <AddIcon /> Add account
309
+ <AddIcon /> {props.findText("Add account")}
310
310
  </button>
311
311
  </AccountDropdownFooter>
312
312
  </AccountDropdownLayout>
@@ -590,6 +590,7 @@ const HeaderComponent = (props) => {
590
590
  handleSetDefaultAccount={handleSetDefaultAccount}
591
591
  ref={acctDropdownContainerRef}
592
592
  hasDeveloperAccount={hasDeveloperAccount}
593
+ findText={props.findText}
593
594
  />
594
595
  )}
595
596
  </Navbar>
@@ -125,7 +125,7 @@ const LanguageDropdown = ({
125
125
  className="search_input"
126
126
  name=""
127
127
  id=""
128
- placeholder="Search"
128
+ placeholder={findText("Search")}
129
129
  />
130
130
  </div>
131
131