Explorar el Código

fix {{unsupported}}

tags/v0.1^2
Ben Kurtovic hace 12 años
padre
commit
86eb75f868
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      earwigbot/commands/dictionary.py

+ 2
- 1
earwigbot/commands/dictionary.py Ver fichero

@@ -130,7 +130,8 @@ class Dictionary(Command):
substitutions = [
("<!--(.*?)-->", ""),
("\[\[[^\]|]*?\|([^\]|]*?)\]\]", r"\1"),
("\{\{(.*?) of\|(.*?)\}\}", r"\1 of \2."),
("\{\{unsupported\|(.*?)\}\}", r"\1"),
("\{\{(.*?) of\|(.*?)(\||\}\})", r"\1 of \2."),
("\{\{w\|(.*?)\}\}", r"\1"),
("\{\{surname(.*?)\}\}", r"A surname."),
("\{\{given name\|(.*?)(\||\}\})", r"A \1 given name."),


Cargando…
Cancelar
Guardar