summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2017-07-12parisc: multiple procs, topology, cpufreq, more cpuinfo fieldsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12minor changesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12ia64: multiple procs, topology, cpufreq, more cpuinfo fieldsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12cmake: regex tweaksBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12riscv: improvementsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12riscv: show extension setsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12riscv: initial supportBurt 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-12The rest of processor.c using cpu_util.Burt P
Those currently not using topology or cpufreq, but could in the future. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Move common processor stuff into cpu_util.{h,c}Burt P
* PROC_CPUINFO define used in testing * STRIFNULL(), UNKIFNULL() EMPIFNULL() macros used in reading cpuinfo * byte order, topology, and cpufreq data structures and functions that are platform independent * processor_has_flag() helper Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12test.sh: put the cap onBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12s390: add testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12sh (superh): fixes, add testsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12m68k: fixes, add testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12ia64: fixes, add testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12parisc: fixes, add testBurt P
It really didn't work at all before. Signed-off-by: Burt P <pburt0@gmail.com>