Socket
Socket
Sign inDemoInstall

@wordpress/i18n

Package Overview
Dependencies
Maintainers
21
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/i18n - npm Package Compare versions

Comparing version 4.1.1 to 4.1.2

4

package.json
{
"name": "@wordpress/i18n",
"version": "4.1.1",
"version": "4.1.2",
"description": "WordPress internationalization (i18n) library.",

@@ -43,3 +43,3 @@ "author": "The WordPress Contributors",

},
"gitHead": "954d6776be2ee80b5975e4ced6a3d481d8a89354"
"gitHead": "c6e7eca347923b56c0117f8129f80eba6ac59f52"
}

@@ -30,3 +30,3 @@ # Internationalization (i18n)

<a name="createI18n" href="#createI18n">#</a> **createI18n**
### createI18n

@@ -45,7 +45,7 @@ Create an i18n instance

<a name="defaultI18n" href="#defaultI18n">#</a> **defaultI18n**
### defaultI18n
Default, singleton instance of `I18n`.
<a name="getLocaleData" href="#getLocaleData">#</a> **getLocaleData**
### getLocaleData

@@ -66,3 +66,3 @@ Returns locale data by domain in a Jed-formatted JSON object shape.

<a name="hasTranslation" href="#hasTranslation">#</a> **hasTranslation**
### hasTranslation

@@ -81,3 +81,3 @@ Check if there is a translation for a given string (in singular form).

<a name="isRTL" href="#isRTL">#</a> **isRTL**
### isRTL

@@ -95,3 +95,3 @@ Check if current locale is RTL.

<a name="resetLocaleData" href="#resetLocaleData">#</a> **resetLocaleData**
### resetLocaleData

@@ -110,3 +110,3 @@ Resets all current Tannin instance locale data and sets the specified

<a name="setLocaleData" href="#setLocaleData">#</a> **setLocaleData**
### setLocaleData

@@ -125,3 +125,3 @@ Merges locale data into the Tannin instance by domain. Accepts data in a

<a name="sprintf" href="#sprintf">#</a> **sprintf**
### sprintf

@@ -144,3 +144,3 @@ Returns a formatted string. If an error occurs in applying the format, the

<a name="subscribe" href="#subscribe">#</a> **subscribe**
### subscribe

@@ -157,3 +157,3 @@ Subscribes to changes of locale data

<a name="_n" href="#_n">#</a> **\_n**
### \_n

@@ -178,3 +178,3 @@ Translates and retrieves the singular or plural form based on the supplied

<a name="_nx" href="#_nx">#</a> **\_nx**
### \_nx

@@ -200,3 +200,3 @@ Translates and retrieves the singular or plural form based on the supplied

<a name="_x" href="#_x">#</a> **\_x**
### \_x

@@ -219,3 +219,3 @@ Retrieve translated string with gettext context.

<a name="__" href="#__">#</a> **\_\_**
### \_\_

@@ -237,5 +237,4 @@ Retrieve the translation of text.

<!-- END TOKEN(Autogenerated API docs) -->
<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
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