summaryrefslogtreecommitdiff
path: root/help/pt_BR/password.page
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@debian.org>2017-12-16 13:06:02 -0500
committerJeremy Bicha <jbicha@debian.org>2017-12-16 13:06:02 -0500
commitf821adc6c1844f3dbd59a5c51bb68fb80f295aa0 (patch)
tree28ff6652502c6adc1b661e0eb4dd3a8adbf60404 /help/pt_BR/password.page
parentInitial upstream branch (diff)
parentRelease: Prepare for 3.26.0 (diff)
downloadzenity-f821adc6c1844f3dbd59a5c51bb68fb80f295aa0.tar.gz
zenity-f821adc6c1844f3dbd59a5c51bb68fb80f295aa0.tar.bz2
zenity-f821adc6c1844f3dbd59a5c51bb68fb80f295aa0.zip
New upstream version 3.26.0
Diffstat (limited to 'help/pt_BR/password.page')
-rw-r--r--help/pt_BR/password.page55
1 files changed, 55 insertions, 0 deletions
diff --git a/help/pt_BR/password.page b/help/pt_BR/password.page
new file mode 100644
index 00000000..50bbcd14
--- /dev/null
+++ b/help/pt_BR/password.page
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<page xmlns="http://projectmallard.org/1.0/" type="topic" id="password" xml:lang="pt-BR">
+ <info>
+ <link type="guide" xref="index#dialogs"/>
+ <desc>Use a opção <cmd>--password</cmd>.</desc>
+
+ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
+ <mal:name>Rodolfo Ribeiro Gomes</mal:name>
+ <mal:email>rodolforg@gmail.com</mal:email>
+ <mal:years>2009</mal:years>
+ </mal:credit>
+
+ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
+ <mal:name>Rafael Fontenelle</mal:name>
+ <mal:email>rafaelff@gnome.org</mal:email>
+ <mal:years>2017</mal:years>
+ </mal:credit>
+ </info>
+ <title>Diálogo de senha</title>
+ <p>Use a opção <cmd>--password</cmd> para criar um diálogo indicador de progresso.</p>
+ <p>O diálogo de entrada de senha oferece suporte às seguintes opções:</p>
+
+ <terms>
+ <item>
+ <title><cmd>--username</cmd></title>
+ <p>Exibe o campo de nome de usuário.</p>
+ </item>
+ </terms>
+
+ <p>O script de exemplo a seguir mostra como criar um diálogo de entrada de senha:</p>
+
+<code>
+#!/bin/sh
+
+ENTRADA=`zenity --password --username`
+
+case $? in
+ 0)
+ echo "Nome de usuário: `echo $ENTRADA | cut -d'|' -f1`"
+ echo "Password : `echo $ENTRADA | cut -d'|' -f2`"
+ ;;
+ 1)
+ echo "Interromper início de sessão.";;
+ -1)
+ echo "Ocorreu um erro inesperado.";;
+esac
+</code>
+
+ <figure>
+ <title>Exemplo de diálogo de entrada de senha</title>
+ <desc>Exemplo de diálogo de entrada de texto do <app>Zenity</app></desc>
+ <media type="image" mime="image/png" src="figures/zenity-password-screenshot.png"/>
+ </figure>
+
+</page>
bgstack15