mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 22:46:13 +00:00
Add localizeString
method to PickTemplate
component for string localization
This commit is contained in:
parent
27d344c97d
commit
2d8cda30b9
@ -58,6 +58,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { buildLink } from "ChillDocGeneratorAssets/lib/document-generator";
|
import { buildLink } from "ChillDocGeneratorAssets/lib/document-generator";
|
||||||
|
import { localizeString } from "ChillMainAssets/lib/localizationHelper/localizationHelper";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "PickTemplate",
|
name: "PickTemplate",
|
||||||
@ -113,6 +114,9 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
localizeString(str) {
|
||||||
|
return localizeString(str);
|
||||||
|
},
|
||||||
clickGenerate(event, link) {
|
clickGenerate(event, link) {
|
||||||
if (!this.preventDefaultMoveToGenerate) {
|
if (!this.preventDefaultMoveToGenerate) {
|
||||||
window.location.assign(link);
|
window.location.assign(link);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user