New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-static-i18n

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-static-i18n - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "grunt-static-i18n",
"version": "0.3.0",
"version": "0.3.1",
"description": "Grunt plugin to translate static assets.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/beck/grunt-static-i18n",

@@ -103,2 +103,8 @@ # Static Internationalization

#### options.textDomain
Type: `String`
Default value: `messages`
Name of your po files: `locale/<lang>/LC_MESSAGES/<textDomain>.po`
## Tests

@@ -110,2 +116,3 @@

* 0.3.1 - add text domain to options
* 0.3.0 - fix issue with locale discovery

@@ -112,0 +119,0 @@ * 0.2.0 - quote translated text when rendering javascript

@@ -40,3 +40,4 @@ /*

var po = path.join(
statici18n.options.localeDir, lang, 'LC_MESSAGES', 'messages.po'
statici18n.options.localeDir, lang, 'LC_MESSAGES',
statici18n.options.textDomain + '.po'
);

@@ -132,3 +133,4 @@ if (!grunt.file.exists(po)){

imports: { '_': gettext }
}
},
textDomain: 'messages'
});

@@ -135,0 +137,0 @@

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