写作这个程序的时候,正值家乡冬樱花盛开,便以此为名。
- [X] 让密码验证这部分可以工作了
- [X] 欢迎界面要生成数据库文件,配置文件,密钥文件
- [X] 完善语言资源文件
- [X] 完成设置对话框
- [X] logo应该再改一下,现在这个太丑了
- [X] 在 res804 工程里添加了生成后事件,用
ResText.exe
处理生成po文件进行翻译 - [X] 从 TortoiseSVN 的源码里找到了它用于国际化的工具
ResText.exe
,用这个处理dll生成po文件,然后用poedit翻译 - [ ] 软件文档要写,并通过菜单打开,写成html吧,就是这个org文件生成的html
- [ ] 完成导出功能
- [ ] static 控件在设置文字时要先清空一遍,不然会覆盖
- [ ] 当edit控件为空时,提示框也要清空
- [ ] 界面文字字号字体要统一
- [ ] 国际化开发,继续翻译
- [ ] 处理第一次运行的欢迎界面,做一个介绍和展示,优化界面显示
樱花 是一个用来管理各种账户的程序,它将各种各样的账户如微信账号,微博账号,电子邮件账号等保存在数据库中,并加密存储。在读取的时候,使用拼音首字母或者全拼或者字符来快速获取账号信息。
- 支持拼音首字母、全拼、部分拼音、中文的快速搜索
- 加密保存密码和数据
- 支持导出账户
- 多国语言支持,目前有中文和英语
- SQLite 3
- OpenSSL 的加密库
- 网上找的一份拼音表
- TortoiseSVN 的 Restext 工具
需要一个表: accounts
表结构如下:
field | id | tag | category | url |
---|---|---|---|---|
col | 0 | 1 | 2 | 3 |
type | integer | text | text | text |
property | primary key | unique not null | ||
value | 1,2,3 | www | www.google.com | |
length | auto | 20 | 20 | 200 |
field | user | password | note | lastmod | pyshort | pyfull |
---|---|---|---|---|---|---|
col | 4 | 5 | 6 | 7 | 8 | 9 |
type | text | text | text | nowtime | text | text |
property | not null default | |||||
value | ruoshui | mima | google account | 1990-02-14 14:21:03 | ||
length | 100 | 16 | 200 | 20 | 20 | 100 |
create table accounts(
id integer primary key,
tag text unique not null,
category text,
url text,
user text,
password text,
phone text,
mail text,
note text,
lastmod TimeStamp NOT NULL DEFAULT (datetime('now','localtime')),
pyshort text, pyfull text);
insert into accounts (tag, category, url, user, password, phone, mail, note, pyshort, pyfull)
values("tag" "category" "url" "user" "password" "phone" "mail" "note" "pyshort" "pyfull");
update accounts set category="category" url="url" user="user" password="password" phone="phone"
mail="mail" notes="notes" lastmodified="datetime('now','localtime')" where tag="tag";
delete from accounts where tag="tag";
使用了来自 TortoiseSVN 的资源 dll 处理工具 ResText
,它将纯资源 dll 解析出来,生成 po 文件供翻译,然后用翻译好的文件生成新的资源 dll。