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>
(cherry picked from commit 1ba4c8b129)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
This commit is contained in:
Matt Blenkinsop 2023-04-05 14:02:39 +00:00 committed by Pedro Amorim
parent 78c45e8363
commit 2d594b64eb
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>