i18nliner-handlebars
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "i18nliner-handlebars", | ||
"description": "handlebars i18n made simple", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"contributors": [ | ||
@@ -26,3 +26,3 @@ { | ||
"grunt-es6-module-transpiler": "~0.6.0", | ||
"i18nliner": "^0.0.11", | ||
"i18nliner": "~0.0.11", | ||
"matchdep": "~0.3.0", | ||
@@ -40,4 +40,4 @@ "mocha": "~1.16.2", | ||
"peerDependencies": { | ||
"i18nliner": "^0.0.11" | ||
"i18nliner": "~0.0.11" | ||
} | ||
} |
@@ -19,4 +19,2 @@ # I18nliner | ||
translation (like we do in i18nliner.rb) | ||
* audit/fix/implement html-safety gaps. e.g. placeholder are assumed to | ||
be unsafe (we don't check the escaped bit) | ||
* bower | ||
@@ -173,6 +171,8 @@ | ||
"*Ohai %{user_name}*, you can **lead** a new discussion or ***join*** an existing one." | ||
user_name: user.name | ||
w0='<b>\1</b>', | ||
w1=(__i18nliner_concat '<a href="/new" title="' (__i18nliner_escape (some helper)) '">$1</a>') | ||
w2='<a href="/search>$1</a>' | ||
user_name=(user.name) | ||
w0="<b>$1</b>" | ||
w1=(__i18nliner_concat "<a href=\"/new\" title=\"" | ||
(__i18nliner_escape (some helper)) | ||
"\">$1</a>") | ||
w2="<a href="/search>$1</a>" | ||
}} | ||
@@ -184,3 +184,3 @@ </p> | ||
will create placeholders for any other (inline) handlebars expressions. | ||
Block helpers (e.g. `{{#if cond %>...`) are *not* supported within a | ||
Block helpers (e.g. `{{#if cond }}...`) are *not* supported within a | ||
block translation. The only exception to this rule is nested translation | ||
@@ -187,0 +187,0 @@ calls, e.g. this is totally fine: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47267