diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-11-26 15:11:18 -0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-11-27 16:58:12 +0100 |
commit | 404c7ad8ccb9e71e8a7f575d638e4522b2a16657 (patch) | |
tree | 2bda9753eff7d2f8d599de2133d633d7dff1fc4a /pt_BR/dialog | |
parent | 84861864e2555282a23235225dd15dc1c6d30249 (diff) |
Add Lightproof grammar checker for pt-BR
This patch is a collaborative work of the Brazilian LibreOffice community, leaded by Raimundo Moura, João McCormick and may other collaborators as listed in
http://pt-br.libreoffice.org/projetos/projeto-vero-verificador-ortografico/
(Internal build: Vero 3.0.0 Beta 23)
Change-Id: I6e91071aaf381a81db420e6454cfdeb39f289465
Diffstat (limited to 'pt_BR/dialog')
-rw-r--r-- | pt_BR/dialog/pt_BR.xdl | 26 | ||||
-rw-r--r-- | pt_BR/dialog/pt_BR_en_US.default | 0 | ||||
-rw-r--r-- | pt_BR/dialog/pt_BR_en_US.properties | 37 | ||||
-rw-r--r-- | pt_BR/dialog/registry/data/org/openoffice/Office/OptionsDialog.xcu | 27 | ||||
-rw-r--r-- | pt_BR/dialog/registry/schema/org/openoffice/Lightproof_pt_BR.xcs | 128 |
5 files changed, 218 insertions, 0 deletions
diff --git a/pt_BR/dialog/pt_BR.xdl b/pt_BR/dialog/pt_BR.xdl new file mode 100644 index 0000000..c916381 --- /dev/null +++ b/pt_BR/dialog/pt_BR.xdl @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd"> +<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="pt_BR" dlg:left="101" dlg:top="52" dlg:width="196" dlg:height="72" dlg:closeable="true" dlg:moveable="true" dlg:withtitlebar="false"> + <dlg:bulletinboard> +<dlg:fixedline dlg:id="spelling" dlg:tab-index="0" dlg:left="5" dlg:top="5" dlg:width="240" dlg:height="10" dlg:value="&spelling"/> +<dlg:checkbox dlg:id="grammar" dlg:tab-index="1" dlg:left="10" dlg:top="15" dlg:width="60" dlg:height="10" dlg:value="&grammar" dlg:checked="false" dlg:help-text="&hlp_grammar"/> +<dlg:checkbox dlg:id="cap" dlg:tab-index="2" dlg:left="70" dlg:top="15" dlg:width="60" dlg:height="10" dlg:value="&cap" dlg:checked="false" dlg:help-text="&hlp_cap"/> +<dlg:checkbox dlg:id="dup" dlg:tab-index="3" dlg:left="130" dlg:top="15" dlg:width="60" dlg:height="10" dlg:value="&dup" dlg:checked="true" dlg:help-text="&hlp_dup"/> +<dlg:checkbox dlg:id="pair" dlg:tab-index="4" dlg:left="190" dlg:top="15" dlg:width="60" dlg:height="10" dlg:value="&pair" dlg:checked="false" dlg:help-text="&hlp_pair"/> +<dlg:fixedline dlg:id="punctuation" dlg:tab-index="6" dlg:left="5" dlg:top="25" dlg:width="240" dlg:height="10" dlg:value="&punctuation"/> +<dlg:checkbox dlg:id="spaces" dlg:tab-index="7" dlg:left="10" dlg:top="35" dlg:width="60" dlg:height="10" dlg:value="&spaces" dlg:checked="true" dlg:help-text="&hlp_spaces"/> +<dlg:checkbox dlg:id="mdash" dlg:tab-index="8" dlg:left="70" dlg:top="35" dlg:width="60" dlg:height="10" dlg:value="&mdash" dlg:checked="false" dlg:help-text="&hlp_mdash"/> +<dlg:checkbox dlg:id="quotation" dlg:tab-index="9" dlg:left="130" dlg:top="35" dlg:width="60" dlg:height="10" dlg:value="&quotation" dlg:checked="false" dlg:help-text="&hlp_quotation"/> +<dlg:checkbox dlg:id="times" dlg:tab-index="10" dlg:left="190" dlg:top="35" dlg:width="60" dlg:height="10" dlg:value="&times" dlg:checked="true" dlg:help-text="&hlp_times"/> +<dlg:checkbox dlg:id="spaces2" dlg:tab-index="12" dlg:left="10" dlg:top="45" dlg:width="60" dlg:height="10" dlg:value="&spaces2" dlg:checked="false" dlg:help-text="&hlp_spaces2"/> +<dlg:checkbox dlg:id="ndash" dlg:tab-index="13" dlg:left="70" dlg:top="45" dlg:width="60" dlg:height="10" dlg:value="&ndash" dlg:checked="false" dlg:help-text="&hlp_ndash"/> +<dlg:checkbox dlg:id="apostrophe" dlg:tab-index="14" dlg:left="130" dlg:top="45" dlg:width="60" dlg:height="10" dlg:value="&apostrophe" dlg:checked="false" dlg:help-text="&hlp_apostrophe"/> +<dlg:checkbox dlg:id="ellipsis" dlg:tab-index="15" dlg:left="190" dlg:top="45" dlg:width="60" dlg:height="10" dlg:value="&ellipsis" dlg:checked="false" dlg:help-text="&hlp_ellipsis"/> +<dlg:checkbox dlg:id="spaces3" dlg:tab-index="17" dlg:left="10" dlg:top="55" dlg:width="60" dlg:height="10" dlg:value="&spaces3" dlg:checked="false" dlg:help-text="&hlp_spaces3"/> +<dlg:checkbox dlg:id="minus" dlg:tab-index="18" dlg:left="70" dlg:top="55" dlg:width="60" dlg:height="10" dlg:value="&minus" dlg:checked="false" dlg:help-text="&hlp_minus"/> +<dlg:fixedline dlg:id="others" dlg:tab-index="20" dlg:left="5" dlg:top="65" dlg:width="240" dlg:height="10" dlg:value="&others"/> +<dlg:checkbox dlg:id="metric" dlg:tab-index="21" dlg:left="10" dlg:top="75" dlg:width="120" dlg:height="10" dlg:value="&metric" dlg:checked="false" dlg:help-text="&hlp_metric"/> +<dlg:checkbox dlg:id="numsep" dlg:tab-index="22" dlg:left="130" dlg:top="75" dlg:width="120" dlg:height="10" dlg:value="&numsep" dlg:checked="false" dlg:help-text="&hlp_numsep"/> +<dlg:checkbox dlg:id="nonmetric" dlg:tab-index="24" dlg:left="10" dlg:top="85" dlg:width="240" dlg:height="10" dlg:value="&nonmetric" dlg:checked="false" dlg:help-text="&hlp_nonmetric"/> +</dlg:bulletinboard> +</dlg:window> diff --git a/pt_BR/dialog/pt_BR_en_US.default b/pt_BR/dialog/pt_BR_en_US.default new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/pt_BR/dialog/pt_BR_en_US.default diff --git a/pt_BR/dialog/pt_BR_en_US.properties b/pt_BR/dialog/pt_BR_en_US.properties new file mode 100644 index 0000000..c25a6e0 --- /dev/null +++ b/pt_BR/dialog/pt_BR_en_US.properties @@ -0,0 +1,37 @@ +spelling=Grammar checking +hlp_grammar= Check more grammar errors. +grammar=Possible mistakes +hlp_cap= Check missing capitalization of sentences. +cap=Capitalization +hlp_dup= Check repeated words. +dup=Word duplication +hlp_pair= Check missing or extra parentheses and quotation marks. +pair=Parentheses +punctuation=Punctuation +hlp_spaces=Check single spaces between words. +spaces=Word spacing +hlp_mdash=Force unspaced em dash instead of spaced en dash. +mdash=Em dash +hlp_ndash=Force spaced en dash instead of unspaced em dash. +ndash=En dash +hlp_quotation=Check double quotation marks: "x" \u2192 \u201cx\u201d +quotation=Quotation marks +hlp_times=Check true multiplication sign: 5x5 \u2192 5\u00d75 +times=Multiplication sign +hlp_spaces2=Check single spaces between sentences. +spaces2=Sentence spacing +hlp_spaces3=Check more than two extra space characters between words and sentences. +spaces3=More spaces +hlp_minus=Change hyphen characters to real minus signs. +minus=Minus sign +hlp_apostrophe=Change typewriter apostrophe, single quotation marks and correct double primes. +apostrophe=Apostrophe +hlp_ellipsis=Change three dots with ellipsis. +ellipsis=Ellipsis +others=Others +hlp_metric=Measurement conversion from \u00b0F, mph, ft, in, lb, gal and miles. +metric=Convert to metric (\u00b0C, km/h, m, kg, l) +hlp_numsep=Common (1000000 \u2192 1,000,000) or ISO (1000000 \u2192 1 000 000). +numsep=Thousand separation of large numbers +hlp_nonmetric=Measurement conversion from \u00b0C; km/h; cm, m, km; kg; l. +nonmetric=Convert to non-metric (\u00b0F, mph, ft, lb, gal) diff --git a/pt_BR/dialog/registry/data/org/openoffice/Office/OptionsDialog.xcu b/pt_BR/dialog/registry/data/org/openoffice/Office/OptionsDialog.xcu new file mode 100644 index 0000000..2228d7c --- /dev/null +++ b/pt_BR/dialog/registry/data/org/openoffice/Office/OptionsDialog.xcu @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd"> +<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="OptionsDialog" oor:package="org.openoffice.Office"> + <node oor:name="Nodes"> + <node oor:name="org.openoffice.lightproof" oor:op="fuse"> + <prop oor:name="Label"> + <value xml:lang="en-US">Dictionaries</value> + </prop> + <node oor:name="Leaves"> + <node oor:name="org.openoffice.lightproof.pt_BR" oor:op="fuse"> + <prop oor:name="Id"> + <value>org.openoffice.pt.hunspell.dictionaries</value> + </prop> + <prop oor:name="Label"> + <value xml:lang="en-US">Grammar checking (Portuguese)</value> + </prop> + <prop oor:name="OptionsPage"> + <value>%origin%/pt_BR.xdl</value> + </prop> + <prop oor:name="EventHandlerService"> + <value>org.openoffice.comp.pyuno.LightproofOptionsEventHandler.pt_BR</value> + </prop> + </node> + </node> + </node> + </node> +</oor:component-data> diff --git a/pt_BR/dialog/registry/schema/org/openoffice/Lightproof_pt_BR.xcs b/pt_BR/dialog/registry/schema/org/openoffice/Lightproof_pt_BR.xcs new file mode 100644 index 0000000..21b31c9 --- /dev/null +++ b/pt_BR/dialog/registry/schema/org/openoffice/Lightproof_pt_BR.xcs @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="UTF-8"?> +<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Lightproof_pt_BR" oor:package="org.openoffice" xml:lang="en-US"> + <info> + <author/> + <desc>Contains the options data used for the test extensions.</desc> + </info> + <templates> + <group oor:name="pt_BR"> + <info> + <desc>The data for one leaf.</desc> + </info> + <prop oor:name="grammar" oor:type="xs:string"> + <info> + <desc>The grammar definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="cap" oor:type="xs:string"> + <info> + <desc>The cap definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="dup" oor:type="xs:string"> + <info> + <desc>The dup definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="pair" oor:type="xs:string"> + <info> + <desc>The par definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="spaces" oor:type="xs:string"> + <info> + <desc>The spaces definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="mdash" oor:type="xs:string"> + <info> + <desc>The mdash definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="quotation" oor:type="xs:string"> + <info> + <desc>The quotation definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="times" oor:type="xs:string"> + <info> + <desc>The times definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="spaces2" oor:type="xs:string"> + <info> + <desc>The spaces2 definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="ndash" oor:type="xs:string"> + <info> + <desc>The ndash definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="apostrophe" oor:type="xs:string"> + <info> + <desc>The apostrophe definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="ellipsis" oor:type="xs:string"> + <info> + <desc>The ellipsis definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="spaces3" oor:type="xs:string"> + <info> + <desc>The spaces3 definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="minus" oor:type="xs:string"> + <info> + <desc>The minus definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="metric" oor:type="xs:string"> + <info> + <desc>The metric definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="numsep" oor:type="xs:string"> + <info> + <desc>The numsep definition of one leaf.</desc> + </info> + <value/> + </prop> + <prop oor:name="nonmetric" oor:type="xs:string"> + <info> + <desc>The nonmetric definition of one leaf.</desc> + </info> + <value/> + </prop> + </group> + </templates> + <component> + <group oor:name="Leaves"> + <info> + <desc>The list of leaves.</desc> + </info> + <node-ref oor:name="pt_BR" oor:node-type="pt_BR"> + <info> + <desc>The definition of one leaf.</desc> + </info> + </node-ref> + </group> + </component> +</oor:component-schema> |