From 395a7e61278b183082cfa289dcc2964bd81488eb Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Tue, 21 Apr 2020 20:24:20 +0200 Subject: [PATCH] Improvements --- _i18n/en.yml | 2 +- _i18n/en/templates/device_install.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_i18n/en.yml b/_i18n/en.yml index cd515c97f..9504fd1eb 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -1 +1 @@ -test: "*hello* device " +test: "*hello* $device$" diff --git a/_i18n/en/templates/device_install.md b/_i18n/en/templates/device_install.md index a889bf67f..10c2cd850 100644 --- a/_i18n/en/templates/device_install.md +++ b/_i18n/en/templates/device_install.md @@ -5,6 +5,6 @@ {% capture test_translation %}{% t test %}{% endcapture %} -{{ test_translation | replace: "device", device.name }} +{{ test_translation | replace: "$device$", device.name }} -- GitLab