Bugzilla – Attachment 194368 Details for
Bug 41769
", by" in suggestions is untranslatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41769: (follow-up) Make ', by' string translatable in suggestions
Bug-41769-follow-up-Make--by-string-translatable-i.patch (text/plain), 1.73 KB, created by
Ayoub Glizi-Vicioso
on 2026-03-02 22:02:39 UTC
(
hide
)
Description:
Bug 41769: (follow-up) Make ', by' string translatable in suggestions
Filename:
MIME Type:
Creator:
Ayoub Glizi-Vicioso
Created:
2026-03-02 22:02:39 UTC
Size:
1.73 KB
patch
obsolete
>From 2e476c65c1e0ad48d00c5acbe27a7d94d0d75a35 Mon Sep 17 00:00:00 2001 >From: Ayoub Glizi-Vicioso <ayoub.glizi-vicioso@inLibro.com> >Date: Mon, 2 Mar 2026 16:54:09 -0500 >Subject: [PATCH] Bug 41769: (follow-up) Make ', by' string translatable in > suggestions > >--- > .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >index ad53e2dea8..47bdf45599 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -1370,7 +1370,9 @@ > orderable: true, > render: function (data, type, row, meta) { > let node = '<a href="suggestion.pl?suggestionid=%s&op=show" title="%s">%s'.format(row.suggestion_id, _("suggestion"), row.title); >- if(row.author) node += ', by %s'.format(row.author); >+ if(row.author) { >+ node += ", %s %s".format(_("by"),row.author.escapeHtml()); >+ } > node += '</a><br />'; > if(row.copyright_date) node += ' © <span class="suggestion_copyrightdate">%s</span>'.format(row.copyright_date); > if(row.volume_desc) node += '; <span class="suggestion_volume">%s:<em>%s</em></span>'.format(_("Volume"), row.volume_desc); >-- >2.53.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 41769
:
192541
|
192545
|
192546
|
192579
|
194366
|
194367
| 194368