@@ -14,7 +14,7 @@ msgid ""
14
14
msgstr ""
15
15
"Project-Id-Version : Python 3.11\n "
16
16
"Report-Msgid-Bugs-To : \n "
17
- "POT-Creation-Date : 2023-04-07 14:12 +0000\n "
17
+ "POT-Creation-Date : 2023-04-14 14:13 +0000\n "
18
18
"PO-Revision-Date : 2021-06-28 01:13+0000\n "
19
19
"Last-Translator : HIdeo Haga, 2023\n "
20
20
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -1615,7 +1615,7 @@ msgstr ""
1615
1615
1616
1616
#: ../../library/sqlite3.rst:1297
1617
1617
msgid "Cursor objects"
1618
- msgstr ""
1618
+ msgstr "Cursor オブジェクト "
1619
1619
1620
1620
#: ../../library/sqlite3.rst:1299
1621
1621
msgid ""
@@ -1624,13 +1624,21 @@ msgid ""
1624
1624
"created using :meth:`Connection.cursor`, or by using any of the :ref:"
1625
1625
"`connection shortcut methods <sqlite3-connection-shortcuts>`."
1626
1626
msgstr ""
1627
+ "``Cursor`` オブジェクトは、 SQL 文を実行し、 取得操作(fetch operation)のコン"
1628
+ "テキストを管理するために使用されるデータベース・カーソル(`database cursor`_)"
1629
+ "を表します。カーソルは、 :meth:`Connection.cursor` または :ref:`接続"
1630
+ "(connection)ショートカット・メソッド <sqlite3-connection-shortcuts>` の、いず"
1631
+ "れかを使用して作成されます。"
1627
1632
1628
1633
#: ../../library/sqlite3.rst:1306
1629
1634
msgid ""
1630
1635
"Cursor objects are :term:`iterators <iterator>`, meaning that if you :meth:"
1631
1636
"`~Cursor.execute` a ``SELECT`` query, you can simply iterate over the cursor "
1632
1637
"to fetch the resulting rows:"
1633
1638
msgstr ""
1639
+ "カーソル・オブジェクトは :term:`イテレータ <iterator>` です。つまり、 "
1640
+ "``SELECT`` クエリに対して :meth:`~Cursor.execute` した場合、結果の行(rows)を"
1641
+ "取得するためには、カーソルを単純に反復(iterate)できます:"
1634
1642
1635
1643
#: ../../library/sqlite3.rst:1331
1636
1644
msgid "A :class:`Cursor` instance has the following attributes and methods."
@@ -1641,21 +1649,27 @@ msgid ""
1641
1649
"Execute SQL a single SQL statement, optionally binding Python values using :"
1642
1650
"ref:`placeholders <sqlite3-placeholders>`."
1643
1651
msgstr ""
1652
+ "単一の SQL 文を実行し、オプションで :ref:`プレースホルダ <sqlite3-"
1653
+ "placeholders>` を使用して Python 値を結び付け(bind)ます。"
1644
1654
1645
1655
#: ../../library/sqlite3.rst:1342
1646
1656
msgid "A single SQL statement."
1647
- msgstr ""
1657
+ msgstr "単一の SQL 文。 "
1648
1658
1649
1659
#: ../../library/sqlite3.rst:1345
1650
1660
msgid ""
1651
1661
"Python values to bind to placeholders in *sql*. A :class:`!dict` if named "
1652
1662
"placeholders are used. A :term:`!sequence` if unnamed placeholders are used. "
1653
1663
"See :ref:`sqlite3-placeholders`."
1654
1664
msgstr ""
1665
+ "*sql* のプレースホルダに結び付け(bind)する Python 値。 名前付きプレースホルダ"
1666
+ "が使用されている場合は :class:`!dict` です。 名前のないプレースホルダが使用さ"
1667
+ "れている場合は :term:`!sequence` です。 :ref:`sqlite3-placeholders` を参照し"
1668
+ "てください。"
1655
1669
1656
1670
#: ../../library/sqlite3.rst:1352
1657
1671
msgid "If *sql* contains more than one SQL statement."
1658
- msgstr ""
1672
+ msgstr "*sql* に複数の SQL 文が含まれている場合。 "
1659
1673
1660
1674
#: ../../library/sqlite3.rst:1355
1661
1675
msgid ""
@@ -1664,35 +1678,44 @@ msgid ""
1664
1678
"no open transaction, a transaction is implicitly opened before executing "
1665
1679
"*sql*."
1666
1680
msgstr ""
1681
+ ":attr:`~Connection.isolation_level` が ``None`` で無い場合、 *sql* は "
1682
+ "``INSERT`` または ``UPDATE`` または ``DELETE`` または ``REPLACE`` 文であり、 "
1683
+ "開いているトランザクションがない場合、 *sql* を実行する前にトランザクションが"
1684
+ "暗黙に開かれます。"
1667
1685
1668
1686
#: ../../library/sqlite3.rst:1360
1669
1687
msgid "Use :meth:`executescript` to execute multiple SQL statements."
1670
- msgstr ""
1688
+ msgstr "複数の SQL 文を実行するには :meth:`executescript` を使用します。 "
1671
1689
1672
1690
#: ../../library/sqlite3.rst:1364
1673
1691
msgid ""
1674
1692
"For every item in *parameters*, repeatedly execute the :ref:`parameterized "
1675
1693
"<sqlite3-placeholders>` SQL statement *sql*."
1676
1694
msgstr ""
1695
+ "*parameters* のすべての item に対して、 :ref:`パラメーター化 <sqlite3-"
1696
+ "placeholders>` された SQL 文である *sql* を繰り返し実行します。"
1677
1697
1678
1698
#: ../../library/sqlite3.rst:1368
1679
1699
msgid "Uses the same implicit transaction handling as :meth:`~Cursor.execute`."
1680
1700
msgstr ""
1701
+ ":meth:`~Cursor.execute` と同一の暗黙のトランザクション処理を使用します。"
1681
1702
1682
1703
#: ../../library/sqlite3.rst:1370
1683
1704
msgid "A single SQL :abbr:`DML (Data Manipulation Language)` statement."
1684
- msgstr ""
1705
+ msgstr "単一の SQL :abbr:`DML (データ操作言語)` 文。 "
1685
1706
1686
1707
#: ../../library/sqlite3.rst:1373
1687
1708
msgid ""
1688
1709
"An :term:`!iterable` of parameters to bind with the placeholders in *sql*. "
1689
1710
"See :ref:`sqlite3-placeholders`."
1690
1711
msgstr ""
1712
+ "*sql* のプレースホルダに結び付け(bind)するためのパラメータの :term:`!"
1713
+ "iterable` 。 :ref:`sqlite3-placeholders` 参照。"
1691
1714
1692
1715
#: ../../library/sqlite3.rst:1379
1693
1716
msgid ""
1694
1717
"If *sql* contains more than one SQL statement, or is not a DML statment."
1695
- msgstr ""
1718
+ msgstr "*sql* に複数の SQL 文トが含まれているか、または DML 文じゃない場合。 "
1696
1719
1697
1720
#: ../../library/sqlite3.rst:1396
1698
1721
msgid ""
@@ -1701,23 +1724,33 @@ msgid ""
1701
1724
"implicit transaction control is performed; any transaction control must be "
1702
1725
"added to *sql_script*."
1703
1726
msgstr ""
1727
+ "*sql_script* 内の複数の SQL 文を実行します。 保留中のトランザクションがある場"
1728
+ "合、 暗黙の ``COMMIT`` 文が最初に実行されます。 他の暗黙のトランザクション制"
1729
+ "御は実行されません。 つまり、 *sql_script* にはトランザクション制御を追加する"
1730
+ "必要があります。"
1704
1731
1705
1732
#: ../../library/sqlite3.rst:1402
1706
1733
msgid "*sql_script* must be a :class:`string <str>`."
1707
- msgstr ""
1734
+ msgstr "*sql_script* は :class:`文字列 <str>` でなければなりません。 "
1708
1735
1709
1736
#: ../../library/sqlite3.rst:1420
1710
1737
msgid ""
1711
1738
"If :attr:`~Cursor.row_factory` is ``None``, return the next row query result "
1712
1739
"set as a :class:`tuple`. Else, pass it to the row factory and return its "
1713
1740
"result. Return ``None`` if no more data is available."
1714
1741
msgstr ""
1742
+ ":attr:`~Cursor.row_factory` が ``None`` の場合、 次の行のクエリ結果セットを :"
1743
+ "class:`タプル <tuple>` として返します。それ以外の場合は、 それを行工場(row "
1744
+ "factory)に渡し、 その結果を返します。 これ以上データが無い場合は ``None`` を"
1745
+ "返します。"
1715
1746
1716
1747
#: ../../library/sqlite3.rst:1428
1717
1748
msgid ""
1718
1749
"Return the next set of rows of a query result as a :class:`list`. Return an "
1719
1750
"empty list if no more rows are available."
1720
1751
msgstr ""
1752
+ "クエリ結果の次の行セットを :class:`list` として返します。行がそれ以上ない場合"
1753
+ "は、空のリストを返します。"
1721
1754
1722
1755
#: ../../library/sqlite3.rst:1431
1723
1756
msgid ""
@@ -1726,6 +1759,9 @@ msgid ""
1726
1759
"be fetched. If fewer than *size* rows are available, as many rows as are "
1727
1760
"available are returned."
1728
1761
msgstr ""
1762
+ "呼び出しごとに取得する行数は、*size* パラメーターで指定されます。 *size* が指"
1763
+ "定されていない場合、 :attr:`arraysize` が取得する行数を決定します。有効な行の"
1764
+ "数が *size* 未満の場合は、有効な数の行が返されます。"
1729
1765
1730
1766
#: ../../library/sqlite3.rst:1437
1731
1767
msgid ""
@@ -1736,37 +1772,45 @@ msgid ""
1736
1772
msgstr ""
1737
1773
"*size* 引数とパフォーマンスの関係についての注意です。パフォーマンスを最適化す"
1738
1774
"るためには、大抵、 arraysize 属性を利用するのがベストです。 *size* 引数を利用"
1739
- "したのであれば、次の :meth:`fetchmany` の呼び出しでも同じ数を利用するのがベス "
1740
- "トです 。"
1775
+ "したのであれば、次回の :meth:`fetchmany` の呼び出しでも *size* 引数に同一の値 "
1776
+ "を指定するのがのがベストです 。"
1741
1777
1742
1778
#: ../../library/sqlite3.rst:1444
1743
1779
msgid ""
1744
1780
"Return all (remaining) rows of a query result as a :class:`list`. Return an "
1745
1781
"empty list if no rows are available. Note that the :attr:`arraysize` "
1746
1782
"attribute can affect the performance of this operation."
1747
1783
msgstr ""
1784
+ "クエリ結果の(残りの)すべての行を :class:`list` として返します。 有効な行がな"
1785
+ "い場合は、空のリストを返します。 :attr:`arraysize` 属性は、この操作のパフォー"
1786
+ "マンスに影響を与える可能性があることに注意してください。"
1748
1787
1749
1788
#: ../../library/sqlite3.rst:1451
1750
1789
msgid "Close the cursor now (rather than whenever ``__del__`` is called)."
1751
- msgstr ""
1790
+ msgstr "(``__del__`` が呼び出される時ではなく、) 今すぐカーソルを閉じます。 "
1752
1791
1753
1792
#: ../../library/sqlite3.rst:1453
1754
1793
msgid ""
1755
1794
"The cursor will be unusable from this point forward; a :exc:"
1756
1795
"`ProgrammingError` exception will be raised if any operation is attempted "
1757
1796
"with the cursor."
1758
1797
msgstr ""
1798
+ "この時点から、このカーソルは使用できなくなります。今後、このカーソルで何らか"
1799
+ "の操作を試みると、 :exc:`ProgrammingError` 例外が送出されます。"
1759
1800
1760
1801
#: ../../library/sqlite3.rst:1458 ../../library/sqlite3.rst:1462
1761
1802
msgid "Required by the DB-API. Does nothing in :mod:`!sqlite3`."
1762
- msgstr ""
1803
+ msgstr "DB-API で必要です。 :mod:`!sqlite3` では何もしません。 "
1763
1804
1764
1805
#: ../../library/sqlite3.rst:1466
1765
1806
msgid ""
1766
1807
"Read/write attribute that controls the number of rows returned by :meth:"
1767
1808
"`fetchmany`. The default value is 1 which means a single row would be "
1768
1809
"fetched per call."
1769
1810
msgstr ""
1811
+ "fetchmany によって返される行(row)数を制御する、読み取りと書き込みが可能な属"
1812
+ "性。 デフォルト値は 1 で、これは呼び出しごとに 1 行が取得されることを意味しま"
1813
+ "す。"
1770
1814
1771
1815
#: ../../library/sqlite3.rst:1471
1772
1816
msgid ""
@@ -1775,19 +1819,26 @@ msgid ""
1775
1819
"`con.cursor() <Connection.cursor>` will have a :attr:`connection` attribute "
1776
1820
"that refers to *con*:"
1777
1821
msgstr ""
1822
+ "カーソルが属する SQLite データベース :class:`Connection` を提供する読み取り専"
1823
+ "用属性。 :meth:`con.cursor() <Connection.cursor>` と呼び出して作成した :"
1824
+ "class:`Cursor` オブジェクトには、*con* を参照する :attr:`connection` 属性があ"
1825
+ "ります:"
1778
1826
1779
1827
#: ../../library/sqlite3.rst:1485
1780
1828
msgid ""
1781
1829
"Read-only attribute that provides the column names of the last query. To "
1782
1830
"remain compatible with the Python DB API, it returns a 7-tuple for each "
1783
1831
"column where the last six items of each tuple are ``None``."
1784
1832
msgstr ""
1833
+ "最後のクエリの列(column)名を提供する読み取り専用属性。 Python DB API との互換"
1834
+ "性を維持するために、各列ごとに 7 項目のタプルで、先頭の項目が列名、残りの6項"
1835
+ "目が ``None`` です。"
1785
1836
1786
1837
#: ../../library/sqlite3.rst:1489
1787
1838
msgid "It is set for ``SELECT`` statements without any matching rows as well."
1788
1839
msgstr ""
1789
- "この属性は ``SELECT`` 文にマッチする row が1つもなかった場合でもセットされま "
1790
- "す 。"
1840
+ "この属性は ``SELECT`` 文にマッチする行( row)が1つもなかった場合でもセットされ "
1841
+ "ます 。"
1791
1842
1792
1843
#: ../../library/sqlite3.rst:1493
1793
1844
msgid ""
@@ -1798,10 +1849,15 @@ msgid ""
1798
1849
"``lastrowid`` is left unchanged. The initial value of ``lastrowid`` is "
1799
1850
"``None``."
1800
1851
msgstr ""
1852
+ "最後に挿入された行の行 ID (row id) を提供する読み取り専用属性。 :meth:"
1853
+ "`execute` で ``INSERT`` または ``REPLACE`` 文が成功した後にのみ更新されま"
1854
+ "す。他のSQL文や、 :meth:`executemany` の後や、 :meth:`executescript` の後"
1855
+ "や、 挿入が失敗した場合、 ``lastrowid`` の値は変更されません。``lastrowid`` "
1856
+ "の初期値は ``None`` です。"
1801
1857
1802
1858
#: ../../library/sqlite3.rst:1501
1803
1859
msgid "Inserts into ``WITHOUT ROWID`` tables are not recorded."
1804
- msgstr ""
1860
+ msgstr "``WITHOUT ROWID`` テーブルへの挿入(insert)は記録されません。 "
1805
1861
1806
1862
#: ../../library/sqlite3.rst:1503
1807
1863
msgid "Added support for the ``REPLACE`` statement."
@@ -1815,6 +1871,10 @@ msgid ""
1815
1871
"queries. It is only updated by the :meth:`execute` and :meth:`executemany` "
1816
1872
"methods."
1817
1873
msgstr ""
1874
+ "``INSERT`` や ``UPDATE`` や ``DELETE`` や ``REPLACE`` 文で変更された行数を提"
1875
+ "供する読み取り専用属性。 :abbr:`CTE (共通テーブル式)` クエリを含む他のSQL文"
1876
+ "は ``-1`` です。 :meth:`execute` と :meth:`executemany` メソッドによってのみ"
1877
+ "更新されます。"
1818
1878
1819
1879
#: ../../library/sqlite3.rst:1516
1820
1880
msgid ""
@@ -1824,6 +1884,12 @@ msgid ""
1824
1884
"arguments, a :class:`Cursor` object and the :class:`!tuple` of row values, "
1825
1885
"and returns a custom object representing an SQLite row."
1826
1886
msgstr ""
1887
+ "この :class:`カーソル <!Cursor>` から取得された行の表現方法を制御します。 "
1888
+ "``None`` の場合、行は :class:`タプル <tuple>` として表されます。 :class:"
1889
+ "`sqlite3.Row` に設定でき。そしてまた :class:`Cursor` オブジェクトと、 行の値"
1890
+ "の :class:`タプル <!tuple>` の、 2 つの引数を受け取り、 SQLite の行(row)を表"
1891
+ "すカスタム・オブジェクトを返す、 :term:`呼び出し可能オブジェクト <callable>` "
1892
+ "に設定できます。"
1827
1893
1828
1894
#: ../../library/sqlite3.rst:1523
1829
1895
msgid ""
@@ -2407,7 +2473,7 @@ msgstr ""
2407
2473
2408
2474
#: ../../library/sqlite3.rst:2266
2409
2475
msgid "How to create and use row factories"
2410
- msgstr ""
2476
+ msgstr "行工場(row factories)の作成方法と使用方法 "
2411
2477
2412
2478
#: ../../library/sqlite3.rst:2268
2413
2479
msgid ""
0 commit comments