View Single Post
Old 03-03-2025, 07:15 AM   #20
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
Talking Plugin icon works!

Quote:
Originally Posted by kovidgoyal View Post
The plugin has to do

get_icons('images/icon.png', 'Send To Kindle')

and in your icon theme, there needs to exist the file

Send To Kindle/images/icon.pg


then it will work. From the screenshot you posted, the plugin is using
_(self.name) which will result in a translated version of the plugins name, which could be anything, depending on the users calibre UI language.
Thanks for the hint. After placing the icon in specific folder named by a specific language -- `plugin_name_in_lang/images/icon.png`, it actually works! And that “Setenove” series icon pack seems made a mistake, it didn’t place the icons in `image` folder, no wonder it didn’t work, in a different way.
redbreast is offline   Reply With Quote