提交 d222cc6f authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 ad52cce5
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
Copyright 2004-2008 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html). Copyright 2004-2008 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html> <html><head>
<title>Source Code Viewer</title>
</head>
<script type="text/javascript"> <script type="text/javascript">
// <!-- // <!--
var line = 0, file = ''; var line = 0, file = '';
......
...@@ -4525,6 +4525,42 @@ FAQ and Known Bugs ...@@ -4525,6 +4525,42 @@ FAQ and Known Bugs
@search_1019_a @search_1019_a
License License
@sourceError_1000_h1
Online Error Analyzer
@sourceError_1001_a
Input
@sourceError_1002_h2
&nbsp; <a href="javascript:select('details')" id="detailsTab">Details</a> &nbsp; <a href="javascript:select('source')" id="sourceTab">Source Code</a>
@sourceError_1003_p
Fill in the error message and stack trace and click on 'Details' or 'Source Code':
@sourceError_1004_b
Error Code:
@sourceError_1005_b
Product Version:
@sourceError_1006_b
Message:
@sourceError_1007_b
More Information:
@sourceError_1008_b
Stack Trace:
@sourceError_1009_b
Source File:
@sourceError_1010_p
Raw file
@sourceError_1011_p
(fast; only Firefox)
@tutorial_1000_h1 @tutorial_1000_h1
Tutorial Tutorial
......
...@@ -4534,6 +4534,42 @@ FAQ ...@@ -4534,6 +4534,42 @@ FAQ
@search_1019_a @search_1019_a
ライセンス ライセンス
@sourceError_1000_h1
#Online Error Analyzer
@sourceError_1001_a
#Input
@sourceError_1002_h2
#&nbsp; <a href="javascript:select('details')" id="detailsTab">Details</a> &nbsp; <a href="javascript:select('source')" id="sourceTab">Source Code</a>
@sourceError_1003_p
#Fill in the error message and stack trace and click on 'Details' or 'Source Code':
@sourceError_1004_b
#Error Code:
@sourceError_1005_b
#Product Version:
@sourceError_1006_b
メッセージ:
@sourceError_1007_b
#More Information:
@sourceError_1008_b
#Stack Trace:
@sourceError_1009_b
#Source File:
@sourceError_1010_p
#Raw file
@sourceError_1011_p
#(fast; only Firefox)
@tutorial_1000_h1 @tutorial_1000_h1
チュートリアル チュートリアル
......
...@@ -1507,6 +1507,18 @@ search_1016_a=Build ...@@ -1507,6 +1507,18 @@ search_1016_a=Build
search_1017_a=History and Roadmap search_1017_a=History and Roadmap
search_1018_a=FAQ and Known Bugs search_1018_a=FAQ and Known Bugs
search_1019_a=License search_1019_a=License
sourceError_1000_h1=Online Error Analyzer
sourceError_1001_a=Input
sourceError_1002_h2=&nbsp; <a href\="javascript\:select('details')" id\="detailsTab">Details</a> &nbsp; <a href\="javascript\:select('source')" id\="sourceTab">Source Code</a>
sourceError_1003_p=Fill in the error message and stack trace and click on 'Details' or 'Source Code'\:
sourceError_1004_b=Error Code\:
sourceError_1005_b=Product Version\:
sourceError_1006_b=Message\:
sourceError_1007_b=More Information\:
sourceError_1008_b=Stack Trace\:
sourceError_1009_b=Source File\:
sourceError_1010_p=Raw file
sourceError_1011_p=(fast; only Firefox)
tutorial_1000_h1=Tutorial tutorial_1000_h1=Tutorial
tutorial_1001_a=Starting and Using the H2 Console tutorial_1001_a=Starting and Using the H2 Console
tutorial_1002_a=Connecting to a Database using JDBC tutorial_1002_a=Connecting to a Database using JDBC
......
...@@ -64,7 +64,8 @@ public class LinkChecker { ...@@ -64,7 +64,8 @@ public class LinkChecker {
ArrayList errors = new ArrayList(); ArrayList errors = new ArrayList();
for (Iterator it = links.keySet().iterator(); it.hasNext();) { for (Iterator it = links.keySet().iterator(); it.hasNext();) {
String link = (String) it.next(); String link = (String) it.next();
if (!link.startsWith("http") && !link.endsWith("h2.pdf") && link.indexOf("_ja.") < 0) { if (!link.startsWith("http") && !link.endsWith("h2.pdf")
&& link.indexOf("_ja.") < 0) {
if (targets.get(link) == null) { if (targets.get(link) == null) {
errors.add(links.get(link) + ": missing link " + link); errors.add(links.get(link) + ": missing link " + link);
} }
...@@ -161,6 +162,12 @@ public class LinkChecker { ...@@ -161,6 +162,12 @@ public class LinkChecker {
if (type.equals("href")) { if (type.equals("href")) {
if (ref.startsWith("http:") || ref.startsWith("https:")) { if (ref.startsWith("http:") || ref.startsWith("https:")) {
// ok // ok
} else if (ref.startsWith("javascript:")) {
ref = null;
// ok
} else if (ref.length() == 0) {
ref = null;
// ok
} else if (ref.startsWith("#")) { } else if (ref.startsWith("#")) {
ref = path + ref; ref = path + ref;
} else { } else {
...@@ -175,7 +182,9 @@ public class LinkChecker { ...@@ -175,7 +182,9 @@ public class LinkChecker {
} }
ref = p + "/" + ref; ref = p + "/" + ref;
} }
if (ref != null) {
links.put(ref, path); links.put(ref, path);
}
} else if (type.equals("name")) { } else if (type.equals("name")) {
targets.put(path + "#" + ref, "name"); targets.put(path + "#" + ref, "name");
} else { } else {
......
...@@ -523,4 +523,4 @@ thousands ridvan incremented slots debugging inherit agar fulvio invisible biond ...@@ -523,4 +523,4 @@ thousands ridvan incremented slots debugging inherit agar fulvio invisible biond
turkish fulfils iapi filesync turkish fulfils iapi filesync
compares packets destroying echo homed hosts clock countries validated catches turning staging kills distance morning performs internationalization simulator constructed nicer compares packets destroying echo homed hosts clock countries validated catches turning staging kills distance morning performs internationalization simulator constructed nicer
echo callablestatement procid homed getstart staging prices meantime qujd qujdra qui divided quaere restrictions hudson scoped design inverting newlines echo callablestatement procid homed getstart staging prices meantime qujd qujdra qui divided quaere restrictions hudson scoped design inverting newlines
violate verysmallint eremainder iee cgi adjust estimation consumption occupy ikvm violate verysmallint eremainder iee cgi adjust estimation consumption occupy ikvm light gray viewer
...@@ -259,7 +259,7 @@ public class PrepareTranslation { ...@@ -259,7 +259,7 @@ public class PrepareTranslation {
} else { } else {
buff.append(clean(trim)); buff.append(clean(trim));
} }
} else if ("pre".equals(tag) || "title".equals(tag) || "script".equals(tag)) { } else if ("pre".equals(tag) || "title".equals(tag) || "script".equals(tag) || "style".equals(tag)) {
// ignore, don't translate // ignore, don't translate
template.append(s); template.append(s);
} else { } else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论