xuhuisheng / sonar-l10n-zh Goto Github PK
View Code? Open in Web Editor NEWChinese Pack for SonarQube
Chinese Pack for SonarQube
有一个执行中的分析。<br>更多细节请查看<a href="{0}">后台任务</a>页。
中文版展示为上面内容,感觉是没有解析成html,而是当作string直接处理了
permission_templates.page.description=管理项目模板的权限。默认模板回应用到所有新项目上。
10.2更新了,又多了好多新的字符串
他那个字符串源文件从哪获取的,要不我fork一下做个机翻?
你好,怎么获取历史版本的jar包啊?最新的版本不能兼容老版本的sonarqube
大佬有空更新一下版本哈,sonar已经到了10.4.1版本,使用10.4插件有一些问题
project key翻译没有统一:有“关键字”,有“标识”
在project主页面右下方是“关键字”,在project设置里面update key里面用了“标识”。其他地方没有都看。
不过感觉project key感觉翻译成“工程ID”比较好
如题
/dashboard?id=xxx页面右方的Project Analyzed
翻译不妥。
目前翻译的是“分析的项目“,觉得应该是”项目已分析完成“
sonar的规则集能不能中文化
我按README兼容性要求下载了sonar-l10n-zh-plugin-8.9.jar放入/extention/plugins/下,并且重启了SonarQube服务。但是没有汉化。
我去查看了web的日志,发现“Web server startup failed: Plugin Chinese Pack [l10nzh] requires at least SonarQube 9.0.0.45539”。
in sonarqube6.4 Chinese Pack is not useful and not woking?
PR: #38.
目前翻译:
branch_coverage: 分支覆盖
conditions_to_cover: 分支覆盖率
在quality gates 规则配置上:
conditions_to_cover 错误阈值是 大于 '>' 配置, 并不是覆盖率的含义,
而应是 branch_coverage 翻译为 分支覆盖率;
conditions_to_cover 规则我的理解是希望控制编码上的 可覆盖分支数在合理范围内, 因此阈值比较为 '>'
修正建议:
branch_coverage: 分支覆盖率
conditions_to_cover: 可覆盖分支
依据定义:
https://docs.sonarqube.org/latest/user-guide/metric-definitions/
Line coverage (line_coverage)
On a given line of code, Line coverage simply answers the following question: Has this line of code been executed during the execution of the unit tests?. It is the density of covered lines by unit tests:
Line coverage = LC / EL
where
LC = covered lines (lines_to_cover - uncovered_lines) // lines_to_cover 即表示 已覆盖+未覆盖
EL = total number of executable lines (lines_to_cover)
你好,我通过docker安装的sonar,登录sonar 找到插件,安装完成,sonar提示需要重启,重启完之后,还是英文,请问这种情况怎么解决呢?万分感谢!
my_profile.password.confirm=确认信值
我的新问题
是否是sonar改变了渲染逻辑呢, 望修复, 谢谢.
离线安装
9.2放入extensions/plugins后一直loading 看到有I10n的相关访问报了304
after click install button,it occur error.
"Error while downloading plugin 'l10nzh' with version '8.2'. No compatible plugin found."
在1.27版本中,我觉得这样翻译更好些
mvn sonar:sonar
-Dsonar.host.url=http://127.0.0.1:9000
-Dsonar.login=bf5d0066a020c41f65bc90d74ac51af180b39704
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.3.0.603:sonar (default-cli) on project sonarCloud: No quality profiles have been found, you probably don't have any language plugin installed. -> [Help 1]
core_zh.properties
overview.about_this_project.TRK=关于这个西南股
原文是 about this project
应该是笔误吧
期望【关于这个项目】
version 1.21
as the subject, how to enable this plugin? I just download it and put it into the sonar_home_path/extensions/plugins, and then restart the SonarQube, but seems it didn't works, Please help.
I put it under the sonarqube-6.7/extensions/plugins, and restart the sonarQube, but it did not work.
$ ls -al
total 40M
drwxr-xr-x 2 FJadmin FJadmin 4.0K Nov 20 14:35 .
drwxr-xr-x 5 FJadmin FJadmin 4.0K Nov 20 10:48 ..
-rw-r--r-- 1 FJadmin FJadmin 92 Nov 7 15:06 README.txt
-rw-r--r-- 1 FJadmin FJadmin 2.6M Nov 6 08:12 sonar-csharp-plugin-6.5.0.3766.jar
-rw-r--r-- 1 FJadmin FJadmin 1.6M Nov 6 08:12 sonar-flex-plugin-2.3.jar
-rw-r--r-- 1 FJadmin FJadmin 6.5M Nov 6 15:31 sonar-java-plugin-4.15.0.12310.jar
-rw-r--r-- 1 FJadmin FJadmin 3.3M Nov 6 08:12 sonar-javascript-plugin-3.2.0.5506.jar
-rw-r--r-- 1 FJadmin FJadmin 38K Nov 20 14:35 sonar-l10n-zh-plugin-1.19-RC1.jar
-rw-r--r-- 1 FJadmin FJadmin 2.9M Nov 6 16:50 sonar-php-plugin-2.11.0.2485.jar
-rw-r--r-- 1 FJadmin FJadmin 3.9M Nov 6 08:12 sonar-python-plugin-1.8.0.1496.jar
-rw-r--r-- 1 FJadmin FJadmin 3.5M Nov 6 08:12 sonar-scm-git-plugin-1.3.0.869.jar
-rw-r--r-- 1 FJadmin FJadmin 6.4M Nov 6 08:12 sonar-scm-svn-plugin-1.6.0.860.jar
-rw-r--r-- 1 FJadmin FJadmin 2.2M Nov 6 08:12 sonar-typescript-plugin-1.1.0.1079.jar
-rw-r--r-- 1 FJadmin FJadmin 7.1M Nov 6 08:12 sonar-xml-plugin-1.4.3.1027.jar
$ md5sum sonar-l10n-zh-plugin-1.19-RC1.jar
229afec8dfa43be12ebddb0da223828a sonar-l10n-zh-plugin-1.19-RC1.jar
can somebody help?
您好,请问下,我用的sonarqube版本是9.9,规则描述和问题标题能否也支持汉化?
How is docker built?
什么时候可以解决啊?i am now in China!
我手动下载了汉化包放到了/opt/sonarqube-10.3.0.82913/extensions/plugins/目录下,用 sh sonar.sh restart命令重启了sonar,但是登录上去还是英文,是我哪里配置有问题吗?
公司里在跑这个,明天把这个语言插件推荐给管理人员。。
感谢翻译啊!看到最近都在更新,辛苦你们啦
2022.06.20 15:04:30 INFO web[][o.s.c.p.PluginInfo] Plugin [l10nzh] defines 'l10nen' as base plugin. This metadata can be removed from manifest of l10n plugins since version 5.2.
2022.06.20 15:04:30 WARN web[][o.s.c.a.AnnotationConfigApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc-org.sonar.server.plugins.ServerPluginManager': Initialization of bean failed; nested exception is Plugin Chinese Pack [l10nzh] requires at least SonarQube 9.6.1.114
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc-org.sonar.server.plugins.ServerPluginManager': Initialization of bean failed; nested exception is Plugin Chinese Pack [l10nzh] requires at least SonarQube 9.6.1.114
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:628)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:187)
at org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:80)
at org.sonar.server.platform.platformlevel.PlatformLevel2.start(PlatformLevel2.java:105)
at org.sonar.server.platform.PlatformImpl.start(PlatformImpl.java:196)
at org.sonar.server.platform.PlatformImpl.startLevel2Container(PlatformImpl.java:169)
at org.sonar.server.platform.PlatformImpl.init(PlatformImpl.java:77)
at org.sonar.server.platform.web.PlatformServletContextListener.contextInitialized(PlatformServletContextListener.java:43)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4768)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:72)
at org.sonar.server.app.WebServer.start(WebServer.java:55)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:97)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:81)
at org.sonar.server.app.WebServer.main(WebServer.java:104)
Caused by: org.sonar.api.utils.MessageException: Plugin Chinese Pack [l10nzh] requires at least SonarQube 9.6.1.114
2022.06.20 15:04:30 INFO web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2022.06.20 15:04:30 INFO web[][o.s.p.ProcessEntryPoint] Hard stopping process
2022.06.20 15:04:30 INFO app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
2022.06.20 15:04:30 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2022.06.20 15:04:30 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
How to make a jar in the plugins run?
I use sonarqube 5.4?
I installed sonarqube7.3 on the Centos7.3. And I installed the plugin (Chinese-pack 1.23) ,then I restarted the sonar. But it also in English.
I installed by web and manually, but they didn't work.
不论是通过web界面还是手工安装到目录下的方式都没有办法显示中文,求解
我按照下面官方文档 做了一个自定义规则插件放到extensions\plugins\目录下 结果启动不起来了
https://github.com/SonarSource/sonar-java/blob/master/docs/CUSTOM_RULES_101.md
下面是我的代码,这是我复制其中一个类的方法
去掉我的代码 就能正常启动
现在不知道咋办了 用的是最新版 sonarqube-9.2.4.50792
即手动打包jar
我是5.5,安装了插件不起作用,是否需要做配置?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.