mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Yggtorrent and downloadville: Better MULTI replace (#3135)
This commit is contained in:
@@ -130,9 +130,16 @@
|
|||||||
"4" : "Argent & Or (Both)"
|
"4" : "Argent & Or (Both)"
|
||||||
- name: multilang
|
- name: multilang
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Replace MULTI by FRENCH in release name
|
label: Replace MULTI by another language in release name
|
||||||
default: false
|
default: false
|
||||||
|
- name: multilanguage
|
||||||
|
type: select
|
||||||
|
label: Replace MULTI by this language
|
||||||
|
default: FRENCH
|
||||||
|
options:
|
||||||
|
FRENCH : "FRENCH"
|
||||||
|
MULTI.FRENCH : "MULTI.FRENCH"
|
||||||
|
ENGLISH: "ENGLISH"
|
||||||
login:
|
login:
|
||||||
path: tracker/index.php?page=login
|
path: tracker/index.php?page=login
|
||||||
method: post
|
method: post
|
||||||
@@ -178,7 +185,7 @@
|
|||||||
text: "{{ .Result.title_phase1 }}r"
|
text: "{{ .Result.title_phase1 }}r"
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["[\\.\\s\\[\\-[Mm][Uu][Ll][Tt][Ii][\\.i\\s\\]\\-]", ".FRENCH."]
|
args: ["[\\.\\s\\[\\-][Mm][Uu][Ll][Tt][Ii][\\.i\\s\\]\\-]", ".{{ .Config.multilanguage }}."]
|
||||||
title:
|
title:
|
||||||
text: "{{if .Config.multilang }}{{ .Result.title_multilang }}{{else}}{{ .Result.title_phase1 }}{{end}}"
|
text: "{{if .Config.multilang }}{{ .Result.title_multilang }}{{else}}{{ .Result.title_phase1 }}{{end}}"
|
||||||
details:
|
details:
|
||||||
|
@@ -98,9 +98,16 @@
|
|||||||
default: false
|
default: false
|
||||||
- name: multilang
|
- name: multilang
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Replace MULTI by FRENCH in release name
|
label: Replace MULTI by another language in release name
|
||||||
default: false
|
default: false
|
||||||
|
- name: multilanguage
|
||||||
|
type: select
|
||||||
|
label: Replace MULTI by this language
|
||||||
|
default: FRENCH
|
||||||
|
options:
|
||||||
|
FRENCH : "FRENCH"
|
||||||
|
MULTI.FRENCH: "MULTI.FRENCH"
|
||||||
|
ENGLISH: "ENGLISH"
|
||||||
login:
|
login:
|
||||||
method: form
|
method: form
|
||||||
path: /
|
path: /
|
||||||
@@ -150,7 +157,7 @@
|
|||||||
text: "{{ .Result.title_phase1 }}r"
|
text: "{{ .Result.title_phase1 }}r"
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["[\\.\\s\\[\\-[Mm][Uu][Ll][Tt][Ii][\\.i\\s\\]\\-]", ".FRENCH."]
|
args: ["[\\.\\s\\[\\-][Mm][Uu][Ll][Tt][Ii][\\.i\\s\\]\\-]", ".{{ .Config.multilanguage }}."]
|
||||||
title:
|
title:
|
||||||
text: "{{if .Config.multilang }}{{ .Result.title_multilang }}{{else}}{{ .Result.title_phase1 }}{{end}}"
|
text: "{{if .Config.multilang }}{{ .Result.title_multilang }}{{else}}{{ .Result.title_phase1 }}{{end}}"
|
||||||
details:
|
details:
|
||||||
|
Reference in New Issue
Block a user