aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-19All module entries must have name != NULLBurt P
Hack a way to skip unavailable entries. Now "Resources" is avaialbe outside of x86 when it wasn't before. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Move Device Tree up in the listBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Move Raspberry Pi detection stuff into Device Tree sectionBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Begin support for device treeBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19x86 flag definition lookup changesBurt P
* Avoid using GHashTable * Use single flag lookup table with bug: and pm: prefixes to avoid flag name collisions Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19x86: strdup() some const strings before g_hash_table_insert()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Attempt to save Russian flag translations by adding contextsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19x86,arm,riscv: Use gettext contexts and comments for cpu flagsBurt P
* flag defintion strings are grouped into contexts: x86-flag, arm-flag, riscv-ext * a comment is included for translators so that they know what flag the string defines without looking at the source code Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Make cache type strings translatableBurt P
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-19Add a tool to test/ that can be usefulBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Find a value for OS->Language field, Computer summary headers translatableBurt P
Note: "Computer" summary (not Computer->Summary). Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Fix Python detection, add Perl6, scan_dev() tweakBurt P
* Python2 detection needs to look at stderr instead of stdout * Python3 detection looks at stdout * Perl6 detection * scan_dev() now captures stdout and stderr and ignores the one it doesn't want. This prevents messages from appearing in the console when the scan happens. 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-19Use const for gettext stringsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Add a CONTRIBUTING file with a note for translators.Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19updatepo.sh: sort output of find, use more logical search orderBurt P
An attempt to make updatepo.sh generate hardinfo.pot and .po files that are the same regardless of the machine, so that diffs are less noisy and more useful. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19network: headers for network interfaces list translatableBurt P
Some noise in the diff due to automatic trailing whitespace removal. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19net.c: Make all string translatableBurt P
Depends on working pgettext(). Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19net.c: add predictable network names from systemdBurt P
See: https://github.com/systemd/systemd/blob/master/src/udev/udev-builtin-net_id.c#L20 Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19net.c: cosmetic changesBurt P
* Mixed tab/space indent -> all spaces indent * Remove trailing whitespace Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-17Updated Russian translationTotalCaesar659
2017-07-16Use Unicode bargraphs for WiFi signal strength indicatorLeandro Pereira
2017-07-14Tweak the Russian translationLeandro A. F. Pereira
The translation for "Home Directory" was duplicated as the translation for "Desktop Environment". Translate Desktop Environment to "Настольная среда" (which seems to be the correct translation, considering that CDE, or Common Desktop Environment, is "Общая настольная среда" in Russian.)
2017-07-14Updated Russian translationTotalCaesar659
2017-07-12Make bits of entropy string translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Use ngettext to make uptime translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12User Info and Development header strings made translatableBurt P
Finishes https://github.com/lpereira/hardinfo/issues/38 Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Remove unused c-format strings, make "pixels" translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12ru.po: some recovered translated labelsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12de.po: some recovered translated labelsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12fr.po: some recovered translated labelsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Update hardinfo.pot and .po filesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Add column for localized field descriptions to Devices->MemoryBurt P
To get around the earlier problems with localized labels in the memory view, add a column "Description" that uses the localized labels. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Changes related to gettext and shell interface quirksBurt P
* Fixes for "..." special fields. * Computer->Summary and Computer->OS are more translatable, and and if the label is translated, the special code for updating the ... will still work. * Devices->Memory labels are currently not translated, some limitations exist. The labels were being double-translated on update. The earlier fix for Summary->RAM breaks if they are translated. * A bunch of trailing whitespace in the edited files was removed by the editor, and that created some noise in the diff. A rather frustrating experience. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12gitignore updatesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Fix Computer -> Summary -> RAM for non-EnglishBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Minor README updateBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12cmake: option() -> set() for strings.Burt P
option() worked but set() works better with cmake-gui. 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-07-12s390: multiple cpu, topolog, cpufreqBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12cpu topology: add book and drawerBurt P
Apparently used in s390. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12test: make -j for speedBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12x86,arm,riscv: small fixes and flag definition cosmetic tweaksBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Update hardinfo.pot and .po filesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12arm: don't mark empty strings for translationBurt P
gettext("") is reserved by gettext. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12x86,arm,riscv: make flag definitions translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12riscv: improve ISA string decodingBurt P
* Handle unknown future standard extensions better * Handle extension version numbers instead of just ignoring them * Test file riscv_fake_cpuinfo made more tricky Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12test.sh: create a dir for the test buildBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Update hardinfo.pot and .po filesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>