Yasuhiro Horimoto 2018-12-20 11:02:00 +0900 (Thu, 20 Dec 2018) Revision: cafe62006fb0b2590c161b6c1b273b3ded1ef0e5 https://github.com/groonga/groonga/commit/cafe62006fb0b2590c161b6c1b273b3ded1ef0e5 Message: doc: fix wrong a special character list Fix: #888 Modified files: doc/locale/ja/LC_MESSAGES/reference.po doc/source/reference/grn_expr/query_syntax.rst Modified: doc/locale/ja/LC_MESSAGES/reference.po (+9 -20) =================================================================== --- doc/locale/ja/LC_MESSAGES/reference.po 2018-12-19 12:03:16 +0900 (f41727b79) +++ doc/locale/ja/LC_MESSAGES/reference.po 2018-12-20 11:02:00 +0900 (f5c59ed32) @@ -21605,9 +21605,6 @@ msgstr "" msgid "``\"`` (escaped as ``\\\"``)" msgstr "``\"`` ( ``\\\"`` とエスケープする。)" -msgid "``'`` (escaped as ``\\'``)" -msgstr "``'`` ( ``\\'`` とエスケープする。)" - msgid "``(`` (escaped as ``\\(``)" msgstr "``(`` ( ``\\(`` とエスケープする。)" @@ -21627,16 +21624,16 @@ msgstr "" "にバックスラッシュを使います。" msgid "" -"Quote syntax is ``\"...\"`` or ``'...'``. You need escape ``\"`` as ``\\\"`` " -"in ``\"...\"`` quote syntax. You need escape ``'`` as ``\\'`` in ``'...'`` " -"quote syntax. For example, ``Alice's brother (Bob)`` can be quoted ``" -"\"Alice's brother (Bob)\"`` or ``'Alice\\'s brother (Bob)'``." +"Quote syntax is ``\"...\"``. You need escape ``\"`` as ``\\\"`` in ``\"..." +"\"`` quote syntax. For example, ``You say \"Hello Alice!\"`` can be quoted ``" +"\"You say \\\"Hello Alice!\\\"\"``." msgstr "" -"クォート構文は ``\"...\"`` または ``'...'`` です。 ``\"...\"`` クォート構文中" -"では ``\"`` を ``\\\"`` にエスケープする必要があります。 ``'...'`` クォート構" -"文中では ``'`` を ``\\'`` にエスケープする必要があります。例えば、 ``Alice's " -"brother (Bob)`` は ``\"Alice's brother (Bob)\"`` あるいは ``'Alice\\'s " -"brother (Bob)'`` とクォートします。" +"クォート構文は ``\"...\"`` です。 ``\"...\"`` クォート構文中では ``\"`` を ``" +"\\\"`` にエスケープする必要があります。例えば、 ``You say \"Hello Alice!\"`` " +"は ``\"You say \\\"Hello Alice!\\\"\"`` とクォートします。" + +msgid "In addition ``'...'`` isn't available in query syntax." +msgstr "なお、 ``'...'`` はクエリー構文では使えません。" msgid "" "There is an important point which you have to care. The ``\\`` (backslash) " @@ -27987,11 +27984,3 @@ msgstr "" msgid "``window_sum``" msgstr "" - -#~ msgid "" -#~ "For example, ``This is a pen. This is an apple`` is tokenize to ``This is " -#~ "a pen`` and ``This is an apple`` with ``pattern`` option as below." -#~ msgstr "" -#~ "例えば、以下のように ``pattern`` オプションによって、 ``This is a pen. " -#~ "This is an apple`` は ``This is a pen`` と ``This is an apple`` にトークナ" -#~ "イズされます。" Modified: doc/source/reference/grn_expr/query_syntax.rst (+5 -5) =================================================================== --- doc/source/reference/grn_expr/query_syntax.rst 2018-12-19 12:03:16 +0900 (70be2c943) +++ doc/source/reference/grn_expr/query_syntax.rst 2018-12-20 11:02:00 +0900 (4b9e06dce) @@ -82,7 +82,6 @@ Here is a special character list: substitute ``[space]`` with a white space character that is 0x20 in ASCII and ``[backslash]`` with ``\\``.) * ``"`` (escaped as ``\"``) - * ``'`` (escaped as ``\'``) * ``(`` (escaped as ``\(``) * ``)`` (escaped as ``\)``) * ``\`` (escaped as ``\\``) @@ -91,10 +90,11 @@ You can use quote instead of escape special characters except ``\`` (backslash). You need to use backslash for escaping backslash like ``\\`` in quote. -Quote syntax is ``"..."`` or ``'...'``. You need escape ``"`` as -``\"`` in ``"..."`` quote syntax. You need escape ``'`` as ``\'`` in -``'...'`` quote syntax. For example, ``Alice's brother (Bob)`` can be -quoted ``"Alice's brother (Bob)"`` or ``'Alice\'s brother (Bob)'``. +Quote syntax is ``"..."``. You need escape ``"`` as +``\"`` in ``"..."`` quote syntax. For example, ``You say "Hello Alice!"`` can be +quoted ``"You say \"Hello Alice!\""``. + +In addition ``'...'`` isn't available in query syntax. .. note:: -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181220/0db73abb/attachment-0001.html>