Revise label text

PR #21118.
This commit is contained in:
Chocobo1 2024-08-05 21:01:49 +08:00 committed by GitHub
commit 7b2886e477
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 30 additions and 33 deletions

View file

@ -164,7 +164,7 @@
<item>
<widget class="QGroupBox" name="groupBoxSettings">
<property name="title">
<string>Torrent settings</string>
<string>Torrent options</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>

View file

@ -79,7 +79,7 @@
</item>
<item>
<property name="text">
<string>Web UI</string>
<string>WebUI</string>
</property>
</item>
<item>
@ -294,7 +294,7 @@
</property>
<item>
<property name="text">
<string>Start / Stop Torrent</string>
<string>Start / stop torrent</string>
</property>
</item>
<item>
@ -309,7 +309,7 @@
</item>
<item>
<property name="text">
<string>Show torrent options</string>
<string>Open torrent options dialog</string>
</property>
</item>
<item>
@ -330,7 +330,7 @@
<widget class="QComboBox" name="actionTorrentFnOnDblClBox">
<item>
<property name="text">
<string>Start / Stop Torrent</string>
<string>Start / stop torrent</string>
</property>
</item>
<item>
@ -345,7 +345,7 @@
</item>
<item>
<property name="text">
<string>Show torrent options</string>
<string>Open torrent options dialog</string>
</property>
</item>
<item>
@ -638,7 +638,7 @@
<item>
<widget class="QGroupBox" name="checkFileLog">
<property name="title">
<string>&amp;Log file</string>
<string>&amp;Log Files</string>
</property>
<property name="checkable">
<bool>true</bool>
@ -1578,7 +1578,7 @@ readme[0-9].txt: filter 'readme1.txt', 'readme2.txt' but not 'readme10.txt'.</st
<item>
<widget class="QGroupBox" name="groupBoxRunOnAdded">
<property name="title">
<string>Run on torrent added</string>
<string>Run on torrent added:</string>
</property>
<property name="checkable">
<bool>true</bool>
@ -1596,7 +1596,7 @@ readme[0-9].txt: filter 'readme1.txt', 'readme2.txt' but not 'readme10.txt'.</st
<item>
<widget class="QGroupBox" name="groupBoxRunOnFinished">
<property name="title">
<string>Run on torrent finished</string>
<string>Run on torrent finished:</string>
</property>
<property name="checkable">
<bool>true</bool>

View file

@ -83,7 +83,7 @@
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Torrent speed limits</string>
<string>Torrent Speed Limits</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
@ -153,7 +153,7 @@
<item>
<widget class="QGroupBox" name="torrentShareLimitsBox">
<property name="title">
<string>Torrent share limits</string>
<string>Torrent Share Limits</string>
</property>
<layout class="QVBoxLayout" name="torrentShareLimitsBoxLayout">
<item>
@ -252,7 +252,4 @@
</customwidgets>
<resources/>
<connections/>
<buttongroups>
<buttongroup name="buttonGroup"/>
</buttongroups>
</ui>

View file

