style: small text changes

This commit is contained in:
vincentbpro 2021-12-07 17:36:57 +01:00
parent 1a507c0777
commit 7183aa443c
10 changed files with 16 additions and 16 deletions

View File

@ -109,7 +109,7 @@ const ApplicationInfosPage = () => {
<Link href="https://strapi.io/pricing-self-hosted" endIcon={<ExternalLink />}> <Link href="https://strapi.io/pricing-self-hosted" endIcon={<ExternalLink />}>
{formatMessage({ {formatMessage({
id: 'Settings.application.link-pricing', id: 'Settings.application.link-pricing',
defaultMessage: 'See all pricing', defaultMessage: 'See all pricing plans',
})} })}
</Link> </Link>
</GridItem> </GridItem>

View File

@ -439,7 +439,7 @@ describe('Application page', () => {
<span <span
class="c19" class="c19"
> >
See all pricing See all pricing plans
</span> </span>
<span <span
aria-hidden="true" aria-hidden="true"

View File

@ -108,7 +108,7 @@
"Settings.application.strapiVersion": "strapi version", "Settings.application.strapiVersion": "strapi version",
"Settings.application.edition-title": "current plan", "Settings.application.edition-title": "current plan",
"Settings.application.details": "Details", "Settings.application.details": "Details",
"Settings.application.link-pricing": "See all pricing", "Settings.application.link-pricing": "See all pricing plans",
"Settings.application.link-upgrade": "Upgrade your admin panel", "Settings.application.link-upgrade": "Upgrade your admin panel",
"Settings.application.get-help": "Get help", "Settings.application.get-help": "Get help",
"Settings.application.node-version": "node version", "Settings.application.node-version": "node version",
@ -332,7 +332,7 @@
"app.components.Users.MagicLink.connect": "Copy and share this link to give access to this user", "app.components.Users.MagicLink.connect": "Copy and share this link to give access to this user",
"app.components.Users.MagicLink.connect.sso": "Send this link to the user, the first login can be made via a SSO provider", "app.components.Users.MagicLink.connect.sso": "Send this link to the user, the first login can be made via a SSO provider",
"app.components.Users.ModalCreateBody.block-title.details": "User details", "app.components.Users.ModalCreateBody.block-title.details": "User details",
"app.components.Users.ModalCreateBody.block-title.login": "Assign role", "app.components.Users.ModalCreateBody.block-title.login": "Roles",
"app.components.Users.ModalCreateBody.block-title.roles": "User's roles", "app.components.Users.ModalCreateBody.block-title.roles": "User's roles",
"app.components.Users.ModalCreateBody.block-title.roles.description": "A user can have one or several roles", "app.components.Users.ModalCreateBody.block-title.roles.description": "A user can have one or several roles",
"app.components.Users.SortPicker.button-label": "Sort by", "app.components.Users.SortPicker.button-label": "Sort by",

View File

@ -50,7 +50,7 @@ const Configuration = ({ config }) => {
name="shipper-email" name="shipper-email"
label={formatMessage({ label={formatMessage({
id: getTrad('Settings.email.plugin.label.defaultFrom'), id: getTrad('Settings.email.plugin.label.defaultFrom'),
defaultMessage: 'Default shipper email', defaultMessage: 'Default sender email',
})} })}
placeholder={formatMessage({ placeholder={formatMessage({
id: getTrad('Settings.email.plugin.placeholder.defaultFrom'), id: getTrad('Settings.email.plugin.placeholder.defaultFrom'),

View File

@ -194,7 +194,7 @@ const SettingsPage = () => {
onChange={handleChange} onChange={handleChange}
label={formatMessage({ label={formatMessage({
id: getTrad('Settings.email.plugin.label.testAddress'), id: getTrad('Settings.email.plugin.label.testAddress'),
defaultMessage: 'Test delivery email address', defaultMessage: 'Recipient email',
})} })}
value={testAddress} value={testAddress}
error={ error={

View File

@ -42,7 +42,7 @@ describe('Email | Pages | Settings', () => {
const { container } = render(App); const { container } = render(App);
await waitFor(() => { await waitFor(() => {
expect(screen.getByText('Test delivery email address')).toBeInTheDocument(); expect(screen.getByText('Recipient email')).toBeInTheDocument();
}); });
expect(container.firstChild).toMatchInlineSnapshot(` expect(container.firstChild).toMatchInlineSnapshot(`
@ -789,7 +789,7 @@ describe('Email | Pages | Settings', () => {
class="c17" class="c17"
for="textinput-3" for="textinput-3"
> >
Default shipper email Default sender email
</label> </label>
</div> </div>
<div <div
@ -967,7 +967,7 @@ describe('Email | Pages | Settings', () => {
class="c17" class="c17"
for="test-address-input" for="test-address-input"
> >
Test delivery email address Recipient email
</label> </label>
</div> </div>
<div <div

View File

@ -1,9 +1,9 @@
{ {
"Settings.email.plugin.button.test-email": "Send test email", "Settings.email.plugin.button.test-email": "Send test email",
"Settings.email.plugin.label.defaultFrom": "Default shipper email", "Settings.email.plugin.label.defaultFrom": "Default sender email",
"Settings.email.plugin.label.defaultReplyTo": "Default response email", "Settings.email.plugin.label.defaultReplyTo": "Default response email",
"Settings.email.plugin.label.provider": "Email provider", "Settings.email.plugin.label.provider": "Email provider",
"Settings.email.plugin.label.testAddress": "Test delivery email address", "Settings.email.plugin.label.testAddress": "Recipient email",
"Settings.email.plugin.notification.config.error": "Failed to retrieve the email config", "Settings.email.plugin.notification.config.error": "Failed to retrieve the email config",
"Settings.email.plugin.notification.data.loaded": "Email settings data has been loaded", "Settings.email.plugin.notification.data.loaded": "Email settings data has been loaded",
"Settings.email.plugin.notification.test.error": "Failed to send a test mail to {to}", "Settings.email.plugin.notification.test.error": "Failed to send a test mail to {to}",
@ -15,7 +15,7 @@
"Settings.email.plugin.text.configuration": "The plugin is configured through the {file} file, checkout this {link} for the documentation.", "Settings.email.plugin.text.configuration": "The plugin is configured through the {file} file, checkout this {link} for the documentation.",
"Settings.email.plugin.title": "Configuration", "Settings.email.plugin.title": "Configuration",
"Settings.email.plugin.title.config": "Configuration", "Settings.email.plugin.title.config": "Configuration",
"Settings.email.plugin.title.test": "Send a test email", "Settings.email.plugin.title.test": "Send test email",
"SettingsNav.link.settings": "Settings", "SettingsNav.link.settings": "Settings",
"SettingsNav.section-label": "Email plugin", "SettingsNav.section-label": "Email plugin",
"components.Input.error.validation.email": "This is an invalid email" "components.Input.error.validation.email": "This is an invalid email"

View File

@ -205,7 +205,7 @@ export const SettingsPage = () => {
})} })}
label={formatMessage({ label={formatMessage({
id: getTrad('settings.form.sizeOptimization.label'), id: getTrad('settings.form.sizeOptimization.label'),
defaultMessage: 'Size optimization (without quality loss)', defaultMessage: 'Size optimization',
})} })}
name="sizeOptimization" name="sizeOptimization"
offLabel={formatMessage({ offLabel={formatMessage({

View File

@ -693,7 +693,7 @@ describe('Upload | SettingsPage', () => {
class="c27" class="c27"
for="field-2" for="field-2"
> >
Size optimization (without quality loss) Size optimization
</label> </label>
</div> </div>
<label <label
@ -702,7 +702,7 @@ describe('Upload | SettingsPage', () => {
<div <div
class="c29" class="c29"
> >
Size optimization (without quality loss) Size optimization
</div> </div>
<div <div
class="c30 c31" class="c30 c31"

View File

@ -86,7 +86,7 @@
"settings.form.responsiveDimensions.description": "Enabling this option will generate multiple formats (small, medium and large) of the uploaded asset.", "settings.form.responsiveDimensions.description": "Enabling this option will generate multiple formats (small, medium and large) of the uploaded asset.",
"settings.form.responsiveDimensions.label": "Responsive friendly upload", "settings.form.responsiveDimensions.label": "Responsive friendly upload",
"settings.form.sizeOptimization.description": "Enabling this option will optimize the file size without compromising on the quality.", "settings.form.sizeOptimization.description": "Enabling this option will optimize the file size without compromising on the quality.",
"settings.form.sizeOptimization.label": "Size optimization (without quality loss)", "settings.form.sizeOptimization.label": "Size optimization",
"settings.form.videoPreview.description": "It will generate a six-second preview of the video (GIF)", "settings.form.videoPreview.description": "It will generate a six-second preview of the video (GIF)",
"settings.form.videoPreview.label": "Preview", "settings.form.videoPreview.label": "Preview",
"settings.header.label": "Media Library", "settings.header.label": "Media Library",