diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ca16be657c..34241e5169 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,9 +3,15 @@ repos: rev: master hooks: - id: powrap +- repo: local + hooks: + - id: merge-dicts + name: merge-dicts + entry: ./scripts/merge-dicts.sh + language: script # This one requires package ``hunspell-es_es`` in Archlinux - repo: https://github.com/humitos/pospell rev: pre-commit hooks: - id: pospell - args: ['--personal-dict', 'dict', '--modified', '--language', 'es_ES', '--language', 'es_AR'] + args: ['--personal-dict', 'dict.txt', '--modified', '--language', 'es_ES', '--language', 'es_AR'] diff --git a/dictionaries/library_unittest.mock-examples.txt b/dictionaries/library_unittest.mock-examples.txt new file mode 100644 index 0000000000..f1dc1e3424 --- /dev/null +++ b/dictionaries/library_unittest.mock-examples.txt @@ -0,0 +1 @@ +Mock diff --git a/library/unittest.mock-examples.po b/library/unittest.mock-examples.po index 8e36f78fd7..fc6926e914 100644 --- a/library/unittest.mock-examples.po +++ b/library/unittest.mock-examples.po @@ -26,7 +26,7 @@ msgstr "" #: ../Doc/library/unittest.mock-examples.rst:27 msgid "Using Mock" -msgstr "" +msgstr "Usando Mock" #: ../Doc/library/unittest.mock-examples.rst:30 msgid "Mock Patching Methods" diff --git a/scripts/merge-dicts.sh b/scripts/merge-dicts.sh new file mode 100755 index 0000000000..b96943aeff --- /dev/null +++ b/scripts/merge-dicts.sh @@ -0,0 +1,2 @@ +#!/bin/bash +awk 1 dict dictionaries/*.txt > dict.txt