From a9991969b1be0551d65aa54b3c4963533db1a455 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sat, 6 Jun 2015 22:30:03 +0100 Subject: Refactor specialchars.php into classes --- app/SpecialChars/SpecialCharsNl.php | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 app/SpecialChars/SpecialCharsNl.php (limited to 'app/SpecialChars/SpecialCharsNl.php') diff --git a/app/SpecialChars/SpecialCharsNl.php b/app/SpecialChars/SpecialCharsNl.php new file mode 100644 index 0000000000..e3f4345c1b --- /dev/null +++ b/app/SpecialChars/SpecialCharsNl.php @@ -0,0 +1,47 @@ +. + */ + +/** + * Class SpecialCharsNl - exemplar characters for Dutch + * + * For each language, list the symbols, puncutation and letters with diacritics + * that may be difficult to type. + */ +class SpecialCharsNl extends AbstractSpecialChars { + /** + * A list of magiscule letters. + * + * @return string[] + */ + public function upper() { + return array( + 'Á', 'Â', 'È', 'É', 'Ê', 'Ë', 'Í', 'Ï', 'IJ', 'Ó', 'Ô', 'Ö', 'Ú', 'Ù', 'Ä', 'Û', 'Ü', + ); + } + + /** + * A list of miniscule letters. + * + * @return string[] + */ + public function lower() { + return array( + 'á', 'â', 'è', 'é', 'ê', 'ë', 'í', 'ï', 'ij', 'ó', 'ô', 'ö', 'ú', 'ù', 'ä', 'û', 'ü', + ); + } +} -- cgit v1.3