Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ilib-loctool-webos-cpp

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ilib-loctool-webos-cpp

A loctool plugin that knows how to process C++ files

  • 1.7.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
460
increased by13.3%
Maintainers
1
Weekly downloads
 
Created
Source

ilib-loctool-webos-cpp

ilib-webos-loctool-cpp is a plugin for the loctool allows it to read and localize Cpp files. This plugin is optimized for the webOS platform.

Cpp FileType

This plugin expects to be used libwebosi18n library to internationalize your Cpp code.
It extracts string usages used in the examples below by considering them as strings that need to be translated.

getLocString("Yes");
getLocStringWithKey("PictureMode.Standard", "Standard");
Sample

The simple sample is provided in the ilib-loctool-samples repository. Please check the webos-cpp sample to see how the Cpp file type is localized.

License

Copyright (c) 2019-2024, JEDLSoft

This plugin is license under Apache2. See the LICENSE file for more details.

Release Notes

v1.7.4

  • Updated dependencies. (loctool: 2.24.0)
  • Converted all the unit tests from nodeunit to jest.

v1.7.3

  • Removed npm-shrinkwrap.json. It takes a bigger memory size than I expected on webOS. so I decided not to maintain the file here.

v1.7.2

  • Added loctool package to peerDependencies in package.json.

v1.7.1

  • Updated dependencies. (loctool: 2.23.1)
  • Updated to be included npm-shrinkwrap.json in the published files.

v1.7.0

  • Updated dependencies. (loctool: 2.22.0)
  • Updated to support more file extsnsions.
  • Added ability to disable pseudo-localization in plugin when a project's pseudo-localization is enabled.
   "settings": {
        "cpp": {
            "disablePseudo": true
        }
    }

v1.6.0

  • Updated dependencies. (loctool: 2.21.0)
  • Fixed an issue where didn't handle single quotes properly.
  • Supported pseudo localization.
  • Updated not to load common data repeatedly if it's loaded from another plugin in a project.

v1.5.2

  • Updated dependencies.

v1.5.1

  • Updated dependencies.

v1.5.0

  • Updated dependencies. (loctool: 2.20.2)
  • Fixed an issue where common's locale inheritance data values were not checked.
  • Updated to check common data's as well when getting base translation.

v1.4.0

  • Updated to custom locale inheritance feature work properly in generate mode.
  • Added guard code to prevent errors when the common data path is incorrect.
  • Updated to generate resources by comparing base translation data even in generate mode.
  • Fixed an issue where localeinherit related data was not created properly according to the order of locales.
  • Fixed an issue where data is duplicated when it is the same as base translation in generate mode.

v1.3.0

  • Updated dependencies. (loctool: 2.20.0)
  • Added ability to define custom locale inheritance.
    • e.g. en-AU inherits translations from en-GB
         "settings": {
              "localeInherit": {
                  "en-AU": "en-GB"
              }
          }
      
  • Added ability to use common locale data.
    • App's xliff data has a higher priority, if there's no matched string there, then loctool checks data in the commonXliff directory.
         "settings": {
              "webos": {
                  "commonXliff": "./common"
              }
          }
      

v1.2.0

  • Updated dependencies. (loctool: 2.18.0)
  • Updated to support loctool's generate mode.
  • Added ability to override language default locale.
       "settings": {
            "localeMap": {
                "es-CO": "es"
            }
        }
    

v1.1.7

  • Updated dependencies. (loctool: 2.17.0)
  • Fixed an issue where strings are not extracted due to incorrect deletion of commented lines.
  • Updated to check language default locale translation not to generate duplicate resources.

v1.1.6

  • Updated dependencies.(loctool: 2.16.3)
  • Used the logger provided by the loctool instead of using log4js directly.
  • Added node 16 version testing for circleCI (minimum version of node is v10.0.0)

v1.1.5

  • Updated dependent module version to have the latest one. (loctool: 2.16.2)

v1.1.4

  • Updated dependent module version to have the latest one. (loctool: 2.14.1)

v1.1.3

  • Updated dependent module version to have the latest one. (loctool: 2.13.0)

v1.1.2

  • Updated dependent module version to have the latest one. (loctool: 2.12.0)

v1.1.1

  • Updated dependent module version to have the latest one. (loctool: 2.10.3)

v1.1.0

  • Removed commented lines before parsing so that strings in the comments will not be extracted.
  • Updated dependent module version to have the latest one.

v1.0.1

  • Updated code to print log with log4js.

v1.0.0

  • Implemented to parse properly regarding resource bundle usage of Cpp files.

Keywords

FAQs

Package last updated on 13 Feb 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc