martinlindhe / laravel-vue-i18n-generator

Generates a vue-i18n compatible include file from your Laravel translations
MIT License
306 stars 207 forks source link

Only handle arrays as arrays in translation files #107

Closed netpok closed 4 years ago

netpok commented 4 years ago

One of our translation file contained a line was a number, this broke the generator. While typically only strings should be present in the translation this pull request makes sure that an other type does not break the generator.