@libs-ui/services-translate 0.2.356-36 → 0.2.356-38
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 +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -109,7 +109,7 @@ import { setInterpolateParamDefault } from '@libs-ui/services-translate';
|
|
|
109
109
|
|
|
110
110
|
// Thường đặt ở app.component.ts
|
|
111
111
|
setInterpolateParamDefault({
|
|
112
|
-
brand: '
|
|
112
|
+
brand: 'Example CRM',
|
|
113
113
|
hotline: '1900 1234',
|
|
114
114
|
});
|
|
115
115
|
```
|
|
@@ -122,7 +122,7 @@ Trong file dịch:
|
|
|
122
122
|
}
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
-
Kết quả: `"Liên hệ
|
|
125
|
+
Kết quả: `"Liên hệ Example CRM qua hotline 1900 1234"` — không cần `| translate: { brand: '...', hotline: '...' }`.
|
|
126
126
|
|
|
127
127
|
## MessageFormat — Plural & Select
|
|
128
128
|
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/services-translate",
|
|
3
|
-
"version": "0.2.356-
|
|
3
|
+
"version": "0.2.356-38",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
7
7
|
"@ngx-translate/core": "^15.0.0",
|
|
8
8
|
"ngx-translate-messageformat-compiler": "^7.0.0",
|
|
9
9
|
"@ngx-translate/http-loader": "^8.0.0",
|
|
10
|
-
"@libs-ui/utils": "0.2.356-
|
|
10
|
+
"@libs-ui/utils": "0.2.356-38",
|
|
11
11
|
"rxjs": "~7.8.0",
|
|
12
|
-
"@libs-ui/interfaces-types": "0.2.356-
|
|
12
|
+
"@libs-ui/interfaces-types": "0.2.356-38"
|
|
13
13
|
},
|
|
14
14
|
"sideEffects": false,
|
|
15
15
|
"module": "fesm2022/libs-ui-services-translate.mjs",
|