From 6ac81b8b8babd7b5b801d1997c40bbc56d4ecf55 Mon Sep 17 00:00:00 2001 From: Tapio Lehtonen Date: Fri, 11 Sep 2009 10:14:44 +0000 Subject: Typo corrections --- po/fi/hardware.po | 4 ++-- po/fi/list-unkn-words.py | 6 +++++- po/fi/make-fi-all.sh | 2 +- po/fi/preparing.po | 4 ++-- po/fi/test-fi.py | 16 ---------------- 5 files changed, 10 insertions(+), 22 deletions(-) delete mode 100755 po/fi/test-fi.py (limited to 'po') diff --git a/po/fi/hardware.po b/po/fi/hardware.po index 716f2e71b..4195ef63e 100644 --- a/po/fi/hardware.po +++ b/po/fi/hardware.po @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: Debian Installation Guide hardware\n" "Report-Msgid-Bugs-To: debian-boot@lists.debian.org\n" "POT-Creation-Date: 2009-07-31 00:13+0000\n" -"PO-Revision-Date: 2009-09-09 21:51+0300\n" +"PO-Revision-Date: 2009-09-10 19:01+0300\n" "Last-Translator: Tapio Lehtonen \n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" @@ -3925,7 +3925,7 @@ msgstr "" msgid "" "USB CD-ROM drives are also supported, as are FireWire devices that are " "supported by the ohci1394 and sbp2 drivers." -msgstr "Myös USB-CD-asemat ovat tuettuja, kuten myös FireWire-laitteet joita ohci1394- ja sbp2-ajurit tukevat.." +msgstr "Myös USB-CD-asemat ovat tuettuja, kuten myös FireWire-laitteet joita ohci1394- ja sbp2-ajurit tukevat." #. Tag: para #: hardware.xml:2225 diff --git a/po/fi/list-unkn-words.py b/po/fi/list-unkn-words.py index a15ebeac4..f11cc5303 100755 --- a/po/fi/list-unkn-words.py +++ b/po/fi/list-unkn-words.py @@ -111,7 +111,11 @@ if __name__ == "__main__": for word in pF.readlines(): if len(word) > 0: # Don't add empty words if (word[0] != "#" and word[0] != " "): #Don't add comment lines - checker.add_to_personal(word) + # Workaroud for Debian bug #545848 + checker.dict.add(word) + # When bug is fixed, replace above line with + # checker.add(word) + pF.close() unknWords={} diff --git a/po/fi/make-fi-all.sh b/po/fi/make-fi-all.sh index fea25f2f2..9dcc0f202 100755 --- a/po/fi/make-fi-all.sh +++ b/po/fi/make-fi-all.sh @@ -18,7 +18,7 @@ done rm $$.temp1 $$.temp2 # Make list of words tmispell-voikko does not accept -${SPELLCHECKER} -l -d suomi < fi_all.po > $$.temp3 +${SPELLCHECKER} -l -d fi_FI < fi_all.po > $$.temp3 sort $$.temp3 | uniq > finnish_unkn_wl.txt rm $$.temp3 echo "Tuntemattomia sanoja " `wc -l finnish_unkn_wl.txt` diff --git a/po/fi/preparing.po b/po/fi/preparing.po index 229575098..5aa07e787 100644 --- a/po/fi/preparing.po +++ b/po/fi/preparing.po @@ -1,12 +1,12 @@ # Debian Installation Guide preparing. -# Tapio Lehtonen , 2006. +# Tapio Lehtonen , 2006, 2009. # msgid "" msgstr "" "Project-Id-Version: Debian Installation Guide preparing\n" "Report-Msgid-Bugs-To: debian-boot@lists.debian.org\n" "POT-Creation-Date: 2008-09-28 00:09+0000\n" -"PO-Revision-Date: 2009-09-09 22:02+0300\n" +"PO-Revision-Date: 2009-09-11 13:13+0300\n" "Last-Translator: Tapio Lehtonen \n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" diff --git a/po/fi/test-fi.py b/po/fi/test-fi.py deleted file mode 100755 index 7de902906..000000000 --- a/po/fi/test-fi.py +++ /dev/null @@ -1,16 +0,0 @@ -#! /usr/bin/env python -# -*- coding: utf-8 -*- - -import fi -import unittest - -tzer = fi.tokenize(u"""Tämä on kappale. Eipä ole kovin 2 nen, mutta tarkoitus on näyttää miten sanastaja -toimii useiden-erilaisten sanaryppäiden kimpussa. -Pitääpä vielä "tarkistaa" sanat jotka 'lainausmerkeissä.""", - valid_chars=u"'") -for w in tzer: - print w - -#koe = fi.TestTokenizeFI() -#koe.test_tokenize_fi() - -- cgit v1.2.3