* Core translation
[project/luci.git] / modules / admin-core / luasrc / model / cbi / admin_system / fstab.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2008 Steven Barth <steven@midlink.org>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13 ]]--
14 m = Map("fstab", translate("a_s_fstab", "Einhängepunkte"))
15
16 mount = m:section(TypedSection, "mount", translate("a_s_fstab_mountpoints", "Einhängepunkte"), translate("a_s_fstab_mountpoints1", [[Einhängepunkte bestimmen, an welcher Stelle des Dateisystems
17 bestimmte Laufwerke und Speicher zur Verwendung eingebunden werden.]]))
18 mount.anonymous = true
19 mount.addremove = true
20
21 mount:option(Flag, "enabled", translate("enable", "aktivieren"))
22 mount:option(Value, "device", translate("device", "Gerät"), translate("a_s_fstab_device1", "Die Gerätedatei des Speichers oder der Partition (z.B.: /dev/sda)"))
23 mount:option(Value, "target", translate("a_s_fstab_mountpoint", "Einhängepunkt"))
24 mount:option(Value, "fstype", translate("filesystem", "Dateisystem"), translate("a_s_fstab_fs1", "Das Dateisystem mit dem der Speicher formatiert ist (z.B.: ext3)"))
25 mount:option(Value, "options", translate("options", "Optionen"), translatef("manpage", "siehe '%s' manpage", "mount"))
26
27
28 swap = m:section(TypedSection, "swap", "SWAP", translate("a_s_fstab_swap1", [[Falls der Arbeitsspeicher des Routers nicht ausreicht,
29 kann dieser nicht benutzte Daten zeitweise auf einem SWAP-Laufwerk auslagern um so die
30 effektive Größe des Arbeitsspeichers zu erhöhen. Die Auslagerung der Daten ist natürlich bedeutend langsamer
31 als direkte Arbeitsspeicherzugriffe.]]))
32 swap.anonymous = true
33 swap.addremove = true
34
35 swap:option(Flag, "enabled", translate("enable", "aktivieren"))
36 swap:option(Value, "device", translate("device", "Gerät"), translate("a_s_fstab_device1", "Die Gerätedatei des Speichers oder der Partition (z.B.: /dev/sda)"))
37
38 return m