forked from openkylin/ukui-search
add settings match
This commit is contained in:
parent
7113f68435
commit
f4de93a006
|
@ -0,0 +1,567 @@
|
|||
|
||||
<plugins>
|
||||
<plugin name="About">
|
||||
<pinyinPlugin>guanyu</pinyinPlugin>
|
||||
<pinyinfunc>banben</pinyinfunc>
|
||||
<ChinesePlugin>关于</ChinesePlugin>
|
||||
<ChineseFunc>版本</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="About">
|
||||
<pinyinPlugin>guanyu</pinyinPlugin>
|
||||
<pinyinfunc>neihe</pinyinfunc>
|
||||
<ChinesePlugin>关于</ChinesePlugin>
|
||||
<ChineseFunc>内核</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="About">
|
||||
<ChinesePlugin>关于</ChinesePlugin>
|
||||
<ChineseFunc>CPU</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="About">
|
||||
<pinyinPlugin>guanyu</pinyinPlugin>
|
||||
<pinyinfunc>neicun</pinyinfunc>
|
||||
<ChinesePlugin>关于</ChinesePlugin>
|
||||
<ChineseFunc>内存</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="About">
|
||||
<pinyinPlugin>guanyu</pinyinPlugin>
|
||||
<pinyinfunc>yingpan</pinyinfunc>
|
||||
<ChinesePlugin>关于</ChinesePlugin>
|
||||
<ChineseFunc>硬盘</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Area">
|
||||
<pinyinPlugin>yuyanhediqu</pinyinPlugin>
|
||||
<pinyinfunc>dangqianquyu</pinyinfunc>
|
||||
<ChinesePlugin>语言和地区</ChinesePlugin>
|
||||
<ChineseFunc>当前区域</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Area">
|
||||
<pinyinPlugin>yuyanhediqu</pinyinPlugin>
|
||||
<pinyinfunc>quyugeshishuju</pinyinfunc>
|
||||
<ChinesePlugin>语言和地区</ChinesePlugin>
|
||||
<ChineseFunc>区域格式数据</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Area">
|
||||
<pinyinPlugin>yuyanhediqu</pinyinPlugin>
|
||||
<pinyinfunc>shouxuanyuyan</pinyinfunc>
|
||||
<ChinesePlugin>语言和地区</ChinesePlugin>
|
||||
<ChineseFunc>首选语言</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Autoboot">
|
||||
<pinyinPlugin>kaijiqidong</pinyinPlugin>
|
||||
<pinyinfunc>morenchengxu</pinyinfunc>
|
||||
<ChinesePlugin>开机启动</ChinesePlugin>
|
||||
<ChineseFunc>默认程序</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Backup">
|
||||
<pinyinPlugin>huifuchuchangshezhi</pinyinPlugin>
|
||||
<pinyinfunc>huanyuan</pinyinfunc>
|
||||
<ChinesePlugin>恢复出厂设置</ChinesePlugin>
|
||||
<ChineseFunc>还原</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Datetime">
|
||||
<pinyinPlugin>shijianheriqi</pinyinPlugin>
|
||||
<pinyinfunc>tongbuxitongshijian</pinyinfunc>
|
||||
<ChinesePlugin>时间和日期</ChinesePlugin>
|
||||
<ChineseFunc>同步系统时间</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Datetime">
|
||||
<pinyinPlugin>shijianheriqi</pinyinPlugin>
|
||||
<pinyinfunc>shoudonggenggaishijian</pinyinfunc>
|
||||
<ChinesePlugin>时间和日期</ChinesePlugin>
|
||||
<ChineseFunc>手动更改时间</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Datetime">
|
||||
<pinyinPlugin>shijianheriqi</pinyinPlugin>
|
||||
<pinyinfunc>genggaishiqu</pinyinfunc>
|
||||
<ChinesePlugin>时间和日期</ChinesePlugin>
|
||||
<ChineseFunc>更改时区</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Datetime">
|
||||
<pinyinPlugin>shijianheriqi</pinyinPlugin>
|
||||
<pinyinfunc>xiaoshizhi</pinyinfunc>
|
||||
<ChinesePlugin>时间和日期</ChinesePlugin>
|
||||
<ChineseFunc>24小时制</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Defaultapp">
|
||||
<pinyinPlugin>morenyingyong</pinyinPlugin>
|
||||
<pinyinfunc>liulanqi</pinyinfunc>
|
||||
<ChinesePlugin>默认应用</ChinesePlugin>
|
||||
<ChineseFunc>浏览器</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Defaultapp">
|
||||
<pinyinPlugin>morenyingyong</pinyinPlugin>
|
||||
<pinyinfunc>dianziyoujian</pinyinfunc>
|
||||
<ChinesePlugin>默认应用</ChinesePlugin>
|
||||
<ChineseFunc>电子邮件</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Defaultapp">
|
||||
<pinyinPlugin>morenyingyong</pinyinPlugin>
|
||||
<pinyinfunc>tuxiangchakanqi</pinyinfunc>
|
||||
<ChinesePlugin>默认应用</ChinesePlugin>
|
||||
<ChineseFunc>图像查看器</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Defaultapp">
|
||||
<pinyinPlugin>morenyingyong</pinyinPlugin>
|
||||
<pinyinfunc>yinpinbofangqi</pinyinfunc>
|
||||
<ChinesePlugin>默认应用</ChinesePlugin>
|
||||
<ChineseFunc>音频播放器</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Defaultapp">
|
||||
<pinyinPlugin>morenyingyong</pinyinPlugin>
|
||||
<pinyinfunc>shipinbofangqi</pinyinfunc>
|
||||
<ChinesePlugin>默认应用</ChinesePlugin>
|
||||
<ChineseFunc>视频播放器</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Defaultapp">
|
||||
<pinyinPlugin>morenyingyong</pinyinPlugin>
|
||||
<pinyinfunc>wendangbianjiqi</pinyinfunc>
|
||||
<ChinesePlugin>默认应用</ChinesePlugin>
|
||||
<ChineseFunc>文档编辑器</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Desktop">
|
||||
<pinyinPlugin>zhuomian</pinyinPlugin>
|
||||
<pinyinfunc>xianshizaizhuomiandetubiao</pinyinfunc>
|
||||
<ChinesePlugin>桌面</ChinesePlugin>
|
||||
<ChineseFunc>显示在桌面的图标</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Desktop">
|
||||
<pinyinPlugin>zhuomian</pinyinPlugin>
|
||||
<pinyinfunc>xianshizaituopanshangdetubiao</pinyinfunc>
|
||||
<ChinesePlugin>桌面</ChinesePlugin>
|
||||
<ChineseFunc>显示在托盘上的图标</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Fonts">
|
||||
<pinyinPlugin>ziti</pinyinPlugin>
|
||||
<pinyinfunc>zitidaxiao</pinyinfunc>
|
||||
<ChinesePlugin>字体</ChinesePlugin>
|
||||
<ChineseFunc>字体大小</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Keyboard">
|
||||
<pinyinPlugin>jianpan</pinyinPlugin>
|
||||
<pinyinfunc>qiyonganjianzhongfushezhi</pinyinfunc>
|
||||
<ChinesePlugin>键盘</ChinesePlugin>
|
||||
<ChineseFunc>启用按键重复设置</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Keyboard">
|
||||
<pinyinPlugin>jianpan</pinyinPlugin>
|
||||
<pinyinfunc>yanchi</pinyinfunc>
|
||||
<ChinesePlugin>键盘</ChinesePlugin>
|
||||
<ChineseFunc>延迟</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Keyboard">
|
||||
<pinyinPlugin>jianpan</pinyinPlugin>
|
||||
<pinyinfunc>sudu</pinyinfunc>
|
||||
<ChinesePlugin>键盘</ChinesePlugin>
|
||||
<ChineseFunc>速度</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Keyboard">
|
||||
<pinyinPlugin>jianpan</pinyinPlugin>
|
||||
<pinyinfunc>shuruzifuceshizhongfuxiaoguoï¼</pinyinfunc>
|
||||
<ChinesePlugin>键盘</ChinesePlugin>
|
||||
<ChineseFunc>输入字符测试重复效果:</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Keyboard">
|
||||
<pinyinPlugin>jianpan</pinyinPlugin>
|
||||
<pinyinfunc>daxiesuodingtishi</pinyinfunc>
|
||||
<ChinesePlugin>键盘</ChinesePlugin>
|
||||
<ChineseFunc>大写锁定提示</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Keyboard">
|
||||
<pinyinPlugin>jianpan</pinyinPlugin>
|
||||
<pinyinfunc>huifumorenbuju</pinyinfunc>
|
||||
<ChinesePlugin>键盘</ChinesePlugin>
|
||||
<ChineseFunc>恢复默认布局</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Keyboard">
|
||||
<pinyinPlugin>jianpan</pinyinPlugin>
|
||||
<pinyinfunc>jianpanbuju</pinyinfunc>
|
||||
<ChinesePlugin>键盘</ChinesePlugin>
|
||||
<ChineseFunc>键盘布局</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Mouse">
|
||||
<pinyinPlugin>shubiao</pinyinPlugin>
|
||||
<pinyinfunc>guanyongshou</pinyinfunc>
|
||||
<ChinesePlugin>鼠标</ChinesePlugin>
|
||||
<ChineseFunc>惯用手</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Mouse">
|
||||
<pinyinPlugin>shubiao</pinyinPlugin>
|
||||
<pinyinfunc>sudu</pinyinfunc>
|
||||
<ChinesePlugin>鼠标</ChinesePlugin>
|
||||
<ChineseFunc>速度</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Mouse">
|
||||
<pinyinPlugin>shubiao</pinyinPlugin>
|
||||
<pinyinfunc>shubiaoshuangjijiangeshichang</pinyinfunc>
|
||||
<ChinesePlugin>鼠标</ChinesePlugin>
|
||||
<ChineseFunc>鼠标双击间隔时长</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Mouse">
|
||||
<pinyinPlugin>shubiao</pinyinPlugin>
|
||||
<pinyinfunc>mingandu</pinyinfunc>
|
||||
<ChinesePlugin>鼠标</ChinesePlugin>
|
||||
<ChineseFunc>敏感度</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Mouse">
|
||||
<pinyinPlugin>shubiao</pinyinPlugin>
|
||||
<pinyinfunc>kejianxing</pinyinfunc>
|
||||
<ChinesePlugin>鼠标</ChinesePlugin>
|
||||
<ChineseFunc>可见性</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Mouse">
|
||||
<pinyinPlugin>shubiao</pinyinPlugin>
|
||||
<pinyinfunc>zhizhendaxiao</pinyinfunc>
|
||||
<ChinesePlugin>鼠标</ChinesePlugin>
|
||||
<ChineseFunc>指针大小</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Mouse">
|
||||
<pinyinPlugin>shubiao</pinyinPlugin>
|
||||
<pinyinfunc>guangbiaosudu</pinyinfunc>
|
||||
<ChinesePlugin>鼠标</ChinesePlugin>
|
||||
<ChineseFunc>光标速度</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Mouse">
|
||||
<pinyinPlugin>shubiao</pinyinPlugin>
|
||||
<pinyinfunc>qiyongwenbenquyudeguangbiaoshanshuo</pinyinfunc>
|
||||
<ChinesePlugin>鼠标</ChinesePlugin>
|
||||
<ChineseFunc>启用文本区域的光标闪烁</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Netconnect">
|
||||
<pinyinPlugin>wangluolianjie</pinyinPlugin>
|
||||
<pinyinfunc>wangluozhuangtai</pinyinfunc>
|
||||
<ChinesePlugin>网络连接</ChinesePlugin>
|
||||
<ChineseFunc>网络状态</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Netconnect">
|
||||
<ChinesePlugin>网络连接</ChinesePlugin>
|
||||
<ChineseFunc>打开wifi</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Notice">
|
||||
<pinyinPlugin>tongzhi</pinyinPlugin>
|
||||
<pinyinfunc>shezhizaitongzhizhongxinxianshidetongzhixinxi</pinyinfunc>
|
||||
<ChinesePlugin>通知</ChinesePlugin>
|
||||
<ChineseFunc>设置在通知中心显示的通知信息</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Notice">
|
||||
<pinyinPlugin>tongzhi</pinyinPlugin>
|
||||
<pinyinfunc>shezhitongzhilaiyuan</pinyinfunc>
|
||||
<ChinesePlugin>通知</ChinesePlugin>
|
||||
<ChineseFunc>设置通知来源</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Display">
|
||||
<pinyinPlugin>xianshiqi</pinyinPlugin>
|
||||
<pinyinfunc>fenbianlv</pinyinfunc>
|
||||
<ChinesePlugin>显示器</ChinesePlugin>
|
||||
<ChineseFunc>分辨率</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Display">
|
||||
<pinyinPlugin>xianshiqi</pinyinPlugin>
|
||||
<pinyinfunc>suofangpingmu</pinyinfunc>
|
||||
<ChinesePlugin>显示器</ChinesePlugin>
|
||||
<ChineseFunc>缩放屏幕</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Power">
|
||||
<pinyinPlugin>dianyuan</pinyinPlugin>
|
||||
<pinyinfunc>pinghengï¼tuijianï¼</pinyinfunc>
|
||||
<ChinesePlugin>电源</ChinesePlugin>
|
||||
<ChineseFunc>平衡(推荐)</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Power">
|
||||
<pinyinPlugin>dianyuan</pinyinPlugin>
|
||||
<pinyinfunc>jieneng</pinyinfunc>
|
||||
<ChinesePlugin>电源</ChinesePlugin>
|
||||
<ChineseFunc>节能</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Power">
|
||||
<pinyinPlugin>dianyuan</pinyinPlugin>
|
||||
<pinyinfunc>zidingyi</pinyinfunc>
|
||||
<ChinesePlugin>电源</ChinesePlugin>
|
||||
<ChineseFunc>自定义</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Printer">
|
||||
<pinyinPlugin>dayinji</pinyinPlugin>
|
||||
<pinyinfunc>tianjiadayinjihesaomiaoyi</pinyinfunc>
|
||||
<ChinesePlugin>打印机</ChinesePlugin>
|
||||
<ChineseFunc>添加打印机和扫描仪</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Printer">
|
||||
<pinyinPlugin>dayinji</pinyinPlugin>
|
||||
<pinyinfunc>tianjiadayinjihesaomiaoyi</pinyinfunc>
|
||||
<ChinesePlugin>打印机</ChinesePlugin>
|
||||
<ChineseFunc>添加打印机和扫描仪</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Proxy">
|
||||
<pinyinPlugin>daili</pinyinPlugin>
|
||||
<pinyinfunc>kaiqizidongdaili</pinyinfunc>
|
||||
<ChinesePlugin>代理</ChinesePlugin>
|
||||
<ChineseFunc>开启自动代理</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Proxy">
|
||||
<pinyinPlugin>daili</pinyinPlugin>
|
||||
<pinyinfunc>kaiqishoudongdaili</pinyinfunc>
|
||||
<ChinesePlugin>代理</ChinesePlugin>
|
||||
<ChineseFunc>开启手动代理</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Screenlock">
|
||||
<pinyinPlugin>suoping</pinyinPlugin>
|
||||
<pinyinfunc>suopingshixianshiweiduxiaoxishu</pinyinfunc>
|
||||
<ChinesePlugin>锁屏</ChinesePlugin>
|
||||
<ChineseFunc>锁屏时显示未读消息数</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Screenlock">
|
||||
<pinyinPlugin>suoping</pinyinPlugin>
|
||||
<pinyinfunc>jihuopingbaoshisuodingpingmu</pinyinfunc>
|
||||
<ChinesePlugin>锁屏</ChinesePlugin>
|
||||
<ChineseFunc>激活屏保时锁定屏幕</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Screenlock">
|
||||
<pinyinPlugin>suoping</pinyinPlugin>
|
||||
<pinyinfunc>xianshisuopingbizhizaidengluyemian</pinyinfunc>
|
||||
<ChinesePlugin>锁屏</ChinesePlugin>
|
||||
<ChineseFunc>显示锁屏壁纸在登录页面</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Screensaver">
|
||||
<pinyinPlugin>pingbao</pinyinPlugin>
|
||||
<pinyinfunc>kaiqipingbao</pinyinfunc>
|
||||
<ChinesePlugin>屏保</ChinesePlugin>
|
||||
<ChineseFunc>开启屏保</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Screensaver">
|
||||
<pinyinPlugin>pingbao</pinyinPlugin>
|
||||
<pinyinfunc>pingmubaohuchengxu</pinyinfunc>
|
||||
<ChinesePlugin>屏保</ChinesePlugin>
|
||||
<ChineseFunc>屏幕保护程序</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Screensaver">
|
||||
<pinyinPlugin>pingbao</pinyinPlugin>
|
||||
<pinyinfunc>dengdaishijian</pinyinfunc>
|
||||
<ChinesePlugin>屏保</ChinesePlugin>
|
||||
<ChineseFunc>等待时间</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Shortcut">
|
||||
<pinyinPlugin>kuaijiejian</pinyinPlugin>
|
||||
<pinyinfunc>xitongkuaijiejian</pinyinfunc>
|
||||
<ChinesePlugin>快捷键</ChinesePlugin>
|
||||
<ChineseFunc>系统快捷键</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Shortcut">
|
||||
<pinyinPlugin>kuaijiejian</pinyinPlugin>
|
||||
<pinyinfunc>zidingyikuaijiejian</pinyinfunc>
|
||||
<ChinesePlugin>快捷键</ChinesePlugin>
|
||||
<ChineseFunc>自定义快捷键</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Shortcut">
|
||||
<pinyinPlugin>kuaijiejian</pinyinPlugin>
|
||||
<pinyinfunc>tianjiazidingyikuaijiejian</pinyinfunc>
|
||||
<ChinesePlugin>快捷键</ChinesePlugin>
|
||||
<ChineseFunc>添加自定义快捷键</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Theme">
|
||||
<pinyinPlugin>zhuti</pinyinPlugin>
|
||||
<pinyinfunc>zhutimoshi</pinyinfunc>
|
||||
<ChinesePlugin>主题</ChinesePlugin>
|
||||
<ChineseFunc>主题模式</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Theme">
|
||||
<pinyinPlugin>zhuti</pinyinPlugin>
|
||||
<pinyinfunc>xitong</pinyinfunc>
|
||||
<ChinesePlugin>主题</ChinesePlugin>
|
||||
<ChineseFunc>系统</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Theme">
|
||||
<pinyinPlugin>zhuti</pinyinPlugin>
|
||||
<pinyinfunc>qianse</pinyinfunc>
|
||||
<ChinesePlugin>主题</ChinesePlugin>
|
||||
<ChineseFunc>浅色</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Theme">
|
||||
<pinyinPlugin>zhuti</pinyinPlugin>
|
||||
<pinyinfunc>toumingxiaoguo</pinyinfunc>
|
||||
<ChinesePlugin>主题</ChinesePlugin>
|
||||
<ChineseFunc>透明效果</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Theme">
|
||||
<pinyinPlugin>zhuti</pinyinPlugin>
|
||||
<pinyinfunc>shense</pinyinfunc>
|
||||
<ChinesePlugin>主题</ChinesePlugin>
|
||||
<ChineseFunc>深色</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Theme">
|
||||
<pinyinPlugin>zhuti</pinyinPlugin>
|
||||
<pinyinfunc>tubiaozhuti</pinyinfunc>
|
||||
<ChinesePlugin>主题</ChinesePlugin>
|
||||
<ChineseFunc>图标主题</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Theme">
|
||||
<pinyinPlugin>zhuti</pinyinPlugin>
|
||||
<pinyinfunc>guangbiaozhuti</pinyinfunc>
|
||||
<ChinesePlugin>主题</ChinesePlugin>
|
||||
<ChineseFunc>光标主题</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Theme">
|
||||
<pinyinPlugin>zhuti</pinyinPlugin>
|
||||
<pinyinfunc>toumingdu</pinyinfunc>
|
||||
<ChinesePlugin>主题</ChinesePlugin>
|
||||
<ChineseFunc>透明度</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Theme">
|
||||
<pinyinPlugin>zhuti</pinyinPlugin>
|
||||
<pinyinfunc>di</pinyinfunc>
|
||||
<ChinesePlugin>主题</ChinesePlugin>
|
||||
<ChineseFunc>低</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Theme">
|
||||
<pinyinPlugin>zhuti</pinyinPlugin>
|
||||
<pinyinfunc>gao</pinyinfunc>
|
||||
<ChinesePlugin>主题</ChinesePlugin>
|
||||
<ChineseFunc>高</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Touchpad">
|
||||
<pinyinPlugin>chumoban</pinyinPlugin>
|
||||
<pinyinfunc>chumobanshezhi</pinyinfunc>
|
||||
<ChinesePlugin>触摸板</ChinesePlugin>
|
||||
<ChineseFunc>触摸板设置</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>xuanzeshurushebei</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>选择输入设备</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>yinliangdaxiao</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>音量大小</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>shurudengji</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>输入等级</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>xuanzeshuchushebei</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>选择输出设备</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>zhuyinliangdaxiao</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>主音量大小</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>shengdaopingheng</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>声道平衡</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>peizhi</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>配置</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>shengqia</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>声卡</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>xitongyinxiao</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>系统音效</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>xitongyinxiaozhuti</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>系统音效主题</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>tishiyin</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>提示音</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>kaiguanjiyinle</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>开关机音乐</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Audio">
|
||||
<pinyinPlugin>shengyin</pinyinPlugin>
|
||||
<pinyinfunc>tishiyinliangkaiguan</pinyinfunc>
|
||||
<ChinesePlugin>声音</ChinesePlugin>
|
||||
<ChineseFunc>提示音量开关</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Display">
|
||||
<pinyinPlugin>xianshiqi</pinyinPlugin>
|
||||
<pinyinfunc>suofangpingmu</pinyinfunc>
|
||||
<ChinesePlugin>显示器</ChinesePlugin>
|
||||
<ChineseFunc>缩放屏幕</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Update">
|
||||
<pinyinPlugin>gengxin</pinyinPlugin>
|
||||
<pinyinfunc>xitonggengxin</pinyinfunc>
|
||||
<ChinesePlugin>更新</ChinesePlugin>
|
||||
<ChineseFunc>系统更新</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Userinfo">
|
||||
<pinyinPlugin>zhanghuxinxi</pinyinPlugin>
|
||||
<pinyinfunc>mimashixiao</pinyinfunc>
|
||||
<ChinesePlugin>账户信息</ChinesePlugin>
|
||||
<ChineseFunc>密码时效</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Userinfo">
|
||||
<pinyinPlugin>zhanghuxinxi</pinyinPlugin>
|
||||
<pinyinfunc>mianmidenglu</pinyinfunc>
|
||||
<ChinesePlugin>账户信息</ChinesePlugin>
|
||||
<ChineseFunc>免密登录</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Userinfo">
|
||||
<pinyinPlugin>zhanghuxinxi</pinyinPlugin>
|
||||
<pinyinfunc>zidongdenglu</pinyinfunc>
|
||||
<ChinesePlugin>账户信息</ChinesePlugin>
|
||||
<ChineseFunc>自动登录</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Vpn">
|
||||
<ChinesePlugin>VPN</ChinesePlugin>
|
||||
<ChineseFunc>添加VPN连接</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Wallpaper">
|
||||
<pinyinPlugin>beijing</pinyinPlugin>
|
||||
<pinyinfunc>liulanbendibizhi</pinyinfunc>
|
||||
<ChinesePlugin>背景</ChinesePlugin>
|
||||
<ChineseFunc>浏览本地壁纸</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Wallpaper">
|
||||
<pinyinPlugin>beijing</pinyinPlugin>
|
||||
<pinyinfunc>huifumorenshezhi</pinyinfunc>
|
||||
<ChinesePlugin>背景</ChinesePlugin>
|
||||
<ChineseFunc>恢复默认设置</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Wallpaper">
|
||||
<pinyinPlugin>beijing</pinyinPlugin>
|
||||
<pinyinfunc>liulanxianshangbizhi</pinyinfunc>
|
||||
<ChinesePlugin>背景</ChinesePlugin>
|
||||
<ChineseFunc>浏览线上壁纸</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Display">
|
||||
<pinyinPlugin>xianshiqi</pinyinPlugin>
|
||||
<pinyinfunc>tongyishuchu</pinyinfunc>
|
||||
<ChinesePlugin>显示器</ChinesePlugin>
|
||||
<ChineseFunc>统一输出</ChineseFunc>
|
||||
</plugin>
|
||||
<plugin name="Display">
|
||||
<pinyinPlugin>xianshiqi</pinyinPlugin>
|
||||
<pinyinfunc>yejianmoshi</pinyinfunc>
|
||||
<ChinesePlugin>显示器</ChinesePlugin>
|
||||
<ChineseFunc>夜间模式</ChineseFunc>
|
||||
</plugin>
|
||||
</plugins>
|
|
@ -6,5 +6,6 @@
|
|||
<file>res/translations/tr.ts</file>
|
||||
<file>res/translations/zh_CN.ts</file>
|
||||
<file>res/icons/desktop.png</file>
|
||||
<file>res/search.xml</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -0,0 +1,86 @@
|
|||
#include "setting-match.h"
|
||||
|
||||
SettingsMatch::SettingsMatch(QObject *parent) : QObject(parent)
|
||||
{
|
||||
XmlElement();
|
||||
}
|
||||
|
||||
QStringList SettingsMatch::matchstart(const QString &source){
|
||||
m_sourceText=source;
|
||||
// qDebug()<<m_sourceText;
|
||||
QStringList settingList=matching();
|
||||
return settingList;
|
||||
}
|
||||
|
||||
void SettingsMatch::XmlElement(){
|
||||
QString pinyinIndex;
|
||||
QString ChineseIndex;
|
||||
|
||||
QFile file(QString::fromLocal8Bit("::/res/search.xml"));
|
||||
if (!file.open(QIODevice::ReadOnly)){
|
||||
return;
|
||||
}
|
||||
QDomDocument doc;
|
||||
doc.setContent(&file);
|
||||
QDomElement root=doc.documentElement();
|
||||
QDomNode node = root.previousSibling();
|
||||
node=root.firstChild();
|
||||
|
||||
while(!node.isNull()){
|
||||
QDomElement element=node.toElement();
|
||||
QString key=element.attribute("name");;
|
||||
m_Chine_searchResult=m_Chine_searchList.value(key);
|
||||
m_Pinyin_searchResult=m_Pinyin_searchList.value(key);
|
||||
QDomNodeList list=element.childNodes();
|
||||
for(int i=0;i<list.count();++i){
|
||||
QDomNode n=list.at(i);
|
||||
|
||||
if(n.nodeName()==QString::fromLocal8Bit("pinyinPlugin")){
|
||||
pinyinIndex=n.toElement().text();
|
||||
}
|
||||
if(n.nodeName()==QString::fromLocal8Bit("pinyinfunc")){
|
||||
pinyinIndex+=QString::fromLocal8Bit(":")+n.toElement().text();
|
||||
m_Pinyin_searchResult.append(pinyinIndex);
|
||||
}
|
||||
|
||||
if(n.nodeName()==QString::fromLocal8Bit("ChinesePlugin")){
|
||||
ChineseIndex=n.toElement().text();
|
||||
}
|
||||
if(n.nodeName()==QString::fromLocal8Bit("ChineseFunc")){
|
||||
ChineseIndex+=QString::fromLocal8Bit("/")+n.toElement().text();
|
||||
|
||||
m_Chine_searchResult.append(ChineseIndex);
|
||||
}
|
||||
}
|
||||
m_Pinyin_searchList.insert(key,m_Pinyin_searchResult);
|
||||
m_Chine_searchList.insert(key,m_Chine_searchResult);
|
||||
|
||||
node=node.nextSibling();
|
||||
}
|
||||
file.close();
|
||||
// qDebug()<<pinyin_searchlist;
|
||||
// qDebug()<<chine_searchlist;
|
||||
}
|
||||
|
||||
QStringList SettingsMatch::matching(){
|
||||
QStringList returnresult;
|
||||
QStringList regmatch;
|
||||
QString key;
|
||||
QMap<QString, QStringList>::const_iterator i;
|
||||
for(i=m_Chine_searchList.constBegin();i!=m_Chine_searchList.constEnd();++i){
|
||||
regmatch=*i;
|
||||
key=i.key();
|
||||
// qDebug()<<key;
|
||||
for(int t=0; t<regmatch.size();t++)
|
||||
{
|
||||
QString str =regmatch.at(t);
|
||||
if(str.contains(m_sourceText))
|
||||
{
|
||||
str=key+"/"+str;
|
||||
returnresult.append(str);//中文名
|
||||
}
|
||||
}
|
||||
}
|
||||
// qDebug()<<returnresult;
|
||||
return returnresult;
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
#ifndef SETTINGSEARCH_H
|
||||
#define SETTINGSEARCH_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QFile>
|
||||
#include <QDomElement>
|
||||
#include <QDomDocument>
|
||||
#include <QDomNode>
|
||||
#include <QDomNodeList>
|
||||
#include <QMap>
|
||||
#include <QStringList>
|
||||
#include <QTimer>
|
||||
#include <QDebug>
|
||||
class SettingsMatch : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SettingsMatch(QObject *parent = nullptr);
|
||||
QStringList matchstart(const QString &source);
|
||||
|
||||
private:
|
||||
void XmlElement();
|
||||
QStringList matching();
|
||||
|
||||
private:
|
||||
QMap<QString,QStringList> m_Pinyin_searchList;
|
||||
QMap<QString,QStringList> m_Chine_searchList;
|
||||
QStringList m_Pinyin_searchResult;
|
||||
QStringList m_Chine_searchResult;
|
||||
QString m_sourceText;
|
||||
|
||||
};
|
||||
|
||||
#endif // SETTINGSEARCH_H
|
|
@ -0,0 +1,7 @@
|
|||
INCLUDEPATH += $$PWD
|
||||
|
||||
HEADERS += \
|
||||
$$PWD/setting-match.h \
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/setting-match.cpp \
|
|
@ -20,6 +20,7 @@ include(index/index.pri)
|
|||
include(model/model.pri)
|
||||
include(control/control.pri))
|
||||
include(singleapplication/qt-single-application.pri)
|
||||
include(settingsmatch/setting-match.pri)
|
||||
|
||||
LIBS = -lxapian -lgsettings-qt
|
||||
# Default rules for deployment.
|
||||
|
|
Loading…
Reference in New Issue