diff --git a/src/components/Modals/SettingsModal/Tabs/Downloads.vue b/src/components/Modals/SettingsModal/Tabs/Downloads.vue
index 06c0dcc4052..2ce1b1c3bfc 100644
--- a/src/components/Modals/SettingsModal/Tabs/Downloads.vue
+++ b/src/components/Modals/SettingsModal/Tabs/Downloads.vue
@@ -64,26 +64,58 @@
/>
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Supported parameters (case sensitive):
+
+ - %N: Torrent name
+ - %L: Category
+ - %G: Tags (separated by comma)
+ - %F: Content path (same as root path for multi-file torrent)
+ - %R: Root path (first torrent subdirectory path)
+ - %D: Save path
+ - %C: Number of files
+ - %Z: Torrent size (bytes)
+ - %T: Current tracker
+ - %I: Info hash
+
+
+
@@ -94,4 +126,4 @@ export default {
name: 'Downloads',
mixins: [SettingsTab, FullScreenModal]
}
-
\ No newline at end of file
+
diff --git a/src/store/actions.js b/src/store/actions.js
index 8af70a3e88e..d16d79159f8 100644
--- a/src/store/actions.js
+++ b/src/store/actions.js
@@ -1,5 +1,6 @@
import Vue from 'vue'
import qbit from '../services/qbit'
+import { i18n } from '../lang'
export default {
INIT_INTERVALS: async context => {
@@ -11,7 +12,7 @@ export default {
const res = await qbit.login(payload)
console.log(res)
if (res === 'Ok.') {
- Vue.$toast.success(this.$t('toast.loginSuccess'))
+ Vue.$toast.success(i18n.t('toast.loginSuccess'))
context.commit('LOGIN', true)
context.commit('updateMainData')
context.commit('FETCH_SETTINGS')
@@ -19,7 +20,7 @@ export default {
return true
}
- Vue.$toast.error(this.$t('toast.loginFailed'))
+ Vue.$toast.error(i18n.t('toast.loginFailed'))
return false
}