first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace WPML\ST\MO\Notice;
class RegenerationInProgressNotice extends \WPML_Notice {
const ID = 'mo-files-regeneration';
const GROUP = 'mo-files';
public function __construct() {
$text = "WPML is updating the .mo files with the translation for strings. This will take a few more moments. During this process, translation for strings is not displaying on the front-end. You can refresh this page in a minute to see if it's done.";
$text = __( $text, 'wpml-string-translation' );
parent::__construct( self::ID, $text, self::GROUP );
$this->set_dismissible( false );
$this->set_css_classes( 'warning' );
}
}