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/SpecialCharsNn.php | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 app/SpecialChars/SpecialCharsNn.php (limited to 'app/SpecialChars/SpecialCharsNn.php') diff --git a/app/SpecialChars/SpecialCharsNn.php b/app/SpecialChars/SpecialCharsNn.php new file mode 100644 index 0000000000..153837d139 --- /dev/null +++ b/app/SpecialChars/SpecialCharsNn.php @@ -0,0 +1,47 @@ +. + */ + +/** + * Class SpecialCharsNn - exemplar characters for Norwegian + * + * For each language, list the symbols, puncutation and letters with diacritics + * that may be difficult to type. + */ +class SpecialCharsNn extends AbstractSpecialChars { + /** + * A list of magiscule letters. + * + * @return string[] + */ + public function upper() { + return array( + 'Æ', 'Ø', 'Å', 'À', 'É', 'Ê', 'Ó', 'Ò', 'Ô', + ); + } + + /** + * A list of miniscule letters. + * + * @return string[] + */ + public function lower() { + return array( + 'æ', 'ø', 'å', 'à', 'é', 'ê', 'ó', 'ò', 'ô', + ); + } +} -- cgit v1.3