1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-16 19:54:24 +02:00

turkish chars added to defaultReplacements array

Special letters in Turkish alphabet (see below) added to default replacements array as they were becoming - in page names.

ı=i
ğ=g
İ=i
Ç=c
ş=s
Ş=s
This commit is contained in:
Bora Yalçın
2016-11-09 09:37:56 +01:00
committed by GitHub
parent 36984e4a05
commit 1bb92f1941

View File

@@ -58,6 +58,9 @@ class InputfieldPageName extends InputfieldName implements ConfigurableModule {
'í' => 'i',
'ï' => 'i',
'î' => 'i',
'ı' => 'i',
'İ' => 'i',
'ğ' => 'g',
'õ' => 'o',
'ò' => 'o',
'ó' => 'o',
@@ -71,6 +74,7 @@ class InputfieldPageName extends InputfieldName implements ConfigurableModule {
'ç' => 'c',
'č' => 'c',
'ć' => 'c',
'Ç' => 'c',
'ď' => 'd',
'ĺ' => 'l',
'ľ' => 'l',
@@ -79,6 +83,8 @@ class InputfieldPageName extends InputfieldName implements ConfigurableModule {
'ŕ' => 'r',
'ř' => 'r',
'š' => 's',
'ş' => 's',
'Ş' => 's',
'ť' => 't',
'ý' => 'y',
'ž' => 'z',