You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pt-br/README.md
+36-36Lines changed: 36 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,17 @@ Simple QrCode
14
14
-[Configuração](#docs-configuration)
15
15
-[Simples ideias](#docs-ideas)
16
16
-[Uso](#docs-usage)
17
-
-[Ajuda](#docs-helpers)
17
+
-[Helpers](#docs-helpers)
18
18
-[Uso comum do QrCode](#docs-common-usage)
19
19
-[Uso sem Laravel](#docs-outside-laravel)
20
20
21
21
<aid="docs-introduction"></a>
22
22
## Introdução
23
-
Simple QrCode is an easy to use wrapper for the popular Laravel framework based on the great work provided by [Bacon/BaconQrCode](https://github.com/Bacon/BaconQrCode). We created an interface that is familiar and easy to install for Laravel users.
23
+
Simple QrCode é wrapper de fácil uso do Framework Laravel, baseado no grande trabalho provide pelo [Bacon/BaconQrCode](https://github.com/Bacon/BaconQrCode). Criamos uma interface que é fácil e familiar de instalar para usuários Laravel.
24
24
25
25
<aid="docs-translations"></a>
26
26
## Traduções
27
-
We are looking for users who speak Arabic, Spanish, French, Korean or Japanese to help translate this document. Please create a pull request if you are able to make a translation!
27
+
Estamos procurando por usuário que falem Árabe, Espanhol, Francês, Coreano ou Japonês, para nos ajudar a traduzir este documento. Por favor, crie um pull request if você é capar de fazer uma tradução!
28
28
29
29
<aid="docs-configuration"></a>
30
30
## Configuração
@@ -60,7 +60,7 @@ Finally, register the `'QrCode' => SimpleSoftwareIO\QrCode\Facades\QrCode::class
60
60
61
61
#### Print View
62
62
63
-
One of the main items that we use this package for is to have QrCodes in all of our print views. This allows our customers to return to the original page after it is printed by simply scanning the code. We achieved this by adding the following into our footer.blade.php file.
63
+
Um dos principais itens que utilizam este pacote para é ter QRCodes em todos os nossos pontos de vista de impressão. Isto permite que nossos clientes para retornar para a página original depois de impresso, basta digitalizar o código. Conseguimos isso adicionando o seguinte em nosso arquivo footer.blade.php.
@@ -156,9 +156,9 @@ As seguintes opções são suportadas para o método `errorCorrection`.
156
156
157
157
>The more error correction used; the bigger the QrCode becomes and the less data it can store. Read more about [error correction](http://en.wikipedia.org/wiki/QR_code#Error_correction).
158
158
159
-
#### Encoding
159
+
#### Codificação
160
160
161
-
Change the character encoding that is used to build a QrCode. By default `ISO-8859-1` is selected as the encoder. Read more about [character encoding](http://en.wikipedia.org/wiki/Character_encoding) You can change this to any of the following:
161
+
Alterar a codificação que é usada para criar um QrCode. Por padrão, a encodificação padrão é a `ISO-8859-1`. Leia mais sobre [character encoding](https://pt.wikipedia.org/wiki/Codifica%C3%A7%C3%A3o_de_caracteres) Você pode alterar a codificação usando o seguinte código:
162
162
163
163
QrCode::encoding('UTF-8')->generate('Make me a QrCode with special symbols ♠♥!!');
164
164
@@ -191,65 +191,65 @@ Change the character encoding that is used to build a QrCode. By default `ISO-8
191
191
| GBK |
192
192
| EUC-KR |
193
193
194
-
>An error of`Could not encode content to ISO-8859-1`means that the wrong character encoding type is being used. We recommend `UTF-8`if you are unsure.
194
+
>Um erro de`Could not encode content to ISO-8859-1`significa que foi inserido algum caractere inválido. Recomendamos o `UTF-8`se você não tiver certeza.
195
195
196
-
#### Merge
196
+
#### Mesclar
197
197
198
-
The `merge`method merges an image over a QrCode. This is commonly used to placed logos within a QrCode.
198
+
O método `merge`mescla uma imagem sobre um Qrcode. É comumente usado para se colocar logos dentro de um QrCode.
199
199
200
200
QrCode::merge($filename, $percentage, $absolute);
201
201
202
-
//Generates a QrCode with an image centered in the middle.
>The `merge`method only supports PNG at this time.
212
-
>The filepath is relative to app base path if `$absolute`is set to`false`. Change this variable to `true`to use absolute paths.
211
+
>O método `merge`suporta somente arquivos do tipo PNG.
212
+
>O filepath é relativo ao caminho base da aplicação, se o `$absolute`estiver setada para`false`. Altere essa variável para `true`para usar caminhos absolutos.
213
213
214
-
>You should use a high level of error correction when using the `merge` method to ensure that the QrCode is still readable. We recommend using`errorCorrection('H')`.
214
+
>Você deve usar um alto nível de correção de erros quando usado o método `merge`, para garantir que o QrCode será legível. Recomendamos usar`errorCorrection('H')`.
The `mergeString`method can be used to achieve the same as the`merge` call, except it allows you to provide a string representation of the file instead of the filepath. This is usefull when working with the `Storage`facade. It's interface is quite similar to the`merge` call.
220
+
O método `mergeString`pode ser usado para alcaçar a mesma chamada do método`merge`, exceto que ele permite que você represente uma string de um arquivo ao invés do filepath. Isso é útil quando é utilizado o padrão `Storage`. A chamada a essa interface é bastante similar ao método`merge`.
>As with the normal`merge` call, only PNG is supported at this time. The same applies for error correction, high levels are recommened.
230
+
>Assim como o método`merge`, somente arquivos do tipo PNG são suportados. O mesmo aplica-se para correção de erros, altos níveis são recomendados.
231
231
232
-
#### Advance Usage
232
+
#### Uso Avançado
233
233
234
-
All methods support chaining. The`generate`method must be called last and any `format`change must be called first. For example you could run any of the following:
234
+
Todos os métodos suportam encadeamento. O método`generate`deve ser chamado por ultimo e o método `format`deve ser chamado primeiro. Por exemplo, vocẽ pode executar o código seguinte:
235
235
236
236
QrCode::size(250)->color(150,90,10)->backgroundColor(10,14,244)->generate('Make me a QrCode!');
237
237
QrCode::format('png')->size(399)->color(40,40,40)->generate('Make me a QrCode!');
238
238
239
-
You can display a PNG image without saving the file by providing a raw string and encoding with`base64_encode`.
239
+
Você pode exibir uma imagem PNG, sem salvar o arquivo e prover uma string encodificada pelo método`base64_encode`.
240
240
241
241
<img src="data:image/png;base64, {!! base64_encode(QrCode::format('png')->size(100)->generate('Make me into an QrCode!')) !!} ">
242
242
243
243
<aid="docs-helpers"></a>
244
-
## Helpers
244
+
## Ajudantes
245
245
246
-
#### What are helpers?
246
+
#### O que são ajudantes?
247
247
248
-
Helpers are an easy way to create QrCodes that cause a reader to perform a certain action when scanned.
248
+
Ajudantes são uma maneira fácil de criar QrCodes que executam uma ação quando escaneados.
249
249
250
250
#### E-Mail
251
251
252
-
This helper generates an e-mail qrcode that is able to fill in the e-mail address, subject, and body.
252
+
Esse helper, gera um qrcode de e-mail que é capaz de ser preenchido no endereço de e-mail, assunto e corpo.
253
253
254
254
QrCode::email($to, $subject, $body);
255
255
@@ -264,36 +264,36 @@ This helper generates an e-mail qrcode that is able to fill in the e-mail addres
264
264
265
265
#### Geo
266
266
267
-
This helper generates a latitude and longitude that a phone can read and open the location up in Google Maps or similar app.
267
+
Esse helper gera uma latitude e longituded que o pode ser lido por um aparelho celular e abrir a localização no Google maps ou outro aplicativo similar.
268
268
269
269
QrCode::geo($latitude, $longitude);
270
270
271
271
QrCode::geo(37.822214, -122.481769);
272
272
273
273
#### Phone Number
274
274
275
-
This helper generates a QrCode that can be scanned and then dials a number.
275
+
Esse helper, gera uma QrCode que pode ser escaneado exibido um telefone.
276
276
277
277
QrCode::phoneNumber($phoneNumber);
278
278
279
279
QrCode::phoneNumber('555-555-5555');
280
280
QrCode::phoneNumber('1-800-Laravel');
281
281
282
-
#### SMS (Text Messages)
282
+
#### SMS (Mensagens de Texto)
283
283
284
-
This helper makes SMS messages that can be prefilled with the send to address and body of the message.
284
+
Esse Helper, cria uma mensagem SMS que pode ser This helper makes SMS messages that can be preenchida com o emissoe e o corpo da mensagem.
285
285
286
286
QrCode::SMS($phoneNumber, $message);
287
287
288
-
//Creates a text message with the number filled in.
288
+
//Cria uma mensagem de texto com o telefone preenchido.
289
289
QrCode::SMS('555-555-5555');
290
290
291
-
//Creates a text message with the number and message filled in.
291
+
//Cria uma mensagem de text com o numero telefonico e a mensagem preenchida.
292
292
QrCode::SMS('555-555-5555', 'Body of the message');
293
293
294
294
#### WiFi
295
295
296
-
This helpers makes scannable QrCodes that can connect a phone to a WiFI network.
296
+
Esse Helper, faz com que QrCodes escaneaveis, permitam o aparelho celular se conectar a uma rede WI-FI.
297
297
298
298
QrCode::wiFi([
299
299
'encryption' => 'WPA/WEP',
@@ -320,12 +320,12 @@ This helpers makes scannable QrCodes that can connect a phone to a WiFI network.
320
320
'password' => 'myPassword'
321
321
]);
322
322
323
-
>WiFi scanning is not currently supported on Apple Products.
323
+
>Escaneamento WIFI atualmente não são suportados nos produtos Apple.
324
324
325
325
<aid="docs-common-usage"></a>
326
-
##Common QrCode Usage
326
+
##Uso Comum do QRCode
327
327
328
-
You can use a prefix found in the table below inside the`generate`section to create a QrCode to store more advanced information:
328
+
Você pode usar um prefixo listado na tabela abaixo dentro da seção`generate`para criar um QrCode para armazenar informações mais avançadas:
0 commit comments