Skip to content

Build your personal knowledge base with Trilium Notes

client/about dialog: add some tooltips

Adorian Doran0fb3f9813621
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index 1dd00bd710..dd658a2c32 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -10,7 +10,10 @@
},
"contributor_full_list": "See the entire community",
"data_directory": "Data directory:",
- "donate": "Donate"
+ "github_tooltip": "Report bugs, suggest features, or contribute on GitHub",
+ "license_tooltip": "View license",
+ "donate": "Donate",
+ "donate_tooltip": "Donate to support this project"
},
"toast": {
"critical-error": {
diff --git a/apps/client/src/widgets/dialogs/about.tsx b/apps/client/src/widgets/dialogs/about.tsx
index e9bb0e78bd..45944d210c 100644
--- a/apps/client/src/widgets/dialogs/about.tsx
+++ b/apps/client/src/widgets/dialogs/about.tsx
@@ -91,18 +91,18 @@ export default function AboutDialog() {
</div>
<footer>
- <a href="https://github.com/TriliumNext/Trilium" target="_blank">
+ <a href="https://github.com/TriliumNext/Trilium" target="_blank" title={t("about.github_tooltip")}>
<i class='bx bxl-github'></i>
GitHub
</a>
- <a href="https://www.gnu.org/licenses/agpl-3.0.en.html#license-text" target="_blank">
+ <a href="https://www.gnu.org/licenses/agpl-3.0.en.html#license-text" target="_blank" title={t("about.license_tooltip")}>
{/* https://pictogrammers.com/library/mdi/icon/scale-balance/ */}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,3C10.73,3 9.6,3.8 9.18,5H3V7H4.95L2,14C1.53,16 3,17 5.5,17C8,17 9.56,16 9,14L6.05,7H9.17C9.5,7.85 10.15,8.5 11,8.83V20H2V22H22V20H13V8.82C13.85,8.5 14.5,7.85 14.82,7H17.95L15,14C14.53,16 16,17 18.5,17C21,17 22.56,16 22,14L19.05,7H21V5H14.83C14.4,3.8 13.27,3 12,3M12,5A1,1 0 0,1 13,6A1,1 0 0,1 12,7A1,1 0 0,1 11,6A1,1 0 0,1 12,5M5.5,10.25L7,14H4L5.5,10.25M18.5,10.25L20,14H17L18.5,10.25Z" /></svg>
AGPL 3.0
</a>
- <a href="https://triliumnotes.org/en/support-us" className="donate-link" target="_blank">
+ <a href="https://triliumnotes.org/en/support-us" className="donate-link" target="_blank" title={t("about.donate_tooltip")}>
<i class='bx bx-heart' ></i>
{t("about.donate")}
</a>