[Koha-bugs] [Bug 35374] New: Translations contain config from ERM/data providers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 21 11:41:04 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35374

            Bug ID: 35374
           Summary: Translations contain config from ERM/data providers
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: I18N/L10N
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org
                CC: frederic at tamil.fr, jonathan.druart+koha at gmail.com,
                    matt.blenkinsop at ptfs-europe.com

https://translate.koha-community.org/translate/koha/master/messages-js/de/?checksum=a8b31c9919434571

This shouldn't appear in translations:


            return url
        },
        getTableColumns() {
            const column_options = [
                {
                    used_by: ["title", "platform", "item", "database"],
                    column: {
                        title: __(
                            this.data_type.charAt(0).toUpperCase() +
                                this.data_type.slice(1)
                        ),
                        data: this.data_type,
                        searchable: true,
                        orderable: true,
                    },
                },
                {
                    used_by: ["item", "database", "platforms"],
                    column: {
                        title: "Platform",
                        data: "platform",
                        searchable: true,
                        orderable: true,
                    },
                },
                {
                    used_by: ["title", "item", "database"],
                    column: {
                        title: "Publisher",
                        data: "publisher",
                        searchable: true,
                        orderable: true,
                    },
                },
                {
                    used_by: ["title", "database"],
                    column: {
                        title: "Publisher ID",
                        data: "publisher_id",
                        searchable: true,
                        orderable: true,
                    },
                },
                {
                    used_by: ["title"],
                    column: {
                        title: "DOI",
                        data: "title_doi",
                        searchable: true,
                        orderable: true,
                    },
                },
                {
                    used_by: ["title"],
                    column: {
                        title: "Print ISSN",
                        data: "print_issn",
                        searchable: true,
                        orderable: true,
                    },
                },
                {
                    used_by: ["title"],
                    column: {
                        title: "Online ISSN",
                        data: "online_issn",
                        searchable: true,
                        orderable: true,
                    },
                },
                {
                    used_by: ["title"],
                    column: {
                        title: "URI",
                        data: "title_uri",
                        searchable: true,
                        orderable: true,
                    },
                },
            ]
            const columns = column_options
                .filter(column => column.used_by.includes(this.data_type))
                .map(result => result.column)
            return columns
        },
    },
    mounted() {
        if (!this.building_table) {
            this.building_table = true
            this.getData()
        }
    },
    props: ["data_type"],
    components: { KohaTable },
    name: "UsageStatisticsProviderDataList",
}
</script>

<style scoped>
#title_list {
    display: table;
}
</style>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list