all: change most translate statements to new format, some need manual cleanup
[project/luci.git] / applications / luci-voice-core / luasrc / controller / luci_voice.lua
1 --[[
2
3 Luci Voice Core
4 (c) 2009 Daniel Dickinson
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 ]]--
13
14
15 module("luci.controller.luci_voice", package.seeall)
16
17 function index()
18    require("luci.i18n")
19    luci.i18n.loadc("voice_core")
20
21    local e = entry({"admin", "voice"}, template("luci_voice/index") , luci.i18n.translate("Voice"), 90)
22    e.index = true
23    e.i18n = "voice_core"
24
25    e = entry({"mini", "voice"}, template("luci_voice/index"), luci.i18n.translate("Voice"), 90)
26    e.index = true
27    e.i18n = "voice_core"
28
29    e = entry({"mini", "voice", "phones"}, template("luci_voice/phone_index"), luci.i18n.translate("Phones"), 90)
30    e.index = true
31    e.i18n = "voice_core"
32
33    e = entry({"admin", "voice", "phones"}, template("luci_voice/phone_index"), luci.i18n.translate("l_v_adminphones"), 90)
34    e.index = true
35    e.i18n = "voice_core"
36
37 end