Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
ilib-loctool-webos-ts-resource
Advanced tools
A loctool plugin that knows how to process ts resource files
ilib-loctool-webos-ts-resource is a plugin for the loctool that allows it to read and localize TS resource files. This plugin is optimized for the webOS platform.
This plugin is for generating TS type of resource file from the QML application.
The TS file format used by Qt Linguist. The TS file is an intermediate output for QML localization. *.qm files are required for the application. Converting ts file to qm file work happens during a webOS build. Here's a simple ts file example.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ko-KR" sourcelanguage="en-US">
<context>
<name>Intro</name>
<message>
<location filename="Intro.qml"></location>
<source>Hello</source>
<translation>안녕하세요</translation>
</message>
</context>
</TS
The simple sample is provided in ilib-loctool-samples repository. Please check the webos-qml sample to see what TS file looks like.
Copyright (c) 2019-2023, JEDLSoft
This plugin is license under Apache2. See the LICENSE file for more details.
npm-shrinkwrap.json
. It takes a bigger memory size than I expected on webOS. so I decided not to maintain the file here.basename()
to get filename from the path.loctool
package to peerDependencies
in package.json
.npm-shrinkwrap.json
in the published files.xml2json
package to xml-js
"settings": {
"localeMap": {
"es-CO": "es"
}
}
newFile()
to get locale parameter for convert featureen-KR
.key
value is not written to TS file.<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ko-KR" sourcelanguage="en-US">
<context>
<name>Intro</name>
<message>
<location filename="Intro.qml"></location>
<source>Hello!</source>
<translation>안녕</translation>
</message>
</context>
</TS
FAQs
A loctool plugin that knows how to process ts resource files
The npm package ilib-loctool-webos-ts-resource receives a total of 387 weekly downloads. As such, ilib-loctool-webos-ts-resource popularity was classified as not popular.
We found that ilib-loctool-webos-ts-resource demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.