.wc-block-product-tag__selection { width: 100%; } .wc-block-product-tag__cancel-button.is-tertiary { margin: 1em auto 0; } import './style.scss'; import { getRedirectUrl } from '@automattic/jetpack-components'; import { ExternalLink } from '@wordpress/components'; import { useSelect } from '@wordpress/data'; import { createInterpolateElement } from '@wordpress/element'; import { __, sprintf } from '@wordpress/i18n'; import { STORE_ID } from '../../../store'; import StorageHelpPopover from '../storage-help-popover'; import { StorageUsageLevels } from '../storage-usage-levels'; import { useStorageUsageText } from './use-storage-usage-text'; const StorageUsageDetails = ( { storageUsed, storageLimit, lastBackupSize, planRetentionDays, usageLevel, onClickedPurchase, } ) => { const domain = useSelect( select => select( STORE_ID ).getCalypsoSlug() ); const usageText = useStorageUsageText( storageUsed, storageLimit ); const daysOfBackupsSaved = useSelect( select => select( STORE_ID ).getDaysOfBackupsSaved() ); let forecastInDays = 0; if ( storageLimit > 0 && lastBackupSize > 0 ) { forecastInDays = Math.floor( storageLimit / lastBackupSize ); } const singularDaysOfBackupLabel = __( '1 day of backups saved', 'jetpack-backup-pkg' ); const pluralDaysOfBackupLabel = sprintf( /* translators: %s: Number of days of backups saved. */ __( '%s days of backups saved', 'jetpack-backup-pkg' ), daysOfBackupsSaved ); return ( <>
{ usageText } { // Show popover only when usage level is normal, for other levels, // we already show separate message with CTA under progress bar forecastInDays < planRetentionDays && StorageUsageLevels.Normal === usageLevel && ( ) }
{ createInterpolateElement( daysOfBackupsSaved === 1 ? singularDaysOfBackupLabel : pluralDaysOfBackupLabel, { a: ( ), } ) }
); }; export default StorageUsageDetails; August 2023 – E-MAC TANZANIA

August 2023

Empowering Youth Through the Opportunities for Youth Employment (OYE) Project

E-mac Tanzania proud to highlight the remarkable progress of the Opportunities for Youth Employment (OYE) project, a collaborative initiative between E-mac Tanzania and the Netherlands Development Organization (SNV). This project is transforming the lives of Tanzanian youth by providing them with essential skills and entrepreneurial opportunities. These stories and images are just a glimpse of […]

Empowering Youth Through the Opportunities for Youth Employment (OYE) Project Read More »

Empowering Change: The Impactful Journey of Joan and Joseph in Menstrual Hygiene Education

Isn’t story telling impactful: Meet Joan Hopeness, a remarkable Form Four students from Ilkiding’a Secondary School in Arusha region. As a chairperson of the SWASH Club (School Water Sanitation and Hygiene), She leads a diverse group of 1020 students in her school. Joan’s leadership has been pivotal in providing education on safe menstrual hygiene, a

Empowering Change: The Impactful Journey of Joan and Joseph in Menstrual Hygiene Education Read More »

Scroll to Top