Skip to content

Commit

Permalink
添加插件英文说明,设置界面文字.
Browse files Browse the repository at this point in the history
  • Loading branch information
luojunhui committed Jul 18, 2019
1 parent 8053d05 commit b03d586
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 11 deletions.
Binary file modified files/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 24 additions & 7 deletions resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
<idea-plugin>
<id>cn.luojunhui.touchfish</id><!--插件id,不能和其他插件项目重复,推荐com.xxx.xxx的格式 -->
<name>Touch Fish</name><!--插件名称 -->
<version>1.0</version><!--插件版本号 -->
<vendor email="yulewg@gmail.com" url="https://github.com/luojunhui/touch-fish">junhui</vendor>
<version>2.1</version><!--插件版本号 -->
<vendor email="130046422@qq.com" url="https://github.com/luojunhui/touch-fish">luojunhui</vendor>

<!--插件描述信息,在这里可以介绍你的插件内容,支持HTML标签 -->
<description>
<![CDATA[
<p>一款jetbrains旗下的ide上touch fish(摸鱼)的插件,一般用来看小说.</p>
<p>If you have nothing to do, why don't you try reading with this plug-in?</p>
<ol>
<li>Find the "Touch Fish" settings interface under ide settings.</li>
<li>Enter the absolute path of the text file.</li>
<li>Enter page number and number of rows per page.</li>
<li>Shortcut key &uarr; read content up</li>
<li>Shortcut &darr; read content down</li>
<li>In keymap, you can set shortcut keys for text windows, which can quickly exhale and hide.</li>
</ol>
<hr>
<p>如果你无事可作,为何不试试用此插件看书呢?</p>
<ol>
<li>打开settings的Other Settings下的<strong>touch fish<strong></li>
<li>在ide设置下找到“Touch Fish”设置界面。</li>
<li>输入文本的绝对路径</li>
<li>输入页码和每次阅读多少行</li>
<li>快捷键&uarr;向上读取内容</li>
Expand All @@ -22,8 +31,16 @@
</description>

<!--插件版本变更日志,支持HTML标签 -->
<!-- <change-notes>-->
<!-- </change-notes>-->
<change-notes>
<![CDATA[
<ul>
<li>V2.1发布,添加插件英文说明,设置界面文字.</li>
<li>V2.0发布,修改翻页方式.</li>
<li>V1.1修复部分Bug.</li>
<li>V1.0发布.</li>
</ul>
]]>
</change-notes>


<idea-version since-build="145"/>
Expand Down
8 changes: 4 additions & 4 deletions src/config/PluginSettingForm.form
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<grid id="27dc6" binding="pluginSettingPanel" layout-manager="GridLayoutManager" row-count="3" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<xy x="20" y="20" width="798" height="219"/>
<xy x="20" y="20" width="867" height="219"/>
</constraints>
<properties>
<enabled value="false"/>
Expand All @@ -18,7 +18,7 @@
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="文件路径:"/>
<text value="文件路径(Text file path):"/>
</properties>
</component>
<component id="49ebe" class="javax.swing.JTextField" binding="pathField">
Expand All @@ -36,7 +36,7 @@
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="当前页:"/>
<text value="当前页(page):"/>
</properties>
</component>
<component id="2139f" class="javax.swing.JTextField" binding="pageTextField">
Expand All @@ -52,7 +52,7 @@
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="每页加载行数:"/>
<text value="每页加载行数(rows):"/>
</properties>
</component>
<component id="9bf13" class="javax.swing.JTextField" binding="pageSizeTextField">
Expand Down

0 comments on commit b03d586

Please sign in to comment.