Skip to content

Commit

Permalink
Use both TRL and TRY currency codes (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
uguurozkan authored Nov 27, 2022
1 parent abd6d5b commit 8e4bd84
Show file tree
Hide file tree
Showing 19 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Language/Albanian/AlbanianDictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ class AlbanianDictionary implements Dictionary
'TMT' => [['manat'], ['tenge']],
'TND' => [['dinar'], ['milimetra']],
'TRL' => [['lira'], ['kuruş']],
'TRY' => [['lira'], ['kuruş']],
'UAH' => [['hryvna'], ['cent']],
'USD' => [['dollar'], ['cent']],
'XAF' => [['CFA franc'], ['cent']],
Expand Down
1 change: 1 addition & 0 deletions src/Language/Arabic/ArabicDictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class ArabicDictionary implements Dictionary
'TMT' => [['manat'], ['tenge']],
'TND' => [['دينار'], ['ملم']],
'TRL' => [['lira'], ['kuruş']],
'TRY' => [['lira'], ['kuruş']],
'UAH' => [['هريفنا'], ['سنت']],
'USD' => [['دولار'], ['سنت']],
'XAF' => [['CFA فرنك'], ['سنت']],
Expand Down
1 change: 1 addition & 0 deletions src/Language/Azerbaijani/AzerbaijaniDictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class AzerbaijaniDictionary implements Dictionary
'TMT' => [['manat'], ['tenge']],
'TND' => [['dinar'], ['millime']],
'TRL' => [['lira'], ['kuruş']],
'TRY' => [['lira'], ['kuruş']],
'UAH' => [['hryvna'], ['cent']],
'USD' => [['dollar'], ['cent']],
'XAF' => [['CFA franc'], ['cent']],
Expand Down
1 change: 1 addition & 0 deletions src/Language/English/EnglishDictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class EnglishDictionary implements Dictionary
'TMT' => [['manat'], ['tenge']],
'TND' => [['dinar'], ['millime']],
'TRL' => [['lira'], ['kuruş']],
'TRY' => [['lira'], ['kuruş']],
'UAH' => [['hryvna'], ['cent']],
'USD' => [['dollar'], ['cent']],
'XAF' => [['CFA franc'], ['cent']],
Expand Down
2 changes: 2 additions & 0 deletions src/Language/German/GermanDictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ class GermanDictionary implements Dictionary
'RUB' => [['Russischer Rubel'], ['Kopeke','Kopeken']],
'SEK' => [['Schwedische Krone','Schwedische Kronen'], ['Öre']],
'TMT' => [['Manat'], ['tenge']],
'TRL' => [['türkische Lira'], ['Kuruş']],
'TRY' => [['türkische Lira'], ['Kuruş']],
'UAH' => [['Hrywna'], ['Kopeke','Kopeken']],
'USD' => [['US Dollar'], ['cent']],
'ZAR' => [['Rand'], ['cent']]
Expand Down
1 change: 1 addition & 0 deletions src/Language/Kurdish/KurdishDictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class KurdishDictionary implements Dictionary
'TMT' => [['مانات'], ['تێنج']],
'TND' => [['دینار'], ['سەنت']],
'TRL' => [['لیرە'], ['کوروش']],
'TRY' => [['لیرە'], ['کوروش']],
'UAH' => [['هیریڤنا'], ['سەنت']],
'USD' => [['دۆلار'], ['سەنت']],
'XAF' => [['CFA فرانک'], ['سەنت']],
Expand Down
1 change: 1 addition & 0 deletions src/Language/Polish/PolishDictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class PolishDictionary implements Dictionary
'SIT' => [['tolar', 'tolary', 'tolarów'], ['stotinia', 'stotinie', 'stotini']],
'SKK' => [['korona słowacka', 'korony słowackie', 'koron słowackich'], ['halerz', 'halerze', 'halerzy']],
'TRL' => [['lira turecka', 'liry tureckie', 'lir tureckich'], ['kurusza', 'kurysze', 'kuruszy']],
'TRY' => [['lira turecka', 'liry tureckie', 'lir tureckich'], ['kurusza', 'kurysze', 'kuruszy']],
'UAH' => [['hrywna', 'hrywna', 'hrywna'], ['cent', 'centy', 'centów']],
'USD' => [['dolar', 'dolary', 'dolarów'], ['cent', 'centy', 'centów']],
'YUM' => [['dinar', 'dinary', 'dinarów'], ['para', 'para', 'para']],
Expand Down
4 changes: 4 additions & 0 deletions src/Language/Romanian/Dictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ class Dictionary
['liră turcească', 'lire turcești', Gender::GENDER_FEMININE],
['kuruș', 'kuruși', Gender::GENDER_MASCULINE],
],
'TRY' => [
['liră turcească', 'lire turcești', Gender::GENDER_FEMININE],
['kuruș', 'kuruși', Gender::GENDER_MASCULINE],
],
'USD' => [
['dolar american', 'dolari americani', Gender::GENDER_MASCULINE],
['cent', 'cenți', Gender::GENDER_MASCULINE],
Expand Down
1 change: 1 addition & 0 deletions src/Language/Slovak/SlovakDictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class SlovakDictionary implements Dictionary
'SIT' => [['tolar', 'tolary', 'tolarov'], ['stotinia', 'stotinie', 'stotini']],
'SKK' => [['korona słowacka', 'korony słowackie', 'koron słowackich'], ['halerz', 'halerze', 'halerzy']],
'TRL' => [['lira turecka', 'liry tureckie', 'lir tureckich'], ['kurusza', 'kurysze', 'kuruszy']],
'TRY' => [['lira turecka', 'liry tureckie', 'lir tureckich'], ['kurusza', 'kurysze', 'kuruszy']],
'UAH' => [['hrivny', 'hrivny', 'hrivien'], ['cent', 'centy', 'centov']],
'USD' => [['dolár', 'doláre', 'dolárov'], ['cent', 'centy', 'centov']],
'YUM' => [['dinar', 'dinary', 'dinarov'], ['para', 'para', 'para']],
Expand Down
1 change: 1 addition & 0 deletions src/Legacy/Numbers/Words/Locale/Es.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class Es extends Words
'SKK' => [['slovak koruna'], []],
'TND' => [['dinar', 'dinares'], ['milímetrs']],
'TRL' => [['lira'], ['kuruþ']],
'TRY' => [['lira'], ['kuruþ']],
'UAH' => [['hryvna'], ['cent']],
'USD' => [['dólar', 'dólares'], ['centavo']],
'UYU' => [['peso uruguayo', 'pesos uruguayos'], ['centavo']],
Expand Down
1 change: 1 addition & 0 deletions src/Legacy/Numbers/Words/Locale/Hu.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class Hu extends Words
'SEK' => [['svéd korona'], ['őre']],
'SIT' => [['tolár'], ['sztotin']],
'TRL' => [['lira'], ['kuruþ']],
'TRY' => [['lira'], ['kuruþ']],
'UAH' => [['hrivnya'], ['kopejka']],
'USD' => [['dollár'], ['cent']],
'ZAR' => [['rand'], ['cent']]
Expand Down
1 change: 1 addition & 0 deletions src/Legacy/Numbers/Words/Locale/Id.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class Id extends Words
'TMT' => [['manat'], ['tenge']],
'TND' => [['dinar'], ['milim']],
'TRL' => [['lira'], ['kuruş']],
'TRY' => [['lira'], ['kuruş']],
'UAH' => [['hryvna'], ['sen']],
'USD' => [['dolar'], ['sen']],
'XAF' => [['franc CFA'], ['sen']],
Expand Down
1 change: 1 addition & 0 deletions src/Legacy/Numbers/Words/Locale/Ka.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class Ka extends Words
'MXN' => [['მექსიკური პესო'], ['სენტავო']],
'TND' => [['დინარი'], ['მილიმი']],
'USD' => [['დოლარი'], ['ცენტი']],
'TRL' => [['ლირა'], ['ყურუში']],
'TRY' => [['ლირა'], ['ყურუში']],
'AMD' => [['დრამი'], ['ლუმა']],
'PLN' => [['ზლოტი'], ['გროში']],
Expand Down
1 change: 1 addition & 0 deletions src/Legacy/Numbers/Words/Locale/Ms.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class Ms extends Words
'TMT' => [['manat'], ['tenge']],
'TND' => [['dinar'], ['millim']],
'TRL' => [['lira'], ['kuruş']],
'TRY' => [['lira'], ['kuruş']],
'UAH' => [['hryvna'], ['sen']],
'USD' => [['dolar'], ['sen']],
'XAF' => [['franc CFA'], ['sen']],
Expand Down
1 change: 1 addition & 0 deletions src/Legacy/Numbers/Words/Locale/Nl.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ class Nl extends Words
'SIT' => [['Tolar'], ['stotinia']],
'SKK' => [['Slovak koruna'], []],
'TRL' => [['lira'], ['kuru\FE']],
'TRY' => [['lira'], ['kuru\FE']],
'UAH' => [['hryvna'], ['cent']],
'USD' => [['dollar'], ['cent']],
'YUM' => [['dinars'], ['para']],
Expand Down
1 change: 1 addition & 0 deletions src/Legacy/Numbers/Words/Locale/Tr.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ class Tr extends Words
'SEK' => [['İsveç kronu'], ['oere']],
'SIT' => [['Slovenya toları'], ['stotinia']],
'SKK' => [['Slovakya kronu'], ['']],
'TRL' => [['Türk lirası'], ['kuruş']],
'TRY' => [['Türk lirası'], ['kuruş']],
'UAH' => [['Ukrayna hryvnyası'], ['kopiyka']],
'USD' => [['ABD doları'], ['sent']],
Expand Down
4 changes: 4 additions & 0 deletions src/Legacy/Numbers/Words/Locale/Ua.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ class Ua extends Ru
[2, 'турецкая лира', 'турецких лиры', 'турецких лир'],
[1, 'пиастр', 'пиастра', 'пиастров'],
],
'TRY' => [
[2, 'турецкая лира', 'турецких лиры', 'турецких лир'],
[1, 'пиастр', 'пиастра', 'пиастров'],
],
'UAH' => [
[2, 'гривня', 'гривні', 'гривень'],
[2, 'копійка', 'копійки', 'копійок'],
Expand Down
1 change: 1 addition & 0 deletions src/Legacy/Numbers/Words/Locale/Yo.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class Yo extends Words
'TMT' => [['manat'], ['tenge']],
'TND' => [['dinar'], ['millim']],
'TRL' => [['lira'], ['kuruş']],
'TRY' => [['lira'], ['kuruş']],
'UAH' => [['hryvna'], ['cent']],
'USD' => [['dollar'], ['cent']],
'XAF' => [['CFA franc'], ['cent']],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public function providerItConvertsMoneyAmountToWords(): array
[124380, 'EUR', 'bin iki yüz kırk üç avro seksen sent'],
[238500, 'USD', 'iki bin üç yüz seksen beş ABD doları'],
[376600, 'USD', 'üç bin yedi yüz altmış altı ABD doları'],
[419645, 'TRL', 'dört bin yüz doksan altı Türk lirası kırk beş kuruş'],
[419645, 'TRY', 'dört bin yüz doksan altı Türk lirası kırk beş kuruş'],
[584600, 'USD', 'beş bin sekiz yüz kırk altı ABD doları'],
[645900, 'USD', 'altı bin dört yüz elli dokuz ABD doları'],
Expand Down

0 comments on commit 8e4bd84

Please sign in to comment.