one-click-accessibility/modules/settings/assets/js/components/quota-bar/data.js
Nirbhay Singh e4c2ddef7b
[APP-1593] Add locked variant for quota bar (#301)
* update: add locked version of quota status bar

* fix: text color for infotip

* fix: width issues

* fix: add check for 0
2025-06-26 14:45:11 +05:30

29 lines
1.1 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 youre 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) youve scanned for accessibility this month. Upgrade if youre nearing your limit to keep scanning more.',
'pojo-accessibility',
),
},
ai: {
title: __('AI credits', 'pojo-accessibility'),
infotipDescription: __(
'This is how many AI credits youve used to resolve issues or to generate content. Upgrade if youre nearing your plan limit to keep full functionality.',
'pojo-accessibility',
),
lockedDescription: __(
'Upgrade your plan to unlock AI credits for generating alttext, oneclick accessibility fixes, and more.',
'pojo-accessibility',
),
},
};