Quantcast
Channel: 青蛙的分享 - 小众软件官方论坛
Viewing all articles
Browse latest Browse all 88

I18nglish(自动i18n):将英文单词按照 i18n 的规则自动缩写

$
0
0

比如:

  • i18n = internationalization
  • k8s = Kubernetes

i和n是它的首尾字母,18则是中间的字符数量。

这个项目,就是把英文单词缩写成首位字母中间数字。

使用前:

Alice was beginning to get very tired of sitting by her sister
on the bank, and of having nothing to do:  once or twice she had
peeped into the book her sister was reading, but it had no
pictures or conversations in it, `and what is the use of a book,'
thought Alice `without pictures or conversation?'

使用后:

A3e w1s b7g to g1t v2y t3d of s5g by h1r s4r
on t1e b2k, a1d of h4g n5g to do:  o2e or t3e s1e h1d
p4d i2o t1e b2k h1r s4r w1s r5g, b1t it h1d no
p6s or c11s in it, `a1d w2t is t1e u1e of a b2k,'
t5t A3e `w5t p6s or c10n?'

来自微博的 Microsoft-Edge-Dev 同学推荐。

9 个帖子 - 7 位参与者

阅读完整话题


Viewing all articles
Browse latest Browse all 88

Trending Articles