On Tue, Aug 10, 2010 at 6:15 PM, Bram Moolenaar <[email protected]> wrote:
> Unfortunately, when I run Aap, applying the diff fails.  It looks like
> the diff was made for another pt_PT.aff file.  The one that was
> downloaded looks like this:
>
>
> SET UTF-8
> LANG pt_PT
> TRY aerisontcdmlupvgbfzáhçqjíxãóéêâúõACMPSBTELGRIFVDkHJONôywUKXZWQÁYÍÉàÓèÂÚ
> KEY qwertyuiop|asdfghjkl|zxcvbnm
> WORDCHARS -
>
>
> The diff expects:
>
>  SET ISO8859-1
> - TRY aerisontcdmlupvgbfzáhçqjíxãóéêâúõACMPSBTELGRIFVDkHJONôywUKXZWQÁYÍÉàÓèÂÚ
>
>
> Also, the .aff file has lots of trailing text.  Are we using the same
> download?
> I have made an attempt in fixing this.  Please check the files on the
> ftp server: ftp://ftp.vim.org/pub/vim/runtime/spell/pt/
>
> Also check spell suggestions with the generated .spl file.
>

It seems that everything is ok now. Thank you very much for fixing it!

I deleted all files from my local spell/pt directory and restored them
with "hg updated -C". I compared the files generated by "hg update -C"
with the ones in the ftp server and they have the same md5sums. Then,
I generated and copied the pt.utf-8.spl and pt.latin1.spl files to
~/.vim/spell. European and Brazilian spell check seems to be correct
and up to date and the spell suggestions are good.

However, the pt.utf-8.spl from the ftp server seems to be outdated...
Did you do "aap clean" before generating it?

NOTE: the broffice site was offline. So I used the
Vero_pt_BR_V207AOC.oxt that I have downloaded to my home directory
yesterday and did some of the commands manually.

I'm sending a small patch to delete unnecessary files extracted from
the Brazilian oxt file, as you have done with the files extracted from
the European oxt.

Thank you!

Jakson

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r 6efdc2e61533 runtime/spell/pt/main.aap
--- a/runtime/spell/pt/main.aap	Tue Aug 10 22:53:02 2010 +0200
+++ b/runtime/spell/pt/main.aap	Tue Aug 10 23:13:54 2010 -0300
@@ -73,6 +73,12 @@
         :fetch $BR_FNAME
         :sys $UNZIP $BR_FNAME
         :delete $BR_FNAME
+        :delete {f} description.xml
+        :delete {f} dictionaries.xcu
+        :delete {f} hyph_pt_BR.dic
+        :delete {r}{f} META-INF
+        :delete {f} README_en.TXT
+        :delete {f} README_hyph_pt_BR.TXT
         :sys $VIM README_pt_BR.TXT -u NONE -N -e -c "set ff=unix" -c update -c q
         :move README_pt_BR.TXT README_pt_BR.txt
 

Raspunde prin e-mail lui