@ -97,7 +97,7 @@ void TorrentTagsDialog::addNewTag()
while (!done)
{
bool ok = false;
tag = Tag(AutoExpandableDialog::getText(this, tr("New Tag")
tag = Tag(AutoExpandableDialog::getText(this, tr("Add tag")
, tr("Tag:"), QLineEdit::Normal, tag.toString(), &ok));
if (!ok || tag.isEmpty())
break;

View file

@ -164,7 +164,7 @@ Tag TagFilterWidget::askTagName()
while (invalid)
{
invalid = false;
tag = Tag(AutoExpandableDialog::getText(this, tr("New Tag"), tr("Tag:")
tag = Tag(AutoExpandableDialog::getText(this, tr("Add tag"), tr("Tag:")
, QLineEdit::Normal, tag.toString(), &ok));
if (ok && !tag.isEmpty())
{

View file

@ -755,7 +755,7 @@ void TransferListWidget::askNewCategoryForSelection()
void TransferListWidget::askAddTagsForSelection()
{
const TagSet tags = askTagsForSelection(tr("Add Tags"));
const TagSet tags = askTagsForSelection(tr("Add tags"));
for (const Tag &tag : tags)
addSelectionTag(tag);
}

View file

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>QBT_TR(Add Tags)QBT_TR[CONTEXT=TransferListWidget]</title>
<title>QBT_TR(Add tags)QBT_TR[CONTEXT=TransferListWidget]</title>
<link rel="stylesheet" href="css/style.css?v=${CACHEID}" type="text/css">
<script src="scripts/lib/MooTools-Core-1.6.0-compat-compressed.js"></script>
<script src="scripts/lib/MooTools-More-1.6.0-compat-compressed.js"></script>

View file

@ -726,7 +726,7 @@ const initializeWindows = function() {
if (hashes.length) {
new MochaUI.Window({
id: "newTagPage",
title: "QBT_TR(Add Tags)QBT_TR[CONTEXT=TransferListWidget]",
title: "QBT_TR(Add tags)QBT_TR[CONTEXT=TransferListWidget]",
loadMethod: "iframe",
contentURL: new URI("newtag.html").setData("action", action).setData("hashes", hashes.join("|")).toString(),
scrollbars: false,

View file

@ -1,7 +1,7 @@
<div id="BehaviorTab" class="PrefTab">
<fieldset class="settings">
<legend>QBT_TR(Language)QBT_TR[CONTEXT=OptionsDialog]</legend>
<label for="locale_select">QBT_TR(User Interface Language:)QBT_TR[CONTEXT=OptionsDialog]</label>
<label for="locale_select">QBT_TR(User interface language:)QBT_TR[CONTEXT=OptionsDialog]</label>
<select id="locale_select">
${LANGUAGE_OPTIONS}
</select>
@ -21,7 +21,7 @@
<td><label for="dblclickDownloadSelect">QBT_TR(Downloading torrents:)QBT_TR[CONTEXT=OptionsDialog]</label></td>
<td>
<select id="dblclickDownloadSelect">
<option value="1" selected>QBT_TR(Start / Stop Torrent)QBT_TR[CONTEXT=OptionsDialog]</option>
<option value="1" selected>QBT_TR(Start / stop torrent)QBT_TR[CONTEXT=OptionsDialog]</option>
<option value="0">QBT_TR(No action)QBT_TR[CONTEXT=OptionsDialog]</option>
</select>
</td>
@ -30,7 +30,7 @@
<td><label for="dblclickCompleteSelect">QBT_TR(Completed torrents:)QBT_TR[CONTEXT=OptionsDialog]</label></td>
<td>
<select id="dblclickCompleteSelect">
<option value="1" selected>QBT_TR(Start / Stop Torrent)QBT_TR[CONTEXT=OptionsDialog]</option>
<option value="1" selected>QBT_TR(Start / stop torrent)QBT_TR[CONTEXT=OptionsDialog]</option>
<option value="0">QBT_TR(No action)QBT_TR[CONTEXT=OptionsDialog]</option>
</select>
</td>
@ -43,7 +43,7 @@
<fieldset class="settings">
<legend>
<input type="checkbox" id="filelog_checkbox" onclick="qBittorrent.Preferences.updateFileLogEnabled();">
<label for="filelog_checkbox">QBT_TR(Log file)QBT_TR[CONTEXT=OptionsDialog]</label>
<label for="filelog_checkbox">QBT_TR(Log Files)QBT_TR[CONTEXT=OptionsDialog]</label>
</legend>
<div class="formRow">
<label for="filelog_save_path_input">QBT_TR(Save path:)QBT_TR[CONTEXT=OptionsDialog]</label>
@ -317,12 +317,12 @@
</legend>
<div class="formRow">
<input type="checkbox" id="autorunOnTorrentAddedCheckbox" onclick="qBittorrent.Preferences.updateAutoRunOnTorrentAdded();">
<label id="autorunOnTorrentAddedLabel" for="autorunOnTorrentAddedCheckbox">QBT_TR(Run external program on torrent added)QBT_TR[CONTEXT=OptionsDialog]</label>
<label id="autorunOnTorrentAddedLabel" for="autorunOnTorrentAddedCheckbox">QBT_TR(Run on torrent added:)QBT_TR[CONTEXT=OptionsDialog]</label>
<input type="text" id="autorunOnTorrentAddedProgram" aria-labelledby="autorunOnTorrentAddedLabel" style="width: 400px;">
</div>
<div class="formRow">
<input type="checkbox" id="autorun_checkbox" onclick="qBittorrent.Preferences.updateAutoRun();">
<label id="autorunLabel" for="autorun_checkbox">QBT_TR(Run external program on torrent finished)QBT_TR[CONTEXT=OptionsDialog]</label>
<label id="autorunLabel" for="autorun_checkbox">QBT_TR(Run on torrent finished:)QBT_TR[CONTEXT=OptionsDialog]</label>
<input type="text" id="autorunProg_txt" aria-labelledby="autorunLabel" style="width: 400px;">
</div>
<div style="font-style: italic;">QBT_TR(Supported parameters (case sensitive):)QBT_TR[CONTEXT=OptionsDialog]