@companieshouse/ch-node-utils 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
- package/templates/locales-banner.njk +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# ch-node-utils
|
|
2
2
|
|
|
3
3
|
set of node utils which can be used across repos/projects.
|
|
4
|
-
Available as a normal npm
|
|
4
|
+
Available as a normal npm dependency([here on npmjs](https://www.npmjs.com/package/@companieshouse/ch-node-utils))
|
|
5
5
|
|
|
6
|
-
Areas for the different utilities stored in this repo:
|
|
6
|
+
## Areas for the different utilities stored in this repo:
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
### i18n (Internationalisation)
|
|
9
9
|
|
|
10
10
|
Internationalisation has been added to CHS, after already being available (at least for Welsh) on legacy systems (EWF/SCRS/CHD/...)
|
|
11
11
|
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ It receives:
|
|
|
16
16
|
{% for l in languages %}
|
|
17
17
|
<li class="govuk-language-select__list-item">
|
|
18
18
|
<a href="{{lang2url.addLangToUrl(currentUrl, l.IsoCode, true)}}" lang={{l.IsoCode}} rel="alternate" class="govuk-link" >
|
|
19
|
-
<span
|
|
19
|
+
<span>{{l.Name}}</span>
|
|
20
20
|
</a>
|
|
21
21
|
</li>
|
|
22
22
|
{% endfor %}
|