diff --git a/search-ukcc-plugin/search.cpp b/search-ukcc-plugin/search.cpp index a5e093c..c26a849 100644 --- a/search-ukcc-plugin/search.cpp +++ b/search-ukcc-plugin/search.cpp @@ -180,11 +180,12 @@ void Search::initUi() m_pluginWidget->setLayout(m_mainLyt); m_titleLabel = new TitleLabel(m_pluginWidget); + //~ contents_path /Search/Search m_titleLabel->setText(tr("Search")); m_mainLyt->addWidget(m_titleLabel); //设置网页搜索引擎部分的ui - //~ contents_path /Search/Default web searching engine + //~ contents_path /Search/Default web searching engine m_webEngineFrame = new ComboxFrame(tr("Default web searching engine"), m_pluginWidget); m_webEngineFrame->setContentsMargins(8, 0, 8, 0);// ComboxFrame右侧自带8的边距,左右边距各是16所以分别设为8 m_webEngineFrame->setFixedHeight(56); @@ -201,7 +202,6 @@ void Search::initUi() m_setFrameLyt->setContentsMargins(0, 0, 0, 0); m_setFrameLyt->setSpacing(0); - //~ contents_path /Search/Create index //索引开关UI m_searchMethodFrame = new QFrame(m_setFrame); m_searchMethodFrame->setMinimumWidth(550); @@ -216,6 +216,7 @@ void Search::initUi() m_descLabel1 = new QLabel(m_descFrame); m_descLabel2 = new QLabel(m_descFrame); + //~ contents_path /Search/Create index m_descLabel1->setText(tr("Create index")); m_descLabel2->setText(tr("Creating index can help you getting results quickly.")); m_descLabel2->setEnabled(false); @@ -246,12 +247,13 @@ void Search::initUi() m_indexMethodDescLabel = new QLabel(m_indexMethodFrame); m_indexMethodDescLabel->setContentsMargins(8, 0, 0, 0); + //~ contents_path /Search/File Content Search m_indexMethodDescLabel->setText(tr("File Content Search")); m_preciseBtnFrame = new QFrame(m_indexMethodFrame); m_preciseBtnLyt = new QHBoxLayout(m_preciseBtnFrame); m_preciseBtnFrame->setLayout(m_preciseBtnLyt); - m_preciseBtn = new QRadioButton(tr("precise Search"), m_indexMethodFrame); + m_preciseBtn = new QRadioButton(tr("Precise Search"), m_indexMethodFrame); m_preciseDescLabel = new QLabel(m_indexMethodFrame); m_preciseDescLabel->setText(tr("show the results that exactly match the keyword")); m_preciseDescLabel->setEnabled(false); @@ -290,6 +292,7 @@ void Search::initUi() //添加搜索目录部分ui m_searchDirTitleLabel = new TitleLabel(m_pluginWidget); + //~ contents_path /Search/Search Folders m_searchDirTitleLabel->setText(tr("Search Folders")); m_searchDirDescLabel = new QLabel(m_pluginWidget); diff --git a/search-ukcc-plugin/translations/bo_CN.ts b/search-ukcc-plugin/translations/bo_CN.ts index 3dac6d7..65199f2 100644 --- a/search-ukcc-plugin/translations/bo_CN.ts +++ b/search-ukcc-plugin/translations/bo_CN.ts @@ -5,49 +5,51 @@ Search - + Search འཚོལ་ཞིབ། + /Search/Search - + Create index གསར་འཛུགས་འཚོལ་ཞིབ་བྱེད་པར་ཁྲིད་སྟོན། + /Search/Create index - + Creating index can help you getting results quickly. སྟོན་གྲངས་གསར་སྐྲུན་བྱས་ན་ཁྱོད་ལ་མགྱོགས་མྱུར་ངང་གྲུབ་འབྲས་ཐོབ་པར་རོགས་རམ་བྱེད་ཐུབ། - + Default web searching engine ཁོག་གི་དྲ་ཤོག་གཏོད་པ་བཤེར་འཚོལ་རིགས་དབྱིབས། /Search/Default web searching engine - + baidu པའེ་ཏུའུ། - + sougou སོའོ་གོའུ། - + 360 360 - + Block Folders ལྐོག་བཀོད་མིང་ཐོ། /Search/Block Folders - + Following folders will not be searched. You can set it by adding and removing folders. གཤམ་གྱི་ཡིག་སྣོད་འཚོལ་བཤེར་མི་བྱེད། ཡིག་སྣོད་གསར་སྣོན་དང་གསུབ་འཕྲི་བྱས་ཚེ་ཡིག་ཆའི་དཀར་ཆག་སྒྲིག་འགོད་བྱ་ཐུབ། @@ -56,101 +58,103 @@ བསལ་འདེམས་ཀྱི་དཀར་ཆག། - - + + delete བསུབ་པ། - - + + Directories དཀར་ཆག - + File Content Search + /Search/File Content Search - - precise Search - - - - + show more results that match the keyword - + Fuzzy Search - + + Precise Search + + + + show the results that exactly match the keyword - + Search Folders + /Search/Search Folders - + Following folders will be searched. You can set it by adding and removing folders. - + select blocked folder བཀག་སྡོམ་བྱས་པའི་ཡིག་སྣོད་གདམ་གསེས - - + + Select བདམས་ཐོན་བྱུང་བ། - - + + Position: གོ་གནས་ནི། - - + + FileName: ཡིག་ཆའི་མིང་ནི། - - + + FileType: ཡིག་ཆའི་རིགས་དབྱིབས་ནི། - - + + Cancel ཕྱིར་འཐེན། - - - - - - - - + + + + + + + + Warning ཐ་ཚིག་སྒྲོག་པ། - + Add blocked folder failed, choosen path is empty! སྦྱོར་རྟ་ལྐོག་བཀོད་མིང་ཐོ་ཕམ་ཁ་བསལ་འདེམས་ཀྱི་ཐབས་ལམ་སྟོང་བ་རེད། @@ -159,42 +163,42 @@ སྦྱོར་རྟ་ལྐོག་བཀོད་མིང་ཐོ་ཕམ་ཁ་བསལ་འདེམས་ཀྱི་དཀར་ཆག་མི་ཁྱིམ་དཀར་ཆག་འོག། - + Add blocked folder failed, its parent dir is exist! སྦྱོར་རྟ་ལྐོག་བཀོད་མིང་ཐོ་ཕམ་ཁ་བསལ་འདེམས་ཀྱི་དཀར་ཆག་ནི་ལྐོག་བཀོད་མིང་ཐོ་འི་ཁྲོད་ཀྱི་དཀར་ཆག་འོག - + Add blocked folder failed, it has been already blocked! སྦྱོར་རྟ་ལྐོག་བཀོད་མིང་ཐོ་ཕམ་ཁ་བསལ་འདེམས་ཀྱི་དཀར་ཆག་ནི་ལྐོག་བཀོད་མིང་ཐོ་འི་ཁྲོད་ཀྱི་དཀར་ཆག་འོག - + select search folder - + Add search folder failed, choosen path is not supported currently! - + Add search folder failed, another path which is in the same device has been added! - + Add search folder failed, choosen path or its parent dir has been added! - + Add search folder failed, choosen path is in repeat mounted devices and another path which is in the same device has been added! - + Add search folder failed, choosen path is not exists! diff --git a/search-ukcc-plugin/translations/zh_CN.ts b/search-ukcc-plugin/translations/zh_CN.ts index 68fefbd..c8c403c 100644 --- a/search-ukcc-plugin/translations/zh_CN.ts +++ b/search-ukcc-plugin/translations/zh_CN.ts @@ -5,49 +5,51 @@ Search - + Search 全局搜索 + /Search/Search - + Create index 创建索引 + /Search/Create index - + Creating index can help you getting results quickly. 开启之后可以快速获取搜索结果 - + Default web searching engine 默认互联网搜索引擎 /Search/Default web searching engine - + baidu 百度 - + sougou 搜狗 - + 360 360 - + Block Folders 排除的文件夹 /Search/Block Folders - + Following folders will not be searched. You can set it by adding and removing folders. 搜索将不查看以下文件夹,通过添加和删除可以设置排除的文件夹位置 @@ -56,101 +58,107 @@ 添加 - - + + delete 删除 - - + + Directories 文件夹 - + File Content Search 搜索文本内容 + /Search/File Content Search - precise Search - 精确搜索 + 精确搜索 - + show more results that match the keyword 显示更多与输入内容匹配的搜索结果 - + Fuzzy Search 模糊搜索 - + + Precise Search + 精确搜索 + + + show the results that exactly match the keyword 仅显示与输入内容完全一致的搜索结果 - + Search Folders 搜索范围 + /Search/Search Folders - + Following folders will be searched. You can set it by adding and removing folders. 以下文件的内容将出现在全局搜索的结果中 - + select blocked folder 选择排除的文件夹 - - + + Select 选择 - - + + Position: 位置 - - + + FileName: 文件名 - - + + FileType: 类型 - - + + Cancel 取消 - - - - - - - - + + + + + + + + Warning 警告 - + Add blocked folder failed, choosen path is empty! 添加失败,选择的路径为空! @@ -159,42 +167,42 @@ 添加失败,添加的路径不在家目录下! - + Add blocked folder failed, its parent dir is exist! 添加失败,父目录已被添加! - + Add blocked folder failed, it has been already blocked! 添加失败,这个文件夹已经被添加过了! - + select search folder 选择要搜索的文件夹 - + Add search folder failed, choosen path is not supported currently! 添加失败!暂不支持该目录! - + Add search folder failed, another path which is in the same device has been added! 添加失败!文件夹位于重复挂载设备下,相同内容的文件夹已被添加! - + Add search folder failed, choosen path or its parent dir has been added! 添加失败!该目录或其父目录已被添加! - + Add search folder failed, choosen path is in repeat mounted devices and another path which is in the same device has been added! 添加失败!文件夹位于重复挂载设备下,且该设备另一个挂载点的文件夹已被添加! - + Add search folder failed, choosen path is not exists! 添加失败!要添加的路径不存在!