Commit 3179e29 1 parent e16ca08 commit 3179e29 Copy full SHA for 3179e29
File tree 2 files changed +3
-3
lines changed
src/webui/www/private/scripts
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ window.qBittorrent.Client = (() => {
72
72
const emDash = '\u2014' ;
73
73
const qbtVersion = window . qBittorrent . Cache . qbtVersion . get ( ) ;
74
74
const suffix = window . qBittorrent . Cache . preferences . get ( ) [ 'app_instance_name' ] || '' ;
75
- const title = `qBittorrent ${ qbtVersion } QBT_TR( WebUI)QBT_TR[CONTEXT=OptionsDialog] `
75
+ const title = `qBittorrent ${ qbtVersion } ${ i18next . t ( ' WebUI' ) } ) `
76
76
+ ( ( suffix . length > 0 ) ? ` ${ emDash } ${ suffix } ` : '' ) ;
77
77
return title ;
78
78
} ;
Original file line number Diff line number Diff line change @@ -438,10 +438,10 @@ window.qBittorrent.ContextMenu = (function() {
438
438
const contextCategoryList = $ ( 'contextCategoryList' ) ;
439
439
contextCategoryList . getChildren ( ) . each ( c => c . destroy ( ) ) ;
440
440
contextCategoryList . appendChild ( new Element ( 'li' , {
441
- html : '<a href="javascript:torrentNewCategoryFN();"><img src="images/list-add.svg" alt=i18next.t("New...")/> QBT_TR(New...)QBT_TR[CONTEXT=TransferListWidget]</a>'
441
+ html : '<a href="javascript:torrentNewCategoryFN();"><img src="images/list-add.svg" class="qbt-translatable" data-i18n="[alt]New..." alt=i18next.t("New...")/> QBT_TR(New...)QBT_TR[CONTEXT=TransferListWidget]</a>'
442
442
} ) ) ;
443
443
contextCategoryList . appendChild ( new Element ( 'li' , {
444
- html : '<a href="javascript:torrentSetCategoryFN(0);"><img src="images/edit-clear.svg" alt=i18next.t("Reset")/> QBT_TR(Reset)QBT_TR[CONTEXT=TransferListWidget]</a>'
444
+ html : '<a href="javascript:torrentSetCategoryFN(0);"><img src="images/edit-clear.svg" class="qbt-translatable" data-i18n="[alt]Reset" alt=i18next.t("Reset")/> QBT_TR(Reset)QBT_TR[CONTEXT=TransferListWidget]</a>'
445
445
} ) ) ;
446
446
447
447
const sortedCategories = [ ] ;
You can’t perform that action at this time.
0 commit comments