Skip to content

Commit 6d30a6b

Browse files
author
nikitaodnorob
committed
Перевод Clipboard
1 parent eb497f9 commit 6d30a6b

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

Russian/Clipboard.txt

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88

99
@Overview
1010

11-
The clipboard is the standard way to share information and data between applications,
12-
which are currently running on the OS. It also gives the user a temporary location,
13-
where information and data may be stored and accessed quickly and easily. For instance,
14-
when text is cut within an editor, that text goes to the clipboard, where it may be
15-
retrieved later, by pasting it into another application. PureBasic gives the programmer
16-
the ability to develop applications capable of cutting, copying and pasting text or images
17-
via the standard clipboard.
11+
Буфер обмена - стандартный способ обмена информацией между приложениями,
12+
которые в данный момент запущены в ОС. Это также дает пользователю временное хранилище,
13+
где информация и данные могут быть сохранены и быстро и легко доступны. Например,
14+
когда в редакторе вырезается текст, он помещается в буфер обмена, откуда он может быть
15+
извлечен позднее путем вставки в другое приложение. PureBasic дает программисту
16+
возможность разрабатывать приложения, способные вырезать, копировать и вставлять текст или изображения
17+
через стандартный буфер обмена.
1818

1919
@CommandList
2020

@@ -28,8 +28,8 @@
2828

2929
@Description
3030

31-
Clears the clipboard. This means that any data contained within the clipboard, is totally flushed and is no
32-
longer available from the clipboard.
31+
Очищает буфер обмена. Это означает, что любые данные, хранящиеся там, будут полностью стерты и их
32+
невозможно будет извлечь из буфера обмена.
3333

3434
@NoParameters
3535
@NoReturnValue
@@ -44,23 +44,23 @@
4444
@Function Result = GetClipboardImage(#Image [, Depth])
4545

4646
@Description
47-
Creates a new image from the clipboard image data (if any).
47+
Создает новое изображение из данных, хранящихся в буфере обмена (если они существуют).
4848

4949
@Parameter "#Image"
50-
The number for the new image.
51-
@ReferenceLink "purebasic_objects" "#PB_Any" can be used to auto-generate this number.
50+
Номер нового изображения.
51+
@ReferenceLink "purebasic_objects" "#PB_Any" может быть использовано для автоматической генерации номера.
5252

5353
@OptionalParameter "Depth"
54-
The depth of the new image. Valid values are 24 (default) or 32-bit.
54+
Глубина нового изображения. Возможные значения: 24 (по умолчанию) или 32 бита.
5555

5656
@ReturnValue
57-
Returns nonzero on success and zero on failure.
58-
If @#PB_Any was used as the #Image parameter then the new image number is returned.
57+
Возвращает ненулевое значение в случае успеха и ноль в противном случае.
58+
Если использовано @#PB_Any в параметре #Image, будет возвращен номер нового изображения.
5959

6060
@Remarks
61-
The image may be freed by using the @@FreeImage function.
62-
For further use of the image, there are functions available such as @@DrawImage
63-
or @@ImageGadget.
61+
Изображения могут быть уничтожены с помощью функции @@FreeImage.
62+
Для дальнейшего использования изображения предусмотрены такие функции как @@DrawImage
63+
или @@ImageGadget.
6464

6565
@SeeAlso
6666
@@GetClipboardText
@@ -72,13 +72,13 @@
7272
@Function Text$ = GetClipboardText()
7373

7474
@Description
75-
Returns the text string currently contained within the clipboard.
75+
Возвращает текстовую строку, содержащуюся в буфере обмена.
7676

7777
@NoParameters
7878

7979
@ReturnValue
80-
Returns the content of the clipboard if it contains text.
81-
If the clipboard contains no data or no text data, then an empty string is returned.
80+
Возвращает данные буфера обмена, если в нем содержится текст.
81+
Если буфер обмена не содержит текстовых данных, возвращается пустая строка.
8282

8383
@SeeAlso
8484
@@GetClipboardImage
@@ -90,11 +90,11 @@
9090
@Function SetClipboardImage(#Image)
9191

9292
@Description
93-
Places a copy of the given image into the clipboard. If the clipboard currently
94-
contains an image then it will be overwritten.
93+
Помещает копию данного изображения в буфер обмена. Если он в текущий момент
94+
содержит изображение, оно будет заменено.
9595

9696
@Parameter "#Image"
97-
The image to put into the clipboard.
97+
Изображение, помещаемое в буфер обмена.
9898

9999
@NoReturnValue
100100

@@ -108,8 +108,8 @@
108108
SetClipboardImage(0)
109109
EndIf
110110

111-
; now if you open a graphics application and paste the clipboard contents,
112-
; you will see a Japanese flag ;-)
111+
; теперь если вы откроете графическое приложение и вставите данные из буфера обмена,
112+
; вы увидите Японский флаг ;-)
113113
@EndCode
114114

115115
@SeeAlso
@@ -122,10 +122,10 @@
122122
@Function SetClipboardText(Text$)
123123

124124
@Description
125-
Stores a string into the clipboard. If the clipboard already contains text, it will be overwritten.
125+
Помещает строку в буфер обмена. Если он в текущий момент содержит текст, он будет перезаписан.
126126

127127
@Parameter "Text$"
128-
The string you want to store in the clipboard.
128+
Строка, которую вы хотите поместить в буфер обмена.
129129

130130
@NoReturnValue
131131

0 commit comments

Comments
 (0)