libs/cbi: Fixed MultiValue select widget
[project/luci.git] / modules / admin-core / luasrc / model / cbi / admin_system / fstab.lua
index d705743a0f585337ed4cb84305f22a8f569200d1..be2562ca0fe06a28dc60bca2a51de5afbbde6407 100644 (file)
@@ -1,25 +1,34 @@
-m = Map("fstab", "Einhängepunkte")
+--[[
+LuCI - Lua Configuration Interface
 
-mount = m:section(TypedSection, "mount", "Einhängepunkte", [[Einhängepunkte bestimmen, an welcher Stelle des Dateisystems
-bestimmte Laufwerke und Speicher zur Verwendung eingebunden werden.]])
+Copyright 2008 Steven Barth <steven@midlink.org>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+]]--
+m = Map("fstab", translate("a_s_fstab"))
+
+mount = m:section(TypedSection, "mount", translate("a_s_fstab_mountpoints"), translate("a_s_fstab_mountpoints1"))
 mount.anonymous = true
 mount.addremove = true
 
-mount:option(Flag, "enabled", "aktivieren")
-mount:option(Value, "device", "Gerät", "Die Gerätedatei des Speichers oder der Partition (z.B.: /dev/sda)")
-mount:option(Value, "target", "Einhängepunkt", "Die Stelle an der der Speicher in das Dateisystem eingehängt wird.")
-mount:option(Value, "fstype", "Dateisystem", "Das Dateisystem mit dem der Speicher formatiert ist (z.B.: ext3)")
-mount:option(Value, "options", "Optionen", "Weitere Optionen (siehe das Handbuch des Befehls 'mount')")
+mount:option(Flag, "enabled", translate("enable"))
+mount:option(Value, "device", translate("device"), translate("a_s_fstab_device1"))
+mount:option(Value, "target", translate("a_s_fstab_mountpoint"))
+mount:option(Value, "fstype", translate("filesystem"), translate("a_s_fstab_fs1"))
+mount:option(Value, "options", translate("options"), translatef("manpage", "siehe '%s' manpage", "mount"))
 
 
-swap = m:section(TypedSection, "swap", "SWAP", [[Falls der Arbeitsspeicher des Routers nicht ausreicht,
-kann dieser nicht benutzte Daten zeitweise auf einem SWAP-Laufwerk auslagern um so die
-effektive Größe des Arbeitsspeichers zu erhöhen. Die Auslagerung der Daten ist natürlich bedeutend langsamer
-als direkte Arbeitsspeicherzugriffe.]])
+swap = m:section(TypedSection, "swap", "SWAP", translate("a_s_fstab_swap1"))
 swap.anonymous = true
 swap.addremove = true
 
-swap:option(Flag, "enabled", "aktivieren")
-swap:option(Value, "device", "Gerät", "Die Gerätedatei des Speichers oder der Partition (z.B.: /dev/sda)")
+swap:option(Flag, "enabled", translate("enable"))
+swap:option(Value, "device", translate("device"), translate("a_s_fstab_device1"))
 
 return m