Browse Source

Make strings translatable

adaptive-webui-19844
Chocobo1 2 years ago
parent
commit
9877ff330e
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 4
      src/webui/www/private/download.html
  2. 4
      src/webui/www/private/upload.html
  3. 3
      src/webui/www/private/views/preferences.html
  4. 4
      src/webui/www/private/views/search.html

4
src/webui/www/private/download.html

@ -28,8 +28,8 @@
</td> </td>
<td> <td>
<select id="autoTMM" name="autoTMM" onchange="qBittorrent.Download.changeTMM(this)"> <select id="autoTMM" name="autoTMM" onchange="qBittorrent.Download.changeTMM(this)">
<option selected value="false">Manual</option> <option selected value="false">QBT_TR(Manual)QBT_TR[CONTEXT=AddNewTorrentDialog]</option>
<option value="true">Automatic</option> <option value="true">QBT_TR(Automatic)QBT_TR[CONTEXT=AddNewTorrentDialog]</option>
</select> </select>
</td> </td>
</tr> </tr>

4
src/webui/www/private/upload.html

@ -24,8 +24,8 @@
</td> </td>
<td> <td>
<select id="autoTMM" name="autoTMM" onchange="qBittorrent.Download.changeTMM(this)"> <select id="autoTMM" name="autoTMM" onchange="qBittorrent.Download.changeTMM(this)">
<option selected value="false">Manual</option> <option selected value="false">QBT_TR(Manual)QBT_TR[CONTEXT=AddNewTorrentDialog]</option>
<option value="true">Automatic</option> <option value="true">QBT_TR(Automatic)QBT_TR[CONTEXT=AddNewTorrentDialog]</option>
</select> </select>
</td> </td>
</tr> </tr>

3
src/webui/www/private/views/preferences.html

@ -413,7 +413,8 @@
</legend> </legend>
<div class="formRow"> <div class="formRow">
QBT_TR(From:)QBT_TR[CONTEXT=OptionsDialog] QBT_TR(From:)QBT_TR[CONTEXT=OptionsDialog]
<input type="text" id="schedule_from_hour" style="width: 1.5em;" />:<input type="text" id="schedule_from_min" style="width: 1.5em;" /> QBT_TR(To:)QBT_TR[CONTEXT=OptionsDialog] <input type="text" id="schedule_from_hour" style="width: 1.5em;" />:<input type="text" id="schedule_from_min" style="width: 1.5em;" />
QBT_TR(To:)QBT_TR[CONTEXT=OptionsDialog]
<input type="text" id="schedule_to_hour" style="width: 1.5em;" />:<input type="text" id="schedule_to_min" style="width: 1.5em;" /> <input type="text" id="schedule_to_hour" style="width: 1.5em;" />:<input type="text" id="schedule_to_min" style="width: 1.5em;" />
</div> </div>
<div class="formRow"> <div class="formRow">

4
src/webui/www/private/views/search.html

@ -92,7 +92,9 @@
<tbody> <tbody>
<tr> <tr>
<td> <td>
There aren't any search plugins installed.<br />Click the &quot;Search plugins...&quot; button at the bottom right of the window to install some. QBT_TR(There aren't any search plugins installed.)QBT_TR[CONTEXT=SearchEngineWidget]
<br />
QBT_TR(Click the "Search plugins..." button at the bottom right of the window to install some.)QBT_TR[CONTEXT=SearchEngineWidget]
</td> </td>
</tr> </tr>
</tbody> </tbody>

Loading…
Cancel
Save