Skip to content

Commit

Permalink
Fixed some typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
hmatuschek committed Nov 28, 2021
1 parent b1719c8 commit 0610bb8
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions doc/dmrconf.in.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
<para><command>dmrconf</command> is a command-line tool to program DMR radios. That is,
generating and uploading codeplugs to these radios. To this end, <command>dmrconf</command>
uses a common human-readable text format to describe the codeplug for all supported radios (see
below). This allows to share codeplugs between different radios.</para>
below). This allows one to share codeplugs between different radios.</para>

<para>Additionally, <command>dmrconf</command> also allows to download codeplugs from the radio
<para>Additionally, <command>dmrconf</command> also allows one to download codeplugs from the radio
and to store it in the human-readable text format. </para>
</refsect1>

Expand Down
2 changes: 1 addition & 1 deletion lib/channel.hh
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ class DigitalChannel: public Channel
public:
/** Possible admit criteria of digital channels. */
enum class Admit {
Always, ///< No admit criteria, allows to transmit any time.
Always, ///< No admit criteria, allows one to transmit any time.
Free, ///< Transmit only if channel is free.
ColorCode ///< Transmit only if channel is free and matches given color code.
};
Expand Down
2 changes: 1 addition & 1 deletion lib/configobject.cc
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ ConfigItem::link(const YAML::Node &node, const ConfigItem::Context &ctx, const E
if (! ref->set(ctx.getTag(prop.enclosingMetaObject()->className(), prop.name(), tag))) {
errMsg(err) << node[prop.name()].Mark().line << ":" << node[prop.name()].Mark().column
<< ": Cannot link " << prop.name() << " of " << meta->className()
<< ": Uknown tag " << tag << ".";
<< ": Unknown tag " << tag << ".";
return false;
}
continue;
Expand Down
2 changes: 1 addition & 1 deletion lib/d878uv_codeplug.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class GPSSystem;
/** Represents the device specific binary codeplug for Anytone AT-D878UV radios.
*
* In contrast to many other code-plugs, the code-plug for Anytone radios are spread over a large
* memory area. In principle, this is a good idea, as it allows to upload only the portion of the
* memory area. In principle, this is a good idea, as it allows one to upload only the portion of the
* codeplug that is actually configured. For example, if only a small portion of the available
* contacts and channels are used, the amount of data that is written to the device can be
* reduced.
Expand Down
4 changes: 2 additions & 2 deletions lib/dfu_libusb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ DFUDevice::DFUDevice(unsigned vid, unsigned pid, const ErrorStack &err, QObject
}

if (libusb_kernel_driver_active(_dev, 0) && libusb_detach_kernel_driver(_dev, 0)) {
errMsg(err) << "Cannot detatch kernel driver for device " << QString::number(vid, 16)
errMsg(err) << "Cannot detach kernel driver for device " << QString::number(vid, 16)
<< ":" << QString::number(pid, 16) << ". Interface claim will likely fail.";
}

Expand Down Expand Up @@ -128,7 +128,7 @@ DFUDevice::detach(int timeout, const ErrorStack &err)
int error = libusb_control_transfer(
_dev, REQUEST_TYPE_TO_DEVICE, REQUEST_DETACH, timeout, 0, nullptr, 0, 0);
if (0 > error) {
errMsg(err) << "Cannot detatch device: " << libusb_strerror((enum libusb_error) error) << ".";
errMsg(err) << "Cannot detach device: " << libusb_strerror((enum libusb_error) error) << ".";
return error;
}
return 0;
Expand Down
2 changes: 1 addition & 1 deletion lib/radioddity_codeplug.hh
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ public:
virtual bool resetTone() const;
/** Enables/disables reset tone. */
virtual void enableResetTone(bool enable);
/** Returns @c true if the uknown number tone is enabled. */
/** Returns @c true if the unknown number tone is enabled. */
virtual bool unknownNumberTone() const;
/** Enables/disables reset tone. */
virtual void enableUnknownNumberTone(bool enable);
Expand Down
2 changes: 1 addition & 1 deletion lib/tyt_codeplug.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ TyTCodeplug::ScanListElement::linkScanListObj(ScanList *lst, Context &ctx) {
for (int i=0; ((i<31) && memberIndex(i)); i++) {
if (! ctx.has<Channel>(memberIndex(i))) {
logDebug() << "Cannot link scanlist to channel idx " << memberIndex(i)
<< ". Uknown channel index.";
<< ". Unknown channel index.";
return false;
}
lst->addChannel(ctx.get<Channel>(memberIndex(i)));
Expand Down
2 changes: 1 addition & 1 deletion src/zonedialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<string notr="true">padding:10px;border: 2px solid black; border-radius: 10px;</string>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;justify&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Note:&lt;/span&gt; Zones are collections of channels that are usualy valid for a specific region. I.e., a collection of channels for repeaters within a certain region. &lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;QDMR manages zones by allowing for two independent channel lists for each VFO of the radio (if it has two). Many radios however, allow one to assign zones to each VFO individually. In these cases, QDMR will split the zone into two (A &amp;amp; B) and program them individually into the radio.&lt;/p&gt;&lt;p align=&quot;right&quot;&gt;&lt;a href=&quot;#hide&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;Hide&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;justify&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Note:&lt;/span&gt; Zones are collections of channels that are usually valid for a specific region. I.e., a collection of channels for repeaters within a certain region. &lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;QDMR manages zones by allowing for two independent channel lists for each VFO of the radio (if it has two). Many radios however, allow one to assign zones to each VFO individually. In these cases, QDMR will split the zone into two (A &amp;amp; B) and program them individually into the radio.&lt;/p&gt;&lt;p align=&quot;right&quot;&gt;&lt;a href=&quot;#hide&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;Hide&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
Expand Down

0 comments on commit 0610bb8

Please sign in to comment.