Page MenuHomeWickedGov Phorge

AggregateGroupLanguageMismatchException.php
No OneTemporary

Size
719 B
Referenced Files
None
Subscribers
None

AggregateGroupLanguageMismatchException.php

<?php
declare( strict_types = 1 );
namespace MediaWiki\Extension\Translate\MessageGroupProcessing;
use LocalizedException;
use MediaWiki\Message\Message;
/**
* Exception thrown when message group languages do not match the aggregate message group's language
* @author Abijeet Patro
* @license GPL-2.0-or-later
* @since 2024.11
*/
class AggregateGroupLanguageMismatchException extends LocalizedException {
public function __construct( array $invalidGroupIds, string $aggregateGroupLanguageCode ) {
parent::__construct(
[
'translate-error-aggregategroup-source-language-mismatch',
Message::listParam( $invalidGroupIds ),
$aggregateGroupLanguageCode,
count( $invalidGroupIds )
]
);
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 14 2026, 19:41 (13 w, 7 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5a/da/d775e5bfb8c0e6684e91687b500b
Default Alt Text
AggregateGroupLanguageMismatchException.php (719 B)

Event Timeline