Kouhei Sutou
null+****@clear*****
Sun Apr 24 17:57:34 JST 2016
Kouhei Sutou 2016-04-24 17:57:34 +0900 (Sun, 24 Apr 2016) New Revision: 6c95fb4df1ca357099b32d7dc1f9a361f027eaa5 https://github.com/pgroonga/pgroonga.github.io/commit/6c95fb4df1ca357099b32d7dc1f9a361f027eaa5 Message: Make description reusable Modified files: _po/ja/reference/functions/pgroonga-snippet-html.po reference/functions/pgroonga-snippet-html.md Modified: _po/ja/reference/functions/pgroonga-snippet-html.po (+8 -6) =================================================================== --- _po/ja/reference/functions/pgroonga-snippet-html.po 2016-04-24 14:57:20 +0900 (5e3d2c6) +++ _po/ja/reference/functions/pgroonga-snippet-html.po 2016-04-24 17:57:34 +0900 (62dbc3d) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2016-04-24 12:56+0900\n" +"PO-Revision-Date: 2016-04-24 17:56+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -61,13 +61,15 @@ msgstr "" msgid "`pgroonga.snippet_html` returns an array of `text` type." msgstr "`pgroonga.snippet_html`は`text`型の配列を返します。" +msgid "Element in the returned array is a text around keyword." +msgstr "返ってくる配列の各要素はキーワード周辺のテキストです。" + msgid "" -"Element in the returned array is a text around keyword. The keyword is surroun" -"d with `<span class=\"keyword\">` and `</span>`. `<`, `>`, `&` and `\"` in `targe" -"t` is HTML escaped." +"The keyword is surround with `<span class=\"keyword\">` and `</span>`. `<`, `>`," +" `&` and `\"` in `target` is HTML escaped." msgstr "" -"返ってくる配列の各要素はキーワード周辺のテキストです。キーワードは`<span class=\"keyword\">`と`</span>`で囲まれています。`t" -"arget`中の`<`、`>`、`&`、`\"`はHTMLエスケープされます。" +"キーワードは`<span class=\"keyword\">`と`</span>`で囲まれています。`target`中の`<`、`>`、`&`、`\"`はHTM" +"Lエスケープされます。" msgid "" "The maximum size of part of `target` in each element is 200 bytes. Its unit is" Modified: reference/functions/pgroonga-snippet-html.md (+3 -1) =================================================================== --- reference/functions/pgroonga-snippet-html.md 2016-04-24 14:57:20 +0900 (87977c3) +++ reference/functions/pgroonga-snippet-html.md 2016-04-24 17:57:34 +0900 (a5acbe0) @@ -23,7 +23,9 @@ text[] pgroonga.snippet_html(target, ARRAY[keyword1, keyword2, ...]) `pgroonga.snippet_html` returns an array of `text` type. -Element in the returned array is a text around keyword. The keyword is surround with `<span class="keyword">` and `</span>`. `<`, `>`, `&` and `"` in `target` is HTML escaped. +Element in the returned array is a text around keyword. + +The keywords are surrounded with `<span class="keyword">` and `</span>`. `<`, `>`, `&` and `"` in `target` is HTML escaped. The maximum size of part of `target` in each element is 200 bytes. Its unit is byte not the number of characters. Each element may be lager than 200 bytes because each element includes `<span class="keyword">` and `</span>` and may have HTML escaped values. If `<` is HTML escaped to `<`, the byte size is increased to 4 from 1. -------------- next part -------------- HTML����������������������������...Download