Skip to content

Commit

Permalink
Merge branch 'main' into install-qt-action-4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Dec 22, 2024
2 parents 8fc6dfc + 5207735 commit ed8ca2c
Show file tree
Hide file tree
Showing 11 changed files with 541 additions and 1,022 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install lcov
run: brew install lcov
run: brew install lcov --head # \todo Remove when lcov commit b34c844 is released.
# \todo See https://github.com/linux-test-project/lcov/commit/b34c84431a97b49e55785286fa05e9a95b873920
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
Expand Down Expand Up @@ -276,6 +277,9 @@ jobs:
ctest --output-on-failure --test-dir "$RUNNER_TEMP/coverage" --verbose
ctest --output-on-failure --test-dir "$RUNNER_TEMP/release" --verbose
timeout-minutes: 1
- name: Disable lcov consistency checks for gcc
if: matrix.cc == 'gcc'
run: echo 'check_data_consistency = 0' >> "$HOME/.lcovrc"
- name: Collate test coverage
if: matrix.os != 'macos-13' || matrix.cc == 'gcc'
run: cmake --build "$RUNNER_TEMP/coverage" --target coverage
Expand Down
121 changes: 61 additions & 60 deletions src/cli/i18n/en_AU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -715,107 +715,90 @@ success
</message>
</context>
<context>
<name>getCliCommand</name>
<name>cli_main</name>
<message>
<location filename="../main.cpp" line="102"/>
<location filename="../main.cpp" line="107"/>
<source>More than one command: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="123"/>
<location filename="../main.cpp" line="127"/>
<source>Unknown command: %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="274"/>
<source>Missing argument: &lt;command&gt;
See --help for usage information.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="290"/>
<source>Unknown command (%1)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>parseCommandLine</name>
<message>
<location filename="../main.cpp" line="134"/>
<location filename="../main.cpp" line="138"/>
<source>Colors the console output. Valid options are: yes, no and auto. The default is auto.</source>
<translation>Colours the console output. Valid options are: yes, no and auto. The default is auto.</translation>
<translation type="unfinished">Colours the console output. Valid options are: yes, no and auto. The default is auto.</translation>
</message>
<message>
<location filename="../main.cpp" line="138"/>
<location filename="../main.cpp" line="141"/>
<source>Enable debug output.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="140"/>
<location filename="../main.cpp" line="143"/>
<source>Set the name, hardware address or macOS UUID of Pokit device to use. If not specified, the first discovered Pokit device will be used.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="143"/>
<location filename="../main.cpp" line="145"/>
<source>device</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="148"/>
<location filename="../main.cpp" line="150"/>
<source>Set the update interval for DOS, meter and logger modes. Suffixes such as &apos;s&apos; and &apos;ms&apos; (for seconds and milliseconds) may be used. If no suffix is present, the units will be inferred from the magnitide of the given interval. If the option itself is not specified, a sensible default will be chosen according to the selected command.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="153"/>
<location filename="../main.cpp" line="155"/>
<source>interval</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="155"/>
<location filename="../main.cpp" line="157"/>
<source>Set the desired operation mode. For meter, dso, and logger commands, the supported modes are: AC Voltage, DC Voltage, AC Current, DC Current, Resistance, Diode, Continuity, and Temperature. All are case insensitive. Only the first four options are available for dso and logger commands; the rest are available in meter mode only. Temperature is also available for logger commands, but requires firmware v1.5 or later for Pokit devices to support it. For the set-torch command supported modes are On and Off.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="162"/>
<location filename="../main.cpp" line="199"/>
<location filename="../main.cpp" line="164"/>
<location filename="../main.cpp" line="193"/>
<source>mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="164"/>
<location filename="../main.cpp" line="166"/>
<source>Give the desired new name for the set-name command.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="165"/>
<location filename="../main.cpp" line="166"/>
<source>name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="167"/>
<location filename="../main.cpp" line="168"/>
<source>Set the format for output. Supported formats are: CSV, JSON and Text. All are case insenstitve. The default is Text.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="169"/>
<location filename="../main.cpp" line="170"/>
<source>format</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="170"/>
<location filename="../main.cpp" line="171"/>
<source>text</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="172"/>
<location filename="../main.cpp" line="173"/>
<source>Set the desired measurement range. Pokit devices support specific ranges, such as 0 to 300mV. Specify the desired upper limit, and the best range will be selected, or use &apos;auto&apos; to enable the Pokit device&apos;s auto-range feature. The default is &apos;auto&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="176"/>
<location filename="../main.cpp" line="177"/>
<source>range</source>
<translation type="unfinished"></translation>
</message>
Expand All @@ -825,110 +808,128 @@ See --help for usage information.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="179"/>
<location filename="../main.cpp" line="178"/>
<source>count</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="181"/>
<location filename="../main.cpp" line="180"/>
<source>Set the current ambient temperature for the calibration command.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="182"/>
<location filename="../main.cpp" line="180"/>
<source>degrees</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="184"/>
<source>Set the device discovery scan timeout.Suffixes such as &apos;s&apos; and &apos;ms&apos; (for seconds and milliseconds) may be used. If no suffix is present, the units will be inferred from the magnitide of the given interval. The default behaviour is no timeout.</source>
<location filename="../main.cpp" line="182"/>
<source>Set the device discovery scan timeout. Suffixes such as &apos;s&apos; and &apos;ms&apos; (for seconds and milliseconds) may be used. If no suffix is present, the units will be inferred from the magnitide of the given interval. The default behaviour is no timeout.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="188"/>
<location filename="../main.cpp" line="192"/>
<location filename="../main.cpp" line="186"/>
<location filename="../main.cpp" line="189"/>
<source>period</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="190"/>
<location filename="../main.cpp" line="188"/>
<source>Set the optional starting timestamp for data logging. Default to &apos;now&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="194"/>
<location filename="../main.cpp" line="190"/>
<source>Set the DSO trigger level.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="195"/>
<location filename="../main.cpp" line="190"/>
<source>level</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="197"/>
<location filename="../main.cpp" line="192"/>
<source>Set the DSO trigger mode. Supported modes are: free, rising and falling. The default is free.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="205"/>
<location filename="../main.cpp" line="199"/>
<source>Get Pokit device information</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="208"/>
<location filename="../main.cpp" line="201"/>
<source>Get Pokit device status</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="211"/>
<location filename="../main.cpp" line="203"/>
<source>Access Pokit device&apos;s multimeter mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="214"/>
<location filename="../main.cpp" line="205"/>
<source>Access Pokit device&apos;s DSO mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="217"/>
<location filename="../main.cpp" line="207"/>
<source>Start Pokit device&apos;s data logger mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="220"/>
<location filename="../main.cpp" line="209"/>
<source>Stop Pokit device&apos;s data logger mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="223"/>
<location filename="../main.cpp" line="211"/>
<source>Fetch Pokit device&apos;s data logger samples</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="226"/>
<location filename="../main.cpp" line="213"/>
<source>Scan Bluetooth for Pokit devices</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="229"/>
<location filename="../main.cpp" line="215"/>
<source>Set Pokit device&apos;s name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="232"/>
<location filename="../main.cpp" line="217"/>
<source>Set Pokit device&apos;s torch on or off</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="235"/>
<location filename="../main.cpp" line="219"/>
<source>Flash Pokit device&apos;s LED (Pokit Meter only)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="238"/>
<location filename="../main.cpp" line="221"/>
<source>Calibrate Pokit device temperature</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="256"/>
<source>Missing argument: &lt;command&gt;
See --help for usage information.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="271"/>
<source>Unknown command (%1)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>parseCommandLine</name>
<message>
<source>Colors the console output. Valid options are: yes, no and auto. The default is auto.</source>
<translation type="vanished">Colours the console output. Valid options are: yes, no and auto. The default is auto.</translation>
</message>
</context>
</TS>
Loading

0 comments on commit ed8ca2c

Please sign in to comment.