🔧 Add translation link to menu

This commit is contained in:
Simon Schneegans
2022-01-29 05:40:07 +01:00
parent 58a97d03a3
commit e56a56d11c
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -135,6 +135,7 @@ var PreferencesDialog = class PreferencesDialog {
addAction('changelog', 'https://github.com/Schneegans/Burn-My-Windows/blob/main/docs/changelog.md'); addAction('changelog', 'https://github.com/Schneegans/Burn-My-Windows/blob/main/docs/changelog.md');
addAction('bugs', 'https://github.com/Schneegans/Burn-My-Windows/issues'); addAction('bugs', 'https://github.com/Schneegans/Burn-My-Windows/issues');
addAction('new-effect', 'https://github.com/Schneegans/Burn-My-Windows/blob/main/docs/how-to-create-new-effects.md'); addAction('new-effect', 'https://github.com/Schneegans/Burn-My-Windows/blob/main/docs/how-to-create-new-effects.md');
addAction('translate', 'https://hosted.weblate.org/engage/burn-my-windows/');
addAction('donate-paypal', 'https://www.paypal.com/donate/?hosted_button_id=3F7UFL8KLVPXE'); addAction('donate-paypal', 'https://www.paypal.com/donate/?hosted_button_id=3F7UFL8KLVPXE');
addAction('donate-github', 'https://github.com/sponsors/Schneegans'); addAction('donate-github', 'https://github.com/sponsors/Schneegans');
// clang-format on // clang-format on
+5 -1
View File
@@ -17,9 +17,13 @@
<attribute name="action">prefs.bugs</attribute> <attribute name="action">prefs.bugs</attribute>
</item> </item>
<item> <item>
<attribute name="label" translatable="yes">Create a Custom Effect</attribute> <attribute name="label" translatable="yes">Create an Effect</attribute>
<attribute name="action">prefs.new-effect</attribute> <attribute name="action">prefs.new-effect</attribute>
</item> </item>
<item>
<attribute name="label" translatable="yes">Translate</attribute>
<attribute name="action">prefs.translate</attribute>
</item>
<submenu> <submenu>
<attribute name="label" translatable="yes">Donate</attribute> <attribute name="label" translatable="yes">Donate</attribute>
<item> <item>