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

add-missing task fails after I added videos/ to my assets directory. #194

Closed
gungorkocak opened this issue Mar 19, 2016 · 1 comment
Closed

Comments

@gungorkocak
Copy link

I have no clue why but after adding /videos directory into my assets, add-missing task is also trying to search for files in that directory.

When I call;

$ i18n-tasks add-missing

It gives me error:

i18n-tasks: Error scanning app/assets/videos/landing_video.mp4: invalid byte sequence in UTF-8
@glebm
Copy link
Owner

glebm commented Mar 19, 2016

Exclude the app/assets/videos directory from search like in the commit above.

@glebm glebm closed this as completed Mar 19, 2016
bartimaeus added a commit to bartimaeus/i18n-tasks that referenced this issue Apr 26, 2016
* upstream/master: (28 commits)
  Fix translation of plural HTML keys glebm#193
  Default config: exclude app/assets/videos glebm#194
  fix template config
  Bump to 0.9.5
  Pattern mapper documentation glebm#191
  Pattern mapper implementation glebm#191
  Add missing keys with `nil` value glebm#170
  Avoid changing the locale after running i18n-tasks
  changelog: 187 still not fixed
  Bump to 0.9.4
  Reference resolution reporting
  Document used_keys include_raw_references param
  Remove redundant filtering from unused_keys
  Improve reporting for unused keys
  Possible fix to glebm#187
  Improve reporting for missing ref keys
  minor refactors
  Bump to 0.9.3
  Readme: reference keys
  Copy reference keys as is in add/translate-missing
  ...
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

2 participants