diff options
Diffstat (limited to 'help/pt_BR/warning.page')
-rw-r--r-- | help/pt_BR/warning.page | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/help/pt_BR/warning.page b/help/pt_BR/warning.page new file mode 100644 index 00000000..5694d890 --- /dev/null +++ b/help/pt_BR/warning.page @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<page xmlns="http://projectmallard.org/1.0/" type="topic" id="warning" xml:lang="pt-BR"> + <info> + <link type="guide" xref="message"/> + <desc>Use a opção <cmd>--warning</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 aviso</title> + <p>Use a opção <cmd>--warning</cmd> para criar um diálogo de aviso.</p> + + <p>O script de exemplo a seguir mostra como criar um diálogo de aviso:</p> + +<code> +#!/bin/bash + +zenity --warning \ +--text="Desconecte o cabo de energia para evitar choque elétrico." +</code> + + <figure> + <title>Exemplo de diálogo de aviso</title> + <desc>Exemplo de diálogo de aviso do <app>Zenity</app></desc> + <media type="image" mime="image/png" src="figures/zenity-warning-screenshot.png"/> + </figure> +</page> |