Translating .desktop files with a different suffix?

Halla Rempt boud at valdyas.org
Thu Mar 25 14:37:08 GMT 2021


On Thursday, 25 March 2021 15:27:52 CET Luigi Toscano wrote:
> Halla Rempt ha scritto:
> > Hi,
> > 
> > We wanted to make tags translatable in Krita 5. In order to make that possible, we've created .tag files which follow the format of .desktop files:
> > 
> > 
> > [Desktop Entry]
> > Type=Tag
> > Name=Digital
> > ResourceType=paintoppreset
> > Comment=Brush presets with a digital look and feel.
> > URL=Digital
> > Default Resources=a)_Eraser_Circle.kpp,b)_Basic-5_Size_default.kpp
> > 
> > I'm wondering how I can hook up these files to Messages.sh, or or make sure the files are processed like other .desktop files.
> > 
> 
> Just define a script called ExtraDesktop.sh which returns the list of those files:
> 
> https://techbase.kde.org/Development/Tutorials/Localization/i18n_Build_Systems#Translating_.desktop_Files
> 

Thanks -- I will do that!


-- 
https://www.krita.org




More information about the kde-i18n-doc mailing list