redacted / XKCD-password-generator

Generate secure multiword passwords/passphrases, inspired by XKCD
BSD 3-Clause "New" or "Revised" License
1.32k stars 185 forks source link

新增语种支持,及增加辅助记忆功能 #143

Closed Zyx-A closed 10 months ago

Zyx-A commented 2 years ago

1、新增汉语拼音字典。 2、新增参数 -t ,用于母语为非字母文字的翻译,用于辅助记忆;并对字典文件解析方法做了兼容,允许在字典文件的第二列中,添加翻译内容。 3、汉语拼音字典数据源源自:https://gist.github.com/indiejoseph/eae09c673460aa0b56db 4、汉语字典文件生成代码参考:https://github.com/sorz/xkcd-password-generator-cn 5、因为我未能找到原作者的许可授权信息,我只能将原作者的链接贴出来,如果不符合相关的授权要求,请联系我,或麻烦管理员进行修改或屏蔽相关的代码。 6、非常抱歉,我的英语能力非常烂,我就直接使用我的母语书写了,对您造成的不便我深表歉意。

anakimluke commented 2 years ago

This seems to be about adding chinese wordlists and there's also something with jupyter notebooks...

Would you add a description in english for those of us who don't speak chinese? :)

Zyx-A commented 2 years ago

非常抱歉给您带来的不便,我将使用Google翻译帮助您理解我提交的内容。我会同时贴上双语内容,真实意思表达以中文为准。

以下是原提交内容: 1、新增汉语拼音字典。 2、新增参数 -t ,用于母语为非字母文字的翻译,用于辅助记忆;并对字典文件解析方法做了兼容,允许在字典文件的第二列中,添加翻译内容。(PS:此功能不仅可以用于汉语,还可以用于日语、韩语、阿拉伯语、英语自定义缩略单词等需要显示方式转换的语言、单词、词组) 3、汉语拼音字典数据源源自:https://gist.github.com/indiejoseph/eae09c673460aa0b56db 4、汉语字典文件生成代码参考:https://github.com/sorz/xkcd-password-generator-cn 5、因为我未能找到原作者的许可授权信息,我只能将原作者的链接贴出来,如果不符合相关的授权要求,请联系我,或麻烦管理员进行修改或屏蔽相关的代码。 6、非常抱歉,我的英语能力非常烂,我就直接使用我的母语书写了,对您造成的不便我深表歉意。

Sorry for the inconvenience, I will use Google Translate to help you understand the content I submitted. I will post bilingual content at the same time, and the true meaning is expressed in Chinese.

The following is the original submission:

  1. Added a Chinese Pinyin dictionary.
  2. The new parameter -t is used for the translation of non-letter words in the native language, which is used to assist memory; it is compatible with the parsing method of the dictionary file, and allows the translation content to be added in the second column of the dictionary file. (PS: This function can be used not only in Chinese, but also in Japanese, Korean, Arabic, and English custom abbreviated words, such as languages, words, and phrases that require display mode conversion)
  3. The source of the Chinese Pinyin dictionary data source: https://gist.github.com/indiejoseph/eae09c673460aa0b56db
  4. Chinese dictionary file generation code reference: https://github.com/sorz/xkcd-password-generator-cn
  5. Because I could not find the original author's authorization information, I can only post the original author's link. If it does not meet the relevant authorization requirements, please contact me or trouble the administrator to modify or block the relevant code.
  6. I'm very sorry, my English ability is very bad, I just used my native language to write directly, I apologize for the inconvenience caused to you.