From 3ee241328fdb9210a10fa6f1eca2664a5c30fdf5 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Thu, 14 Jun 2018 13:37:20 -0600 Subject: Fix some minor typos Credit: "Unknow" was detected by Lintian, see https://bugs.debian.org/898537 --- res/script/buildindex.js | 4 ++-- res/script/download.py | 8 ++++---- res/script/downloadelite.js | 4 ++-- res/script/downloadelite_smth.js | 4 ++-- res/script/system.py | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'res/script') diff --git a/res/script/buildindex.js b/res/script/buildindex.js index d5235d4..b40ba22 100644 --- a/res/script/buildindex.js +++ b/res/script/buildindex.js @@ -15,7 +15,7 @@ var make_html_header = function(num) '\n'+ '\n'+ '

FQTerm Article Downloader

\n'+ - '

Prevoius\n'+ + '

Previous\n'+ 'Index\n'+ 'Next

'+ '

\n'; @@ -26,7 +26,7 @@ var make_html_ender = function(num) { num = parseInt(num); var result = '

\n'+ - '

Prevoius\n'+ + '

Previous\n'+ 'Index\n'+ 'Next

\n'+ '

FQTerm --- BBS client based on Qt library

\n'+ diff --git a/res/script/download.py b/res/script/download.py index 8a5a815..e0571b3 100644 --- a/res/script/download.py +++ b/res/script/download.py @@ -6,8 +6,8 @@ download the directory * add this changelog Notes: - 1. make sure the path is empty, otherwise mkdir complain and stopped - 2. the time for sleep() varies dependent on sites + 1. make sure the path is empty, otherwise mkdir would complain and stop + 2. the time for sleep() varies depending on sites 3. tested for FireBird BBS only Bugs: 1. @@ -49,7 +49,7 @@ def write_html_header(hfile, num): """) hfile.write("") hfile.write("

FQTerm Article Downloader

") - txt="""

Prevoius + txt="""

Previous Index Next

""" % (num-1,num+1) hfile.write(txt) @@ -57,7 +57,7 @@ def write_html_header(hfile, num): def write_html_ender(hfile,num): hfile.write("

") - txt="""

Prevoius + txt="""

Previous Index Next

""" % (num-1,num+1) hfile.write(txt) diff --git a/res/script/downloadelite.js b/res/script/downloadelite.js index b835d6b..eddf3c3 100644 --- a/res/script/downloadelite.js +++ b/res/script/downloadelite.js @@ -34,7 +34,7 @@ var make_html_header = function(num) '\n'+ '\n'+ '

FQTerm Article Downloader

\n'+ - '

Prevoius\n'+ + '

Previous\n'+ 'Index\n'+ 'Next

'+ '

\n'; @@ -45,7 +45,7 @@ var make_html_ender = function(num) { num = parseInt(num); var result = '

\n'+ - '

Prevoius\n'+ + '

Previous\n'+ 'Index\n'+ 'Next

\n'+ '

FQTerm --- BBS client based on Qt library

\n'+ diff --git a/res/script/downloadelite_smth.js b/res/script/downloadelite_smth.js index 42a9d2f..808e0af 100644 --- a/res/script/downloadelite_smth.js +++ b/res/script/downloadelite_smth.js @@ -55,7 +55,7 @@ var make_html_header = function(num) '\n'+ '\n'+ '

FQTerm Article Downloader

\n'+ - '

Prevoius\n'+ + '

Previous\n'+ 'Index\n'+ 'Next

'+ '

\n'; @@ -66,7 +66,7 @@ var make_html_ender = function(num) { num = parseInt(num); var result = '

\n'+ - '

Prevoius\n'+ + '

Previous\n'+ 'Index\n'+ 'Next

\n'+ '

FQTerm --- BBS client based on Qt library

\n'+ diff --git a/res/script/system.py b/res/script/system.py index 70f9c51..078535f 100644 --- a/res/script/system.py +++ b/res/script/system.py @@ -24,7 +24,7 @@ def previewYTHT(lp): if re.search('http://ytht.net/Ytht.Net' \ '(\S+)/con\?B=(\d+)&F=M\.(\d+)\.A', URL) != None: # ytht article URL - print 'Analizing ytht article URL' + print 'Analyzing ytht article URL' f_con = urllib.urlopen(URL) con = f_con.read() f_con.close() -- cgit v1.2.3