summaryrefslogtreecommitdiff
path: root/ikiwiki/pagespec
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-10-23 03:57:20 +0200
committerJonas Smedegaard <dr@jones.dk>2008-10-23 03:57:20 +0200
commitef6324a81724619a7811a964200208f5c808ac10 (patch)
tree602e2e039614966ba26f743b47e19a542d24940f /ikiwiki/pagespec
parent9294a714d1c19347ab06e9ea87b89d9e9dce3ee0 (diff)
Apply translation from po-file.master-nbmaster-da
Diffstat (limited to 'ikiwiki/pagespec')
-rw-r--r--ikiwiki/pagespec/attachment.mdwn48
1 files changed, 24 insertions, 24 deletions
diff --git a/ikiwiki/pagespec/attachment.mdwn b/ikiwiki/pagespec/attachment.mdwn
index 2d33db7..e7e25b0 100644
--- a/ikiwiki/pagespec/attachment.mdwn
+++ b/ikiwiki/pagespec/attachment.mdwn
@@ -1,37 +1,37 @@
[[!meta robots="noindex, follow"]]
[[!if test="enabled(attachment)"
- then="This wiki has attachments **enabled**."
- else="This wiki has attachments **disabled**."]]
+ then="Denne wiki har vedhæftninger **aktiveret**."
+ else="Denne wiki har vedhæftninger **deaktiveret**."]]
-If attachments are enabled, the wiki admin can control what types of
-attachments will be accepted, via the `allowed_attachments`
-configuration setting.
+Hvis vedhæftninger er aktiveret, kan wiki-administratoren styre hvilke typer
+vedhæftninger der vil blive accepteret gennem opsætningsindstillingen
+`allowed_attachments`.
-For example, to limit arbitrary files to 50 kilobytes, but allow
-larger mp3 files to be uploaded by joey into a specific directory, and
-check all attachments for virii, something like this could be used:
+Som eksempel, for at begrænse vilkårlige filer til 50 kilobytes, men tillade
+større mp3-filer at blive lagt op af joey til en bestemt mappe, og checke
+alle vedhæftninger for vira, kunne noget i stil med dette bruges:
virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or (!ispage() and maxsize(50kb)))
-The regular [[ikiwiki/PageSpec]] syntax is expanded with the following
-additional tests:
+Den normale [[ikiwiki/PageSpec]]-syntaks er udvidet med følgende yderligere
+tests:
-* "`maxsize(size)`" - Tests whether the attachment is no larger than the
- specified size. The size defaults to being in bytes, but "kb", "mb", "gb"
- etc can be used to specify the units.
+* "`maxsize(størrelse)`" - Tester hvorvidt vedhæftningen højst fylder den
+ angivne størrelse. Størrelsen angives som standard i bytes, men "kb",
+ "mb", "gb" osv. kan bruges til at angive enheder.
-* "`minsize(size)`" - Tests whether the attachment is no smaller than the
- specified size.
+* "`minsize(størrelse)`" - Tester hvorvidt størrelsen mindst fylder den
+ angivne størrelse.
-* "`ispage()`" - Tests whether the attachment will be treated by ikiwiki as a
- wiki page. (Ie, if it has an extension of ".mdwn", or of any other enabled
- page format).
+* "`ispage()`" - Tester hvorvidt vedhæftningen bliver håndteret af ikiwiki
+ som en wikiside. (altså om den har endelsen ".mdwn", eller et hvilket som
+ helst andet aktiveret sideformat).
- So, if you don't want to allow wiki pages to be uploaded as attachments,
- use `!ispage()` ; if you only want to allow wiki pages to be uploaded
- as attachments, use `ispage()`.
+ Derfor, hvis du ikke vil tillade wikisider at blive lagt op som vedhæftninger,
+ så brug `!ispage()` ; hvis du kun vil tillade wikisider at blive lagt op som
+ vedhæftninger, så brug `ispage()`.
-* "`mimetype(foo/bar)`" - This checks the MIME type of the attachment. You can
- include a glob in the type, for example `mimetype(image/*)`.
+* "`mimetype(foo/bar)`" - Dette checker MIME-typen for vedhæftningen. Du kan
+ angive et glob som type, eksampelvis `mimetype(image/*)`.
-* "`virusfree()`" - Checks the attachment with an antiviral program.
+* "`virusfree()`" - Checker vedhæftningen med et antivirusprogram.