Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix E_NOTICE - Turkish only has the singular form

  • Loading branch information...
commit 9420307f7f02d47d26a8e14beb7cc5a47d539425 1 parent 1adb76d
@CloCkWeRX authored
Showing with 2 additions and 8 deletions.
  1. +2 −8 Numbers/Words/lang.tr_TR.php
View
10 Numbers/Words/lang.tr_TR.php
@@ -76,7 +76,7 @@ class Numbers_Words_tr_TR extends Numbers_Words
var $_minus = 'eksi';
/**
- * The sufixes for exponents (singular and plural)
+ * The sufixes for exponents - singular only
* @var array
* @access private
*/
@@ -304,13 +304,7 @@ function _toWords($num, $power = 0)
return null;
}
- // if it's only one use the singular suffix
- if (($d == 1) and ($t == 0) and ($h == 0)) {
- $suffix = $lev[0];
- }
- else {
- $suffix = $lev[1];
- }
+ $suffix = $lev[0];
if ($num != 0) {
$ret .= $this->_sep . $suffix;
}
Please sign in to comment.
Something went wrong with that request. Please try again.