for better compatibility and keeping the links shorter. Avoids problem
with corrupt links in Gmail on IE 6.
* (bug 14273) Fix for HTTP Accept header parsing with spaces as from Konqueror
-
+* (bug 14312) Update LanguageKaa.php for handling transform issues with i to İ
+ and I to ı
=== API changes in 1.13 ===
/* Full code of function convertGrammar() is in development. Updates coming soon. */
return $word;
}
-
+ /*
+ * It fixes issue with ucfirst for transforming 'i' to 'İ'
+ *
+ */
function ucfirst ( $string ) {
if ( $string[0] == 'i' ) {
- return 'İ' . substr( $string, 1 );
+ $string = 'İ' . substr( $string, 1 );
+ } else {
+ $string = parent::ucfirst( $string );
+ }
+ return $string;
+
+ }
+
+ /*
+ * It fixes issue with lcfirst for transforming 'I' to 'ı'
+ *
+ */
+ function lcfirst ( $string ) {
+ if ( $string[0] == 'I' ) {
+ $string = 'ı' . substr( $string, 1 );
} else {
- return parent::ucfirst( $string );
+ $string = parent::lcfirst( $string );
}
+ return $string;
}
/**
}
}
-}
\ No newline at end of file
+}