@localazy/strapi-plugin 0.1.5 → 0.1.6
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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
## The Official Strapi Localization Plugin by Localazy
|
|
2
2
|
|
|
3
3
|
Strapi localization doesn't have to be a headache! Install the Strapi localization plugin and seamlessly translate your content into multiple languages with [Localazy](https://localazy.com).
|
|
4
4
|
|
|
@@ -9,15 +9,17 @@ Strapi localization doesn't have to be a headache! Install the Strapi localizati
|
|
|
9
9
|
|
|
10
10
|
Learn more in the [Strapi + Localazy tutorial](https://localazy.com/blog/how-to-strapi-localization-with-localazy#getting-started-with-strapi-localization).
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
This repository contains all the code needed to run the Strapi Localization Plugin by Localazy.
|
|
12
|
+
## Setup
|
|
15
13
|
|
|
16
14
|
### Install plugin via NPM
|
|
17
15
|
|
|
18
16
|
The plugin is available on [NPM](https://www.npmjs.com/package/@localazy/strapi-plugin).
|
|
19
17
|
You can also follow the installation commands located in your Strapi project Marketplace. This is the recommended approach.
|
|
20
18
|
|
|
19
|
+
```
|
|
20
|
+
npm install @localazy/strapi-plugin
|
|
21
|
+
```
|
|
22
|
+
|
|
21
23
|
### Use plugin in a clean project locally
|
|
22
24
|
|
|
23
25
|
Besides installing the plugin via `npm`, you can also use it in a project locally. Assuming you have a (clean) Strapi project set up, do:
|
|
@@ -43,12 +45,10 @@ module.exports = {
|
|
|
43
45
|
|
|
44
46
|
5. Run the project. The plugin will be available in the admin.
|
|
45
47
|
|
|
46
|
-
|
|
48
|
+
## Tests
|
|
47
49
|
|
|
48
50
|
To run tests, run `npm run test` command. To watch tests, run `npm run test:watch` command.
|
|
49
51
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
### Support
|
|
52
|
+
## Support
|
|
53
53
|
- If you encounter any issues or have questions, please contact us at [team@localazy.com](mailto:team@localazy.com).
|
|
54
54
|
- Join the [Localazy Discord](https://discord.gg/CAVhHrh) to discuss all things localization.
|
|
@@ -49,11 +49,21 @@ function Login(props) {
|
|
|
49
49
|
<HeaderLayout
|
|
50
50
|
title={props.title}
|
|
51
51
|
subtitle={props.subtitle}
|
|
52
|
-
as="
|
|
52
|
+
as="h1"
|
|
53
53
|
/>
|
|
54
54
|
{props.isLoading && (<Loader>{t("common.loading_content")}</Loader>)}
|
|
55
55
|
{!props.isLoading && (
|
|
56
|
-
<Box
|
|
56
|
+
<Box
|
|
57
|
+
marginLeft={10}
|
|
58
|
+
marginRight={10}
|
|
59
|
+
background="neutral0"
|
|
60
|
+
paddingTop={6}
|
|
61
|
+
paddingRight={7}
|
|
62
|
+
paddingBottom={6}
|
|
63
|
+
paddingLeft={7}
|
|
64
|
+
hasRadius
|
|
65
|
+
shadow="tableShadow"
|
|
66
|
+
>
|
|
57
67
|
<Box>
|
|
58
68
|
<Typography variant="epsilon" textColor="neutral600">
|
|
59
69
|
{t("common.localazy_plugin_description")}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@localazy/strapi-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "The official Strapi Plugin by Localazy.",
|
|
5
5
|
"strapi": {
|
|
6
6
|
"name": "localazy",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"jest": "^27.5.1"
|
|
53
53
|
},
|
|
54
54
|
"author": {
|
|
55
|
-
"name": "
|
|
56
|
-
"email": "
|
|
55
|
+
"name": "Localazy",
|
|
56
|
+
"email": "team@localazy.com",
|
|
57
57
|
"url": "https://localazy.com"
|
|
58
58
|
},
|
|
59
59
|
"maintainers": [
|