『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: maxims

【ESPURNA 1.13.2】中文汉化版8-28日更新

[复制链接]

14

主题

253

帖子

1049

积分

金牌会员

Rank: 6Rank: 6

积分
1049
金钱
796
HASS币
0
 楼主| 发表于 2018-12-20 21:06:06 | 显示全部楼层
lanhome 发表于 2018-12-18 22:53
能汉化就很牛逼了,我看了半天还没明白怎么汉化,楼主说详细一点呗,VS code要安装什么插件,然后怎么操作 ...

查看一楼更新的东西~
回复

使用道具 举报

12

主题

184

帖子

762

积分

高级会员

Rank: 4

积分
762
金钱
578
HASS币
0
发表于 2019-1-19 23:04:42 | 显示全部楼层
求 GENERIC_ESP01S_RELAY_V40 固件汉化文件或者汉化指导。
回复

使用道具 举报

12

主题

184

帖子

762

积分

高级会员

Rank: 4

积分
762
金钱
578
HASS币
0
发表于 2019-1-28 20:18:13 | 显示全部楼层
求汉化指导
回复

使用道具 举报

14

主题

253

帖子

1049

积分

金牌会员

Rank: 6Rank: 6

积分
1049
金钱
796
HASS币
0
 楼主| 发表于 2019-1-29 19:11:11 | 显示全部楼层

请仔细看我在本贴的发表内容
回复

使用道具 举报

12

主题

184

帖子

762

积分

高级会员

Rank: 4

积分
762
金钱
578
HASS币
0
发表于 2019-1-31 15:01:13 | 显示全部楼层
maxims 发表于 2019-1-29 19:11
请仔细看我在本贴的发表内容

是不是先把..\espurna\data\index.all.html.gz  中的html文件解压汉化,替换后用gulp压缩,再重新编译一遍就行了?     gulp要下什么命令??
回复

使用道具 举报

14

主题

253

帖子

1049

积分

金牌会员

Rank: 6Rank: 6

积分
1049
金钱
796
HASS币
0
 楼主| 发表于 2019-2-2 15:39:27 | 显示全部楼层
hjf0124 发表于 2019-1-31 15:01
是不是先把..\espurna\data\index.all.html.gz  中的html文件解压汉化,替换后用gulp压缩,再重新编译一 ...

是汉化html文件夹内的文件,然后用gulp命令进行处理,处理完成之后会自动生成gz等一些文件供编译固件的时候调用
回复

使用道具 举报

12

主题

184

帖子

762

积分

高级会员

Rank: 4

积分
762
金钱
578
HASS币
0
发表于 2019-2-2 16:02:45 | 显示全部楼层
maxims 发表于 2019-2-2 15:39
是汉化html文件夹内的文件,然后用gulp命令进行处理,处理完成之后会自动生成gz等一些文件供编译固件的时 ...
PS F:\github\espurna\code> gulp
[15:48:20] Using gulpfile F:\github\espurna\code\gulpfile.js
[15:48:20] Starting 'default'...
[15:48:20] Starting 'webui'...
[15:48:20] Starting 'webui_small'...
[15:48:20] Starting 'webui_sensor'...
[15:48:20] Starting 'webui_light'...
[15:48:20] Starting 'webui_rfbridge'...
[15:48:20] Starting 'webui_rfm69'...
[15:48:20] Starting 'webui_all'...
[gulp-htmllint] F:\github\espurna\code\html\index.html [3,1]: (E036) indenting spaces must be used in groups of 4
[gulp-htmllint] F:\github\espurna\code\html\index.html [4,1]: (E036) indenting spaces must be used in groups of 4
[gulp-htmllint] F:\github\espurna\code\html\index.html [17,1]: (E036) indenting spaces must be used in groups of 4
[gulp-htmllint] F:\github\espurna\code\html\index.html [18,1]: (E036) indenting spaces must be used in groups of 4

