mirror of
				https://github.com/NotoChen/Jetbrains-Help.git
				synced 2025-10-31 17:08:30 +08:00 
			
		
		
		
	style🎨(语言调整): 将所有原生展示语言改为中文, 将复制失败的原因详细展示
This commit is contained in:
		
							parent
							
								
									0049df81d5
								
							
						
					
					
						commit
						ae3b4f656c
					
				|  | @ -36,10 +36,9 @@ $(document).ready(function() { | |||
|         var text = "-javaagent:/(Your Path)/ja-netfilter/ja-netfilter.jar\n" + | ||||
|         "--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED\n" + | ||||
|         "--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED"; | ||||
|         navigator.clipboard.writeText(text).then(function() { | ||||
|             alert("已复制:\n" + text); | ||||
|         }).catch(function(error) { | ||||
|             alert("复制失败: " + error); | ||||
|         copyText(text) | ||||
|             .then((result) => { | ||||
|                 alert(result); | ||||
|             }); | ||||
|     }; | ||||
| 
 | ||||
|  | @ -70,10 +69,10 @@ $(document).ready(function() { | |||
|     const copyText = async (val) => { | ||||
|         if (navigator.clipboard && navigator.permissions) { | ||||
|             await navigator.clipboard.writeText(val); | ||||
|             return "The activation code has been copied"; | ||||
|             return "已复制成功"; | ||||
|         } else { | ||||
|             console.log(val); | ||||
|             return "The system does not support it, please go to the console to copy it manually"; | ||||
|             return "系统不支持复制功能,或者当前非SSL访问,若为Local环境,请使用127.0.0.1或者localhost访问."; | ||||
|         } | ||||
|     }; | ||||
| 
 | ||||
|  |  | |||
|  | @ -11,15 +11,15 @@ | |||
| <body> | ||||
| <header class="tip sticky flex items-center py-6"> | ||||
|     <p> | ||||
|         🇨🇳 Download <a href="ja-netfilter" title="Download jetbra first">ja-netfilter.zip</a> , and configure | ||||
|         your JetBrains's <a onclick="showVmoptins()">vmoptions!</a> <br> | ||||
|         🇨🇳 Also you can <a onclick="showLicenseForm()">Refill license information</a> to customizer your license!</br> | ||||
|         <strong>🇨🇳 Please note that this page is only developed and used by <span | ||||
|         🇨🇳 下载 <a href="ja-netfilter" title="Download jetbra first">ja-netfilter.zip</a> , 然后配置 | ||||
|         你的JetBrains IDE(anything)'s <a onclick="showVmoptins()">IDE.vmoptions</a> 配置文件!<br> | ||||
|         🇨🇳 当然你也可以 <a onclick="showLicenseForm()">重新定制激活授权</a> 用以自定义你的激活信息!</br> | ||||
|         <strong>🇨🇳 请注意,此页面仅由 <span | ||||
|                 th:text="${defaults.getDefaultLicenseName()} + '/' + ${defaults.getDefaultAssigneeName()}"></span> | ||||
|             personally!</strong> | ||||
|             个人所有!</strong> | ||||
|     </p> | ||||
|     <form class="parent"> | ||||
|         <input type="text" class="search" id="search" placeholder="Search Product or Plugin"> | ||||
|         <input type="text" class="search" id="search" placeholder="搜索IDE或者插件"> | ||||
|     </form> | ||||
| </header> | ||||
| <main id="product-list" class="px-6 z-grid py-10" style="--space: 20rem; --gutter: 3.5rem"> | ||||
|  | @ -38,8 +38,8 @@ | |||
|                 <div class="pd-6 overflow-hidden bg-card container radius-1"> | ||||
|                     <h1 class="truncate truncate-1 color-primary mt-0 overflow-ellipsis" th:title="${product.getName()}" | ||||
|                         th:text="${product.getName()}"></h1> | ||||
|                     <p title="Copy to clipboard" class="truncate text-sm text-grey" onclick="copyLicense(this)" | ||||
|                        data-content="Copy to clipboard"> | ||||
|                     <p title="复制到剪贴板" class="truncate text-sm text-grey" onclick="copyLicense(this)" | ||||
|                        data-content="复制到剪贴板"> | ||||
|                         ********** | ||||
|                     </p> | ||||
|                 </div> | ||||
|  | @ -62,8 +62,8 @@ | |||
|                 <div class="pd-6 overflow-hidden bg-card container radius-1"> | ||||
|                     <h1 class="truncate truncate-1 color-primary mt-0 overflow-ellipsis" th:title="${plugin.getName()}" | ||||
|                         th:text="${plugin.getName()}"></h1> | ||||
|                     <p title="Copy to clipboard" class="truncate text-sm text-grey" onclick="copyLicense(this)" | ||||
|                        data-content="Copy to clipboard"> | ||||
|                     <p title="复制到剪贴板" class="truncate text-sm text-grey" onclick="copyLicense(this)" | ||||
|                        data-content="复制到剪贴板"> | ||||
|                         ********** | ||||
|                     </p> | ||||
|                 </div> | ||||
|  | @ -77,27 +77,27 @@ | |||
|      style="position:fixed;top:0;left:0;z-index:998;width:100%;height:100%;display:none;background-color:#000;opacity:0.5;overflow:hidden;"></div> | ||||
| <div id="form" style="position:fixed;top:20%;left:40%;width:40%;height:500px;z-index:999;display:none;"> | ||||
|     <div class="form"> | ||||
|         <div class="title">License Form</div> | ||||
|         <div class="subtitle">Customization is welcome</div> | ||||
|         <div class="title">授权信息</div> | ||||
|         <div class="subtitle">欢迎你自定义</div> | ||||
|         <div class="input-container ic1"> | ||||
|             <input id="licenseeName" class="input" type="text" placeholder=" " | ||||
|                    th:value="${defaults.getDefaultLicenseName()}"/> | ||||
|             <div class="cut"></div> | ||||
|             <label for="licenseeName" class="placeholder">License Name</label> | ||||
|             <label for="licenseeName" class="placeholder">许可证名称</label> | ||||
|         </div> | ||||
|         <div class="input-container ic2"> | ||||
|             <input id="assigneeName" class="input" type="text" placeholder=" " | ||||
|                    th:value="${defaults.getDefaultAssigneeName()}"/> | ||||
|             <div class="cut"></div> | ||||
|             <label for="assigneeName" class="placeholder">Assigne Name</label> | ||||
|             <label for="assigneeName" class="placeholder">许可人名称</label> | ||||
|         </div> | ||||
|         <div class="input-container ic2"> | ||||
|             <input id="expiryDate" class="input" type="text" placeholder="" | ||||
|                    th:value="${defaults.getDefaultExpiryDate()}"/> | ||||
|             <div class="cut cut-short"></div> | ||||
|             <label for="expiryDate" class="placeholder">Expiry Date</label> | ||||
|             <label for="expiryDate" class="placeholder">过期时间</label> | ||||
|         </div> | ||||
|         <button class="submit" onclick="submitLicenseInfo(this)">Confirm</button> | ||||
|         <button class="submit" onclick="submitLicenseInfo(this)">确认</button> | ||||
|     </div> | ||||
| </div> | ||||
| </body> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 藏柏
						藏柏