Bugzilla – Attachment 175933 Details for
Bug 36039
The output of audit_database.pl should be accessible through the UI
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36039: (QA follow-up): Address i18n for print messages
Bug-36039-QA-follow-up-Address-i18n-for-print-mess.patch (text/plain), 1.46 KB, created by
Pedro Amorim
on 2024-12-24 13:14:31 UTC
(
hide
)
Description:
Bug 36039: (QA follow-up): Address i18n for print messages
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-12-24 13:14:31 UTC
Size:
1.46 KB
patch
obsolete
>From cb34bbb629ad111bbc253fb206c96a99be3ca177 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 24 Dec 2024 12:37:29 +0000 >Subject: [PATCH] Bug 36039: (QA follow-up): Address i18n for print messages > >--- > Koha/Database/Auditor.pm | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/Koha/Database/Auditor.pm b/Koha/Database/Auditor.pm >index ff0dc8533f4..fd01ac4be83 100644 >--- a/Koha/Database/Auditor.pm >+++ b/Koha/Database/Auditor.pm >@@ -22,6 +22,8 @@ use SQL::Translator::Diff; > > use C4::Context; > >+use Koha::I18N qw(__); >+ > =head1 NAME > > Koha::Database::Auditor >@@ -86,7 +88,7 @@ sub _get_db { > my ($self) = @_; > > my $database_name = C4::Context->config("database"); >- print "Parsing schema for database '$database_name'\n" if $self->{is_cli}; >+ print sprintf( __("Parsing schema for database %s\n"), $database_name ) if $self->{is_cli}; > my $dbh = C4::Context->dbh; > my $parser = SQL::Translator->new( > parser => 'DBI', >@@ -126,7 +128,7 @@ Retrieves and returns the schema using SQL::Translator for the given file > sub _get_kohastructure { > my ($self) = @_; > >- print "Parsing schema for file $self->{filename} \n" if $self->{is_cli}; >+ print sprintf( __("Parsing schema for file %s\n"), $self->{filename} ) if $self->{is_cli}; > my $translator = SQL::Translator->new(); > $translator->parser("MySQL"); > my $schema = $translator->translate( $self->{filename} ); >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36039
:
161892
|
162462
|
162463
|
166097
|
166098
|
166099
|
166155
|
166156
|
166157
|
169225
|
169226
|
169227
|
174403
|
174404
|
174405
| 175933 |
175934