.
.
.
.
.
.
.
.
.
[gulp-htmllint] F:\github\espurna\code\html\index.html [970,1]: (E036) indenting spaces must be used in groups of 4
[gulp-htmllint] F:\github\espurna\code\html\index.html [971,1]: (E036) indenting spaces must be used in groups of 4
[gulp-htmllint] F:\github\espurna\code\html\index.html [972,1]: (E036) indenting spaces must be used in groups of 4
[gulp-htmllint] F:\github\espurna\code\html\index.html [973,1]: (E036) indenting spaces must be used in groups of 4
[gulp-htmllint] F:\github\espurna\code\html\index.html [973,26]: (E015) line ending does not match format: lf
[15:48:20] 'webui_small' errored after 399 ms
[15:48:20] Error in plugin "gulp-htmllint"
Message:
    500 error(s) occurred
Details:
    domainEmitter: [object Object]
    domain: [object Object]
    domainThrown: false

[15:48:20] 'webui' errored after 414 ms
[15:48:20] 'default' errored after 419 ms
[15:48:20] The following tasks did not complete: webui_sensor, webui_light, webui_rfbridge, webui_rfm69, webui_all
[15:48:20] Did you forget to signal async completion?





代码是从github下来的,未做任何修改,在项目目录下为了排除干扰我还特地gulp clean过再执行gulp命令的。结果还是不成功。
我库不对吗?
我根据官方的https://github.com/xoseperez/espurna/wiki/WebInterface 去执行
node node_modules/gulp/bin/gulp.js  命令 得到的结果和  gulp  的一模一样。   我用的是vs code编辑器。烧录正常的,我试着改默认密码烧录进去都成功,就是不知道怎么汉化英文界面。哎~
回复

使用道具 举报

14

主题

253

帖子

1049

积分

金牌会员

Rank: 6Rank: 6

积分
1049
金钱
796
HASS币
0
 楼主| 发表于 2019-2-2 23:06:27 | 显示全部楼层
[quote]hjf0124 发表于 2019-2-2 16:02
PS F:\github\espurna\code> gulp
[15:48:20] Using gulpfile F:\github\ ...[/quote][code]PS C:\Users\NoThing\Desktop\espurna\code> gulp
[23:04:38] Using gulpfile ~\Desktop\espurna\code\gulpfile.js
[23:04:38] Starting 'default'...
[23:04:38] Starting 'webui'...
[23:04:38] Starting 'webui_small'...
[23:04:38] Starting 'webui_sensor'...
[23:04:38] Starting 'webui_light'...
[23:04:38] Starting 'webui_rfbridge'...
[23:04:38] Starting 'webui_rfm69'...
[23:04:38] Starting 'webui_all'...
Image index.rfbridge.html.gz    size: 51777 bytes
Image index.small.html.gz       size: 50891 bytes
Image index.light.html.gz       size: 59675 bytes
Image index.sensor.html.gz      size: 52977 bytes
Image index.all.html.gz         size: 62641 bytes
Image index.rfm69.html.gz       size: 81319 bytes
[23:04:49] Finished 'webui_rfbridge' after 11 s
[23:04:49] Finished 'webui_light' after 11 s
[23:04:49] Finished 'webui_sensor' after 11 s
[23:04:49] Finished 'webui_small' after 11 s
[23:04:49] Finished 'webui_all' after 11 s
[23:04:49] Finished 'webui_rfm69' after 11 s
[23:04:49] Finished 'webui' after 11 s
[23:04:49] Finished 'default' after 11 s

这是正确的提示信息,你是否安装npm、gulp包的时候有什么提示被你忽略了。另外,Html下边的文件修改注意格式之类的问题。
回复

使用道具 举报

0

主题

13

帖子

79

积分

注册会员

Rank: 2

积分
79
金钱
66
HASS币
0
发表于 2019-2-3 23:27:46 | 显示全部楼层
我也是看了您的帖子才接触到的这个,最终还是要感谢您才对!
回复

使用道具 举报

14

主题

253

帖子

1049

积分

金牌会员

Rank: 6Rank: 6

积分
1049
金钱
796
HASS币
0
 楼主| 发表于 2019-2-5 15:16:53 | 显示全部楼层
noxyang 发表于 2019-2-3 23:27
我也是看了您的帖子才接触到的这个,最终还是要感谢您才对!

客气了。。。。
都是站在前人的肩膀上……
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-21 14:12 , Processed in 0.063760 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表