New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rctui-lang

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rctui-lang

rctui language package

latest
Source
npmnpm
Version
0.1.5
Version published
Weekly downloads
5
-79.17%
Maintainers
1
Weekly downloads
 
Created
Source

rctui 用来处理文字信息的语言包,用来实现多语言支持,目前只实现了简体中文(zh-cn)

install

npm install rctui-lang

getLang(path)

用来获取相应文字信息,以 '.' 分隔

import { getLang } from 'rctui-lang'
let text = getLang('buttons.ok')

setLang(map)

设置文字内容

setLocation(location)

默认值为 'zh-cn'

LOCATION

当前设置的 location

import { LOCATION } from 'rctui-lang'

Keywords

react ui

FAQs

Package last updated on 31 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts