cozy-ui 86.1.0 → 86.3.0
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/CHANGELOG.md +15 -0
- package/assets/icons/ui/arrow-up.svg +1 -0
- package/package.json +3 -2
- package/react/Icon/Readme.md +3 -1
- package/react/Icon/icons-sprite.js +1 -1
- package/react/Icons/ArrowUp.jsx +16 -0
- package/react/MuiCozyTheme/List/Readme.md +29 -17
- package/react/Paywall/MaxAccountsByKonnectorPaywall.jsx +1 -4
- package/react/Paywall/MaxAccountsPaywall.jsx +1 -6
- package/react/Paywall/MaxPapersPaywall.jsx +29 -0
- package/react/Paywall/Readme.md +6 -1
- package/react/Paywall/index.jsx +1 -0
- package/react/Paywall/locales/en.json +20 -9
- package/react/Paywall/locales/fr.json +14 -3
- package/transpiled/react/Icon/icons-sprite.js +1 -1
- package/transpiled/react/Icons/ArrowUp.js +15 -0
- package/transpiled/react/Paywall/MaxAccountsByKonnectorPaywall.js +1 -8
- package/transpiled/react/Paywall/MaxAccountsPaywall.js +1 -8
- package/transpiled/react/Paywall/MaxPapersPaywall.js +29 -0
- package/transpiled/react/Paywall/index.js +2 -1
- package/transpiled/react/Paywall/locales/withPaywallLocales.js +34 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [86.3.0](https://github.com/cozy/cozy-ui/compare/v86.2.0...v86.3.0) (2023-06-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **Paywall:** Add MaxPapersPaywall ([a9b744f](https://github.com/cozy/cozy-ui/commit/a9b744f))
|
|
7
|
+
* **Paywall:** Change `I understood` in `I understand` ([ba43862](https://github.com/cozy/cozy-ui/commit/ba43862))
|
|
8
|
+
|
|
9
|
+
# [86.2.0](https://github.com/cozy/cozy-ui/compare/v86.1.0...v86.2.0) (2023-06-21)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* Add "ArrowUp" UI Icon ([b0c3711](https://github.com/cozy/cozy-ui/commit/b0c3711))
|
|
15
|
+
|
|
1
16
|
# [86.1.0](https://github.com/cozy/cozy-ui/compare/v86.0.0...v86.1.0) (2023-06-20)
|
|
2
17
|
|
|
3
18
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 3.414v11.58C9 15.548 8.556 16 8 16c-.552 0-1-.45-1-1.007V3.414L1.707 8.707A1 1 0 0 1 .293 7.293l7-7a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1-1.414 1.414L9 3.414Z"/></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-ui",
|
|
3
|
-
"version": "86.
|
|
3
|
+
"version": "86.3.0",
|
|
4
4
|
"description": "Cozy apps UI SDK",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"build:doc:react": "styleguidist build --config docs/styleguide.config.js",
|
|
30
30
|
"build:types": "tsc -p tsconfig-build.json",
|
|
31
31
|
"build:all": "yarn makeSpriteAndPalette && yarn build && yarn build:css:all && yarn build:doc",
|
|
32
|
-
"build": "
|
|
32
|
+
"build:js": "env BABEL_ENV=transpilation babel --extensions .ts,.tsx,.js,.jsx react/ --out-dir transpiled/react --verbose",
|
|
33
|
+
"build": "yarn build:types && yarn build:js",
|
|
33
34
|
"clean:doc:kss": "rm -rf build/styleguide",
|
|
34
35
|
"deploy:doc": "git-directory-deploy --directory build/ --branch gh-pages",
|
|
35
36
|
"makeSvgr": "scripts/generate-svgr-icon.sh",
|
package/react/Icon/Readme.md
CHANGED
|
@@ -32,6 +32,7 @@ import AlbumRemove from 'cozy-ui/transpiled/react/Icons/AlbumRemove'
|
|
|
32
32
|
import Answer from 'cozy-ui/transpiled/react/Icons/Answer'
|
|
33
33
|
import Apple from 'cozy-ui/transpiled/react/Icons/Apple'
|
|
34
34
|
import Archive from 'cozy-ui/transpiled/react/Icons/Archive'
|
|
35
|
+
import ArrowUp from 'cozy-ui/transpiled/react/Icons/ArrowUp'
|
|
35
36
|
import Attachment from 'cozy-ui/transpiled/react/Icons/Attachment'
|
|
36
37
|
import Attention from 'cozy-ui/transpiled/react/Icons/Attention'
|
|
37
38
|
import Bank from 'cozy-ui/transpiled/react/Icons/Bank'
|
|
@@ -258,6 +259,7 @@ const icons = [
|
|
|
258
259
|
Answer,
|
|
259
260
|
Apple,
|
|
260
261
|
Archive,
|
|
262
|
+
ArrowUp,
|
|
261
263
|
Attachment,
|
|
262
264
|
Attention,
|
|
263
265
|
Bank,
|
|
@@ -856,7 +858,7 @@ import Typography from 'cozy-ui/transpiled/react/Typography'
|
|
|
856
858
|
|
|
857
859
|
const colors = ['#297EF2', '#08b442', '#B449E7', '#F52D2D', '#FF962F']
|
|
858
860
|
let i = 0
|
|
859
|
-
const availableIcons = ['album-add','album-remove','album','answer','apple','archive','attachment','attention','bank','banking-add','banking','bell','bike','bill','bottom','browser-brave','browser-chrome','browser-duckduckgo','browser-edge','browser-edge-chromium','browser-firefox','browser-ie','browser-opera','browser-safari','burger','bus','calendar','camera','car','carbonCopy','categories','certified','check-circle','check-list','check-square','check','checkbox','circle-filled','clock','clock-outline','cloud-happy','cloud','collect','comment','company','compare','compass','connector','contract','contrast','copy','cozy-circle','cozy-laugh', 'cozy-lock', 'cozy-text', 'cozy-release', 'credit-card-add','credit-card','credit','crop','cross-circle','cross-medium','cross-small','cross','cube','dash','dashboard','data-control','debit','devices','dots','down','download','drawing-arrow-up','dropdown-close','dropdown-open','dropdown','dropup','email-notification','email','eu','euro','exchange','eye-closed','eye','file-add','file-duotone','file-new','file-none','file-outline','file','filter','fingerprint','fitness','flag-outlined','flag','flash-auto','flashlight','folder-add','folder-moveto','folder','forbidden','from-user','gear','globe','graph-circle','grid','group-list','groups','hand','heart','help','help-outlined','history','home','hourglass','image','info-outlined','info','key','laptop','left','lightbulb','link-out','link','list','location','lock', 'lock-screen', 'logout','magic-trick','magnet','magnifier','merge','mountain','movement-in','movement-out','mouvement','moveto','multi-files','music','new','next','note','notification-email','offline','online', 'openapp', 'openwith','palette','paper','paperplane','password','pen','people','percent-circle','percent','personal-data','phone-download','phone-upload','phone','pie-chart','pin','plane','plus-small','plus','previous','printer','qualify','radio-checked','radio-unchecked','refresh','repare','reply','restaurant','restore-straight','restore','right','rise','rotate-left','rotate-right','sad-cozy','safe','school','select-all','setting','share-circle','share','shield','shop','sound','spinner','stack','star','stats','subway', 'swap', 'sync-cozy','sync','tag','target','team','telephone','to-the-cloud','top','train','trash','trophy','unknow','unlink','unlock','up','upload','videos','walk','wallet-add','wallet-new','wallet','warn','warning-circle','warning','wrench-circle']
|
|
861
|
+
const availableIcons = ['album-add','album-remove','album','answer','apple','archive','arrowUp','attachment','attention','bank','banking-add','banking','bell','bike','bill','bottom','browser-brave','browser-chrome','browser-duckduckgo','browser-edge','browser-edge-chromium','browser-firefox','browser-ie','browser-opera','browser-safari','burger','bus','calendar','camera','car','carbonCopy','categories','certified','check-circle','check-list','check-square','check','checkbox','circle-filled','clock','clock-outline','cloud-happy','cloud','collect','comment','company','compare','compass','connector','contract','contrast','copy','cozy-circle','cozy-laugh', 'cozy-lock', 'cozy-text', 'cozy-release', 'credit-card-add','credit-card','credit','crop','cross-circle','cross-medium','cross-small','cross','cube','dash','dashboard','data-control','debit','devices','dots','down','download','drawing-arrow-up','dropdown-close','dropdown-open','dropdown','dropup','email-notification','email','eu','euro','exchange','eye-closed','eye','file-add','file-duotone','file-new','file-none','file-outline','file','filter','fingerprint','fitness','flag-outlined','flag','flash-auto','flashlight','folder-add','folder-moveto','folder','forbidden','from-user','gear','globe','graph-circle','grid','group-list','groups','hand','heart','help','help-outlined','history','home','hourglass','image','info-outlined','info','key','laptop','left','lightbulb','link-out','link','list','location','lock', 'lock-screen', 'logout','magic-trick','magnet','magnifier','merge','mountain','movement-in','movement-out','mouvement','moveto','multi-files','music','new','next','note','notification-email','offline','online', 'openapp', 'openwith','palette','paper','paperplane','password','pen','people','percent-circle','percent','personal-data','phone-download','phone-upload','phone','pie-chart','pin','plane','plus-small','plus','previous','printer','qualify','radio-checked','radio-unchecked','refresh','repare','reply','restaurant','restore-straight','restore','right','rise','rotate-left','rotate-right','sad-cozy','safe','school','select-all','setting','share-circle','share','shield','shop','sound','spinner','stack','star','stats','subway', 'swap', 'sync-cozy','sync','tag','target','team','telephone','to-the-cloud','top','train','trash','trophy','unknow','unlink','unlock','up','upload','videos','walk','wallet-add','wallet-new','wallet','warn','warning-circle','warning','wrench-circle']
|
|
860
862
|
;
|
|
861
863
|
<div style={{ fontSize: '2rem', display: 'grid', gridTemplateColumns: 'repeat(6, 1fr)' }}>
|
|
862
864
|
<Sprite />
|
|
@@ -179,7 +179,7 @@ animation: checkmark 0.5s ease-in-out 0.16s backwards
|
|
|
179
179
|
<path fill-rule="evenodd" d="M11.88 8.5c.023 2.422 2.125 3.227 2.148 3.238-.018.056-.336 1.148-1.107 2.275-.667.975-1.36 1.946-2.45 1.966-1.07.02-1.415-.635-2.64-.635s-1.607.615-2.622.655c-1.052.04-1.853-1.054-2.526-2.025C1.31 11.987.26 8.36 1.67 5.912c.7-1.215 1.952-1.985 3.31-2.005 1.034-.02 2.01.695 2.641.695.632 0 1.817-.86 3.063-.733.522.022 1.986.21 2.927 1.587-.076.047-1.748 1.02-1.73 3.044M9.868 2.555c.559-.677.935-1.618.832-2.555-.805.032-1.779.537-2.357 1.213-.517.598-.97 1.556-.848 2.475.897.069 1.814-.457 2.373-1.133"/>
|
|
180
180
|
</symbol><symbol id="archive" viewBox="0 0 16 16">
|
|
181
181
|
<path fill-rule="evenodd" d="M1 4h14v10.004a1 1 0 0 1-1.007.996H2.007A1 1 0 0 1 1 14.004V4zM0 2c0-.552.445-1 1-1h14c.552 0 1 .444 1 1v1H0V2zm5 4v2h6V6H5z"/>
|
|
182
|
-
</symbol><symbol id="attachment" viewBox="0 0 16 16">
|
|
182
|
+
</symbol><symbol id="arrow-up" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 3.414v11.58C9 15.548 8.556 16 8 16c-.552 0-1-.45-1-1.007V3.414L1.707 8.707A1 1 0 0 1 .293 7.293l7-7a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1-1.414 1.414L9 3.414Z"/></symbol><symbol id="attachment" viewBox="0 0 16 16">
|
|
183
183
|
<path fill-rule="evenodd" d="M2.43 14.43C.457 12.457.337 9.385 2.16 7.56l6.3-6.3c1.327-1.325 3.563-1.237 4.997.197 1.434 1.434 1.522 3.67.196 4.996l-5.1 5.1c-.828.828-2.227.773-3.123-.123-.895-.895-.95-2.294-.122-3.122l4.5-4.5 1.298 1.298L6.552 9.66c-.33.33.319.979.649.649l5.154-5.154c.66-.66.616-1.784-.098-2.498-.714-.714-1.838-.758-2.498-.098l-6.3 6.3c-1.158 1.158-1.081 3.119.171 4.371 1.253 1.253 3.214 1.33 4.372.172l5.7-5.7L15 9l-5.7 5.7c-1.824 1.824-4.897 1.703-6.87-.27z"/>
|
|
184
184
|
</symbol><symbol id="attention" viewBox="0 0 16 16">
|
|
185
185
|
<path fill-rule="evenodd" d="M8 2l8 12H0L8 2zM7 6v4h2V6H7zm0 5v2h2v-2H7z"/>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/ui/arrow-up.svg` to regenerate;
|
|
2
|
+
import React from 'react'
|
|
3
|
+
|
|
4
|
+
function SvgArrowUp(props) {
|
|
5
|
+
return (
|
|
6
|
+
<svg viewBox="0 0 16 16" {...props}>
|
|
7
|
+
<path
|
|
8
|
+
fillRule="evenodd"
|
|
9
|
+
clipRule="evenodd"
|
|
10
|
+
d="M9 3.414v11.58C9 15.548 8.556 16 8 16c-.552 0-1-.45-1-1.007V3.414L1.707 8.707A1 1 0 01.293 7.293l7-7a1 1 0 011.414 0l7 7a1 1 0 01-1.414 1.414L9 3.414z"
|
|
11
|
+
/>
|
|
12
|
+
</svg>
|
|
13
|
+
)
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default SvgArrowUp
|
|
@@ -35,7 +35,9 @@ import ListItem from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItem'
|
|
|
35
35
|
import ListItemIcon from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItemIcon'
|
|
36
36
|
import ListItemText from 'cozy-ui/transpiled/react/ListItemText'
|
|
37
37
|
import ListItemSecondaryAction from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItemSecondaryAction'
|
|
38
|
-
import
|
|
38
|
+
import ActionsMenu from 'cozy-ui/transpiled/react/ActionsMenu'
|
|
39
|
+
import ActionsMenuItem from 'cozy-ui/transpiled/react/ActionsMenu/ActionsMenuItem'
|
|
40
|
+
import ActionsMenuWrapper from 'cozy-ui/transpiled/react/ActionsMenu/ActionsMenuWrapper'
|
|
39
41
|
import Icon from 'cozy-ui/transpiled/react/Icon'
|
|
40
42
|
import Menu from 'cozy-ui/transpiled/react/MuiCozyTheme/Menus'
|
|
41
43
|
import MenuItem from '@material-ui/core/MenuItem'
|
|
@@ -127,25 +129,35 @@ const initialVariants = [{ dense: false, disabledGutters: false, doubleGutters:
|
|
|
127
129
|
</ListItemSecondaryAction>
|
|
128
130
|
</ListItem>
|
|
129
131
|
{state.showMenu && (
|
|
130
|
-
<
|
|
131
|
-
|
|
132
|
+
<ActionsMenuWrapper
|
|
133
|
+
anchorEl={anchorRef.current}
|
|
134
|
+
open
|
|
132
135
|
autoclose
|
|
136
|
+
getContentAnchorEl={null}
|
|
137
|
+
anchorOrigin={{
|
|
138
|
+
vertical: 'bottom',
|
|
139
|
+
horizontal: 'right'
|
|
140
|
+
}}
|
|
141
|
+
transformOrigin={{
|
|
142
|
+
vertical: 'top',
|
|
143
|
+
horizontal: 'right'
|
|
144
|
+
}}
|
|
145
|
+
keepMounted
|
|
133
146
|
onClose={hideMenu}
|
|
134
147
|
>
|
|
135
|
-
<
|
|
136
|
-
<
|
|
137
|
-
|
|
138
|
-
</
|
|
139
|
-
<
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
</ActionMenu>
|
|
148
|
+
<ActionsMenuItem>
|
|
149
|
+
<ListItemIcon>
|
|
150
|
+
<Icon icon={FileIcon} />
|
|
151
|
+
</ListItemIcon>
|
|
152
|
+
<ListItemText primary="Item 1" secondary="Descriptive text to elaborate on what item 3 does."/>
|
|
153
|
+
</ActionsMenuItem>
|
|
154
|
+
<ActionsMenuItem>
|
|
155
|
+
<ListItemIcon>
|
|
156
|
+
<Icon icon={FileIcon} />
|
|
157
|
+
</ListItemIcon>
|
|
158
|
+
<ListItemText primary="Item 2" />
|
|
159
|
+
</ActionsMenuItem>
|
|
160
|
+
</ActionsMenuWrapper>
|
|
149
161
|
)}
|
|
150
162
|
<Divider component="li" variant="inset" />
|
|
151
163
|
|
|
@@ -2,20 +2,17 @@ import React from 'react'
|
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
|
|
4
4
|
import Paywall from './Paywall'
|
|
5
|
-
import { useI18n } from '../I18n'
|
|
6
5
|
import withPaywallLocales from './locales/withPaywallLocales'
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* Paywall displayed when the user reach the maximum accounts allowed for a konnector
|
|
10
9
|
*/
|
|
11
10
|
const MaxAccountsByKonnectorPaywall = ({ max, konnectorName, onClose }) => {
|
|
12
|
-
const { t } = useI18n()
|
|
13
|
-
|
|
14
11
|
return (
|
|
15
12
|
<Paywall
|
|
16
13
|
variant="maxAccountsByKonnector"
|
|
17
14
|
contentInterpolation={{
|
|
18
|
-
|
|
15
|
+
smart_count: max,
|
|
19
16
|
konnectorName
|
|
20
17
|
}}
|
|
21
18
|
onClose={onClose}
|
|
@@ -3,20 +3,15 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
|
|
4
4
|
import Paywall from './Paywall'
|
|
5
5
|
import withPaywallLocales from './locales/withPaywallLocales'
|
|
6
|
-
import { useI18n } from '../I18n'
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* Paywall displayed when the user reach the maximum accounts allowed for all konnectors
|
|
10
9
|
*/
|
|
11
10
|
const MaxAccountsPaywall = ({ max, onClose }) => {
|
|
12
|
-
const { t } = useI18n()
|
|
13
|
-
|
|
14
11
|
return (
|
|
15
12
|
<Paywall
|
|
16
13
|
variant="maxAccounts"
|
|
17
|
-
contentInterpolation={{
|
|
18
|
-
maxAccount: t('maxAccount', { smart_count: max })
|
|
19
|
-
}}
|
|
14
|
+
contentInterpolation={{ smart_count: max }}
|
|
20
15
|
onClose={onClose}
|
|
21
16
|
/>
|
|
22
17
|
)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import PropTypes from 'prop-types'
|
|
3
|
+
|
|
4
|
+
import Paywall from './Paywall'
|
|
5
|
+
import withPaywallLocales from './locales/withPaywallLocales'
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Paywall displayed when the user reaches the maximum number of papers created via the Mespapiers application.
|
|
9
|
+
*
|
|
10
|
+
* @param {number} max - Maximum papers allowed
|
|
11
|
+
* @param {function} onClose - Callback used when the user close the paywall
|
|
12
|
+
* @returns {React.Component} - React component
|
|
13
|
+
*/
|
|
14
|
+
const MaxPapersPaywall = ({ max, onClose }) => {
|
|
15
|
+
return (
|
|
16
|
+
<Paywall
|
|
17
|
+
variant="maxPapers"
|
|
18
|
+
contentInterpolation={{ smart_count: max }}
|
|
19
|
+
onClose={onClose}
|
|
20
|
+
/>
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
MaxPapersPaywall.propTypes = {
|
|
25
|
+
max: PropTypes.number.isRequired,
|
|
26
|
+
onClose: PropTypes.func.isRequired
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export default withPaywallLocales(MaxPapersPaywall)
|
package/react/Paywall/Readme.md
CHANGED
|
@@ -7,7 +7,8 @@ import {
|
|
|
7
7
|
OnlyOfficePaywall,
|
|
8
8
|
PasswordSharingPaywall,
|
|
9
9
|
MaxAccountsByKonnectorPaywall,
|
|
10
|
-
MaxAccountsPaywall
|
|
10
|
+
MaxAccountsPaywall,
|
|
11
|
+
MaxPapersPaywall
|
|
11
12
|
} from "cozy-ui/transpiled/react/Paywall"
|
|
12
13
|
import { CozyProvider } from "cozy-client"
|
|
13
14
|
import { BreakpointsProvider } from "cozy-ui/transpiled/react/hooks/useBreakpoints"
|
|
@@ -61,6 +62,10 @@ const paywalls = [
|
|
|
61
62
|
{
|
|
62
63
|
name: 'MaxAccountsPaywall',
|
|
63
64
|
component: MaxAccountsPaywall
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'MaxPapersPaywall',
|
|
68
|
+
component: MaxPapersPaywall
|
|
64
69
|
}
|
|
65
70
|
]
|
|
66
71
|
|
package/react/Paywall/index.jsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mobileApp": {
|
|
3
|
-
"action": "I
|
|
3
|
+
"action": "I understand"
|
|
4
4
|
},
|
|
5
5
|
"onlyOfficePaywall": {
|
|
6
6
|
"premium": {
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
"public": {
|
|
12
12
|
"title": "Information",
|
|
13
13
|
"content": "You cannot edit this file online. Please ask the document owner to update their Cozy subscription.",
|
|
14
|
-
"action": "I
|
|
14
|
+
"action": "I understand"
|
|
15
15
|
},
|
|
16
16
|
"default": {
|
|
17
17
|
"title": "Information",
|
|
18
18
|
"content": "Your current offer does not allow you to take advantage of this feature.",
|
|
19
|
-
"action": "I
|
|
19
|
+
"action": "I understand"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"passwordSharingPaywall": {
|
|
@@ -28,32 +28,43 @@
|
|
|
28
28
|
"default": {
|
|
29
29
|
"title": "Information",
|
|
30
30
|
"content": "Your current offer does not allow you to take advantage of this feature.",
|
|
31
|
-
"action": "I
|
|
31
|
+
"action": "I understand"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"maxAccount": "%{smart_count} account |||| %{smart_count} accounts",
|
|
35
34
|
"maxAccountsByKonnectorPaywall": {
|
|
36
35
|
"premium": {
|
|
37
36
|
"title": "Upgrade your Cozy!",
|
|
38
|
-
"content": "Your offer allows you to connect %{
|
|
37
|
+
"content": "Your offer allows you to connect %{smart_count} account %{konnectorName} in your Cozy.\n\nTo unlock this feature, or simply support us, you can change your Cozy offer. |||| Your offer allows you to connect %{smart_count} accounts %{konnectorName} in your Cozy.\n\nTo unlock this feature, or simply support us, you can change your Cozy offer.",
|
|
39
38
|
"action": "Check our plans"
|
|
40
39
|
},
|
|
41
40
|
"default": {
|
|
42
41
|
"title": "Information",
|
|
43
42
|
"content": "Your current offer does not allow you to take advantage of this feature.",
|
|
44
|
-
"action": "I
|
|
43
|
+
"action": "I understand"
|
|
45
44
|
}
|
|
46
45
|
},
|
|
47
46
|
"maxAccountsPaywall": {
|
|
48
47
|
"premium": {
|
|
49
48
|
"title": "Upgrade your Cozy!",
|
|
50
|
-
"content": "Your offer allows you to connect %{
|
|
49
|
+
"content": "Your offer allows you to connect %{smart_count} account in your Cozy.\n\nTo unlock this feature, or simply support us, you can change your Cozy offer. |||| Your offer allows you to connect %{smart_count} accounts in your Cozy.\n\nTo unlock this feature, or simply support us, you can change your Cozy offer.",
|
|
51
50
|
"action": "Check our plans"
|
|
52
51
|
},
|
|
53
52
|
"default": {
|
|
54
53
|
"title": "Information",
|
|
55
54
|
"content": "Your current offer does not allow you to take advantage of this feature.",
|
|
56
|
-
"action": "I
|
|
55
|
+
"action": "I understand"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"maxPapersPaywall": {
|
|
59
|
+
"premium": {
|
|
60
|
+
"title": "Upgrade your Cozy!",
|
|
61
|
+
"content": "Your offer allows you to manually add up to %{smart_count} paper.\n\nTo unlock this feature, or simply support us, you can modify the offer of your Cozy. |||| Your offer allows you to manually add up to %{smart_count} papers.\n\nTo unlock this feature, or simply support us, you can modify the offer of your Cozy.",
|
|
62
|
+
"action": "Check our plans"
|
|
63
|
+
},
|
|
64
|
+
"default": {
|
|
65
|
+
"title": "Information",
|
|
66
|
+
"content": "Your current offer does not allow you to take advantage of this feature.",
|
|
67
|
+
"action": "I understand"
|
|
57
68
|
}
|
|
58
69
|
}
|
|
59
70
|
}
|
|
@@ -31,11 +31,10 @@
|
|
|
31
31
|
"action": "J'ai compris"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"maxAccount": "%{smart_count} compte |||| %{smart_count} comptes",
|
|
35
34
|
"maxAccountsByKonnectorPaywall": {
|
|
36
35
|
"premium": {
|
|
37
36
|
"title": "Augmenter votre Cozy !",
|
|
38
|
-
"content": "Votre offre vous permet de connecter %{
|
|
37
|
+
"content": "Votre offre vous permet de connecter %{smart_count} compte %{konnectorName} dans votre Cozy.\n\nPour débloquer cette fonctionnalité, ou simplement nous soutenir, vous pouvez modifier l'offre de votre Cozy. |||| Votre offre vous permet de connecter %{smart_count} comptes %{konnectorName} dans votre Cozy.\n\nPour débloquer cette fonctionnalité, ou simplement nous soutenir, vous pouvez modifier l'offre de votre Cozy.",
|
|
39
38
|
"action": "Voir les offres"
|
|
40
39
|
},
|
|
41
40
|
"default": {
|
|
@@ -47,7 +46,19 @@
|
|
|
47
46
|
"maxAccountsPaywall": {
|
|
48
47
|
"premium": {
|
|
49
48
|
"title": "Augmenter votre Cozy !",
|
|
50
|
-
"content": "Votre offre vous permet de connecter %{
|
|
49
|
+
"content": "Votre offre vous permet de connecter %{smart_count} compte dans votre Cozy.\n\nPour débloquer cette fonctionnalité, ou simplement nous soutenir, vous pouvez modifier l'offre de votre Cozy. |||| Votre offre vous permet de connecter %{smart_count} comptes dans votre Cozy.\n\nPour débloquer cette fonctionnalité, ou simplement nous soutenir, vous pouvez modifier l'offre de votre Cozy.",
|
|
50
|
+
"action": "Voir les offres"
|
|
51
|
+
},
|
|
52
|
+
"default": {
|
|
53
|
+
"title": "Information",
|
|
54
|
+
"content": "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalité.",
|
|
55
|
+
"action": "J'ai compris"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"maxPapersPaywall": {
|
|
59
|
+
"premium": {
|
|
60
|
+
"title": "Augmenter votre Cozy !",
|
|
61
|
+
"content": "Votre offre vous permet d'ajouter manuellement jusqu'à %{smart_count} papier.\n\nPour débloquer cette fonctionnalité, ou simplement nous soutenir, vous pouvez modifier l'offre de votre Cozy. |||| Votre offre vous permet d'ajouter manuellement jusqu'à %{smart_count} papiers.\n\nPour débloquer cette fonctionnalité, ou simplement nous soutenir, vous pouvez modifier l'offre de votre Cozy.",
|
|
51
62
|
"action": "Voir les offres"
|
|
52
63
|
},
|
|
53
64
|
"default": {
|