summaryrefslogtreecommitdiff
path: root/help/da/warning.page
diff options
context:
space:
mode:
Diffstat (limited to 'help/da/warning.page')
-rw-r--r--help/da/warning.page24
1 files changed, 24 insertions, 0 deletions
diff --git a/help/da/warning.page b/help/da/warning.page
new file mode 100644
index 00000000..54dd31de
--- /dev/null
+++ b/help/da/warning.page
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<page xmlns="http://projectmallard.org/1.0/" type="topic" id="warning" xml:lang="da">
+ <info>
+ <link type="guide" xref="message"/>
+ <desc>Brug tilvalget <cmd>--warning</cmd>.</desc>
+ </info>
+ <title>Advarselsdialog</title>
+ <p>Brug tilvalget <cmd>--warning</cmd> til at oprette en advarselsdialog.</p>
+
+ <p>Følgende eksempelscript viser, hvordan man opretter en advarselsdialog:</p>
+
+<code>
+#!/bin/bash
+
+zenity --warning \
+--text="Træk strømkablet ud for at undgå elektrisk stød."
+</code>
+
+ <figure>
+ <title>Eksempel på advarselsdialog</title>
+ <desc>Eksempel på advarselsdialog til <app>Zenity</app></desc>
+ <media type="image" mime="image/png" src="figures/zenity-warning-screenshot.png"/>
+ </figure>
+</page>
bgstack15