Kouhei Sutou
null+****@clear*****
Tue Sep 4 13:11:51 JST 2012
Kouhei Sutou 2012-09-04 13:11:51 +0900 (Tue, 04 Sep 2012) New Revision: 263265c1a4ef2164da58e3db6ecf4ad7725bc1e0 https://github.com/groonga/groonga/commit/263265c1a4ef2164da58e3db6ecf4ad7725bc1e0 Log: doc: update Modified files: doc/locale/ja/LC_MESSAGES/server.po doc/source/server/http/comparison.txt Modified: doc/locale/ja/LC_MESSAGES/server.po (+31 -15) =================================================================== --- doc/locale/ja/LC_MESSAGES/server.po 2012-09-04 12:30:40 +0900 (42d45ee) +++ doc/locale/ja/LC_MESSAGES/server.po 2012-09-04 13:11:51 +0900 (8994545) @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: groonga 2.0.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-09-04 12:29\n" -"PO-Revision-Date: 2012-08-09 12:10+0900\n" +"POT-Creation-Date: 2012-09-04 13:09\n" +"PO-Revision-Date: 2012-09-04 13:11+0900\n" "Last-Translator: Kouhei Sutou <kou �� clear-code.com>\n" "Language-Team: Japanese\n" "Language: ja\n" @@ -35,10 +35,10 @@ msgstr "" # bd6242b5399945fc8046bf4280e08cfc # 38b2d9272ebd410184692728ac0d7a8f #: ../../../source/server/gqtp.txt:8 -#: ../../../source/server/http/comparison.txt:267 -#: ../../../source/server/http/comparison.txt:272 -#: ../../../source/server/http/comparison.txt:277 -#: ../../../source/server/http/comparison.txt:282 +#: ../../../source/server/http/comparison.txt:273 +#: ../../../source/server/http/comparison.txt:278 +#: ../../../source/server/http/comparison.txt:283 +#: ../../../source/server/http/comparison.txt:288 #: ../../../source/server/http/groonga-httpd.txt:8 #: ../../../source/server/http/groonga.txt:8 msgid "TODO" @@ -250,27 +250,27 @@ msgstr "gzip圧縮" # a33fb266ef0949b6a9d94d4e69fd547f # a33fb266ef0949b6a9d94d4e69fd547f #: ../../../source/server/http/comparison.txt:30 -#: ../../../source/server/http/comparison.txt:265 +#: ../../../source/server/http/comparison.txt:271 msgid "POST" msgstr "" # c3cb22dd5b5541808093b16711b9388f # 34c078f412394246b89e9d89440ac71e #: ../../../source/server/http/comparison.txt:32 -#: ../../../source/server/http/comparison.txt:270 +#: ../../../source/server/http/comparison.txt:276 msgid "HTTPS" msgstr "" # 13346d87ebe14d0994b20faf8fd40fe6 # 6fbb32a9075249e7b9a0952df5226e40 #: ../../../source/server/http/comparison.txt:34 -#: ../../../source/server/http/comparison.txt:275 +#: ../../../source/server/http/comparison.txt:281 msgid "Access log" msgstr "アクセスログ" # f5a82d512d3148199b6bc5f12823e640 #: ../../../source/server/http/comparison.txt:36 -#: ../../../source/server/http/comparison.txt:280 +#: ../../../source/server/http/comparison.txt:286 msgid "Upgrading without downtime" msgstr "ダウンタイムなしでのアップグレード" @@ -485,8 +485,24 @@ msgstr "" #: ../../../source/server/http/comparison.txt:257 msgid "" "Note that `gzip_types *` is specified. It's one of the important " -"configuration because the default value of `gzip_types` is `text/html`. :doc:" -"`groonga-httpd` returns one of JSON, XML or MessagePack format data. They " -"aren't included in the default `gzip_types`. So you need specify `gzip_types " -"*` explicitly to mark those data as gzip target data." -msgstr "" +"configuration. `gzip_types` specifies gzip target data formats by MIME " +"types. :doc:`groonga-httpd` returns one of JSON, XML or MessagePack format " +"data. But those formats aren't included in the default value of " +"`gzip_types`. The default value of `gzip_types` is `text/html`." +msgstr "" +"`gzip_types *` を指定していることに注意してください。この設定はとても重要な設" +"定です。 `gzip_types` はgzip対象のデータフォーマットをMIMEタイプで指定しま" +"す。 :doc:`groonga-httpd` は JSON、XML、MessagePackのどれかのフォーマットで" +"データを返します。しかし、これらのフォーマットは `gzip_types` のデフォルト値" +"に含まれていません。 `gzip_types` のデフォルト値は `text/html` です。" + +# 3aa95449f725406c820371b33d6c4dc6 +#: ../../../source/server/http/comparison.txt:263 +msgid "" +"To compress response data from :doc:`groonga-httpd` by gzip, you need to " +"specify `gzip_types *` or `gzip_types application/json text/xml application/" +"x-msgpack` explicitly. `gzip_types *` is recommended. There are two reasons " +"for it. The first, groonga may support more formats in the future. The " +"second, all requests for the `location` are processed by groonga. You don't " +"need to consider about other modules." +msgstr ":doc:`groonga-httpd` のレスポンスデータをgzip圧縮するには、明示的に `gzip_types *` または `gzip_types application/json text/xml application/x-msgpack` と指定する必要があります。 `gzip_types *` の方がおすすめです。理由は2つあります。1つは、groongaが、将来、他のフォーマットもサポートする可能性もあるからという理由です。2つめは、この `location` のすべてのリクエストはgroongaが処理するので、他のモジュールのことについて考えなくてもよいからという理由です。" Modified: doc/source/server/http/comparison.txt (+11 -5) =================================================================== --- doc/source/server/http/comparison.txt 2012-09-04 12:30:40 +0900 (c9c14e8) +++ doc/source/server/http/comparison.txt 2012-09-04 13:11:51 +0900 (92dd39d) @@ -255,11 +255,17 @@ configuration to compress response by gzip:: } Note that `gzip_types *` is specified. It's one of the important -configuration because the default value of `gzip_types` is -`text/html`. :doc:`groonga-httpd` returns one of JSON, XML or -MessagePack format data. They aren't included in the default -`gzip_types`. So you need specify `gzip_types *` explicitly to mark -those data as gzip target data. +configuration. `gzip_types` specifies gzip target data formats by MIME +types. :doc:`groonga-httpd` returns one of JSON, XML or MessagePack +format data. But those formats aren't included in the default value of +`gzip_types`. The default value of `gzip_types` is `text/html`. + +To compress response data from :doc:`groonga-httpd` by gzip, you need +to specify `gzip_types *` or `gzip_types application/json text/xml +application/x-msgpack` explicitly. `gzip_types *` is recommended. +There are two reasons for it. The first, groonga may support more +formats in the future. The second, all requests for the `location` are +processed by groonga. You don't need to consider about other modules. POST ---- -------------- next part -------------- HTML����������������������������...Download