<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 1, 2022 at 12:09 PM B. Watson <<a href="mailto:urchlay@slackware.uk">urchlay@slackware.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On Sun, 1 May 2022, Konrad J Hambrick wrote:<br>
<br>
> Question:  is there a better way ( or a recommended way ) to enter long,<br>
> formatted <br>
> lists of text like NEW_CAT in the code snippet below ?<br>
<br>
There's an easier-to-read way to do the same thing: include your own<br>
.desktop file(s) with your SlackBuild, and overwrite the one(s) from<br>
'make install' with your own:<br>
<br>
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop<br>
<br>
I do this if the sed or whatever code that changes the .desktop gets<br>
to be too long or complex.<br>
<br>
<span class="gmail_default" style="font-family:monospace,monospace"><<snip>></span></blockquote><div><span class="gmail_default" style="font-family:monospace,monospace">Thanks for the feedback B.Watson.</span></div><div><span class="gmail_default" style="font-family:monospace,monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace">I like your idea a lot !</span></div><div><span class="gmail_default" style="font-family:monospace,monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace">One thing I've noticed is that .desktop internationalization among the SBo Packages is spotty at best.</span></div><div><span class="gmail_default" style="font-family:monospace,monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace">This would be one way to start addressing </span> <span class="gmail_default" style="font-family:monospace,monospace">that 'need' -- all we need is an army of volunteer translators :)</span></div><div><span class="gmail_default" style="font-family:monospace,monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace">-- kjh(<G> I am a 'merkin and I don't need no steenkin' UTF8 <G>)</span></div><div><span class="gmail_default" style="font-family:monospace,monospace"></span></div></div></div>