summaryrefslogtreecommitdiff
path: root/help/da/password.page
diff options
context:
space:
mode:
Diffstat (limited to 'help/da/password.page')
-rw-r--r--help/da/password.page32
1 files changed, 13 insertions, 19 deletions
diff --git a/help/da/password.page b/help/da/password.page
index 5ed660d0..641df3b5 100644
--- a/help/da/password.page
+++ b/help/da/password.page
@@ -2,47 +2,41 @@
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="password" xml:lang="da">
<info>
<link type="guide" xref="index#dialogs"/>
- <desc>Use the <cmd>--password</cmd> option.</desc>
+ <desc>Brug tilvalget <cmd>--password</cmd>.</desc>
</info>
- <title>Password Dialog</title>
- <p>
- Use the <cmd>--password</cmd> option to create a password entry dialog.
- </p>
- <p>
- The password entry dialog supports the following options:
- </p>
+ <title>Adgangskodedialog</title>
+ <p>Brug tilvalget <cmd>--password</cmd> til at oprette en adgangskodedialog.</p>
+ <p>Adgangskodedialogen understøtter følgende tilvalg:</p>
<terms>
<item>
<title><cmd>--username</cmd></title>
- <p>Display the username field.</p>
+ <p>Vis feltet brugernavn.</p>
</item>
</terms>
- <p>
- The following example script shows how to create a password entry dialog:
- </p>
+ <p>Følgende eksempel viser, hvordan man opretter en adgangskodedialog:</p>
<code>
#!/bin/sh
-ENTRY=`zenity --password --username`
+TEKST=`zenity --password --username`
case $? in
0)
- echo "User Name: `echo $ENTRY | cut -d'|' -f1`"
- echo "Password : `echo $ENTRY | cut -d'|' -f2`"
+ echo "Brugernavn: `echo $TEKST | cut -d'|' -f1`"
+ echo "Adgangskode : `echo $TEKST | cut -d'|' -f2`"
;;
1)
- echo "Stop login.";;
+ echo "Stop indlogning.";;
-1)
- echo "An unexpected error has occurred.";;
+ echo "Der opstod en uventet fejl.";;
esac
</code>
<figure>
- <title>Password Entry Dialog Example</title>
- <desc><app>Zenity</app> password entry dialog example</desc>
+ <title>Eksempel på adgangskodedialog</title>
+ <desc>Eksempel på adgangskodedialog til <app>Zenity</app></desc>
<media type="image" mime="image/png" src="figures/zenity-password-screenshot.png"/>
</figure>
bgstack15