Debian Codegraph @

doc/locale/en/LC_MESSAGES/reference/functions/snippet_html.po

raw
1 # -*- po -*-
2 # English translations for Groonga package.
3 # Copyright (C) 2009-2026 Groonga Project
4 # This file is distributed under the same license as the Groonga package.
5 # Automatically generated, 2026.
6 #
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: Groonga 16.0.5\n"
10 "Report-Msgid-Bugs-To: \n"
11 "PO-Revision-Date: 2026-05-22 06:03+0000\n"
12 "Last-Translator: Automatically generated\n"
13 "Language-Team: none\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Language: en\n"
18 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
20 msgid "``snippet_html``"
21 msgstr "``snippet_html``"
22
23 msgid "Summary"
24 msgstr "Summary"
25
26 msgid "This function extracts snippets of target text around search keywords (``KWIC``. ``KeyWord In Context``)."
27 msgstr "This function extracts snippets of target text around search keywords (``KWIC``. ``KeyWord In Context``)."
28
29 msgid "The snippets are prepared for embedding HTML. Special characters such as ``<`` and ``>`` are escapsed as ``&lt;`` and ``&gt;``. Keyword is surrounded with ``<span class=\"keyword\">`` and ``</span>``. For example, a snippet of ``I am a groonga user. <3`` for keyword ``groonga`` is ``I am a <span class=\"keyword\">groonga</span> user. &lt;3``."
30 msgstr "The snippets are prepared for embedding HTML. Special characters such as ``<`` and ``>`` are escapsed as ``&lt;`` and ``&gt;``. Keyword is surrounded with ``<span class=\"keyword\">`` and ``</span>``. For example, a snippet of ``I am a groonga user. <3`` for keyword ``groonga`` is ``I am a <span class=\"keyword\">groonga</span> user. &lt;3``."
31
32 msgid "This function is a HTML specific version of :doc:`snippet`. Generally, this function is enough for normal Web application use."
33 msgstr "This function is a HTML specific version of :doc:`snippet`. Generally, this function is enough for normal Web application use."
34
35 msgid "Syntax"
36 msgstr "Syntax"
37
38 msgid "``snippet_html`` has only one parameter::"
39 msgstr "``snippet_html`` has only one parameter::"
40
41 msgid "Usage"
42 msgstr "Usage"
43
44 msgid "Here are a schema definition and sample data to show usage."
45 msgstr "Here are a schema definition and sample data to show usage."
46
47 msgid "Execution example::"
48 msgstr "Execution example::"
49
50 msgid "``snippet_html`` can be used in only ``--output_columns`` in :doc:`/reference/commands/select`."
51 msgstr "``snippet_html`` can be used in only ``--output_columns`` in :doc:`/reference/commands/select`."
52
53 msgid "You also need to specify ``--query`` and/or ``--filter``. Keywords are extracted from ``--query`` and ``--filter`` arguments."
54 msgstr "You also need to specify ``--query`` and/or ``--filter``. Keywords are extracted from ``--query`` and ``--filter`` arguments."
55
56 msgid "The following example uses ``--query \"fast performance\"``. In this case, ``fast`` and ``performance`` are used as keywords."
57 msgstr "The following example uses ``--query \"fast performance\"``. In this case, ``fast`` and ``performance`` are used as keywords."
58
59 msgid "``--query \"fast performance\"`` matches to only the first record's content. ``snippet_html(content)`` extracts two text parts that include the keywords ``fast`` or ``performance`` and surrounds the keywords with ``<span class=\"keyword\">`` and ``</span>``."
60 msgstr "``--query \"fast performance\"`` matches to only the first record's content. ``snippet_html(content)`` extracts two text parts that include the keywords ``fast`` or ``performance`` and surrounds the keywords with ``<span class=\"keyword\">`` and ``</span>``."
61
62 msgid "The max number of text parts is 3. If there are 4 or more text parts that include the keywords, only the leading 3 parts are only used."
63 msgstr "The max number of text parts is 3. If there are 4 or more text parts that include the keywords, only the leading 3 parts are only used."
64
65 msgid "The max size of a text part is 200byte. The unit is bytes not characters. The size doesn't include inserted ``<span class=\"keyword\">`` and ``</span>``."
66 msgstr "The max size of a text part is 200byte. The unit is bytes not characters. The size doesn't include inserted ``<span class=\"keyword\">`` and ``</span>``."
67
68 msgid "Both the max number of text parts and the max size of a text part aren't customizable."
69 msgstr "Both the max number of text parts and the max size of a text part aren't customizable."
70
71 msgid "If you want to customize them, you need to use :doc:`snippet` instead of this function."
72 msgstr "If you want to customize them, you need to use :doc:`snippet` instead of this function."
73
74 msgid "You can specify string literal instead of column."
75 msgstr "You can specify string literal instead of column."
76
77 msgid "Return value"
78 msgstr "Return value"
79
80 msgid "This function returns an array of string or ``null``. If This function can't find any snippets, it returns ``null``."
81 msgstr "This function returns an array of string or ``null``. If This function can't find any snippets, it returns ``null``."
82
83 msgid "An element of array is a snippet::"
84 msgstr "An element of array is a snippet::"
85
86 msgid "A snippet includes one or more keywords. The max byte size of a snippet except open tag and close tag is 200byte. The unit isn't the number of characters."
87 msgstr "A snippet includes one or more keywords. The max byte size of a snippet except open tag and close tag is 200byte. The unit isn't the number of characters."
88
89 msgid "Open tag is ``<span class=\"keyword\">`` and close tag is ``</span>``."
90 msgstr "Open tag is ``<span class=\"keyword\">`` and close tag is ``</span>``."
91
92 msgid "The array size is larger than or equal to 1 and less than or equal to 3."
93 msgstr "The array size is larger than or equal to 1 and less than or equal to 3."
94
95 msgid "If you want to customize the max byte size of snippet and/or the max number of snippets, use :doc:`snippet` instead."
96 msgstr "If you want to customize the max byte size of snippet and/or the max number of snippets, use :doc:`snippet` instead."
97
98 msgid "See also"
99 msgstr "See also"
100
101 msgid ":doc:`snippet`"
102 msgstr ":doc:`snippet`"
103
104 msgid ":doc:`/reference/commands/select`"
105 msgstr ":doc:`/reference/commands/select`"