Age | Commit message (Collapse) | Author |
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Attempt adding support for pgettext without
the bulk of standard gettext.h
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Note: "Computer" summary (not Computer->Summary).
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
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>
|
|
Some noise in the diff due to automatic trailing whitespace removal.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Depends on working pgettext().
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
See:
https://github.com/systemd/systemd/blob/master/src/udev/udev-builtin-net_id.c#L20
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* Mixed tab/space indent -> all spaces indent
* Remove trailing whitespace
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
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.)
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Finishes https://github.com/lpereira/hardinfo/issues/38
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
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>
|
|
* 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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
option() worked but set() works better with cmake-gui.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Apparently used in s390.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
gettext("") is reserved by gettext.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|