__('Please fix these fields before saving: %s', 'a-ripple-song'), 'required' => __('This field is required.', 'a-ripple-song'), /* translators: 1: image width, 2: image height. */ 'currentSize' => __('Current: %1$d × %2$d px.', 'a-ripple-song'), 'imageLoadError' => __('The image could not be loaded.', 'a-ripple-song'), /* translators: %s: current file type or size, e.g. "WEBP" or "830.5 KB". */ 'currentFile' => __('Current: %s.', 'a-ripple-song'), 'refreshError' => __('This list could not be updated. Please try again.', 'a-ripple-song'), 'cropTitle' => __('Choose Image', 'a-ripple-song'), 'cropButton' => __('Select and Crop', 'a-ripple-song'), ]); } /** * Enqueue only the field styles, e.g. for a switch outside a form. * * @return void */ public static function enqueueStyle(): void { wp_enqueue_style( self::HANDLE, A_RIPPLE_SONG_PLUGIN_URL . 'resources/assets/css/fields.css', ['dashicons'], App::assetVersion('resources/assets/css/fields.css') ); } }