Skip to content

Commit 86b6a80

Browse files
committed
initial translation in enchant/functions
1 parent 8b5ac1f commit 86b6a80

11 files changed

+1014
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
3+
<refentry xml:id="function.enchant-dict-add-to-personal" xmlns="http://docbook.org/ns/docbook">
4+
<refnamediv>
5+
<refname>enchant_dict_add_to_personal</refname>
6+
<refpurpose>&Alias; <function>enchant_dict_add</function></refpurpose>
7+
</refnamediv>
8+
9+
<refsynopsisdiv>
10+
&warn.deprecated.alias-8-0-0;
11+
</refsynopsisdiv>
12+
13+
<refsect1 role="description">
14+
&reftitle.description;
15+
<simpara>
16+
&info.function.alias;
17+
<function>enchant_dict_add</function>.
18+
</simpara>
19+
</refsect1>
20+
</refentry>
21+
<!-- Keep this comment at the end of the file
22+
Local variables:
23+
mode: sgml
24+
sgml-omittag:t
25+
sgml-shorttag:t
26+
sgml-minimize-attributes:nil
27+
sgml-always-quote-attributes:t
28+
sgml-indent-step:1
29+
sgml-indent-data:t
30+
indent-tabs-mode:nil
31+
sgml-parent-document:nil
32+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
33+
sgml-exposed-tags:nil
34+
sgml-local-catalogs:nil
35+
sgml-local-ecat-files:nil
36+
End:
37+
vim600: syn=xml fen fdm=syntax fdl=2 si
38+
vim: et tw=78 syn=sgml
39+
vi: ts=1 sw=1
40+
-->
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
3+
<refentry xml:id="function.enchant-dict-add-to-session" xmlns="http://docbook.org/ns/docbook">
4+
<refnamediv>
5+
<refname>enchant_dict_add_to_session</refname>
6+
<refpurpose>Adciona uma palavra a esta sessão de verificação de ortografia</refpurpose>
7+
</refnamediv>
8+
<refsect1 role="description">
9+
&reftitle.description;
10+
<methodsynopsis>
11+
<type>void</type><methodname>enchant_dict_add_to_session</methodname>
12+
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
13+
<methodparam><type>string</type><parameter>word</parameter></methodparam>
14+
</methodsynopsis>
15+
<para>
16+
Adiciona uma palavra ao dicionário informado. Ela será adicionada somente para a
17+
sessão ativa de verificação de ortografia.
18+
</para>
19+
20+
</refsect1>
21+
<refsect1 role="parameters">
22+
&reftitle.parameters;
23+
<para>
24+
<variablelist>
25+
&enchant.param.dictionary;
26+
<varlistentry>
27+
<term><parameter>word</parameter></term>
28+
<listitem>
29+
<para>
30+
A palavra a ser adicionada
31+
</para>
32+
</listitem>
33+
</varlistentry>
34+
</variablelist>
35+
</para>
36+
</refsect1>
37+
38+
<refsect1 role="returnvalues">
39+
&reftitle.returnvalues;
40+
<para>
41+
&return.void;
42+
</para>
43+
</refsect1>
44+
45+
<refsect1 role="changelog">
46+
&reftitle.changelog;
47+
<informaltable>
48+
<tgroup cols="2">
49+
<thead>
50+
<row>
51+
<entry>&Version;</entry>
52+
<entry>&Description;</entry>
53+
</row>
54+
</thead>
55+
<tbody>
56+
&enchant.changelog.dictionary-param;
57+
</tbody>
58+
</tgroup>
59+
</informaltable>
60+
</refsect1>
61+
62+
<refsect1 role="seealso">
63+
&reftitle.seealso;
64+
<para>
65+
<simplelist>
66+
<member><function>enchant_broker_request_dict</function></member>
67+
</simplelist>
68+
</para>
69+
</refsect1>
70+
</refentry>
71+
<!-- Keep this comment at the end of the file
72+
Local variables:
73+
mode: sgml
74+
sgml-omittag:t
75+
sgml-shorttag:t
76+
sgml-minimize-attributes:nil
77+
sgml-always-quote-attributes:t
78+
sgml-indent-step:1
79+
sgml-indent-data:t
80+
indent-tabs-mode:nil
81+
sgml-parent-document:nil
82+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
83+
sgml-exposed-tags:nil
84+
sgml-local-catalogs:nil
85+
sgml-local-ecat-files:nil
86+
End:
87+
vim600: syn=xml fen fdm=syntax fdl=2 si
88+
vim: et tw=78 syn=sgml
89+
vi: ts=1 sw=1
90+
-->
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 62126c55f1c6ed444043e7272c4f9e233818a44b Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
3+
<refentry xml:id="function.enchant-dict-add" xmlns="http://docbook.org/ns/docbook">
4+
<refnamediv>
5+
<refname>enchant_dict_add</refname>
6+
<refpurpose>Adiciona uma palavra à lista de palavras personalizadas</refpurpose>
7+
</refnamediv>
8+
<refsect1 role="description">
9+
&reftitle.description;
10+
<methodsynopsis>
11+
<type>void</type><methodname>enchant_dict_add</methodname>
12+
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
13+
<methodparam><type>string</type><parameter>word</parameter></methodparam>
14+
</methodsynopsis>
15+
<para>
16+
Adiciona uma palavra à lista de palavras personalizadas do dicionário informado.
17+
</para>
18+
</refsect1>
19+
<refsect1 role="parameters">
20+
&reftitle.parameters;
21+
<para>
22+
<variablelist>
23+
&enchant.param.dictionary;
24+
<varlistentry>
25+
<term><parameter>word</parameter></term>
26+
<listitem>
27+
<para>
28+
A palavra a ser adicionada
29+
</para>
30+
</listitem>
31+
</varlistentry>
32+
</variablelist>
33+
</para>
34+
</refsect1>
35+
<refsect1 role="returnvalues">
36+
&reftitle.returnvalues;
37+
<para>
38+
&return.success;
39+
</para>
40+
</refsect1>
41+
42+
<refsect1 role="changelog">
43+
&reftitle.changelog;
44+
<informaltable>
45+
<tgroup cols="2">
46+
<thead>
47+
<row>
48+
<entry>&Version;</entry>
49+
<entry>&Description;</entry>
50+
</row>
51+
</thead>
52+
<tbody>
53+
&enchant.changelog.dictionary-param;
54+
</tbody>
55+
</tgroup>
56+
</informaltable>
57+
</refsect1>
58+
59+
<refsect1 role="examples">
60+
&reftitle.examples;
61+
<example>
62+
<title>Adicionando uma palavra a uma lista de palavras personalizadas</title>
63+
<programlisting role="php">
64+
<![CDATA[
65+
<?php
66+
67+
$filename = './minha_lista_de_palavras.pwl';
68+
$word = 'Inconstitucionalissimamente';
69+
70+
$broker = enchant_broker_init();
71+
$dict = enchant_broker_request_pwl_dict($broker, $filename);
72+
73+
enchant_dict_add($dict, $word);
74+
75+
enchant_broker_free($broker);
76+
77+
?>
78+
]]>
79+
</programlisting>
80+
</example>
81+
</refsect1>
82+
83+
<refsect1 role="seealso">
84+
&reftitle.seealso;
85+
<para>
86+
<simplelist>
87+
<member><function>enchant_broker_request_pwl_dict</function></member>
88+
<member><function>enchant_broker_request_dict</function></member>
89+
</simplelist>
90+
</para>
91+
</refsect1>
92+
</refentry>
93+
<!-- Keep this comment at the end of the file
94+
Local variables:
95+
mode: sgml
96+
sgml-omittag:t
97+
sgml-shorttag:t
98+
sgml-minimize-attributes:nil
99+
sgml-always-quote-attributes:t
100+
sgml-indent-step:1
101+
sgml-indent-data:t
102+
indent-tabs-mode:nil
103+
sgml-parent-document:nil
104+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
105+
sgml-exposed-tags:nil
106+
sgml-local-catalogs:nil
107+
sgml-local-ecat-files:nil
108+
End:
109+
vim600: syn=xml fen fdm=syntax fdl=2 si
110+
vim: et tw=78 syn=sgml
111+
vi: ts=1 sw=1
112+
-->
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
3+
<refentry xml:id="function.enchant-dict-check" xmlns="http://docbook.org/ns/docbook">
4+
<refnamediv>
5+
<refname>enchant_dict_check</refname>
6+
<refpurpose>Verifica se uma palavra está escrita de forma correta</refpurpose>
7+
</refnamediv>
8+
<refsect1 role="description">
9+
&reftitle.description;
10+
<methodsynopsis>
11+
<type>bool</type><methodname>enchant_dict_check</methodname>
12+
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
13+
<methodparam><type>string</type><parameter>word</parameter></methodparam>
14+
</methodsynopsis>
15+
<para>
16+
Se a palavra está escrita de forma correta, retorna &true;, caso contrário retorna &false;.
17+
</para>
18+
19+
</refsect1>
20+
<refsect1 role="parameters">
21+
&reftitle.parameters;
22+
<para>
23+
<variablelist>
24+
&enchant.param.dictionary;
25+
<varlistentry>
26+
<term><parameter>word</parameter></term>
27+
<listitem>
28+
<para>
29+
A palavra a ser verificada
30+
</para>
31+
</listitem>
32+
</varlistentry>
33+
</variablelist>
34+
</para>
35+
</refsect1>
36+
<refsect1 role="returnvalues">
37+
&reftitle.returnvalues;
38+
<para>
39+
Retorna &true; se a palavra estiver escrita corretamente, &false; caso contrário.
40+
</para>
41+
</refsect1>
42+
43+
<refsect1 role="changelog">
44+
&reftitle.changelog;
45+
<informaltable>
46+
<tgroup cols="2">
47+
<thead>
48+
<row>
49+
<entry>&Version;</entry>
50+
<entry>&Description;</entry>
51+
</row>
52+
</thead>
53+
<tbody>
54+
&enchant.changelog.dictionary-param;
55+
</tbody>
56+
</tgroup>
57+
</informaltable>
58+
</refsect1>
59+
60+
</refentry>
61+
<!-- Keep this comment at the end of the file
62+
Local variables:
63+
mode: sgml
64+
sgml-omittag:t
65+
sgml-shorttag:t
66+
sgml-minimize-attributes:nil
67+
sgml-always-quote-attributes:t
68+
sgml-indent-step:1
69+
sgml-indent-data:t
70+
indent-tabs-mode:nil
71+
sgml-parent-document:nil
72+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
73+
sgml-exposed-tags:nil
74+
sgml-local-catalogs:nil
75+
sgml-local-ecat-files:nil
76+
End:
77+
vim600: syn=xml fen fdm=syntax fdl=2 si
78+
vim: et tw=78 syn=sgml
79+
vi: ts=1 sw=1
80+
-->

0 commit comments

Comments
 (0)