-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Censor List: fix incorrect function call
Noted in #924
- Loading branch information
1 parent
9a09f3c
commit 631255d
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ | |
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="xalign">0</property> | ||
<property name="label" translatable="yes">Run command after download finishes ($ for filename):</property> | ||
<property name="label" translatable="yes">Run command after download finishes ($ for folder path):</property> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mathiascode
Author
Member
|
||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
|
@@ -114,7 +114,7 @@ | |
<object class="GtkLabel"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="label" translatable="yes">Audio Player Command ($ for filename):</property> | ||
<property name="label" translatable="yes">Audio Player Command ($ for folder path):</property> | ||
<property name="xalign">0</property> | ||
</object> | ||
<packing> | ||
|
Perhaps the underlying code is indeed substituting
$
as the single download's folder path (hence your correction), but does it not make more sense to provide the single download's file path instead? But maybe this was just a quick fix to at least be accurate regarding the code.Also, this string, and the other may need a little more clarification, because I'm assuming "after download finishes" means a single file download (due to the context of the other options), but this could be misinterpreted as any type of download finishing: file or folder. If it does indeed mean a run command for individual file downloads, then too, does this command get ignored when a user chooses to download several files as a folder? I.e. this command won't be executed for each file in the folder download, only the command below (run command once folders finish) will execute.