seboettg / citeproc-php

Full-featured CSL 1.0.1 processor for PHP
MIT License
75 stars 39 forks source link

Fix locale overrides using inactive language #52

Closed jonathonwalz closed 6 years ago

jonathonwalz commented 6 years ago

When a locale in a specific style is added to, the additions were not being filtered based on the current language of the Locale object. This would cause incorrect translations to be selected (for instance, "de" instead of "from" in the APA style).

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.05%) to 92.177% when pulling 5233cb697c92a91b325dbc050efafc9e696828e7 on umn-ici:fix-style-locale into 8063510c7f2065bf311bfc36bf12054d9d8d21b7 on seboettg:master.