mirror of
https://github.com/openwrt/luci.git
synced 2026-02-04 12:06:01 +08:00
treewide: Fix typos in comments
Signed-off-by: David Yang <mmyangfl@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ find . -type f -name '*.lua' -path '*/controller/*' | while read controller; do
|
||||
package="${controller##*/controller/}"; package="${package%.lua}"; package="luci.controller.${package//\//.}"
|
||||
|
||||
if ! grep -sqE '\bmodule[[:space:]]*\(?[[:space:]]*("|\047|\[=*\[)'"$package" "$controller"; then
|
||||
echo "'$controller' does not containt the expected\n\t'module(\"$package\", ...)' line.\n"
|
||||
echo "'$controller' does not contain the expected\n\t'module(\"$package\", ...)' line.\n"
|
||||
fi
|
||||
|
||||
grep -sqE '\b(Form|SimpleForm)[[:space:]]*\(' "$model" && ! grep -sqE '\bMap[[:space:]]*\(' "$model" && is_form=1 || is_form=0
|
||||
|
||||
@@ -4,7 +4,7 @@ use strict;
|
||||
use warnings;
|
||||
use Text::Balanced qw(extract_bracketed extract_delimited extract_tagged);
|
||||
|
||||
@ARGV >= 1 || die "Usage: $0 <source direcory>\n";
|
||||
@ARGV >= 1 || die "Usage: $0 <source directory>\n";
|
||||
|
||||
|
||||
my %stringtable;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
-------------------------------------------------------------------------------
|
||||
-- LuaDoc configuration file. This file contains the default options for
|
||||
-- luadoc operation. These options can be overriden by the command line tool
|
||||
-- luadoc operation. These options can be overridden by the command line tool
|
||||
-- @see luadoc.print_help
|
||||
-- @release $Id: config.lua,v 1.6 2007/04/18 14:28:39 tomas Exp $
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user