fix magazine translations
This commit is contained in:
@@ -727,7 +727,7 @@ export default class depot extends Vue {
|
||||
if(this.isSiemens){
|
||||
if (mag && mag.name)
|
||||
return this.$options.filters.localize('store_title_magazine', "Magazzino") + " " + id + ": " + mag.name;
|
||||
else if (id)
|
||||
else
|
||||
return this.$options.filters.localize('magazine_name_' + id, "Magazzino");
|
||||
} else {
|
||||
return this.$options.filters.localize('magazine_name_' + id, "Magazzino");
|
||||
|
||||
@@ -66,11 +66,11 @@ export default class Tooling extends Vue {
|
||||
if(this.isSiemens){
|
||||
if (name)
|
||||
return name;
|
||||
else if (id)
|
||||
else
|
||||
return this.$options.filters.localize('magazine_name_' + id, "Magazzino")
|
||||
}
|
||||
else {
|
||||
return this.$options.filters.localize('magazine_name_' + id, "Magazzino");
|
||||
return this.$options.filters.localize('magazine_name_' + id, "Magazzino")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user