Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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-2024, JEDLSoft
This plugin is license under Apache2. See the LICENSE file for more details.
nodeunit
to jest
.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 289 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.