[Koha-bugs] [Bug 31694] MARC overlay rules presets don't change anything if presets are translated

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Nov 25 22:41:19 CET 2023


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

Jan Kissig <bibliothek at th-wildau.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #159121|0                           |1
        is obsolete|                            |
 Attachment #159122|0                           |1
        is obsolete|                            |
 Attachment #159123|0                           |1
        is obsolete|                            |
 Attachment #159192|0                           |1
        is obsolete|                            |

--- Comment #31 from Jan Kissig <bibliothek at th-wildau.de> ---
Created attachment 159250
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159250&action=edit
Bug 31694: MARC overlay rules presets don't change anything if presets are
translated

This patch corrects option value names in MARC overlay rules to prevent
them from being translated.

To test:
1. Install a new language
1.1. In a terminal, run the following commands
gulp po:update
cd misc/translator
./translate install xx-XX
1.2. Go to Administration > Global system preferences
1.3. Search for language
1.4. In the language syspref check the box for the language you just installed
1.5. Save
2. In the staff interface in English, go to Administration > Record
overlay rules
3. In the column 'Preset' try the various options, note that the
'Added', 'Appended', 'Removed', and 'Deleted' settings change depending
on the chosen preset
4. Change the interface language
5. Redo step 3, notice that if the preset name is translated, the other
settings don't change
6. Apply patch
7. Redo step 3, the presets should now change the settings

Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Jan Kissig <jkissig at th-wildau.de>

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


More information about the Koha-bugs mailing list