Bugzilla – Attachment 145163 Details for
Bug 31957
Translation: Ability to change the sentence structure on library administration page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31957: (follow-up) Further improve translations
Bug-31957-follow-up-Further-improve-translations.patch (text/plain), 5.06 KB, created by
Katrin Fischer
on 2023-01-09 20:06:17 UTC
(
hide
)
Description:
Bug 31957: (follow-up) Further improve translations
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-01-09 20:06:17 UTC
Size:
5.06 KB
patch
obsolete
>From 5bda17eaf6741f4dd997b655db0777ff0d8142b9 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Mon, 9 Jan 2023 20:00:53 +0000 >Subject: [PATCH] Bug 31957: (follow-up) Further improve translations > >With the previous attempt, we ended up with some TT >constructs in the po files. This will hopefully avoid that. >--- > .../prog/en/modules/admin/branches.tt | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index ae8ff60128..bd3cc22728 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -3,6 +3,7 @@ > [% USE Asset %] > [% SET footerjs = 1 %] > [% USE TablesSettings %] >+[%- USE KohaSpan -%] > [% INCLUDE 'doc-head-open.inc' %] > [% IF library %][% SET OpacLibraryInfo = library.opac_info( lang => lang ) %][% END %] > >@@ -193,8 +194,8 @@ Libraries › Administration › Koha > <input type="text" name="branchillemail" id="branchillemail" class="email" size="80" value="[% library.branchillemail | html %]" /> > <div class="hint"> > [% IF ( CAN_user_parameters_manage_sysprefs ) %] >- [% SET pref_ILLDefaultStaffEmail_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ILLDefaultStaffEmail">ILLDefaultStaffEmail</a>' %] >- Default: [% pref_ILLDefaultStaffEmail_link | $raw %] system preference >+ [% pref_ILLDefaultStaffEmail_link = BLOCK %]<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ILLDefaultStaffEmail">ILLDefaultStaffEmail</a>[% END %] >+ Default: [% pref_ILLDefaultStaffEmail_link | $KohaSpan %] system preference > [% ELSE %] > Default: ILLDefaultStaffEmail system preference > [% END %] >@@ -206,8 +207,8 @@ Libraries › Administration › Koha > <input type="text" name="branchreplyto" id="branchreplyto" class="email" size="80" value="[% library.branchreplyto | html %]" /> > <div class="hint"> > [% IF ( CAN_user_parameters_manage_sysprefs ) %] >- [% SET pref_ReplyToDefault_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ReplyToDefault">ReplyToDefault</a>' %] >- Default: [% pref_ReplyToDefault_link | $raw %] system preference >+ [% pref_ReplyToDefault_link = BLOCK %]<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ReplyToDefault">ReplyToDefault</a>[% END %] >+ Default: [% pref_ReplyToDefault_link | $KohaSpan %] system preference > [% ELSE %] > Default: ReplyToDefault system preference > [% END %] >@@ -218,8 +219,8 @@ Libraries › Administration › Koha > <input type="text" name="branchreturnpath" id="branchreturnpath" class="email" size="80" value="[% library.branchreturnpath | html %]" /> > <div class="hint"> > [% IF ( CAN_user_parameters_manage_sysprefs ) %] >- [% SET pref_ReturnpathDefault_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ReturnpathDefault">ReturnpathDefault</a>' %] >- Default: [% pref_ReturnpathDefault_link | $raw %] system preference >+ [% pref_ReturnpathDefault_link = BLOCK %]<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ReturnpathDefault">ReturnpathDefault</a>[% END %] >+ Default: [% pref_ReturnpathDefault_link | $KohaSpan %] system preference > [% ELSE %] > Default: ReturnpathDefault system preference > [% END %] >@@ -260,8 +261,8 @@ Libraries › Administration › Koha > <input type="text" name="marcorgcode" id="marcorgcode" size="16" maxlength="16" value="[% library.marcorgcode | html %]" /> > <div class="hint"> > [% IF ( CAN_user_parameters_manage_sysprefs ) %] >- [% SET pref_MARCOrgCode_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=MARCOrgCode">MARCOrgCode</a>' %] >- If not filled in defaults to system preference [% pref_MARCOrgCode_link | $raw %]. >+ [% pref_MARCOrgCode_link = BLOCK %]<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=MARCOrgCode">MARCOrgCode</a>[% END %] >+ If not filled in defaults to system preference [% pref_MARCOrgCode_link | $KohaSpan %]. > [% ELSE %] > If not filled in defaults to system preference MARCOrgCode. > [% END %] >-- >2.30.2
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 31957
:
145112
|
145113
|
145161
|
145162
|
145163
|
145164
|
145165
|
146513
|
146514
|
146688