aboutsummaryrefslogtreecommitdiff
path: root/includes/hardinfo.h
AgeCommit message (Collapse)Author
2017-08-14Begin getting rid of callbacks returning stringsLeandro Pereira
Strings were never a good choice to begin with. However, with the efforts to improve translatability, they became even worse. This is an attempt to clean up the current mess and provide a more structured way for modules to commmunicate with the shell. The Computer module has been partially converted and changes will be provided next. It's partially converted since some of its information is still stored as strings. The Shell still only understands strings; that's why the structured data is converted to a string the way it is. Once all modules are converted, the Shell can be modified to handle struct Info directly without having to parse the .ini-like strings.
2017-08-14Move hardinfo_clean_label() and hardinfo_clean_value() to util.cBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04Remove tree_view_save_image()/cb_save_graphic() -related.Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04About dialog changesBurt P
* Use a define for copyright latest year, also used by `hardinfo --version` * Don't translate Jakub Szypulka * Add myself to contributors list Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Support for pgettext()Burt P
Attempt adding support for pgettext without the bulk of standard gettext.h Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Make locale dir match install pathBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Fixup translation supportBurt P
* Use `bash updatepo.sh` instead of `make pot`. `make pot` will cause absolute paths to appear in hardinfo.pot of whomever last ran it. * C_() and NC_() support added for contexts Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-05Fallback g_strv_contains() imp when using glib<2.44Burt P
Also, some stray whitespace removed. Signed-off-by: Burt P <pburt0@gmail.com>
2014-01-03Add initial translation support (patch from rodin.s)Julien Lavergne
2012-01-26Better manage moreinfo hashesLeandro Pereira
Have only one for the whole program and use per-module namespaces/prefixes so that each module can clear its own information easily.
2010-05-03Move files from hardinfo2 to root.Leandro A. F. Pereira