mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 11:44:42 +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',
|
||||
'ğ' => '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',
|
||||
|
Reference in New Issue
Block a user