Author Topic: markup in help not working SOLVED  (Read 209 times)

L18L

  • Newbie
  • *
  • Posts: 11
    • View Profile
markup in help not working SOLVED
« on: March 12, 2019, 11:19:25 AM »
See attached image please.

Example: help for "Fix overscan"

is displayed as "<b>Overscan</b>" which should just be: Overscan

-----------------------------
edit
gxlat that I have been using for translating adds some spaces where it should not
e.g.   <b>text</b> is translated to
        < b> Text </ b> 

« Last Edit: March 21, 2019, 10:58:30 AM by L18L »

BarryK

  • Administrator
  • Full Member
  • *****
  • Posts: 136
    • View Profile
Re: markup in help not working
« Reply #1 on: March 13, 2019, 05:11:46 PM »
L18L,
It displays correctly for me, in English.

The code in quicksetup shows that "markup" is set to true, so it is OK.

What will cause failure as in your case, is if there is a syntax error in the text. Like for example a missing "<" or ">". Gtkdialog parses the text, and if the there is an error in the tags, it just displays the text as-is.

L18L

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: markup in help not working
« Reply #2 on: March 15, 2019, 04:55:22 AM »
Barry, thanks for that hint.

updated and corrected quicksetup.mo attached

BarryK

  • Administrator
  • Full Member
  • *****
  • Posts: 136
    • View Profile
Re: markup in help not working
« Reply #3 on: March 17, 2019, 07:04:55 PM »
Barry, thanks for that hint.

updated and corrected quicksetup.mo attached

Thanks, I have updated the de langpack.

L18L

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: updating langpack
« Reply #4 on: March 20, 2019, 12:01:17 PM »
Barry,

attached is add_to_langpack_de.tar.gz

containing some menu items and 19 mo files: bluepup.mo        jwmdesk.mo         pdvdrsab.mo     sfsget.mo box_passwd.mo     lang2initrd.mo     peasydisc.mo    simplevp.mo easyhelp.mo       libstardust.mo     pgprs.mo        sns___sns.mo    firewall_ng.mo    loginmanager.mo    Pup-SysInfo.mo  wcpufreq.mo gparted_shell.mo  pcreatetorrent.mo  qsync.mo

(containing also translations for some of radky's great work, thank you Roger)

thanks for updating German langpack.

___________________________________________________________________________

Need to mark this thread SOLVED
___________________________________________________________________________

edit : filled up tar.gz

bluepup.mo          firewall_ng.mo     pdvdrsab.mo     simplevp.mo
bootmanager.mo      gparted_shell.mo   peasydisc.mo    sns___sns.mo
box_passwd.mo       jwmdesk.mo         pgprs.mo        version-control.mo
easy-containers.mo  lang2initrd.mo     pupcontrol.mo   wcpufreq.mo
easyhelp.mo         libstardust.mo     Pup-SysInfo.mo
easy-installer.mo   loginmanager.mo    qsync.mo
easy-remaster.mo    pcreatetorrent.mo  sfsget.mo
« Last Edit: March 22, 2019, 07:25:09 AM by L18L »