Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@dao-dao/i18n
Advanced tools
[Internationalization](https://www.w3.org/standards/webdesign/i18n) (i.e. translation) system for the DAO DAO UI.
Internationalization (i.e. translation) system for the DAO DAO UI.
See ./locales/en/translation.json
. Make a folder with your language's (ISO 639-1)[https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes] code and place your translation there. When you're done, make sure to add your language's code to the config.i18n.locales
array in the ./next-i18next.config.js
file.
Keep it precise and pithy, in that order; people's businesses depend on understanding what this software does. Within those constraints, keep it as casual and informal as possible.
To compare two translation files to see what keys have been added, removed, and
modified, run yarn get-diff <locale1.json> <locale2.json>
. For example, to see
what is missing from the Spanish translation that exists in the English
translation, run the following command from this folder:
yarn get-diff locales/es/translation.json locales/en/translation.json
When comparing two different languages, the added and removed keys will be helpful in figuring out what needs to change, and the modified keys will be helpful in comparing the translations' accuracies.
When comparing two versions of the same language, the added and removed keys will be helpful in figuring out what needs to be translated, and the modified keys will be helpful in figuring out what needs to be updated.
FAQs
[Internationalization](https://www.w3.org/standards/webdesign/i18n) (i.e. translation) system for the DAO DAO UI.
The npm package @dao-dao/i18n receives a total of 21 weekly downloads. As such, @dao-dao/i18n popularity was classified as not popular.
We found that @dao-dao/i18n demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.