From 044713e4168cb6fdd1dc0381cb44533ab43fa8a5 Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Sat, 25 Jul 2020 15:04:45 +0200 Subject: [PATCH 1/2] Agregar la union de diccionarios MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `awk 1` agregará un salto de línea a los archivos que no la tengan, arreglando los problemas que hemos tenido desde la implementación de los diccionarios por archivo. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5e757d1e9b..34be7114d0 100644 --- a/Makefile +++ b/Makefile @@ -89,7 +89,7 @@ progress: venv .PHONY: spell spell: venv - cat dict dictionaries/*.txt > dict.txt + awk 1 dict dictionaries/*.txt > dict.txt $(VENV)/bin/pospell -p dict.txt -l es_ES **/*.po From cb9a7c95032d1b8ca6993c8695a613fa7fadf88d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Sat, 25 Jul 2020 15:36:55 +0200 Subject: [PATCH 2/2] Apply suggestions from code review --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 34be7114d0..8282bd9216 100644 --- a/Makefile +++ b/Makefile @@ -89,6 +89,8 @@ progress: venv .PHONY: spell spell: venv + # 'cat' tenia el problema que algunos archivos no tenían una nueva línea al final + # 'awk 1' agregará una nueva línea en caso que falte. awk 1 dict dictionaries/*.txt > dict.txt $(VENV)/bin/pospell -p dict.txt -l es_ES **/*.po