-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy path_winreg.po
More file actions
1043 lines (892 loc) · 45.7 KB
/
_winreg.po
File metadata and controls
1043 lines (892 loc) · 45.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 1990-2021, Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
# tomo, 2017
# 秘湯 <xwhhsprings@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Python 2.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-01 01:01+0900\n"
"PO-Revision-Date: 2019-09-01 05:18+0000\n"
"Last-Translator: tomo\n"
"Language-Team: Japanese (http://www.transifex.com/python-doc/python-27/"
"language/ja/)\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../library/_winreg.rst:2
msgid ":mod:`_winreg` --- Windows registry access"
msgstr ":mod:`_winreg` --- Windows レジストリへのアクセス"
#: ../../library/_winreg.rst:10
msgid ""
"The :mod:`_winreg` module has been renamed to :mod:`winreg` in Python 3. "
"The :term:`2to3` tool will automatically adapt imports when converting your "
"sources to Python 3."
msgstr ""
":mod:`_winreg` モジュールは、Python 3 では :mod:`winreg` にリネームされまし"
"た。 :term:`2to3` ツールが自動的にソースコードの import を修正します。"
#: ../../library/_winreg.rst:17
msgid ""
"These functions expose the Windows registry API to Python. Instead of using "
"an integer as the registry handle, a :ref:`handle object <handle-object>` is "
"used to ensure that the handles are closed correctly, even if the programmer "
"neglects to explicitly close them."
msgstr ""
"これらの関数は Windows レジストリ API を Python から使えるようにします。プロ"
"グラマがレジストリハンドルのクローズを失念した場合でも、確実にハンドルがク"
"ローズされるようにするために、整数値をレジストリハンドルとして使う代わりに :"
"ref:`ハンドルオブジェクト <handle-object>` が使われます。"
#: ../../library/_winreg.rst:22
msgid "This module offers the following functions:"
msgstr "このモジュールでは以下の関数を提供します:"
#: ../../library/_winreg.rst:27
msgid ""
"Closes a previously opened registry key. The *hkey* argument specifies a "
"previously opened key."
msgstr ""
"以前開かれたレジストリキーを閉じます。*hkey* 引数には以前開かれたレジストリ"
"キーを特定します。"
#: ../../library/_winreg.rst:31
msgid ""
"If *hkey* is not closed using this method (or via :meth:`hkey.Close() "
"<PyHKEY.Close>`), it is closed when the *hkey* object is destroyed by Python."
msgstr ""
"このメソッドを使って (または :meth:`hkey.Close() <PyHKEY.Close>` によって) "
"*hkey* が閉じられなかった場合、Python が *hkey* オブジェクトを破壊する際に閉"
"じられます。"
#: ../../library/_winreg.rst:37
msgid ""
"Establishes a connection to a predefined registry handle on another "
"computer, and returns a :ref:`handle object <handle-object>`."
msgstr ""
"他の計算機上にある既定のレジストリハンドル接続を確立し、 :ref:`ハンドルオブ"
"ジェクト <handle-object>` を返します。"
#: ../../library/_winreg.rst:40
msgid ""
"*computer_name* is the name of the remote computer, of the form ``r\"\\"
"\\computername\"``. If ``None``, the local computer is used."
msgstr ""
"*computer_name* はリモートコンピュータの名前で、``r\"\\\\computername\"`` の"
"形式をとります。``None`` の場合、ローカルの計算機が使われます。"
#: ../../library/_winreg.rst:43
msgid "*key* is the predefined handle to connect to."
msgstr "*key* は接続したい既定のハンドルです。"
#: ../../library/_winreg.rst:45 ../../library/_winreg.rst:64
#: ../../library/_winreg.rst:90
msgid ""
"The return value is the handle of the opened key. If the function fails, a :"
"exc:`WindowsError` exception is raised."
msgstr ""
"戻り値は開かれたキーのハンドルです。関数が失敗した場合、 :exc:`WindowsError` "
"例外が送出されます。"
#: ../../library/_winreg.rst:51 ../../library/_winreg.rst:70
msgid ""
"Creates or opens the specified key, returning a :ref:`handle object <handle-"
"object>`."
msgstr ""
"特定のキーを生成するか開き、 :ref:`ハンドルオブジェクト <handle-object>` を返"
"します。"
#: ../../library/_winreg.rst:54 ../../library/_winreg.rst:73
#: ../../library/_winreg.rst:150 ../../library/_winreg.rst:215
#: ../../library/_winreg.rst:285 ../../library/_winreg.rst:309
#: ../../library/_winreg.rst:327 ../../library/_winreg.rst:349
#: ../../library/_winreg.rst:372 ../../library/_winreg.rst:398
#: ../../library/_winreg.rst:427 ../../library/_winreg.rst:442
#: ../../library/_winreg.rst:455
msgid ""
"*key* is an already open key, or one of the predefined :ref:`HKEY_* "
"constants <hkey-constants>`."
msgstr ""
"*key* はすでに開かれたキーか、既定の :ref:`HKEY_* 定数 <hkey-constants>` のう"
"ちの一つです。"
#: ../../library/_winreg.rst:57 ../../library/_winreg.rst:76
msgid "*sub_key* is a string that names the key this method opens or creates."
msgstr "*sub_key* はこのメソッドが開く、または新規作成するキーの名前です。"
#: ../../library/_winreg.rst:59 ../../library/_winreg.rst:85
msgid ""
"If *key* is one of the predefined keys, *sub_key* may be ``None``. In that "
"case, the handle returned is the same key handle passed in to the function."
msgstr ""
"*key* が既定のキーの一つなら、*sub_key* は ``None`` でかまいません。この場"
"合、返されるハンドルは関数に渡されたのと同じキーハンドルです。"
#: ../../library/_winreg.rst:62 ../../library/_winreg.rst:88
msgid "If the key already exists, this function opens the existing key."
msgstr "キーがすでに存在する場合、この関数は既に存在するキーを開きます。"
#: ../../library/_winreg.rst:78 ../../library/_winreg.rst:129
msgid "*res* is a reserved integer, and must be zero. The default is zero."
msgstr ""
"*res* は予約された整数で、 0 でなくてはなりません。デフォルト値は 0 です。"
#: ../../library/_winreg.rst:80
msgid ""
"*sam* is an integer that specifies an access mask that describes the desired "
"security access for the key. Default is :const:`KEY_ALL_ACCESS`. See :ref:"
"`Access Rights <access-rights>` for other allowed values."
msgstr ""
"*sam* は、 key に対して想定するセキュリティアクセスを示すアクセスマスクを指定"
"します。デフォルトは :const:`KEY_ALL_ACCESS` です。利用可能な値については :"
"ref:`アクセス権 <access-rights>` を参照してください。"
#: ../../library/_winreg.rst:98 ../../library/_winreg.rst:114
msgid "Deletes the specified key."
msgstr "特定のキーを削除します。"
#: ../../library/_winreg.rst:100 ../../library/_winreg.rst:122
#: ../../library/_winreg.rst:160 ../../library/_winreg.rst:174
#: ../../library/_winreg.rst:259
msgid ""
"*key* is an already open key, or any one of the predefined :ref:`HKEY_* "
"constants <hkey-constants>`."
msgstr ""
"*key* はすでに開かれたキーか、既定の :ref:`HKEY_* 定数 <hkey-constants>` のう"
"ちの一つです。"
#: ../../library/_winreg.rst:103
msgid ""
"*sub_key* is a string that must be a subkey of the key identified by the "
"*key* parameter. This value must not be ``None``, and the key may not have "
"subkeys."
msgstr ""
"*sub_key* は文字列で、*key* パラメタによって特定されたキーのサブキーでなけれ"
"ばなりません。この値は ``None`` であってはならず、キーはサブキーを持っていな"
"くてもかまいません。"
#: ../../library/_winreg.rst:106 ../../library/_winreg.rst:136
msgid "*This method can not delete keys with subkeys.*"
msgstr "*このメソッドはサブキーをもつキーを削除することはできません。*"
#: ../../library/_winreg.rst:108 ../../library/_winreg.rst:138
msgid ""
"If the method succeeds, the entire key, including all of its values, is "
"removed. If the method fails, a :exc:`WindowsError` exception is raised."
msgstr ""
"このメソッドの実行が成功すると、キー全体が、その値すべてを含めて削除されま"
"す。このメソッドが失敗した場合、 :exc:`WindowsError` 例外が送出されます。"
#: ../../library/_winreg.rst:117
msgid ""
"The :func:`DeleteKeyEx` function is implemented with the RegDeleteKeyEx "
"Windows API function, which is specific to 64-bit versions of Windows. See "
"the `RegDeleteKeyEx documentation <http://msdn.microsoft.com/en-us/library/"
"ms724847%28VS.85%29.aspx>`__."
msgstr ""
"The :func:`DeleteKeyEx` 関数は、RegDeleteKeyEx Windows API 関数で実装されてい"
"ます。これは Windows の 64-bit バージョンに特有です。 `RegDeleteKeyEx "
"documentation <http://msdn.microsoft.com/en-us/library/ms724847%28VS.85%29."
"aspx>`__ を参照してください。"
#: ../../library/_winreg.rst:125
msgid ""
"*sub_key* is a string that must be a subkey of the key identified by the "
"*key* parameter. This value must not be ``None``, and the key may not have "
"subkeys."
msgstr ""
"*sub_key* は *key* 引数によって指定された key の subkey でなければなりませ"
"ん。この値は ``None`` であってはなりません。また、key は subkey を持たないか"
"もしれません。"
#: ../../library/_winreg.rst:131
msgid ""
"*sam* is an integer that specifies an access mask that describes the desired "
"security access for the key. Default is :const:`KEY_WOW64_64KEY`. See :ref:"
"`Access Rights <access-rights>` for other allowed values."
msgstr ""
"*sam* は、 key に対して想定するセキュリティアクセスを示すアクセスマスクを指定"
"します。デフォルトは :const:`KEY_WOW64_64KEY` です。利用可能な値については :"
"ref:`アクセス権 <access-rights>` を参照してください。"
#: ../../library/_winreg.rst:141
msgid "On unsupported Windows versions, :exc:`NotImplementedError` is raised."
msgstr ""
"サポートされていない Windows バージョンでは、 :exc:`NotImplementedError` 例外"
"を発生させます。"
#: ../../library/_winreg.rst:148
msgid "Removes a named value from a registry key."
msgstr "レジストリキーから指定された名前つきの値を削除します。"
#: ../../library/_winreg.rst:153
msgid "*value* is a string that identifies the value to remove."
msgstr "*value* は削除したい値を指定するための文字列です。"
#: ../../library/_winreg.rst:158
msgid "Enumerates subkeys of an open registry key, returning a string."
msgstr "開かれているレジストリキーのサブキーを列挙し、文字列で返します。"
#: ../../library/_winreg.rst:163
msgid "*index* is an integer that identifies the index of the key to retrieve."
msgstr "*index* は整数値で、取得するキーのインデクスを特定します。"
#: ../../library/_winreg.rst:165
msgid ""
"The function retrieves the name of one subkey each time it is called. It is "
"typically called repeatedly until a :exc:`WindowsError` exception is raised, "
"indicating, no more values are available."
msgstr ""
"この関数は呼び出されるたびに一つのサブキーの名前を取得します。この関数は通"
"常、これ以上値がないことを示す :exc:`WindowsError` 例外が送出されるまで繰り返"
"し呼び出されます。"
#: ../../library/_winreg.rst:172
msgid "Enumerates values of an open registry key, returning a tuple."
msgstr "開かれているレジストリキーの値を列挙し、タプルで返します。"
#: ../../library/_winreg.rst:177
msgid ""
"*index* is an integer that identifies the index of the value to retrieve."
msgstr "*index* は整数値で、取得する値のインデクスを特定します。"
#: ../../library/_winreg.rst:179
msgid ""
"The function retrieves the name of one subkey each time it is called. It is "
"typically called repeatedly, until a :exc:`WindowsError` exception is "
"raised, indicating no more values."
msgstr ""
"この関数は呼び出されるたびに一つのサブキーの名前を取得します。この関数は通"
"常、これ以上値がないことを示す :exc:`WindowsError` 例外が送出されるまで繰り返"
"し呼び出されます。"
#: ../../library/_winreg.rst:183 ../../library/_winreg.rst:288
msgid "The result is a tuple of 3 items:"
msgstr "結果は 3 要素のタプルになります:"
#: ../../library/_winreg.rst:186 ../../library/_winreg.rst:291
#: ../../library/_winreg.rst:335
msgid "Index"
msgstr "インデックス"
#: ../../library/_winreg.rst:186 ../../library/_winreg.rst:291
#: ../../library/_winreg.rst:335
msgid "Meaning"
msgstr "意味"
#: ../../library/_winreg.rst:188 ../../library/_winreg.rst:293
#: ../../library/_winreg.rst:337
msgid "``0``"
msgstr "``0``"
#: ../../library/_winreg.rst:188
msgid "A string that identifies the value name"
msgstr "値の名前を特定する文字列"
#: ../../library/_winreg.rst:190 ../../library/_winreg.rst:296
#: ../../library/_winreg.rst:339
msgid "``1``"
msgstr "``1``"
#: ../../library/_winreg.rst:190
msgid ""
"An object that holds the value data, and whose type depends on the "
"underlying registry type"
msgstr ""
"値のデータを保持するためのオブジェクトで、その型は背後のレジストリ型に依存し"
"ます"
#: ../../library/_winreg.rst:194 ../../library/_winreg.rst:299
msgid "``2``"
msgstr "``2``"
#: ../../library/_winreg.rst:194
msgid ""
"An integer that identifies the type of the value data (see table in docs "
"for :meth:`SetValueEx`)"
msgstr ""
"値のデータ型を特定する整数です (:meth:`SetValueEx` のドキュメント内のテーブル"
"を参照してください)"
#: ../../library/_winreg.rst:202
msgid ""
"Expands environment variable placeholders ``%NAME%`` in unicode strings "
"like :const:`REG_EXPAND_SZ`::"
msgstr ""
":const:`REG_EXPAND_SZ` のように、環境変数プレースホルダ ``%NAME%`` を "
"Unicode 文字列で展開します::"
#: ../../library/_winreg.rst:213
msgid "Writes all the attributes of a key to the registry."
msgstr "キーのすべての属性をレジストリに書き込みます。"
#: ../../library/_winreg.rst:218
msgid ""
"It is not necessary to call :func:`FlushKey` to change a key. Registry "
"changes are flushed to disk by the registry using its lazy flusher. "
"Registry changes are also flushed to disk at system shutdown. Unlike :func:"
"`CloseKey`, the :func:`FlushKey` method returns only when all the data has "
"been written to the registry. An application should only call :func:"
"`FlushKey` if it requires absolute certainty that registry changes are on "
"disk."
msgstr ""
"キーを変更するために :func:`FlushKey` を呼ぶ必要はありません。レジストリの変"
"更は怠惰なフラッシュ機構 (lazy flusher) を使ってフラッシュされます。また、シ"
"ステムの遮断時にもディスクにフラッシュされます。 :func:`CloseKey` と違っ"
"て、 :func:`FlushKey` メソッドはレジストリに全てのデータを書き終えたときにの"
"み返ります。アプリケーションは、レジストリへの変更を絶対に確実にディスク上に"
"反映させる必要がある場合にのみ、 :func:`FlushKey` を呼ぶべきです。"
#: ../../library/_winreg.rst:227
msgid ""
"If you don't know whether a :func:`FlushKey` call is required, it probably "
"isn't."
msgstr ""
":func:`FlushKey` を呼び出す必要があるかどうか分からない場合、おそらくその必要"
"はありません。"
#: ../../library/_winreg.rst:233
msgid ""
"Creates a subkey under the specified key and stores registration information "
"from a specified file into that subkey."
msgstr ""
"指定されたキーの下にサブキーを生成し、サブキーに指定されたファイルのレジスト"
"リ情報を記録します。"
#: ../../library/_winreg.rst:236
msgid ""
"*key* is a handle returned by :func:`ConnectRegistry` or one of the "
"constants :const:`HKEY_USERS` or :const:`HKEY_LOCAL_MACHINE`."
msgstr ""
"*key* は :func:`ConnectRegistry` が返したハンドルか、定数 :const:"
"`HKEY_USERS` と :const:`HKEY_LOCAL_MACHINE` のどちらかです。"
#: ../../library/_winreg.rst:239
msgid "*sub_key* is a string that identifies the subkey to load."
msgstr "*sub_key* は記録先のサブキーを指定する文字列です。"
#: ../../library/_winreg.rst:241
msgid ""
"*file_name* is the name of the file to load registry data from. This file "
"must have been created with the :func:`SaveKey` function. Under the file "
"allocation table (FAT) file system, the filename may not have an extension."
msgstr ""
"*file_name* はレジストリデータを読み出すためのファイル名です。このファイル"
"は :func:`SaveKey` 関数で生成されたファイルでなくてはなりません。ファイル割り"
"当てテーブル (FAT) ファイルシステム下では、ファイル名は拡張子を持っていてはな"
"りません。"
#: ../../library/_winreg.rst:245
msgid ""
"A call to :func:`LoadKey` fails if the calling process does not have the :"
"const:`SE_RESTORE_PRIVILEGE` privilege. Note that privileges are different "
"from permissions -- see the `RegLoadKey documentation <http://msdn.microsoft."
"com/en-us/library/ms724889%28v=VS.85%29.aspx>`__ for more details."
msgstr ""
"この関数を呼び出しているプロセスが :const:`SE_RESTORE_PRIVILEGE` 特権を持たな"
"い場合には :func:`LoadKey` は失敗します。この特権はファイル許可とは違うので注"
"意してください - 詳細は `RegLoadKey documentation <http://msdn.microsoft.com/"
"en-us/library/ms724889%28v=VS.85%29.aspx>`__ を参照してください。"
#: ../../library/_winreg.rst:251
msgid ""
"If *key* is a handle returned by :func:`ConnectRegistry`, then the path "
"specified in *file_name* is relative to the remote computer."
msgstr ""
"*key* が :func:`ConnectRegistry` によって返されたハンドルの場合、 "
"*file_name* に指定されたパスは遠隔計算機に対する相対パス名になります。"
#: ../../library/_winreg.rst:257
msgid ""
"Opens the specified key, returning a :ref:`handle object <handle-object>`."
msgstr ""
"指定されたキーを開き、 :ref:`ハンドルオブジェクト <handle-object>` を返しま"
"す。"
#: ../../library/_winreg.rst:262
msgid "*sub_key* is a string that identifies the sub_key to open."
msgstr "*sub_key* は開きたいサブキーを特定する文字列です。"
#: ../../library/_winreg.rst:264
msgid "*res* is a reserved integer, and must be zero. The default is zero."
msgstr ""
"*res* は予約されている整数値で、ゼロでなくてはなりません。デフォルトはゼロで"
"す。"
#: ../../library/_winreg.rst:266
msgid ""
"*sam* is an integer that specifies an access mask that describes the desired "
"security access for the key. Default is :const:`KEY_READ`. See :ref:"
"`Access Rights <access-rights>` for other allowed values."
msgstr ""
"*sam* は必要なキーへのセキュリティアクセスを記述する、アクセスマスクを指定す"
"る整数です。標準の値は :const:`KEY_READ` です。その他の利用できる値について"
"は :ref:`アクセス権限 <access-rights>` を参照してください。"
#: ../../library/_winreg.rst:270
msgid "The result is a new handle to the specified key."
msgstr "指定されたキーへの新しいハンドルが返されます。"
#: ../../library/_winreg.rst:272
msgid "If the function fails, :exc:`WindowsError` is raised."
msgstr "この関数が失敗すると、 :exc:`WindowsError` が送出されます。"
#: ../../library/_winreg.rst:277
msgid ""
"The functionality of :func:`OpenKeyEx` is provided via :func:`OpenKey`, by "
"the use of default arguments."
msgstr ""
":func:`OpenKeyEx` の機能は :func:`OpenKey` を標準の引数で使うことで提供されて"
"います。"
#: ../../library/_winreg.rst:283
msgid "Returns information about a key, as a tuple."
msgstr "キーに関数情報をタプルとして返します。"
#: ../../library/_winreg.rst:293
msgid "An integer giving the number of sub keys this key has."
msgstr "結果は以下の 3 要素からなるタプルです。"
#: ../../library/_winreg.rst:296
msgid "An integer giving the number of values this key has."
msgstr "このキーが持つサブキーの数を表す整数。"
#: ../../library/_winreg.rst:299
msgid ""
"A long integer giving when the key was last modified (if available) as 100's "
"of nanoseconds since Jan 1, 1601."
msgstr ""
"最後のキーの変更が (あれば) いつだったかを表す長整数で、1601 年 1 月 1 日から"
"の 100 ナノ秒単位で数えたもの。"
#: ../../library/_winreg.rst:307
msgid "Retrieves the unnamed value for a key, as a string."
msgstr "キーに対する、名前付けられていない値を文字列で取得します。"
#: ../../library/_winreg.rst:312
msgid ""
"*sub_key* is a string that holds the name of the subkey with which the value "
"is associated. If this parameter is ``None`` or empty, the function "
"retrieves the value set by the :func:`SetValue` method for the key "
"identified by *key*."
msgstr ""
"*sub_key* は値が関連付けられているサブキーの名前を保持する文字列です。この引"
"数が ``None`` または空文字列の場合、この関数は *key* で特定されるキーに対し"
"て :func:`SetValue` メソッドで設定された値を取得します。"
#: ../../library/_winreg.rst:316
msgid ""
"Values in the registry have name, type, and data components. This method "
"retrieves the data for a key's first value that has a NULL name. But the "
"underlying API call doesn't return the type, so always use :func:"
"`QueryValueEx` if possible."
msgstr ""
"レジストリ中の値は名前、型、およびデータから構成されています。このメソッドは"
"あるキーのデータ中で、名前 NULL をもつ最初の値を取得します。しかし背後のAPI "
"呼び出しは型情報を返しません。なので、可能ならいつでも :func:`QueryValueEx` "
"を使うべきです。"
#: ../../library/_winreg.rst:324
msgid ""
"Retrieves the type and data for a specified value name associated with an "
"open registry key."
msgstr ""
"開かれたレジストリキーに関連付けられている、指定した名前の値に対して、型およ"
"びデータを取得します。"
#: ../../library/_winreg.rst:330
msgid "*value_name* is a string indicating the value to query."
msgstr "*value_name* は要求する値を指定する文字列です。"
#: ../../library/_winreg.rst:332
msgid "The result is a tuple of 2 items:"
msgstr "結果は 2 つの要素からなるタプルです:"
#: ../../library/_winreg.rst:337
msgid "The value of the registry item."
msgstr "レジストリ要素の値。"
#: ../../library/_winreg.rst:339
msgid ""
"An integer giving the registry type for this value (see table in docs for :"
"meth:`SetValueEx`)"
msgstr ""
"この値のレジストリ型を表す整数。 (:meth:`SetValueEx` のドキュメント内のテーブ"
"ルを参照してください。)"
#: ../../library/_winreg.rst:347
msgid "Saves the specified key, and all its subkeys to the specified file."
msgstr "指定されたキーと、そのサブキー全てを指定したファイルに保存します。"
#: ../../library/_winreg.rst:352
msgid ""
"*file_name* is the name of the file to save registry data to. This file "
"cannot already exist. If this filename includes an extension, it cannot be "
"used on file allocation table (FAT) file systems by the :meth:`LoadKey` "
"method."
msgstr ""
"*file_name* はレジストリデータを保存するファイルの名前です、このファイルはす"
"でに存在していてはいけません。このファイル名が拡張子を含んでいる場合、 :meth:"
"`LoadKey` メソッドは、FAT ファイルシステムを使うことができません。"
#: ../../library/_winreg.rst:357
msgid ""
"If *key* represents a key on a remote computer, the path described by "
"*file_name* is relative to the remote computer. The caller of this method "
"must possess the :const:`SeBackupPrivilege` security privilege. Note that "
"privileges are different than permissions -- see the `Conflicts Between User "
"Rights and Permissions documentation <http://msdn.microsoft.com/en-us/"
"library/ms724878%28v=VS.85%29.aspx>`__ for more details."
msgstr ""
"*key* が遠隔の計算機上にあるキーを表す場合、 *file_name* で記述されているパス"
"は遠隔の計算機に対して相対的なパスになります。このメソッドの呼び出し側は :"
"const:`SeBackupPrivilege` セキュリティ特権を保有していなければなりません。こ"
"の特権はファイルパーミッションとは異なります - 詳細は `Conflicts Between "
"User Rights and Permissions documentation <http://msdn.microsoft.com/en-us/"
"library/ms724878%28v=VS.85%29.aspx>`__ を参照してください。"
#: ../../library/_winreg.rst:365
msgid "This function passes NULL for *security_attributes* to the API."
msgstr "この関数は *security_attributes* を NULL にして API に渡します。"
#: ../../library/_winreg.rst:370
msgid "Associates a value with a specified key."
msgstr "値を指定したキーに関連付けます。"
#: ../../library/_winreg.rst:375
msgid ""
"*sub_key* is a string that names the subkey with which the value is "
"associated."
msgstr "*sub_key* は値が関連付けられているサブキーの名前を表す文字列です。"
#: ../../library/_winreg.rst:377
msgid ""
"*type* is an integer that specifies the type of the data. Currently this "
"must be :const:`REG_SZ`, meaning only strings are supported. Use the :func:"
"`SetValueEx` function for support for other data types."
msgstr ""
"*type* はデータの型を指定する整数です。現状では、この値は :const:`REG_SZ` で"
"なければならず、これは文字列だけがサポートされていることを示します。他のデー"
"タ型をサポートするには :func:`SetValueEx` を使ってください。"
#: ../../library/_winreg.rst:381 ../../library/_winreg.rst:409
msgid "*value* is a string that specifies the new value."
msgstr "*value* は新たな値を指定する文字列です。"
#: ../../library/_winreg.rst:383
msgid ""
"If the key specified by the *sub_key* parameter does not exist, the SetValue "
"function creates it."
msgstr ""
"*sub_key* 引数で指定されたキーが存在しなければ、SetValue 関数で生成されます。"
#: ../../library/_winreg.rst:386 ../../library/_winreg.rst:417
msgid ""
"Value lengths are limited by available memory. Long values (more than 2048 "
"bytes) should be stored as files with the filenames stored in the "
"configuration registry. This helps the registry perform efficiently."
msgstr ""
"値の長さは利用可能なメモリによって制限されます。(2048 バイト以上の) 長い値は"
"ファイルに保存して、そのファイル名を設定レジストリに保存するべきです。そうす"
"ればレジストリを効率的に動作させる役に立ちます。"
#: ../../library/_winreg.rst:390
msgid ""
"The key identified by the *key* parameter must have been opened with :const:"
"`KEY_SET_VALUE` access."
msgstr ""
"*key* 引数に指定されたキーは :const:`KEY_SET_VALUE` アクセスで開かれていなけ"
"ればなりません。"
#: ../../library/_winreg.rst:396
msgid "Stores data in the value field of an open registry key."
msgstr "開かれたレジストリキーの値フィールドにデータを記録します。"
#: ../../library/_winreg.rst:401
msgid ""
"*value_name* is a string that names the subkey with which the value is "
"associated."
msgstr "*value_name* は値が関連付けられているサブキーの名前を表す文字列です。"
#: ../../library/_winreg.rst:404
msgid ""
"*type* is an integer that specifies the type of the data. See :ref:`Value "
"Types <value-types>` for the available types."
msgstr ""
"*type* はデータの型を指定する整数です。利用できる型については :ref:`値の型 "
"<value-types>` を参照してください。"
#: ../../library/_winreg.rst:407
msgid "*reserved* can be anything -- zero is always passed to the API."
msgstr "*reserved* は何もしません - API には常にゼロが渡されます。"
#: ../../library/_winreg.rst:411
msgid ""
"This method can also set additional value and type information for the "
"specified key. The key identified by the key parameter must have been "
"opened with :const:`KEY_SET_VALUE` access."
msgstr ""
"このメソッドではまた、指定されたキーに対して、さらに別の値や型情報を設定する"
"ことができます。 *key* 引数で指定されたキーは :const:`KEY_SET_VALUE` アクセス"
"で開かれていなければなりません。"
#: ../../library/_winreg.rst:415
msgid "To open the key, use the :func:`CreateKey` or :func:`OpenKey` methods."
msgstr ""
"キーを開くには、 :func:`CreateKey` または :func:`OpenKey` メソッドを使ってく"
"ださい。"
#: ../../library/_winreg.rst:424
msgid ""
"Disables registry reflection for 32-bit processes running on a 64-bit "
"operating system."
msgstr ""
"64ビット OS上で動作している 32bit プロセスに対するレジストリリフレクションを"
"無効にします。"
#: ../../library/_winreg.rst:430 ../../library/_winreg.rst:445
#: ../../library/_winreg.rst:460
msgid ""
"Will generally raise :exc:`NotImplementedError` if executed on a 32-bit "
"operating system."
msgstr "32bit OS上では一般的に :exc:`NotImplementedError` 例外を発生させます。"
#: ../../library/_winreg.rst:433
msgid ""
"If the key is not on the reflection list, the function succeeds but has no "
"effect. Disabling reflection for a key does not affect reflection of any "
"subkeys."
msgstr ""
"key がリフレクションリストに無い場合は、この関数は成功しますが効果はありませ"
"ん。あるキーのリフレクションを無効にしても、その全てのサブキーのリフレクショ"
"ンには影響しません。"
#: ../../library/_winreg.rst:440
msgid "Restores registry reflection for the specified disabled key."
msgstr ""
"指定された、リフレクションが無効にされたキーのリフレクションを再び有効にしま"
"す。"
#: ../../library/_winreg.rst:448
msgid ""
"Restoring reflection for a key does not affect reflection of any subkeys."
msgstr ""
"あるキーのリフレクションを再開しても、その全てのサブキーには影響しません。"
#: ../../library/_winreg.rst:453
msgid "Determines the reflection state for the specified key."
msgstr "指定されたキーのリフレクション状態を確認します。"
#: ../../library/_winreg.rst:458
msgid "Returns ``True`` if reflection is disabled."
msgstr "リフレクションが無効になっている場合、``True`` を返します。"
#: ../../library/_winreg.rst:467
msgid "Constants"
msgstr "定数"
#: ../../library/_winreg.rst:469
msgid ""
"The following constants are defined for use in many :mod:`_winreg` functions."
msgstr ""
":mod:`_winreg` の多くの関数で利用するために以下の定数が定義されています。"
#: ../../library/_winreg.rst:474
msgid "HKEY_* Constants"
msgstr "HKEY_* 定数"
#: ../../library/_winreg.rst:478
msgid ""
"Registry entries subordinate to this key define types (or classes) of "
"documents and the properties associated with those types. Shell and COM "
"applications use the information stored under this key."
msgstr ""
"このキー以下のレジストリエントリは、ドキュメントのタイプ(またはクラス)や、"
"それに関連付けられたプロパティを定義しています。シェルと COM アプリケーション"
"がこの情報を利用します。"
#: ../../library/_winreg.rst:485
msgid ""
"Registry entries subordinate to this key define the preferences of the "
"current user. These preferences include the settings of environment "
"variables, data about program groups, colors, printers, network connections, "
"and application preferences."
msgstr ""
"このキー以下のレジストリエントリは、現在のユーザーの設定を定義します。この設"
"定には、環境変数、プログラムグループに関するデータ、カラー、プリンター、ネッ"
"トワーク接続、アプリケーション設定などが含まれます。"
#: ../../library/_winreg.rst:492
msgid ""
"Registry entries subordinate to this key define the physical state of the "
"computer, including data about the bus type, system memory, and installed "
"hardware and software."
msgstr ""
"このキー以下のレジストリエントリは、コンピュータの物理的な状態を定義します。"
"これには、バスタイプ、システムメモリ、インストールされているソフトウェアや"
"ハードウェアが含まれます。"
#: ../../library/_winreg.rst:498
msgid ""
"Registry entries subordinate to this key define the default user "
"configuration for new users on the local computer and the user configuration "
"for the current user."
msgstr ""
"このキー以下のレジストリエントリは、ローカルコンピュータの新規ユーザーのため"
"のデフォルト設定や、現在のユーザーの設定を定義しています。"
#: ../../library/_winreg.rst:504
msgid ""
"Registry entries subordinate to this key allow you to access performance "
"data. The data is not actually stored in the registry; the registry "
"functions cause the system to collect the data from its source."
msgstr ""
"このキー以下のレジストリエントリは、パフォーマンスデータへのアクセスを可能に"
"しています。実際にはデータはレジストリには格納されていません。レジストリ関数"
"がシステムにソースからデータを集めさせます。"
#: ../../library/_winreg.rst:512
msgid ""
"Contains information about the current hardware profile of the local "
"computer system."
msgstr ""
"ローカルコンピュータシステムの現在のハードウェアプロファイルに関する情報を含"
"みます。"
#: ../../library/_winreg.rst:517
msgid "This key is not used in versions of Windows after 98."
msgstr "このキーは Windows の 98 以降のバージョンでは利用されていません。"
#: ../../library/_winreg.rst:523
msgid "Access Rights"
msgstr "アクセス権限"
#: ../../library/_winreg.rst:525
msgid ""
"For more information, see `Registry Key Security and Access <http://msdn."
"microsoft.com/en-us/library/ms724878%28v=VS.85%29.aspx>`__."
msgstr ""
"より詳しい情報については、`Registry Key Security and Access <http://msdn."
"microsoft.com/en-us/library/ms724878%28v=VS.85%29.aspx>`__ を参照してくださ"
"い。"
#: ../../library/_winreg.rst:530
msgid ""
"Combines the STANDARD_RIGHTS_REQUIRED, :const:`KEY_QUERY_VALUE`, :const:"
"`KEY_SET_VALUE`, :const:`KEY_CREATE_SUB_KEY`, :const:"
"`KEY_ENUMERATE_SUB_KEYS`, :const:`KEY_NOTIFY`, and :const:`KEY_CREATE_LINK` "
"access rights."
msgstr ""
"STANDARD_RIGHTS_REQUIRED (:const:`KEY_QUERY_VALUE`, :const:`KEY_SET_VALUE`, :"
"const:`KEY_CREATE_SUB_KEY`, :const:`KEY_ENUMERATE_SUB_KEYS`, :const:"
"`KEY_NOTIFY`, :const:`KEY_CREATE_LINK`) アクセス権限の組み合わせ。"
#: ../../library/_winreg.rst:537
msgid ""
"Combines the STANDARD_RIGHTS_WRITE, :const:`KEY_SET_VALUE`, and :const:"
"`KEY_CREATE_SUB_KEY` access rights."
msgstr ""
"STANDARD_RIGHTS_WRITE (:const:`KEY_SET_VALUE`, :const:`KEY_CREATE_SUB_KEY`) "
"アクセス権限の組み合わせ。"
#: ../../library/_winreg.rst:542
msgid ""
"Combines the STANDARD_RIGHTS_READ, :const:`KEY_QUERY_VALUE`, :const:"
"`KEY_ENUMERATE_SUB_KEYS`, and :const:`KEY_NOTIFY` values."
msgstr ""
"STANDARD_RIGHTS_READ (:const:`KEY_QUERY_VALUE`, :const:"
"`KEY_ENUMERATE_SUB_KEYS`, :const:`KEY_NOTIFY`) アクセス権限の組み合わせ。"
#: ../../library/_winreg.rst:547
msgid "Equivalent to :const:`KEY_READ`."
msgstr ":const:`KEY_READ` と同じ。"
#: ../../library/_winreg.rst:551
msgid "Required to query the values of a registry key."
msgstr "レジストリキーの値を問い合わせるのに必要。"
#: ../../library/_winreg.rst:555
msgid "Required to create, delete, or set a registry value."
msgstr "レジストリの値を作成、削除、設定するのに必要。"
#: ../../library/_winreg.rst:559
msgid "Required to create a subkey of a registry key."
msgstr "レジストリキーのサブキーを作るのに必要。"
#: ../../library/_winreg.rst:563
msgid "Required to enumerate the subkeys of a registry key."
msgstr "レジストリキーのサブキーを列挙するのに必要。"
#: ../../library/_winreg.rst:567
msgid ""
"Required to request change notifications for a registry key or for subkeys "
"of a registry key."
msgstr "レジストリキーやそのサブキーに対する変更通知を要求するのに必要。"
#: ../../library/_winreg.rst:572
msgid "Reserved for system use."
msgstr "システムでの利用のために予約されている。"
#: ../../library/_winreg.rst:578
msgid "64-bit Specific"
msgstr "64-bit 特有のアクセス権"
#: ../../library/_winreg.rst:580
msgid ""
"For more information, see `Accessing an Alternate Registry View <http://msdn."
"microsoft.com/en-us/library/aa384129(v=VS.85).aspx>`__."
msgstr ""
"より詳しい情報については、`Accessing an Alternate Registry View <http://msdn."
"microsoft.com/en-us/library/aa384129(v=VS.85).aspx>`__ を参照してください。"
#: ../../library/_winreg.rst:585
msgid ""
"Indicates that an application on 64-bit Windows should operate on the 64-bit "
"registry view."
msgstr ""
"64 bit Windows 上のアプリケーションが、64 bit のレジストリビュー上で操作する"
"事を示します。"
#: ../../library/_winreg.rst:590
msgid ""
"Indicates that an application on 64-bit Windows should operate on the 32-bit "
"registry view."
msgstr ""
"64 bit Windows 上のアプリケーションが、32 bit のレジストリビュー上で操作する"
"事を示します。"
#: ../../library/_winreg.rst:597
msgid "Value Types"
msgstr "値の型"
#: ../../library/_winreg.rst:599
msgid ""
"For more information, see `Registry Value Types <http://msdn.microsoft.com/"
"en-us/library/ms724884%28v=VS.85%29.aspx>`__."
msgstr ""
"より詳しい情報は、`Registry Value Types <http://msdn.microsoft.com/en-us/"
"library/ms724884%28v=VS.85%29.aspx>`__ を参照してください。"
#: ../../library/_winreg.rst:604
msgid "Binary data in any form."
msgstr "何らかの形式のバイナリデータ。"
#: ../../library/_winreg.rst:608
msgid "32-bit number."
msgstr "32 ビットの数。"
#: ../../library/_winreg.rst:612
msgid "A 32-bit number in little-endian format."
msgstr "32 ビットのリトルエンディアン形式の数。"
#: ../../library/_winreg.rst:616
msgid "A 32-bit number in big-endian format."
msgstr "32 ビットのビッグエンディアン形式の数。"
#: ../../library/_winreg.rst:620
msgid ""
"Null-terminated string containing references to environment variables "
"(``%PATH%``)."
msgstr "環境変数を参照している、ヌル文字で終端された文字列。(``%PATH%``)。"
#: ../../library/_winreg.rst:625
msgid "A Unicode symbolic link."
msgstr "Unicode のシンボリックリンク。"
#: ../../library/_winreg.rst:629
msgid ""
"A sequence of null-terminated strings, terminated by two null characters. "
"(Python handles this termination automatically.)"
msgstr ""
"ヌル文字で終端された文字列からなり、二つのヌル文字で終端されている配列。 "
"(Python はこの終端の処理を自動的に行います。)"
#: ../../library/_winreg.rst:634
msgid "No defined value type."
msgstr "定義されていない値の形式。"
#: ../../library/_winreg.rst:638
msgid "A device-driver resource list."
msgstr "デバイスドライバリソースのリスト。"
#: ../../library/_winreg.rst:642
msgid "A hardware setting."
msgstr "ハードウェアセッティング。"
#: ../../library/_winreg.rst:646
msgid "A hardware resource list."
msgstr "ハードウェアリソースリスト。"
#: ../../library/_winreg.rst:650
msgid "A null-terminated string."
msgstr "ヌル文字で終端された文字列。"
#: ../../library/_winreg.rst:656
msgid "Registry Handle Objects"
msgstr "レジストリハンドルオブジェクト"
#: ../../library/_winreg.rst:658
msgid ""
"This object wraps a Windows HKEY object, automatically closing it when the "
"object is destroyed. To guarantee cleanup, you can call either the :meth:"
"`~PyHKEY.Close` method on the object, or the :func:`CloseKey` function."
msgstr ""
"このオブジェクトは Windows の HKEY オブジェクトをラップし、オブジェクトが破壊"
"されたときに自動的にハンドルを閉じます。オブジェクトの :meth:`~PyHKEY.Close` "
"メソッドと :func:`CloseKey` 関数のどちらも、後始末がきちんと行われることを保"
"証するために呼び出すことができます。"
#: ../../library/_winreg.rst:662
msgid "All registry functions in this module return one of these objects."
msgstr ""
"このモジュールのレジストリ関数は全て、これらのハンドルオブジェクトの一つを返"
"します。"
#: ../../library/_winreg.rst:664
msgid ""
"All registry functions in this module which accept a handle object also "
"accept an integer, however, use of the handle object is encouraged."
msgstr ""
"このモジュールのレジストリ関数でハンドルオブジェクトを受理するものは全て整数"
"も受理しますが、ハンドルオブジェクトを利用することを推奨します。"
#: ../../library/_winreg.rst:667
msgid "Handle objects provide semantics for :meth:`__nonzero__` -- thus::"
msgstr ""
"ハンドルオブジェクトは :meth:`__nonzero__` のセマンティクスを持ちます - すな"
"わち ::"
#: ../../library/_winreg.rst:672
msgid ""
"will print ``Yes`` if the handle is currently valid (has not been closed or "
"detached)."
msgstr ""
"は、ハンドルが現在有効な (閉じられたり切り離されたりしていない) 場合には "
"``Yes`` となります。"
#: ../../library/_winreg.rst:675
msgid ""
"The object also support comparison semantics, so handle objects will compare "
"true if they both reference the same underlying Windows handle value."
msgstr ""
"ハンドルオブジェクトはまた、比較の意味構成もサポートしています。このため、背"
"後の Windows ハンドル値が同じものを複数のハンドルオブジェクトが参照している場"
"合、それらの比較は真になります。"
#: ../../library/_winreg.rst:678
msgid ""
"Handle objects can be converted to an integer (e.g., using the built-in :"
"func:`int` function), in which case the underlying Windows handle value is "
"returned. You can also use the :meth:`~PyHKEY.Detach` method to return the "
"integer handle, and also disconnect the Windows handle from the handle "
"object."
msgstr ""
"ハンドルオブジェクトは (例えば組み込みの :func:`int` 関数を使って) 整数に変換"
"することができます。この場合、背後の Windows ハンドル値が返されます、また、 :"
"meth:`~PyHKEY.Detach` メソッドを使って整数のハンドル値を返させると同時に、ハ"
"ンドルオブジェクトから Windows ハンドルを切り離すこともできます。"
#: ../../library/_winreg.rst:686
msgid "Closes the underlying Windows handle."
msgstr "背後の Windows ハンドルを閉じます。"
#: ../../library/_winreg.rst:688