[Groonga-commit] groonga/groonga at 0215940 [master] doc: translate

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 13 21:27:49 JST 2015


Kouhei Sutou	2015-02-13 21:27:49 +0900 (Fri, 13 Feb 2015)

  New Revision: 021594091ce9cd36590bb3402310bacacaff45b0
  https://github.com/groonga/groonga/commit/021594091ce9cd36590bb3402310bacacaff45b0

  Message:
    doc: translate

  Modified files:
    doc/locale/ja/LC_MESSAGES/reference.po
    doc/source/reference/api/overview.rst

  Modified: doc/locale/ja/LC_MESSAGES/reference.po (+51 -2)
===================================================================
--- doc/locale/ja/LC_MESSAGES/reference.po    2015-02-13 21:07:03 +0900 (5735b11)
+++ doc/locale/ja/LC_MESSAGES/reference.po    2015-02-13 21:27:49 +0900 (39ad4ae)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: 1.2.1\n"
 "Report-Msgid-Bugs-To: \n"
-"PO-Revision-Date: 2015-02-02 12:21+0900\n"
+"PO-Revision-Date: 2015-02-13 21:27+0900\n"
 "Last-Translator: Takatsugu <nokubi �� gmail.com>\n"
 "Language-Team: Japanese\n"
 "Language: ja\n"
@@ -151,7 +151,7 @@ msgstr ""
 "<http://ranguba.org/ja/#about-rroonga>` のようなケースです。"
 
 msgid "Example"
-msgstr "実行例::"
+msgstr "例"
 
 msgid "Here is an example that change the current cache object."
 msgstr "以下はキャッシュを変更する例です。"
@@ -2077,6 +2077,55 @@ msgid ""
 "exprのみ使用可能です。"
 msgstr ""
 
+# bfd245f532924e02b9143e2eed9116e0
+msgid "Overview"
+msgstr "概要"
+
+# 7e71792b5bc0489ca5ec79951912b145
+msgid ""
+"You can use Groonga as a library. You need to use the following APIs to "
+"initialize and finalize Groonga."
+msgstr ""
+"Groongaをライブラリーとして使うことができます。Groongaを初期化・終了するため"
+"に次のAPIを使う必要があります。"
+
+# 954ea977e42f4f5ab861b7aed2da2a2e
+msgid ""
+":c:func:`grn_init()` initializes Groonga. In contrast, :c:func:`grn_fin()` "
+"finalizes Groonga."
+msgstr ""
+":c:func:`grn_init()` はGroongaを初期化します。一方、 :c:func:`grn_fin()` は"
+"Groongaを終了します。"
+
+# 900283f8d88a417887d2516f3bb67463
+msgid ""
+"You must call :c:func:`grn_init()` only once before you use APIs which are "
+"provided by Groonga. You must call :c:func:`grn_fin()` only once after you "
+"finish to use APIs which are provided by Groonga."
+msgstr ""
+"Groongaが提供するAPIを使う前に :c:func:`grn_init()` を1度だけ呼ぶ必要がありま"
+"す。Groongaが提供するAPIを呼び終わったら、 :c:func:`grn_fin()` を1度だけ呼ぶ"
+"必要があります。"
+
+msgid "Here is an example that uses Groonga as a full-text search library."
+msgstr "以下はGroongaを全文検索ライブラリーとして使う例です。"
+
+# 66a061a3fabb4a1eb537f5e0c8b3874d
+msgid ""
+"``grn_init()`` initializes resources that are used by Groonga. You must call "
+"it just once before you call other Groonga APIs."
+msgstr ""
+"``grn_init()`` はGroongaが使うリソースを初期化します。他のGroongaのAPIを呼ぶ"
+"前に1度だけこれを呼ぶ必要があります。"
+
+# 01a7547e7ede4d68aab209fd93f65f29
+msgid ""
+"``grn_fin()`` releases resources that are used by Groonga. You can't call "
+"other Groonga APIs after you call ``grn_fin()``."
+msgstr ""
+"``grn_fin()`` はGroongaが使ったリソースを解放します。 ``grn_fin()`` を呼んだ"
+"後はGroongaのAPIを呼ぶことはできません。"
+
 msgid "Plugin"
 msgstr ""
 

  Modified: doc/source/reference/api/overview.rst (+14 -11)
===================================================================
--- doc/source/reference/api/overview.rst    2015-02-13 21:07:03 +0900 (dafb686)
+++ doc/source/reference/api/overview.rst    2015-02-13 21:27:49 +0900 (91afd5c)
@@ -8,30 +8,31 @@ Overview
 Summary
 -------
 
-Groonga can use as library. You can start to use Groonga as full-text search
-library with the following API.
+You can use Groonga as a library. You need to use the following APIs to
+initialize and finalize Groonga.
 
-:c:func:`grn_init()` is initializer for libgroonga.
-In contrast, :c:func:`grn_fin()` is finalizer for libgroonga.
+:c:func:`grn_init()` initializes Groonga.
+In contrast, :c:func:`grn_fin()` finalizes Groonga.
 
-You must call :c:func:`grn_init()` once before using API which are provided by libgroonga.
-You must call :c:func:`grn_fin()` once after stop to use API which are provided by libgroonga.
+You must call :c:func:`grn_init()` only once before you use APIs which
+are provided by Groonga. You must call :c:func:`grn_fin()` only once
+after you finish to use APIs which are provided by Groonga.
 
 Example
 -------
 
-Here is an example that uses Groonga as full-text search library.
+Here is an example that uses Groonga as a full-text search library.
 
 .. code-block :: c
 
    grn_rc rc;
-   /* Preparing resource will be used by libgroonga. */
+   /* It initializes resources used by Groonga. */
    rc = grn_init();
    if (rc != GRN_SUCCESS) {
      return EXIT_FAILURE;
    }
    /* Some Groonga API calling codes... */
-   /* Releasing resource used by libgroonga. */
+   /* It releases resources used by Groonga. */
    grn_fin();
    return EXIT_SUCCESS;
 
@@ -40,12 +41,14 @@ Reference
 
 .. c:function:: grn_rc grn_init(void)
 
-  ``grn_init()`` initializes resource that is used by libgroonga. You must call it once before calling other Groonga API.
+  ``grn_init()`` initializes resources that are used by Groonga. You
+  must call it just once before you call other Groonga APIs.
 
   :return: ``GRN_SUCCESS`` on success, not ``GRN_SUCCESS`` on error.
 
 .. c:function:: grn_rc grn_fin(void)
 
-  ``grn_fin()`` releases resource that is used by libgroonga. You must not call it other Groonga API after calling ``grn_fin()``.
+  ``grn_fin()`` releases resources that are used by Groonga. You can't
+  call other Groonga APIs after you call ``grn_fin()``.
 
   :return: ``GRN_SUCCESS`` on success, not ``GRN_SUCCESS`` on error.
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index