gtarawneh / languagetool-sublime

Proof-reading and grammar checker for English, French, German, Polish and 20+ other languages
71 stars 13 forks source link

[Bug] Not change languages #7

Closed Kristinita closed 8 years ago

Kristinita commented 8 years ago

Summary

Bug to

 {
        "caption": "LanguageTool: Change Language",
        "command": "change_language_tool_language"
    }

Expected behavior

Change language

Actual behavior

Not change language

Steps to reproduce

It is checked on the portable Sublime Text 3 version where there are no other plugins. Ctrl+Shift+PLanguage Tool: Change Language:

command: change_language_tool_language
Traceback (most recent call last):
  File "E:\Sublime Text 3\sublime_plugin.py", line 574, in run_
    return self.run(edit)
  File "LanguageTool in E:\Sublime Text 3\Data\Installed Packages\LanguageTool.sublime-package", line 160, in run
  File "LanguageTool in E:\Sublime Text 3\Data\Installed Packages\LanguageTool.sublime-package", line 34, in loadLanguages
FileNotFoundError: [Errno 2] No such file or directory: 'languages.txt'

Environment

gtarawneh commented 8 years ago

@Kristinita would you be able to test the latest commit just to confirm the issue has been resolved? Otherwise I'll just publish a new release and you can test the fix once the release is picked up by PackageControl?

Kristinita commented 8 years ago

@gtarawneh , thank you! I checked, now at me language was replaced correctly :ok_hand:.

Fixed bug