Releases: dennis-tra/alfred-dict.cc-workflow
Fix: "word" not found
Important
This release bundles unnotarized binaries. You need to follow these steps.
Release 2.1.1
This release addresses #19. Dict.cc started to return:
Please don't run crawlers against dict.cc and don't try to make the dictionary available offline.
which resulted in all queries returning "word" not found
. This isn't returned if a user agent on the HTTP request is set. Since this workflow is not crawling dict.cc nor is making it available offline, this release sets the user agent to alfred-dict.cc-workflow
. The rational is, I don't want to upset the operators of dict.cc, so if it's really this workflow that poses a problem it's easy for them to block this user-agent again. In this case, I'll try to reach out to them and try to find a solution.
Support
And finally, if this workflow saves you time, it would really make my day and gives you Karma points if you considered to
Sonoma Support + Universal Actions + Hotkeys + Notarized Binaries
Release 2.1.0
This release makes the workflow compatible with macOS Sonoma, hooks it up with Universal Actions, allows the configuration of hotkeys, and bundles notarized binaries.
Changelog
- MacOS Sonoma compatibility: Sonoma bundles a new version of the
iconv
tool, breaking the current workflow because it uses different constants for character set conversions. The fix is to use the new constants and fall back to the old ones if that fails to preserve backward compatibility. Thanks to @mario-hab for reporting and @muffix for fixing (#16/#13). - Universal Actions/Hotkeys: You can use Alfred's Universal Actions feature to translate selected text from anywhere. Get started in Preferences > Features > Universal Actions. Thanks to @muffix for adding this feature.
- Hotkeys: You can configure keyboard hotkeys to trigger the workflow directly for the current selection
or clipboard contents. Navigate to the workflow configuration and double-click any of the two Hotkey triggers to configure the hotkey combination you want to use:
Thanks to @muffix for adding this feature. - Notarized Binaries: I signed the included binaries, which means that the steps in README.md#Permissions should become obsolete. My developer account expires in less than 30d and I don't plan to renew it, though. I'm not sure if it means that the notarization also expires. Therefore, I'm keeping the README.md#Permissions description for now.
Support
And finally, if this workflow saves you time, it would really make my day and gives you Karma points if you considered to
Monterey Support
Release 2.0.0
This release makes the workflow compatible with macOS Monterey.
Formerly, the workflow depended on Python 2, which is not distributed anymore with MacOS Monterey. Version 2.0.0 is a complete rewrite that ported the Workflow from Python 2 to Go. You can find more information in this issue.
Changelog
- Workflow is rewritten in Go. This has the implication that you need to give execute permissions to the included Go-binaries. You can find the instructions and further information in the README.
- Alfred 4 only. However, the workflow should also work on Alfred 3. I'm just not able to generate a compatible export as I'm already on Alfred 4. If you need Alfred 3 support feel free to file an issue, and maybe someone can jump in and help out.
- Added alternative actions (press ⌘ or ⌥) to open
dict.cc
in the browser for the given query
Support
And finally, if this workflow saves you time, it would really make my day and gives you Karma points if you considered to
2.0.0-rc4 | MacOS Monterey Support (Golang rewrite)
This is a pre-release to see how things fly.
I've rewritten the Workflow in Go to eliminate the Python 2 dependency. More information can be found in this issue.
If you have any feedback, feel free to comment in issue #8
Things that have changed:
- In this pre-release the workflow is only compatible with Alfred 4. However, the workflow should also work on Alfred 3. I'm just not able to generate a compatible export as I'm already on Alfred 4. If you need Alfred 3 support feel free to file an issue and maybe someone can jump in and help out. I'm happy to explain the necessary steps.
- Because the workflow contains a binary from an arbitrary developer (me) MacOS won't let you run it unless you explicitly allow it. The instructions can be found in the README.
And finally, if this workflow saves you time you may consider to sponsor me or
Changes to 2.0.0-rc3:
- Fix: Parse escaped single quotes
- Added alternative actions (press ⌘ or ⌥) to open dict.cc in the browser for the given query
Changes to 2.0.0-rc2:
- Fix "out of range exception" for words like
foo
orfoot
Changes to 2.0.0-rc1:
- Detect platform in Alfred's script filter
2.0.0-rc3 | MacOS Monterey Support (Golang rewrite)
This is a pre-release to see how things fly.
I've rewritten the Workflow in Go to eliminate the Python 2 dependency. More information can be found in this issue.
If you have any feedback, feel free to comment in issue #8
Things that have changed:
- In this pre-release the workflow is only compatible with Alfred 4. However, the workflow should also work on Alfred 3. I'm just not able to generate a compatible export as I'm already on Alfred 4. If you need Alfred 3 support feel free to file an issue and maybe someone can jump in and help out. I'm happy to explain the necessary steps.
- Because the workflow contains a binary from an arbitrary developer (me) MacOS won't let you run it unless you explicitly allow it. The instructions can be found in the README.
And finally, if this workflow saves you time you may consider to sponsor me or
Changes to 2.0.0-rc2:
- Fix "out of range exception" for words like
foo
orfoot
Changes to 2.0.0-rc1:
- Detect platform in Alfred's script filter
2.0.0-rc2 | MacOS Monterey Support (Golang rewrite)
This is a pre-release to see how things fly.
I've rewritten the Workflow in Go to eliminate the Python 2 dependency. More information can be found in this issue.
If you have any feedback, feel free to comment in issue #8
Things that have changed:
- In this pre-release the workflows are only compatible with Alfred 4. However, the workflow should also work on Alfred 3. I'm just not able to generate a compatible export as I'm already on Alfred 4. If you need Alfred 3 support feel free to file an issue and maybe someone can jump in and help out. I'm happy to explain the necessary steps.
- Because the workflow contains a binary from an arbitrary developer (me) MacOS won't let you run it unless you explicitly allow it. The instructions can be found in the README.
And finally, if this workflow saves you time you may consider to sponsor me or
Changes to 2.0.0-rc1:
- Detect platform in Alfred's script filter
2.0.0-rc1 | MacOS Monterey Support (Golang rewrite)
This is a pre-release to see how things fly.
I've rewritten the Workflow in Go to eliminate the Python 2 dependency. More information can be found in this issue.
If you have any feedback, feel free to comment in issue #8
Things that have changed:
- In this pre-release the workflows are only compatible with Alfred 4. However, the workflow should also work on Alfred 3. I'm just not able to generate a compatible export as I'm already on Alfred 4. If you need Alfred 3 support feel free to file an issue and maybe someone can jump in and help out. I'm happy to explain the necessary steps.
- There are now two workflow files.
Dict.cc.x86_64.alfredworkflow
contains the binary for Apples Intel chips andDict.cc.arm64.alfredworkflow
contains the binary for Apples M1 chips. Choose the workflow for your platform. The final release could contain a step that checks the platform and then chooses the right binary automatically. - Because the workflow contains a binary from an arbitrary developer (me) MacOS won't let you run it unless you explicitly allow it. The instructions can be found in the README.
And finally, if this workflow saves you time you may consider to sponsor me or
Default language pair
In this release a feature is added that lets you configure the default language pair.
Consult the README.md for the configuration instructions.
Update to using https
1.0.2 Update version to 1.0.2