Bug 35374: Remove ES6 template literals to fix translation strings

The .po files contains the whole block after this line. I don't really
understand what's happening but this change fixes the problem.

Test plan:
1. Run the following command before and after the patch and compare the
diff
% gulp po:update --lang de-DE --task messages-js
2. Confirm that the list on this vue is correctly populated

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-11-21 13:36:17 +01:00 committed by Tomas Cohen Arazi
parent 7218fd991d
commit b6f350e275
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -57,7 +57,10 @@ export default {
)
},
table_url() {
let url = `/api/v1/erm/usage_${this.data_type}s?usage_data_provider_id=${this.$route.params.usage_data_provider_id}`
let url = "/api/v1/erm/usage_%ss?usage_data_provider_id=%s".format(
this.data_type,
this.$route.params.usage_data_provider_id
)
return url
},
getTableColumns() {