mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
Fix up missing-extension message
This commit is contained in:
parent
3c8ee42666
commit
88fe3e76cb
2 changed files with 8 additions and 5 deletions
|
@ -80,9 +80,10 @@ return [
|
||||||
}',
|
}',
|
||||||
// indicates programming error
|
// indicates programming error
|
||||||
'Exception.JKingWeb/Arsse/ExceptionType.typeUnknown' => 'Normalization type {0} is not implemented',
|
'Exception.JKingWeb/Arsse/ExceptionType.typeUnknown' => 'Normalization type {0} is not implemented',
|
||||||
'Exception.JKingWeb/Arsse/Exception.extMissing' => 'The "{first}" PHP extension {total, plural, offset:1
|
'Exception.JKingWeb/Arsse/Exception.extMissing' =>
|
||||||
=0 {is}
|
'The "{first}" PHP extension {total, plural, offset:1
|
||||||
=1 {and one other extension are}
|
=1 {is}
|
||||||
|
one {and # other extension are}
|
||||||
other {and # other extensions are}
|
other {and # other extensions are}
|
||||||
} not installed or not enabled.',
|
} not installed or not enabled.',
|
||||||
'Exception.JKingWeb/Arsse/Lang/Exception.defaultFileMissing' => 'Default language file "{0}" missing',
|
'Exception.JKingWeb/Arsse/Lang/Exception.defaultFileMissing' => 'Default language file "{0}" missing',
|
||||||
|
|
|
@ -63,6 +63,8 @@ class TestArsse extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||||
return [
|
return [
|
||||||
[["pcre"], null],
|
[["pcre"], null],
|
||||||
[["foo", "bar", "baz"], new Exception("extMissing", ['first' => "foo", 'total' => 3])],
|
[["foo", "bar", "baz"], new Exception("extMissing", ['first' => "foo", 'total' => 3])],
|
||||||
|
[["bar", "baz"], new Exception("extMissing", ['first' => "bar", 'total' => 2])],
|
||||||
|
[["baz"], new Exception("extMissing", ['first' => "baz", 'total' => 1])],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue