# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2012-08-25 11:30-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: Plain text #, no-wrap msgid "[[!meta robots=\"noindex, follow\"]]\n" msgstr "" #. type: Plain text #, no-wrap msgid "" "[[!if test=\"enabled(attachment)\"\n" " then=\"This wiki has attachments **enabled**.\"\n" " else=\"This wiki has attachments **disabled**.\"]]\n" msgstr "" #. type: Plain text msgid "" "If attachments are enabled, the wiki admin can control what types of " "attachments will be accepted, via the `allowed_attachments` configuration " "setting." msgstr "" #. type: Plain text msgid "" "For example, to limit most users to uploading small images, and nothing " "else, while allowing larger mp3 files to be uploaded by joey into a specific " "directory, and check all attachments for viruses, something like this could " "be used:" msgstr "" #. type: Plain text #, no-wrap msgid "" "\tvirusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) " "and maxsize(15mb)) or (mimetype(image/*) and maxsize(50kb)))\n" msgstr "" #. type: Plain text msgid "" "The regular [[ikiwiki/PageSpec]] syntax is expanded with the following " "additional tests:" msgstr "" #. type: Bullet: '* ' msgid "" "\"`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." msgstr "" #. type: Bullet: '* ' msgid "" "\"`minsize(size)`\" - tests whether the attachment is no smaller than the " "specified size." msgstr "" #. type: Bullet: '* ' msgid "" "\"`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)." msgstr "" #. type: Plain text #, no-wrap msgid "" " So, if you don't want to allow wiki pages to be uploaded as attachments,\n" " use `!ispage()` ; if you only want to allow wiki pages to be uploaded\n" " as attachments, use `ispage()`.\n" msgstr "" #. type: Bullet: '* ' msgid "" "\"`mimetype(foo/bar)`\" - checks the MIME type of the attachment. You can " "include a glob in the type, for example `mimetype(image/*)`." msgstr "" #. type: Bullet: '* ' msgid "\"`virusfree()`\" - checks the attachment with an antiviral program." msgstr ""