all: change most translate statements to new format, some need manual cleanup
[project/luci.git] / applications / luci-diag-core / luasrc / controller / luci_diag.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 require("luci.i18n")
15
16 module("luci.controller.luci_diag", package.seeall)
17
18 function index()
19 require("luci.i18n")
20 luci.i18n.loadc("diag_core")
21
22 local e = entry({"admin", "network", "diag_config"}, template("diag/network_config_index") , luci.i18n.translate("Configure Diagnostics"), 120)
23 e.index = true
24 e.i18n = "diag_core"
25 e.dependent = true
26
27 e = entry({"mini", "diag"}, template("diag/index"), luci.i18n.translate("l_d_diag"), 120)
28 e.index = true
29 e.i18n = "diag_core"
30 e.dependent = true
31 end