mirror of
https://github.com/processwire/processwire.git
synced 2025-08-23 14:56:51 +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:
@@ -58,6 +58,9 @@ class InputfieldPageName extends InputfieldName implements ConfigurableModule {
|
|||||||
'í' => 'i',
|
'í' => 'i',
|
||||||
'ï' => 'i',
|
'ï' => 'i',
|
||||||
'î' => 'i',
|
'î' => 'i',
|
||||||
|
'ı' => 'i',
|
||||||
|
'İ' => 'i',
|
||||||
|
'ğ' => 'g',
|
||||||
'õ' => 'o',
|
'õ' => 'o',
|
||||||
'ò' => 'o',
|
'ò' => 'o',
|
||||||
'ó' => 'o',
|
'ó' => 'o',
|
||||||
@@ -71,6 +74,7 @@ class InputfieldPageName extends InputfieldName implements ConfigurableModule {
|
|||||||
'ç' => 'c',
|
'ç' => 'c',
|
||||||
'č' => 'c',
|
'č' => 'c',
|
||||||
'ć' => 'c',
|
'ć' => 'c',
|
||||||
|
'Ç' => 'c',
|
||||||
'ď' => 'd',
|
'ď' => 'd',
|
||||||
'ĺ' => 'l',
|
'ĺ' => 'l',
|
||||||
'ľ' => 'l',
|
'ľ' => 'l',
|
||||||
@@ -79,6 +83,8 @@ class InputfieldPageName extends InputfieldName implements ConfigurableModule {
|
|||||||
'ŕ' => 'r',
|
'ŕ' => 'r',
|
||||||
'ř' => 'r',
|
'ř' => 'r',
|
||||||
'š' => 's',
|
'š' => 's',
|
||||||
|
'ş' => 's',
|
||||||
|
'Ş' => 's',
|
||||||
'ť' => 't',
|
'ť' => 't',
|
||||||
'ý' => 'y',
|
'ý' => 'y',
|
||||||
'ž' => 'z',
|
'ž' => 'z',
|
||||||
|
Reference in New Issue
Block a user