jiri-one / easydict-gtk Goto Github PK
View Code? Open in Web Editor NEWThe first open source translator which is completely open with dictionary data too.
Home Page: https://easydict.jiri.one
License: GNU General Public License v3.0
The first open source translator which is completely open with dictionary data too.
Home Page: https://easydict.jiri.one
License: GNU General Public License v3.0
New backend should use async variant of sqlite and for testing puposes should we use TinyDB like testing DB.
The old GTK3 gui has possibility to translate directly from clipboard, so we need to add the same functionality to new GTK4 gui too.
(python:32340): Gtk-WARNING **: 09:37:29.933: Failed to set text '<b>extra risk</b> přidané riziko | [eko.] | Riziko používané u té části populace, která není zahrnuta při zjišťování pozadí výskytu (bez expozice) ER<SUB>d</SUB> = [P<SUB>d</SUB> - P<SUB>0</SUB>] / [1 - P<SUB>0</SUB>].' from markup due to error parsing markup: Unknown tag 'SUB' on line 2 char 156
Traceback (most recent call last): File "/home/jiri/Workspace/EasyDict/easydict_gtk/easydict/src/handlers.py", line 52, in onClipboard if len(self.clipboard.wait_for_text().split()) == 1: # third condition is check, if in clipboard is just one word AttributeError: 'NoneType' object has no attribute 'split' Traceback (most recent call last): File "/home/jiri/Workspace/EasyDict/easydict_gtk/easydict/src/handlers.py", line 52, in onClipboard if len(self.clipboard.wait_for_text().split()) == 1: # third condition is check, if in clipboard is just one word AttributeError: 'NoneType' object has no attribute 'split'
Screenshots have to be upgraded to new GTK4 gui. Maybe it will be good idea to add screenshots from Windows too, because now is possible to run EasyDict-GTK with MSYS2 directly on Windows (or WSL2 too).
Previous GTK3 version has tray icon implemented with XAppStatusIcon and it was working only on version from PyPi or source code, Flatpak version was without tray icon support.
New GTK4 version should have complete tray icon support. Easiest solution is to use pystray, but, at least on linux, it will be nice to use own solution with will rely on dbus. I have done some research how to do it on repository kstatusnotifier_sdbus and that is working solution for tray icon, but there is missing tray icon menu (dbusmenu). Some solutions, how to implement dbusmenu are on github - https://github.com/amnore/driveicon/blob/c43adfdfb13138f903e19f5bbd61225ac3fbd3fa/driveicon/trayicon.py or https://github.com/MMS-Projects/copyit-app/blob/bd82e19d93e5c65185d55f6328557febb0cdf0c2/desktop/res/scripts/desktop-integration.py . So should be possible to combine those code sources and make one functional solution.
In code is lot of new functionality and that code needs to be tested properly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.