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

@jupyterlab/translation

Package Overview
Dependencies
Maintainers
29
Versions
250
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/translation - npm Package Compare versions

Comparing version 3.3.0-alpha.15 to 4.0.0-alpha.1

34

lib/gettext.d.ts

@@ -97,3 +97,3 @@ /**

*
* @return The current delimiter.
* @returns The current delimiter.
*/

@@ -110,3 +110,3 @@ getContextDelimiter(): string;

*
* @return The current locale.
* @returns The current locale.
*/

@@ -123,3 +123,3 @@ getLocale(): string;

*
* @return The current domain string.
* @returns The current domain string.
*/

@@ -136,3 +136,3 @@ getDomain(): string;

*
* @return The strings prefix.
* @returns The strings prefix.
*/

@@ -165,3 +165,3 @@ getStringsPrefix(): string;

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*

@@ -181,3 +181,3 @@ * ### Notes

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*

@@ -196,3 +196,3 @@ * ### Notes

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*

@@ -213,3 +213,3 @@ * ### Notes

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*

@@ -227,3 +227,3 @@ * ### Notes

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*/

@@ -237,3 +237,3 @@ gettext(msgid: string, ...args: any[]): string;

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*/

@@ -248,3 +248,3 @@ ngettext(msgid: string, msgid_plural: string, n: number, ...args: any[]): string;

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*

@@ -265,3 +265,3 @@ * ### Notes

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*/

@@ -279,3 +279,3 @@ npgettext(msgctxt: string, msgid: string, msgid_plural: string, n: number, ...args: any[]): string;

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*/

@@ -288,3 +288,3 @@ dcnpgettext(domain: string, msgctxt: string, msgid: string, msgid_plural: string, n: number, ...args: any[]): string;

*
* @return An array of locales.
* @returns An array of locales.
*/

@@ -296,3 +296,3 @@ private expandLocale;

* @param pluralForm - Plural form string..
* @return An function to compute plural forms.
* @returns An function to compute plural forms.
*/

@@ -304,3 +304,3 @@ private getPluralFunc;

* @param str - Translation string.
* @return A translation string without context.
* @returns A translation string without context.
*/

@@ -316,3 +316,3 @@ private removeContext;

*
* @return A translation string without context.
* @returns A translation string without context.
*

@@ -319,0 +319,0 @@ * ### Notes

@@ -60,3 +60,3 @@ /* ----------------------------------------------------------------------------

*
* @return The current delimiter.
* @returns The current delimiter.
*/

@@ -77,3 +77,3 @@ getContextDelimiter() {

*
* @return The current locale.
* @returns The current locale.
*/

@@ -94,3 +94,3 @@ getLocale() {

*
* @return The current domain string.
* @returns The current domain string.
*/

@@ -111,3 +111,3 @@ getDomain() {

*
* @return The strings prefix.
* @returns The strings prefix.
*/

@@ -163,3 +163,3 @@ getStringsPrefix() {

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*

@@ -181,3 +181,3 @@ * ### Notes

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*

@@ -198,3 +198,3 @@ * ### Notes

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*

@@ -217,3 +217,3 @@ * ### Notes

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*

@@ -233,3 +233,3 @@ * ### Notes

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*/

@@ -245,3 +245,3 @@ gettext(msgid, ...args) {

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*/

@@ -258,3 +258,3 @@ ngettext(msgid, msgid_plural, n, ...args) {

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*

@@ -277,3 +277,3 @@ * ### Notes

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*/

@@ -293,3 +293,3 @@ npgettext(msgctxt, msgid, msgid_plural, n, ...args) {

*
* @return A translated string if found, or the original string.
* @returns A translated string if found, or the original string.
*/

@@ -349,3 +349,3 @@ dcnpgettext(domain, msgctxt, msgid, msgid_plural, n, ...args) {

*
* @return An array of locales.
* @returns An array of locales.
*/

@@ -366,3 +366,3 @@ expandLocale(locale) {

* @param pluralForm - Plural form string..
* @return An function to compute plural forms.
* @returns An function to compute plural forms.
*/

@@ -389,3 +389,3 @@ // eslint-disable-next-line @typescript-eslint/ban-types

* @param str - Translation string.
* @return A translation string without context.
* @returns A translation string without context.
*/

@@ -408,3 +408,3 @@ removeContext(str) {

*
* @return A translation string without context.
* @returns A translation string without context.
*

@@ -411,0 +411,0 @@ * ### Notes

{
"name": "@jupyterlab/translation",
"version": "3.3.0-alpha.15",
"version": "4.0.0-alpha.1",
"description": "JupyterLab - Translation services",

@@ -42,9 +42,9 @@ "keywords": [

"dependencies": {
"@jupyterlab/coreutils": "^5.3.0-alpha.15",
"@jupyterlab/services": "^6.3.0-alpha.15",
"@jupyterlab/statedb": "^3.3.0-alpha.15",
"@lumino/coreutils": "^1.10.0"
"@jupyterlab/coreutils": "^6.0.0-alpha.1",
"@jupyterlab/services": "^7.0.0-alpha.1",
"@jupyterlab/statedb": "^4.0.0-alpha.1",
"@lumino/coreutils": "^1.11.1"
},
"devDependencies": {
"@jupyterlab/testutils": "^3.3.0-alpha.15",
"@jupyterlab/testutils": "^4.0.0-alpha.1",
"@types/jest": "^26.0.10",

@@ -51,0 +51,0 @@ "jest": "^26.4.2",

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