summaryrefslogtreecommitdiff
path: root/plugins/taglist/pluma-taglist-plugin-parser.c
AgeCommit message (Collapse)AuthorFilesLines
2021-06-26update copyright to 2021raveit651-0/+1
2021-03-29warning: declaration of ‘taglist’ shadows a global declarationrbuj1-10/+13
2019-12-01Taglist: Load the local translation string from lang.mo fileWu Xiaotian1-2/+2
When using intltool, the taglist creates a big xml file containing the local translation string, so that it has to be compressed. It looks like this: ``` <TagGroup sort="true" name="XHTML 1.0 - Tags"> <Tag name="Abbreviated form"> ... </Tag> <Tag name="..."> ... </Tag> ... </TagGroup> <TagGroup xml:lang="af" sort="true" name="XHTML 1.0 - Tags"> <Tag name="Afgekorte vorm" xml:lang="af"> ... </Tag> <Tag name="..." xml:lang="af"> ... </Tag> ... </TagGroup> <TagGroup xml:lang="..." sort="true" name="XHTML 1.0 - Tags"> </TagGroup> ``` Obviously, it wastes space and download bandwidth. When switch from intltool to gettext, it does not generate a similar huge xml file. It only get the translate string into pot file from the xml file, and the original xml file has not changed. This patch let taglist-plugin read the local translation string directly from the mo file, so that it can work as before. TODO: we need to improve and optimize the taglist plugin code and drop some extra code.
2019-12-01ignore comment element in xml fileWu Xiaotian1-0/+5
When xml file is generated using intltool, the resulting xml file deletes the comment line, but when using gettext, it keeps the comment line.
2016-12-13taglist plugin: don't look for taglist in non-existing legacy dirsmonsta1-23/+0
these names are result of excessive gedit -> pluma renaming (back in 2011), so these dirs never actually existed
2015-12-24remove unneeded 'x' attribute from non-executable filesmonsta1-0/+0
2015-09-02drop support for win32/osx and checkupdate pluginmonsta1-36/+29
that plugin has never been built in linux anyway due to logic in configure.ac
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2011-11-12end of line mistakePerberos1-67/+64
2011-11-07using ./config/ instead of ./mate2/Perberos1-83/+83
2011-11-07renaming from gedit to plumaPerberos1-0/+655