Bugzilla – Attachment 172751 Details for
Bug 35570
Add a generic master form in ILL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35570: Make strings in Standard.pm translatable
Bug-35570-Make-strings-in-Standardpm-translatable.patch (text/plain), 4.34 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-10-14 18:01:53 UTC
(
hide
)
Description:
Bug 35570: Make strings in Standard.pm translatable
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-10-14 18:01:53 UTC
Size:
4.34 KB
patch
obsolete
>From 872710ff3583166bc7bbfec3135b4f4b7b958a3a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 14 Oct 2024 11:23:15 -0300 >Subject: [PATCH] Bug 35570: Make strings in Standard.pm translatable > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/ILL/Backend/Standard.pm | 67 ++++++++++++++++++------------------ > 1 file changed, 34 insertions(+), 33 deletions(-) > >diff --git a/Koha/ILL/Backend/Standard.pm b/Koha/ILL/Backend/Standard.pm >index 62ecbe30264..cb810da47e6 100644 >--- a/Koha/ILL/Backend/Standard.pm >+++ b/Koha/ILL/Backend/Standard.pm >@@ -23,6 +23,7 @@ use File::Basename qw( dirname ); > use C4::Installer; > > use Koha::DateUtils qw/ dt_from_string /; >+use Koha::I18N qw(__); > use Koha::ILL::Requests; > use Koha::ILL::Request::Attribute; > use C4::Biblio qw( AddBiblio ); >@@ -168,8 +169,8 @@ sub status_graph { > MIG => { > prev_actions => [ 'NEW', 'REQ', 'GENREQ', 'REQREV', 'QUEUED', 'CANCREQ', ], > id => 'MIG', >- name => 'Switched provider', >- ui_method_name => 'Switch provider', >+ name => __('Switched provider'), >+ ui_method_name => __('Switch provider'), > method => 'migrate', > next_actions => [], > ui_method_icon => 'fa-search', >@@ -177,8 +178,8 @@ sub status_graph { > EDITITEM => { > prev_actions => ['NEW'], > id => 'EDITITEM', >- name => 'Edited item metadata', >- ui_method_name => 'Edit item metadata', >+ name => __('Edited item metadata'), >+ ui_method_name => __('Edit item metadata'), > method => 'edititem', > next_actions => [], > ui_method_icon => 'fa-edit', >@@ -912,35 +913,35 @@ Return a hashref of core fields > > sub _get_core_fields { > return { >- article_author => 'Article author', >- article_title => 'Article title', >- associated_id => 'Associated ID', >- author => 'Author', >- chapter_author => 'Chapter author', >- chapter => 'Chapter', >- conference_date => 'Conference date', >- doi => 'DOI', >- editor => 'Editor', >- institution => 'Institution', >- isbn => 'ISBN', >- issn => 'ISSN', >- issue => 'Issue', >- item_date => 'Date', >- pages => 'Pages', >- pagination => 'Pagination', >- paper_author => 'Paper author', >- paper_title => 'Paper title', >- part_edition => 'Part / Edition', >- publication => 'Publication', >- published_date => 'Publication date', >- published_place => 'Place of publication', >- publisher => 'Publisher', >- sponsor => 'Sponsor', >- title => 'Title', >- type => 'Type', >- venue => 'Venue', >- volume => 'Volume', >- year => 'Year' >+ article_author => __('Article author'), >+ article_title => __('Article title'), >+ associated_id => __('Associated ID'), >+ author => __('Author'), >+ chapter_author => __('Chapter author'), >+ chapter => __('Chapter'), >+ conference_date => __('Conference date'), >+ doi => __('DOI'), >+ editor => __('Editor'), >+ institution => __('Institution'), >+ isbn => __('ISBN'), >+ issn => __('ISSN'), >+ issue => __('Issue'), >+ item_date => __('Date'), >+ pages => __('Pages'), >+ pagination => __('Pagination'), >+ paper_author => __('Paper author'), >+ paper_title => __('Paper title'), >+ part_edition => __('Part / Edition'), >+ publication => __('Publication'), >+ published_date => __('Publication date'), >+ published_place => __('Place of publication'), >+ publisher => __('Publisher'), >+ sponsor => __('Sponsor'), >+ title => __('Title'), >+ type => __('Type'), >+ venue => __('Venue'), >+ volume => __('Volume'), >+ year => __('Year'), > }; > } > >-- >2.47.0
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 35570
:
159942
|
159943
|
159944
|
159946
|
159947
|
160452
|
160457
|
160654
|
160655
|
160656
|
160657
|
160658
|
160659
|
160660
|
160686
|
161519
|
161520
|
161521
|
161522
|
161523
|
161524
|
162894
|
162897
|
162898
|
162899
|
162900
|
162901
|
162902
|
162903
|
162904
|
162905
|
164277
|
164278
|
164279
|
164280
|
164281
|
164282
|
164283
|
164284
|
165204
|
165205
|
165206
|
165207
|
165208
|
165209
|
165210
|
165211
|
165286
|
165287
|
165288
|
165289
|
165290
|
165291
|
165292
|
165293
|
167050
|
167051
|
171312
|
171313
|
171314
|
171315
|
171316
|
171317
|
171318
|
171319
|
171320
|
171321
|
171322
|
171323
|
172218
|
172219
|
172722
|
172723
|
172724
|
172725
|
172726
|
172727
|
172728
|
172729
|
172730
|
172731
|
172732
|
172733
|
172734
|
172735
|
172740
|
172741
|
172742
|
172743
|
172744
|
172745
|
172746
|
172747
|
172748
|
172749
|
172750
| 172751 |
172752
|
172753
|
172780
|
172809
|
172811
|
173916
|
173917
|
173918