mirror of
https://gh.wpcy.net/https://github.com/elementor/one-click-accessibility.git
synced 2026-04-24 18:48:55 +08:00
* update: quota bar designs * fix: the popover was partially visible * update: AI credits name * update: usage calculation logic * add: quota indicators * update: quotas tooltip text * update: quotas notices text * update: make toggle icon dynamic * fix: @elementor/ui imports * Update modules/settings/assets/js/layouts/quota-bar.js Co-authored-by: VasylD <vasyld@elementor.red> * update: styling of component --------- Co-authored-by: VasylD <vasyld@elementor.red>
25 lines
973 B
JavaScript
25 lines
973 B
JavaScript
import { __ } from '@wordpress/i18n';
|
||
|
||
export const QuotaBarData = {
|
||
visits: {
|
||
title: __('Widget loads', 'pojo-accessibility'),
|
||
infotipDescription: __(
|
||
'This is how many times your widget loads for each unique IP/device in a 24-hour span across your sites this month. Upgrade if you’re nearing your limit to keep all features available.',
|
||
'pojo-accessibility',
|
||
),
|
||
},
|
||
scanner: {
|
||
title: __('Pages scanned', 'pojo-accessibility'),
|
||
infotipDescription: __(
|
||
'This is how many URLs (like site pages, blog posts, or product pages) you’ve scanned for accessibility this month. Upgrade if you’re nearing your limit to keep scanning more.',
|
||
'pojo-accessibility',
|
||
),
|
||
},
|
||
ai: {
|
||
title: __('AI credits', 'pojo-accessibility'),
|
||
infotipDescription: __(
|
||
'This is how many AI credits you’ve used to resolve issues or to generate content. Upgrade if you’re nearing your plan limit to keep full functionality.',
|
||
'pojo-accessibility',
|
||
),
|
||
},
|
||
};
|