add calculator plugin (#104)

* feat: add calculator plugin

* add MIT license

* fix(calculator): typo

* fix(calculator): wrong PANEL_ID

* remove LICENSE
This commit is contained in:
Yuuto
2026-07-26 08:39:45 -04:00
committed by GitHub
parent e70da314ce
commit 074247e865
7 changed files with 1191 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
{
"bar": {
"tooltip": "Rechner"
},
"panel": {
"title": "Rechner",
"placeholder": "Ausdruck eingeben, Enter drücken",
"copy": "Ergebnis kopieren",
"copied": "Kopiert: {value}",
"rad": "RAD",
"deg": "GRAD"
},
"state": {
"error": "Fehler"
},
"settings": {
"precision": {
"label": "Dezimalgenauigkeit",
"description": "Maximale Anzahl Nachkommastellen bei der Ergebnisformatierung."
},
"angle_unit": {
"label": "Winkeleinheit",
"description": "Einheit, die die trigonometrischen Funktionen verwenden.",
"options": {
"rad": "Bogenmaß",
"deg": "Grad"
}
},
"show_bar_value": {
"label": "Wert in der Leiste anzeigen",
"description": "Zeigt das letzte Ergebnis neben dem Rechner-Symbol an."
},
"max_bar_length": {
"label": "Maximale Länge in der Leiste",
"description": "Längere Ergebnisse werden in der Leiste mit Auslassungspunkten gekürzt."
}
}
}
+38
View File
@@ -0,0 +1,38 @@
{
"bar": {
"tooltip": "Calculator"
},
"panel": {
"title": "Calculator",
"placeholder": "Type an expression, press Enter",
"copy": "Copy result",
"copied": "Copied {value}",
"rad": "RAD",
"deg": "DEG"
},
"state": {
"error": "Error"
},
"settings": {
"precision": {
"label": "Decimal precision",
"description": "Maximum number of decimals used when formatting results."
},
"angle_unit": {
"label": "Angle unit",
"description": "Unit used by the trigonometric functions.",
"options": {
"rad": "Radians",
"deg": "Degrees"
}
},
"show_bar_value": {
"label": "Show value in bar",
"description": "Display the last result next to the calculator icon."
},
"max_bar_length": {
"label": "Maximum bar length",
"description": "Longer results are shortened with an ellipsis in the bar."
}
}
}