Bug 33417: Fix translation in toolbar

This commit allows the string to be translated - tested using fr-FR and a dummy string in the .po file

Test plan as above

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 62b2609e86)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Matt Blenkinsop 2023-04-05 14:02:39 +00:00 committed by Martin Renvoize
parent 11d27b0a4a
commit 1ba4c8b129
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
5 changed files with 6 additions and 6 deletions

View File

@ -153,7 +153,7 @@ export default {
toolbar_options: [
{
to: "AgreementsFormAdd",
button_title: "New agreement",
button_title: this.$__("New agreement"),
},
],
}

View File

@ -101,7 +101,7 @@ export default {
toolbar_options: [
{
to: "EHoldingsLocalPackagesFormAdd",
button_title: "New package",
button_title: this.$__("New package"),
},
],
}

View File

@ -93,11 +93,11 @@ export default {
toolbar_options: [
{
to: "EHoldingsLocalTitlesFormAdd",
button_title: "New title",
button_title: this.$__("New title"),
},
{
to: "EHoldingsLocalTitlesFormImport",
button_title: "Import from list",
button_title: this.$__("Import from list"),
},
],
}

View File

@ -53,7 +53,7 @@ export default {
toolbar_options: [
{
to: "LicensesFormAdd",
button_title: "New license",
button_title: this.$__("New license"),
},
],
tableOptions: {

View File

@ -6,7 +6,7 @@
:to="{ name: option.to }"
class="btn btn-default"
><font-awesome-icon icon="plus" />
{{ $__(`${option.button_title}`) }}</router-link
{{ option.button_title }}</router-link
>
</div>
</template>