Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

key with ' in it, breaks it #79

Open
sebastiaanspeck opened this issue Oct 23, 2018 · 0 comments
Open

key with ' in it, breaks it #79

sebastiaanspeck opened this issue Oct 23, 2018 · 0 comments

Comments

@sebastiaanspeck
Copy link

  • Laravel Version: 5.7.9
  • PHP Version: 7.1.19
  • Database Driver & Version: MySQL 5.7.23

Description:

When you have a key in a language-file with a \' in it and run php artisan langman:missing it works okay and you can translate things, but when you run php artisan langman:missing again, it crashes because langman overwrites the key with \' and changes it to '

Steps to reproduce:

  1. Add a key to a language-file with \' in it. e.a. 'today's posts'
  2. Run php artisan langman:missing (also works with php artisan langman:trans KEY) (note: you also cannot use the 'today's posts' as key)
  3. Translate (or press Enter)
  4. Run php artisan langman:missing again -> crash and 'today's posts' is changed to 'today's posts'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant