摘要:
import java.io.*;import java.text.SimpleDateFormat;import java.util.*;import java.util.logging.Logger;public class AndyLogger{ //The defaulted root path of SSLVPN installation private static String rootPath = "C:\\temp2"; //variable for creating new line private final static String enter = 阅读全文
posted @ 2012-07-23 15:19
功夫 熊猫
阅读(955)
评论(0)
推荐(0)
摘要:
一. samba的安装:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->sudoapt-getinsallsambasudoapt-getinstallsmbfs二. 创建共享目录:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->mkdir/home/phinecos/sharesoduch 阅读全文
posted @ 2012-07-23 14:46
功夫 熊猫
阅读(396)
评论(0)
推荐(0)
摘要:
Python通过gettext模块支持国际化(i18n),可以实现程序的多语言界面的支持,下面是我的多语言支持实现:1. 在python安装目录下的./Tools/i18n/(windows下例 D:\Program Files\Python25\Tools\i18n)目录中找到pygettext.py运行之,生成翻译文件模版messages.pot,内容大概是这个样子:# SOME DESCRIPTIVE TITLE.# Copyright (C) YEAR ORGANIZATION# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.#msgid " 阅读全文
posted @ 2012-07-23 14:45
功夫 熊猫
阅读(7518)
评论(1)
推荐(1)