🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

nextcloud-l10n

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nextcloud-l10n

Nextcloud L10n helpers for apps and libraries

latest
npmnpm
Version
0.1.1
Version published
Maintainers
5
Created
Source

nextcloud-l10n

Nextcloud L10n helpers for apps and libraries

Usage

In order to not break the l10n string extraction scripts, make sure to alias the imported function to match the legacy syntax:

import {translate as t, translatePlural as n} from 'nextcloud-l10n'

t('myapp', 'Hello!')
n('myapp', '%n cloud', '%n clouds', 100)

Keywords

nextcloud

FAQs

Package last updated on 26 Sep 2019

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