prototeam / i18n-pick Goto Github PK
View Code? Open in Web Editor NEWused to pick chinese in a jsx project
used to pick chinese in a jsx project
您好,请问:扫描出来的zh-CH文件的id值定为自增长的数字。怎么才能够自定义Id值:如:{"id": "title", "defaultMessage":"标题"} ?
let zhText = text.replace(/"/g,'\"');
cb('这是一个错误')
const name = "我是一个名字";
NewExpression ,CallExpression,SwitchCase
这三个都可以被 StringLiteral 命中,并且 StringLiteral 的命中范围更广,包括拼接字符串比如
a.text('中文' + test);
a.title = '标题xxx[' + id + ']';
为什么没有直接使用 StringLiteral 而是分开使用了上面三种 type ?
请问一下,我按照提示安装扫描之后,启动项目时候出现这个问题,大概问题是出现在哪里呢
能都给一下这个的代码
// 中文文案不存在 zhCH.set(zhText, { key: "", defaultMessage: zhText, source: [{ type, location }] });
142行代码是否有问题呢
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.