提交 23cceaf0 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 289b5f7a
...@@ -320,7 +320,7 @@ public class Message { ...@@ -320,7 +320,7 @@ public class Message {
public static final int CANNOT_TRUNCATE_1 = 90106; public static final int CANNOT_TRUNCATE_1 = 90106;
public static final int CANNOT_DROP_2 = 90107; public static final int CANNOT_DROP_2 = 90107;
public static final int STACK_OVERFLOW = 90108; public static final int STACK_OVERFLOW = 90108;
public static final int VIEW_IS_INVALID_1 = 90109; public static final int VIEW_IS_INVALID_2 = 90109;
public static final int OVERFLOW_FOR_TYPE_1 = 90110; public static final int OVERFLOW_FOR_TYPE_1 = 90110;
public static final int ERROR_ACCESSING_LINKED_TABLE_1 = 90111; public static final int ERROR_ACCESSING_LINKED_TABLE_1 = 90111;
public static final int ROW_NOT_FOUND_WHEN_DELETING_1 = 90112; public static final int ROW_NOT_FOUND_WHEN_DELETING_1 = 90112;
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
90106=Cannot truncate {0} 90106=Cannot truncate {0}
90107=Cannot drop {0} because {1} depends on it 90107=Cannot drop {0} because {1} depends on it
90108=Stack overflow (recursive query or function?) 90108=Stack overflow (recursive query or function?)
90109=View {0} is invalid 90109=View {0} is invalid: {1}
90110={0} out of range 90110={0} out of range
90111=Error accessing linked table with SQL statement {0} 90111=Error accessing linked table with SQL statement {0}
90112=Row not found when trying to delete from index {0} 90112=Row not found when trying to delete from index {0}
......
...@@ -38,14 +38,17 @@ public class WebServer implements Service { ...@@ -38,14 +38,17 @@ public class WebServer implements Service {
{ "zh_CN", "\u4E2D\u6587"}, { "zh_CN", "\u4E2D\u6587"},
{ "ja", "\u65e5\u672c\u8a9e"}, { "ja", "\u65e5\u672c\u8a9e"},
{ "hu", "Magyar"}, { "hu", "Magyar"},
{ "in", "Indonesia"} { "in", "Indonesia"},
{ "pt_PT", "Portugu\u00eas (Europeu)"},
}; };
// String lang = new java.util.Locale("hu").getDisplayLanguage(new java.util.Locale("hu")); /*
// java.util.Locale.CHINESE.getDisplayLanguage( String lang = new java.util.Locale("hu").getDisplayLanguage(new java.util.Locale("hu"));
// java.util.Locale.CHINESE); java.util.Locale.CHINESE.getDisplayLanguage(
// for(int i=0; i<lang.length(); i++) java.util.Locale.CHINESE);
// System.out.println(Integer.toHexString(lang.charAt(i))+" "); for(int i=0; i<lang.length(); i++)
System.out.println(Integer.toHexString(lang.charAt(i))+" ");
*/
private static final long SESSION_TIMEOUT = 30 * 60 * 1000; // timeout is 30 min private static final long SESSION_TIMEOUT = 30 * 60 * 1000; // timeout is 30 min
private long lastTimeoutCheck; private long lastTimeoutCheck;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论