- saving progress;
This commit is contained in:
@@ -2,14 +2,17 @@ import { __ } from '@wordpress/i18n';
|
||||
|
||||
const getBandoLabel = (status) => {
|
||||
switch (status) {
|
||||
case 'publish':
|
||||
case 'PUBLISH':
|
||||
return __('Pubblicato', 'gepafin');
|
||||
|
||||
case 'draft':
|
||||
case 'READY_TO_PUBLISH':
|
||||
return __('Pronto', 'gepafin');
|
||||
|
||||
case 'DRAFT':
|
||||
return __('Bozza', 'gepafin');
|
||||
|
||||
case 'closed':
|
||||
return __('Chiuso', 'gepafin');
|
||||
case 'EXPIRED':
|
||||
return __('Scaduto', 'gepafin');
|
||||
|
||||
default:
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user