1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-28 10:50:47 +00:00

yggtorrent: fix typo (#3174)

Fix typo if multi language replacement is activate
This commit is contained in:
Celedhrim 2018-05-29 22:07:05 +02:00 committed by kaso17
parent af135f4ae9
commit 47410c5eb6

View file

@ -154,10 +154,10 @@
title_phase1:
text: "{{if .Config.filter_title }}{{ .Result.title_filtered }}{{else}}{{ .Result.title_normal }}{{end}}"
title_multilang:
text: "{{ .Result.title_phase1 }}r"
text: "{{ .Result.title_phase1 }}"
filters:
- name: re_replace
args: ["[\\.\\s\\[\\-][Mm][Uu][Ll][Tt][Ii][\\.i\\s\\]\\-]", ".{{ .Config.multilanguage }}."]
args: ["[\\.\\s\\[\\-][Mm][Uu][Ll][Tt][Ii][\\.\\s\\]\\-]", ".{{ .Config.multilanguage }}."]
title:
text: "{{if .Config.multilang }}{{ .Result.title_multilang }}{{else}}{{ .Result.title_phase1 }}{{end}}"
details: