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 commit62b2609e86
) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit1ba4c8b129
) Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
This commit is contained in:
parent
78c45e8363
commit
2d594b64eb
5 changed files with 6 additions and 6 deletions
|
@ -153,7 +153,7 @@ export default {
|
|||
toolbar_options: [
|
||||
{
|
||||
to: "AgreementsFormAdd",
|
||||
button_title: "New agreement",
|
||||
button_title: this.$__("New agreement"),
|
||||
},
|
||||
],
|
||||
}
|
||||
|
|
|
@ -101,7 +101,7 @@ export default {
|
|||
toolbar_options: [
|
||||
{
|
||||
to: "EHoldingsLocalPackagesFormAdd",
|
||||
button_title: "New package",
|
||||
button_title: this.$__("New package"),
|
||||
},
|
||||
],
|
||||
}
|
||||
|
|
|
@ -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"),
|
||||
},
|
||||
],
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ export default {
|
|||
toolbar_options: [
|
||||
{
|
||||
to: "LicensesFormAdd",
|
||||
button_title: "New license",
|
||||
button_title: this.$__("New license"),
|
||||
},
|
||||
],
|
||||
tableOptions: {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue