From f0c5d826b67db7e906288461453d15232291a76f Mon Sep 17 00:00:00 2001 From: Marcos Paulo de Souza Date: Thu, 2 Jan 2014 08:32:22 -0200 Subject: Update pt_BR dictionary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5aea0c6761a1d58921e95c2fb6a559c63feec5ea Reviewed-on: https://gerrit.libreoffice.org/7258 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara (cherry picked from commit f724c400668f11b49c3566a20c0c3350249ff266) --- pt_BR/README_pt_BR.txt | 2 +- pt_BR/description.xml | 2 +- pt_BR/dialog/OptionsDialog.xcs | 181 ++++++++++++++++++++++++++++++ pt_BR/dialog/OptionsDialog.xcu | 29 +++++ pt_BR/pythonpath/lightproof_impl_pt_BR.py | 34 +++--- pt_BR/pythonpath/lightproof_pt_BR.py | 6 +- 6 files changed, 232 insertions(+), 22 deletions(-) create mode 100644 pt_BR/dialog/OptionsDialog.xcs create mode 100644 pt_BR/dialog/OptionsDialog.xcu diff --git a/pt_BR/README_pt_BR.txt b/pt_BR/README_pt_BR.txt index 23dc9ce..b3b5b26 100644 --- a/pt_BR/README_pt_BR.txt +++ b/pt_BR/README_pt_BR.txt @@ -181,7 +181,7 @@ GRAMATICAL ======================================================= Colaboradores do Gramatical nesta versão: João Mac-Cormick, Olivier Halot, João Eduardo Strottmann, Guilherme Rebecchi, - Eduardo Mundim, Luyse M. Moura, Marcos Souza e e-villela. + Eduardo Mundim, Luyse M. Moura, Marcos Souza, e-villela e Alexandre Vicenzi. ======================================================= COMO INSTALAR O VERIFICADOR BRASILEIRO NO LIBREOFFICE ======================================================= diff --git a/pt_BR/description.xml b/pt_BR/description.xml index 489e58f..917e427 100644 --- a/pt_BR/description.xml +++ b/pt_BR/description.xml @@ -1,6 +1,6 @@ - + Spelling, hyphenation and grammar checking tools for Brazilian Portuguese diff --git a/pt_BR/dialog/OptionsDialog.xcs b/pt_BR/dialog/OptionsDialog.xcs new file mode 100644 index 0000000..f49f6cb --- /dev/null +++ b/pt_BR/dialog/OptionsDialog.xcs @@ -0,0 +1,181 @@ + + + + Contains the options data used for the test extensions. + + + + + The data for one leaf. + + + + The grammar definition of one leaf. + + + + + + The cap definition of one leaf. + + + + + + The dup definition of one leaf. + + + + + + The pair definition of one leaf. + + + + + + The spaces definition of one leaf. + + + + + + The mdash definition of one leaf. + + + + + + The quotation definition of one leaf. + + + + + + The times definition of one leaf. + + + + + + The spaces2 definition of one leaf. + + + + + + The ndash definition of one leaf. + + + + + + The apostrophe definition of one leaf. + + + + + + The ellipsis definition of one leaf. + + + + + + The spaces3 definition of one leaf. + + + + + + The minus definition of one leaf. + + + + + + The metric definition of one leaf. + + + + + + The numsep definition of one leaf. + + + + + + The nonmetric definition of one leaf. + + + + + + Words similar in spelling or pronunciation, but with different meanings. + + + + + + Compound words. + + + + + + Use of evil or bad. + + + + + + Use of ha or a. + + + + + + Use of meia or meio. + + + + + + Verb agreement. + + + + + + Pronoun placement. + + + + + + Use of pronoun. + + + + + + Use of porque. + + + + + + + + + The list of leaves. + + + + The definition of one leaf. + + + + + diff --git a/pt_BR/dialog/OptionsDialog.xcu b/pt_BR/dialog/OptionsDialog.xcu new file mode 100644 index 0000000..e9d8698 --- /dev/null +++ b/pt_BR/dialog/OptionsDialog.xcu @@ -0,0 +1,29 @@ + + + + + + + Language Settings + Configurações de idioma + + + + + org.openoffice.pt_BR.hunspell.dictionaries + + + Grammar checking (Portuguese) + Corretor Gramatical (Português - Brasil) + + + %origin%/pt_BR.xdl + + + org.libreoffice.comp.pyuno.LightproofOptionsEventHandler.pt_BR + + + + + + diff --git a/pt_BR/pythonpath/lightproof_impl_pt_BR.py b/pt_BR/pythonpath/lightproof_impl_pt_BR.py index 8b3838e..8d0100f 100644 --- a/pt_BR/pythonpath/lightproof_impl_pt_BR.py +++ b/pt_BR/pythonpath/lightproof_impl_pt_BR.py @@ -10043,7 +10043,7 @@ u"\u00E9"+"ramos", "erguemos", "erramos", "escapamos", "escolh"+u"\u00ED"+"amos" "voltamos", "voltar"+u"\u00ED"+"amos", "voltaremos", "voltarmos", "voltemos", "votamos"]) -# NUMERAIS DOIS GÊNEROS PARA COMPLEMENTAR COM == E UM === +# NUMERAIS DOIS GENEROS PARA COMPLEMENTAR COM == E UM === numEmfoa = set(["Bilh"+u"\u00E3"+"o", "bilh"+u"\u00E3"+"o", "Bilh"+u"\u00F5"+"es", "bilh"+u"\u00F5"+"es", "Cento", "cento", "Cinquenta", "cinquenta", "Duzentas", "duzentas", "Duzentos", "duzentos", "Mil", "mil", "Milh"+u"\u00E3"+"o", "milh"+u"\u00E3"+"o", @@ -22828,18 +22828,18 @@ plvrMFm = set(["extravirge", "jove", "m"+u"\u00E9"+"diu", "nen"+u"\u00E9", "pers # pvrFeman - palavras femininas terminadas em -an- curcunflexo - aleman -pvrFeman = set(["abi"+u"\u00E3", "açadac"+u"\u00E3", "adem"+u"\u00E3", "adev"+u"\u00E3", +pvrFeman = set(["abi"+u"\u00E3", "a"+u"\u00E7"+"adac"+u"\u00E3", "adem"+u"\u00E3", "adev"+u"\u00E3", "afeg"+u"\u00E3", "alacr"+u"\u00E3", "alam"+u"\u00E3", "alav"+u"\u00E3", "alaz"+u"\u00E3", "albard"+u"\u00E3", "albardeir"+u"\u00E3", "albarr"+u"\u00E3", "albi"+u"\u00E3", "alde"+u"\u00E3", "aldrav"+u"\u00E3", "alem"+u"\u00E3", -"alentej"+u"\u00E3", "algazarr"+u"\u00E3", "alvaç"+u"\u00E3", "alvarelh"+u"\u00E3", +"alentej"+u"\u00E3", "algazarr"+u"\u00E3", "alva"+u"\u00E7"+u"\u00E3", "alvarelh"+u"\u00E3", "alvarr"+u"\u00E3", "amb"+u"\u00E3", "ambr"+u"\u00E3", "amont"+u"\u00E3", "an"+u"\u00E3", "anci"+u"\u00E3", "anfitri"+u"\u00E3", "ant"+u"\u00E3", "anticrist"+u"\u00E3", "arquicapel"+u"\u00E3", "artes"+u"\u00E3", "bair"+u"\u00E3", "bang"+u"\u00E3", "barreg"+u"\u00E3", "barros"+u"\u00E3", "bat"+u"\u00E3", "beir"+u"\u00E3", "beirade"+u"\u00E3", "bel"+u"\u00E3", "bicampe"+u"\u00E3", "bigerr"+u"\u00E3", "bol"+u"\u00E3", "bord"+u"\u00E3", "bordeg"+u"\u00E3", -"borguinh"+u"\u00E3", "braganç"+u"\u00E3", "bret"+u"\u00E3", "bub"+u"\u00E3", +"borguinh"+u"\u00E3", "bragan"+u"\u00E7"+u"\u00E3", "bret"+u"\u00E3", "bub"+u"\u00E3", "cafet"+u"\u00E3", "camaqu"+u"\u00E3", "campe"+u"\u00E3", "canc"+u"\u00E3", "cant"+u"\u00E3", "capel"+u"\u00E3", "capit"+u"\u00E3", "caramp"+u"\u00E3", "card"+u"\u00E3", "carret"+u"\u00E3", "cart"+u"\u00E3", "castel"+u"\u00E3", @@ -22853,7 +22853,7 @@ pvrFeman = set(["abi"+u"\u00E3", "açadac"+u"\u00E3", "adem"+u"\u00E3", "adev"+u "eneadecacampe"+u"\u00E3", "engatat"+u"\u00E3", "ermit"+u"\u00E3", "escriv"+u"\u00E3", "espi"+u"\u00E3", "esquip"+u"\u00E3", "estrab"+u"\u00E3", "et"+u"\u00E3", "etradecacampe"+u"\u00E3", "fais"+u"\u00E3", "faj"+u"\u00E3", "ferr"+u"\u00E3", -"foç"+u"\u00E3", "folgaz"+u"\u00E3", "fris"+u"\u00E3", "fu"+u"\u00E3", +"fo"+u"\u00E7"+u"\u00E3", "folgaz"+u"\u00E3", "fris"+u"\u00E3", "fu"+u"\u00E3", "fugi"+u"\u00E3", "ful"+u"\u00E3", "garnach"+u"\u00E3", "gasc"+u"\u00E3", "geres"+u"\u00E3", "goz"+u"\u00E3", "gr"+u"\u00E3", "gr"+u"\u00E3", "guadem"+u"\u00E3", "guaiac"+u"\u00E3", "guardi"+u"\u00E3", "guardi"+u"\u00E3", @@ -22862,15 +22862,15 @@ pvrFeman = set(["abi"+u"\u00E3", "açadac"+u"\u00E3", "adem"+u"\u00E3", "adev"+u "hortel"+u"\u00E3", "hortel"+u"\u00E3", "icosacampe"+u"\u00E3", "ignorant"+u"\u00E3", "ilerga"+u"\u00E3", "indo-afeg"+u"\u00E3", "ingev"+u"\u00E3", "intruj"+u"\u00E3", "irm"+u"\u00E3", "irm"+u"\u00E3", "istev"+u"\u00E3", -"jaçan"+u"\u00E3", "jad"+u"\u00E3", "jangueir"+u"\u00E3", "jap"+u"\u00E3", +"ja"+u"\u00E7"+"an"+u"\u00E3", "jad"+u"\u00E3", "jangueir"+u"\u00E3", "jap"+u"\u00E3", "jerez"+u"\u00E3", "jubat"+u"\u00E3", "jus"+u"\u00E3", "l"+u"\u00E3", "lafar"+u"\u00E3", "lamb"+u"\u00E3", "lambit"+u"\u00E3", "lambuz"+u"\u00E3", -"lamp"+u"\u00E3", "lâmp"+u"\u00E3", "lap"+u"\u00E3", "lapard"+u"\u00E3", +"lamp"+u"\u00E3", "l"+u"\u00E2"+"mp"+u"\u00E3", "lap"+u"\u00E3", "lapard"+u"\u00E3", "largueir"+u"\u00E3", "larp"+u"\u00E3", "laz"+u"\u00E3", "lazar"+u"\u00E3", "leir"+u"\u00E3", "leiri"+u"\u00E3", "lestrig"+u"\u00E3", "let"+u"\u00E3", "limi"+u"\u00E3", "ling"+u"\u00E3", "linguar"+u"\u00E3", "liseir"+u"\u00E3", -"lois"+u"\u00E3", "longueir"+u"\u00E3", "louç"+u"\u00E3", "lous"+u"\u00E3", -"lous"+u"\u00E3", "maç"+u"\u00E3", "maç"+u"\u00E3", "mach"+u"\u00E3", +"lois"+u"\u00E3", "longueir"+u"\u00E3", "lou"+u"\u00E7"+u"\u00E3", "lous"+u"\u00E3", +"lous"+u"\u00E3", "ma"+u"\u00E7"+u"\u00E3", "ma"+u"\u00E7"+u"\u00E3", "mach"+u"\u00E3", "macor"+u"\u00E3", "macr"+u"\u00E3", "madraceir"+u"\u00E3", "madur"+u"\u00E3", "mafi"+u"\u00E3", "magan"+u"\u00E3", "magr"+u"\u00E3", "magreir"+u"\u00E3", "malev"+u"\u00E3", "mals"+u"\u00E3", "mamant"+u"\u00E3", "manc"+u"\u00E3", @@ -22890,8 +22890,8 @@ pvrFeman = set(["abi"+u"\u00E3", "açadac"+u"\u00E3", "adem"+u"\u00E3", "adev"+u "neocrist"+u"\u00E3", "neopag"+u"\u00E3", "neurocirurgi"+u"\u00E3", "nh"+u"\u00E3", "nhanh"+u"\u00E3", "nip"+u"\u00E3", "nis"+u"\u00E3", "nojent"+u"\u00E3", "novent"+u"\u00E3", "nuit"+u"\u00E3", "octacampe"+u"\u00E3", "octadecacampe"+u"\u00E3", -"octocampe"+u"\u00E3", "oitav"+u"\u00E3", "oitent"+u"\u00E3", "órf"+u"\u00E3", -"órf"+u"\u00E3", "otom"+u"\u00E3", "pacam"+u"\u00E3", "pag"+u"\u00E3", +"octocampe"+u"\u00E3", "oitav"+u"\u00E3", "oitent"+u"\u00E3", u"\u00F3"+"rf"+u"\u00E3", +u"\u00F3"+"rf"+u"\u00E3", "otom"+u"\u00E3", "pacam"+u"\u00E3", "pag"+u"\u00E3", "paleocrist"+u"\u00E3", "palh"+u"\u00E3", "palmel"+u"\u00E3", "palr"+u"\u00E3", "pancrist"+u"\u00E3", "pangalh"+u"\u00E3", "pantuf"+u"\u00E3", "paparrot"+u"\u00E3", "parafus"+u"\u00E3", "pardal"+u"\u00E3", "parlapat"+u"\u00E3", "parn"+u"\u00E3", @@ -22904,7 +22904,7 @@ pvrFeman = set(["abi"+u"\u00E3", "açadac"+u"\u00E3", "adem"+u"\u00E3", "adev"+u "podr"+u"\u00E3", "polintr"+u"\u00E3", "pop"+u"\u00E3", "popule"+u"\u00E3", "poup"+u"\u00E3", "quarter"+u"\u00E3", "quatrocent"+u"\u00E3", "quebralh"+u"\u00E3", "queim"+u"\u00E3", "querend"+u"\u00E3", "quietarr"+u"\u00E3", "quinho"+u"\u00E3", -"quint"+u"\u00E3", "quint"+u"\u00E3", "r"+u"\u00E3", "rabaç"+u"\u00E3", +"quint"+u"\u00E3", "quint"+u"\u00E3", "r"+u"\u00E3", "raba"+u"\u00E7"+u"\u00E3", "rabissalt"+u"\u00E3", "radical"+u"\u00E3", "ralh"+u"\u00E3", "ramalh"+u"\u00E3", "rambut"+u"\u00E3", "rat"+u"\u00E3", "ratapl"+u"\u00E3", "raud"+u"\u00E3", "rebel"+u"\u00E3", "rebol"+u"\u00E3", "rebord"+u"\u00E3", "rech"+u"\u00E3", @@ -22912,13 +22912,13 @@ pvrFeman = set(["abi"+u"\u00E3", "açadac"+u"\u00E3", "adem"+u"\u00E3", "adev"+u "reguing"+u"\u00E3", "relinch"+u"\u00E3", "relv"+u"\u00E3", "remanch"+u"\u00E3", "remang"+u"\u00E3", "remans"+u"\u00E3", "remel"+u"\u00E3", "remend"+u"\u00E3", "rent"+u"\u00E3", "repont"+u"\u00E3", "resping"+u"\u00E3", "retard"+u"\u00E3", -"retoiç"+u"\u00E3", "revel"+u"\u00E3", "revend"+u"\u00E3", "revendilh"+u"\u00E3", -"rezing"+u"\u00E3", "ribaç"+u"\u00E3", "ric"+u"\u00E3", "ricalh"+u"\u00E3", +"retoi"+u"\u00E7"+u"\u00E3", "revel"+u"\u00E3", "revend"+u"\u00E3", "revendilh"+u"\u00E3", +"rezing"+u"\u00E3", "riba"+u"\u00E7"+u"\u00E3", "ric"+u"\u00E3", "ricalh"+u"\u00E3", "rinch"+u"\u00E3", "rinf"+u"\u00E3", "ris"+u"\u00E3", "rol"+u"\u00E3", -"rom"+u"\u00E3", "rom"+u"\u00E3", "ronc"+u"\u00E3", "rouç"+u"\u00E3", +"rom"+u"\u00E3", "rom"+u"\u00E3", "ronc"+u"\u00E3", "rou"+u"\u00E7"+u"\u00E3", "ru"+u"\u00E3", "rubi"+u"\u00E3", "rubic"+u"\u00E3", "s"+u"\u00E3", "sabich"+u"\u00E3", "sacrist"+u"\u00E3", "sacrist"+u"\u00E3", "sai"+u"\u00E3", -"salt"+u"\u00E3", "samang"+u"\u00E3", "sancarr"+u"\u00E3", "sançarr"+u"\u00E3", +"salt"+u"\u00E3", "samang"+u"\u00E3", "sancarr"+u"\u00E3", "san"+u"\u00E7"+"arr"+u"\u00E3", "sant"+u"\u00E3", "saramb"+u"\u00E3", "sarambel"+u"\u00E3", "sarapant"+u"\u00E3", "sebent"+u"\u00E3", "secarr"+u"\u00E3", "sement"+u"\u00E3", "semicrist"+u"\u00E3", "sendeir"+u"\u00E3", "sensabor"+u"\u00E3", "sentimental"+u"\u00E3", "sering"+u"\u00E3", @@ -22934,7 +22934,7 @@ pvrFeman = set(["abi"+u"\u00E3", "açadac"+u"\u00E3", "adem"+u"\u00E3", "adev"+u "tach"+u"\u00E3", "taful"+u"\u00E3", "taleig"+u"\u00E3", "talud"+u"\u00E3", "tamanh"+u"\u00E3", "tangaralh"+u"\u00E3", "tangaranh"+u"\u00E3", "tanj"+u"\u00E3", "tard"+u"\u00E3", "tardi"+u"\u00E3", "tarp"+u"\u00E3", "tecel"+u"\u00E3", -"tefl"+u"\u00E3", "tempor"+u"\u00E3", "terç"+u"\u00E3", "terrast"+u"\u00E3", +"tefl"+u"\u00E3", "tempor"+u"\u00E3", "ter"+u"\u00E7"+u"\u00E3", "terrast"+u"\u00E3", "tesc"+u"\u00E3", "tetracampe"+u"\u00E3", "teut"+u"\u00E3", "tintur"+u"\u00E3", "tobog"+u"\u00E3", "tocai"+u"\u00E3", "tol"+u"\u00E3", "toleir"+u"\u00E3", "tont"+u"\u00E3", "torres"+u"\u00E3", "tramp"+u"\u00E3", "trancos"+u"\u00E3", diff --git a/pt_BR/pythonpath/lightproof_pt_BR.py b/pt_BR/pythonpath/lightproof_pt_BR.py index 63fb823..9cb3bc9 100644 --- a/pt_BR/pythonpath/lightproof_pt_BR.py +++ b/pt_BR/pythonpath/lightproof_pt_BR.py @@ -1533,8 +1533,8 @@ dic = [[u'(?u)(?[a-zA-Z\xE1\xE2\xE7\xE9\xEA\xED\xF3\xF4\xFA]+[bcefghijlmnoprtuvxz][\xE3][o])(?![-\\w\u2013\xad])', u'= aacCrase[m.group(1)] + " " + m.group(2) + "s"', u'N\xe3o se usa crase antes de verbo ou palavra masculina. Voc\xea quis dizer:', u'not m.group("Zao_3") in femeCrase and option(LOCALE,"grammar")'], [u'(?u)(?[a-zA-Z\xE1\xE2\xE7\xE9\xEA\xED\xF3\xF4\xFA]+[bcefghijlmnoprtuvxz][\xE3][o])[s](?![-\\w\u2013\xad])', u'= aacCrase[m.group(1)] + " " + m.group(2) + "s\\n" + aacCrase[m.group(1)] + "os " + m.group(2) + "s"', u'N\xe3o se usa crase antes de verbo ou palavra masculina. Voc\xea quis dizer:', u'not m.group("Zao_4") in femeCrase and option(LOCALE,"grammar")'], [u'(?u)(?[a-z\xE7\xE3]+)(?![-\\w\u2013\xad])', u'a \\g', u'Crase inapropriada. Voc\xea quis dizer:', u'm.group("Cso_1").lower() in masAoCrase and option(LOCALE,"grammar")'], - [u'(?u)(?[a-z\xE1\xE2\xE7\xE9\xEA\xED\xF3\xF4\xFA]+[dhst]or)(?![-\\w\u2013\xad])', u'aacCrase[m.group(1)] + " " + m.group(2)', u'N\xe3o se usa crase antes de verbo ou palavra masculina. Voc\xea quis dizer:', u'option(LOCALE,"grammar")'], - [u'(?u)(?[a-z\xE1\xE2\xE7\xE9\xEA\xED\xF3\xF4\xFA]+[dhst]ores)(?![-\\w\u2013\xad])', u'aacCrase[m.group(1)] + " " + m.group(2)', u'Crase antes de substantivo masculino:', u'option(LOCALE,"grammar")'], + [u'(?u)(?[a-z\xE1\xE2\xE7\xE9\xEA\xED\xF3\xF4\xFA]+[dhst]or)(?![-\\w\u2013\xad])', u'= aacCrase[m.group(1)] + " " + m.group(2)', u'N\xe3o se usa crase antes de verbo ou palavra masculina. Voc\xea quis dizer:', u'option(LOCALE,"grammar")'], + [u'(?u)(?[a-z\xE1\xE2\xE7\xE9\xEA\xED\xF3\xF4\xFA]+[dhst]ores)(?![-\\w\u2013\xad])', u'= aacCrase[m.group(1)] + " " + m.group(2)', u'Crase antes de substantivo masculino:', u'option(LOCALE,"grammar")'], [u'(?u)(?[a-zA-Z]\\w*)(?![-\\w\u2013\xad])', u'a \\g', u'Crase inapropriada.\\n http://pt.wikipedia.org/wiki/Crase', u'm.group("Scr_1") in semCrase and option(LOCALE,"grammar")'], [u'(?u)(?[ah][a-z\xE1\xE2\xE3\xE7\xE9\xEA\xED\xF3\xF4\xF5\xFA]+[aelomrs])(?![-\\w\u2013\xad])', u'\\1a-\\g', u'Voc\xea quis dizer:', u'not m.group("Prx_1") in AosExcecao'], + [u'(?u)(?[ah][a-z\xE1\xE2\xE3\xE7\xE9\xEA\xED\xF3\xF4\xF5\xFA]+[aelomrs])(?![-\\w\u2013\xad])', u'\\1a-\\g', u'Voc\xea quis dizer:', u'not m.group("Prx_1") in AosExcecao'], [u'(?u)(?[bcdefgijlmnopqtuvxz][a-z\xE1\xE2\xE3\xE7\xE9\xEA\xED\xF3\xF4\xF5\xFA]+[aelomrs])(?![-\\w\u2013\xad])', u'\\1a\\g', u'Voc\xea quis dizer:', u'not m.group("Prx_2") in AosExcecao'], [u'(?u)(?[r][a-z\xE1\xE2\xE3\xE7\xE9\xEA\xED\xF3\xF4\xF5\xFA]+[aelomrs])(?![-\\w\u2013\xad])', u'\\1ar\\g', u'Voc\xea quis dizer:', u'not m.group("Prx_3") in AosExcecao'], [u'(?u)(?[s][a-z\xE1\xE2\xE3\xE7\xE9\xEA\xED\xF3\xF4\xF5\xFA]+[aelomrs])(?![-\\w\u2013\xad])', u'\\1as\\g', u'Voc\xea quis dizer:', u'not m.group("Prx_4") in AosExcecao'], -- cgit v1.2.3