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

Plugin .desktop syntax #250

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

wiiznokes
Copy link
Contributor

This PR migrate the plugin conifg file from ron to .desktop. This allow to translate some metadata, like Name and Description.
screenshot-2024-12-12-18-39-40

Here is an example of the syntax

[Plugin]
Name=Calculator with unit conversion (uses Qalculate! expressions)
Name[fr]=Calculatrice avec conversion d'unités (utilise les Qalculate! expressions)
Description=Syntax: = <expression>\nExample: = 10 J / (196x^2) = 4 kW/s
Exec=calc
Icon=x-office-spreadsheet
Regex=^[=\\-0-9|(-0-9)].*
GenericQuery==\s
Priority=High
IsolateWith="^(=).*"

Maybe Plugin could be replaced by Desktop Entry, and Description by Comment, but i don't really see a value in this.

And update in fde was necessary and should be merged first pop-os/freedesktop-desktop-entry#37

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

Successfully merging this pull request may close these issues.

1 participant