diff options
author | Anthony Fok <foka@debian.org> | 2018-06-14 13:37:20 -0600 |
---|---|---|
committer | Iru Cai (vimacs) <mytbk920423@gmail.com> | 2018-06-15 00:43:25 +0000 |
commit | 3ee241328fdb9210a10fa6f1eca2664a5c30fdf5 (patch) | |
tree | c9af6973b1bcf84948368a8fb3ee0c01cd6923c2 /res/script | |
parent | 7c1e8b2bde592430934a96d3f6e2815956fc26f1 (diff) | |
download | fqterm-3ee241328fdb9210a10fa6f1eca2664a5c30fdf5.tar.xz |
Fix some minor typos
Credit: "Unknow" was detected by Lintian, see https://bugs.debian.org/898537
Diffstat (limited to 'res/script')
-rw-r--r-- | res/script/buildindex.js | 4 | ||||
-rw-r--r-- | res/script/download.py | 8 | ||||
-rw-r--r-- | res/script/downloadelite.js | 4 | ||||
-rw-r--r-- | res/script/downloadelite_smth.js | 4 | ||||
-rw-r--r-- | res/script/system.py | 2 |
5 files changed, 11 insertions, 11 deletions
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) '</head>\n'+
'<body>\n'+
'<p><b><h1>FQTerm Article Downloader</h1></b></p>\n'+
- '<p><p align=center><a href=' + (num - 1) + '.html>Prevoius</a>\n'+
+ '<p><p align=center><a href=' + (num - 1) + '.html>Previous</a>\n'+
'<a href=index.html>Index</a>\n'+
'<a href=' + (num + 1) + '.html>Next</a></p align=center></p>'+
'<hr><p></p>\n';
@@ -26,7 +26,7 @@ var make_html_ender = function(num) {
num = parseInt(num);
var result = '<hr><p></p>\n'+
- '<p><p align=center><a href=' + (num - 1) + '.html>Prevoius</a>\n'+
+ '<p><p align=center><a href=' + (num - 1) + '.html>Previous</a>\n'+
'<a href=index.html>Index</a>\n'+
'<a href=' + (num + 1) + '.html>Next</a></p align=center></p>\n'+
'<p><b>FQTerm --- BBS client based on Qt library</b><p>\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): </head>""") hfile.write("<body>") hfile.write("<p><b><h1>FQTerm Article Downloader</h1></b></p>") - txt="""<p><p align=center><a href=%d.html>Prevoius</a> + txt="""<p><p align=center><a href=%d.html>Previous</a> <a href=index.html>Index</a> <a href=%d.html>Next</a></p align=center></p>""" % (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("<hr><p></p>") - txt="""<p><p align=center><a href=%d.html>Prevoius</a> + txt="""<p><p align=center><a href=%d.html>Previous</a> <a href=index.html>Index</a> <a href=%d.html>Next</a></p align=center></p>""" % (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) '</head>\n'+
'<body>\n'+
'<p><b><h1>FQTerm Article Downloader</h1></b></p>\n'+
- '<p><p align=center><a href=' + (num - 1) + '.html>Prevoius</a>\n'+
+ '<p><p align=center><a href=' + (num - 1) + '.html>Previous</a>\n'+
'<a href=index.html>Index</a>\n'+
'<a href=' + (num + 1) + '.html>Next</a></p align=center></p>'+
'<hr><p></p>\n';
@@ -45,7 +45,7 @@ var make_html_ender = function(num) {
num = parseInt(num);
var result = '<hr><p></p>\n'+
- '<p><p align=center><a href=' + (num - 1) + '.html>Prevoius</a>\n'+
+ '<p><p align=center><a href=' + (num - 1) + '.html>Previous</a>\n'+
'<a href=index.html>Index</a>\n'+
'<a href=' + (num + 1) + '.html>Next</a></p align=center></p>\n'+
'<p><b>FQTerm --- BBS client based on Qt library</b><p>\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) '</head>\n'+
'<body>\n'+
'<p><b><h1>FQTerm Article Downloader</h1></b></p>\n'+
- '<p><p align=center><a href=' + (num - 1) + '.html>Prevoius</a>\n'+
+ '<p><p align=center><a href=' + (num - 1) + '.html>Previous</a>\n'+
'<a href=index.html>Index</a>\n'+
'<a href=' + (num + 1) + '.html>Next</a></p align=center></p>'+
'<hr><p></p>\n';
@@ -66,7 +66,7 @@ var make_html_ender = function(num) {
num = parseInt(num);
var result = '<hr><p></p>\n'+
- '<p><p align=center><a href=' + (num - 1) + '.html>Prevoius</a>\n'+
+ '<p><p align=center><a href=' + (num - 1) + '.html>Previous</a>\n'+
'<a href=index.html>Index</a>\n'+
'<a href=' + (num + 1) + '.html>Next</a></p align=center></p>\n'+
'<p><b>FQTerm --- BBS client based on Qt library</b><p>\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() |