Bugzilla – Attachment 190123 Details for
Bug 41357
New SIP2 module is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41357: Adapt SIP2 module to use relationshipI18n
0688d61.patch (text/plain), 6.87 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-12-03 16:24:27 UTC
(
hide
)
Description:
Bug 41357: Adapt SIP2 module to use relationshipI18n
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-12-03 16:24:27 UTC
Size:
6.87 KB
patch
obsolete
>From 0688d61b262ebe9bb9d1a2940f31f99c143d4f8b Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Tom=C3=A1s=20Cohen=20Arazi?= <tomascohen@theke.io> >Date: Wed, 3 Dec 2025 13:23:30 -0300 >Subject: [PATCH] Bug 41357: Adapt SIP2 module to use relationshipI18n > >--- > .../components/SIP2/SIP2AccountResource.vue | 67 +++++++++++++------ > 1 file changed, 46 insertions(+), 21 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/SIP2/SIP2AccountResource.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/SIP2/SIP2AccountResource.vue >index 99c7dfea2a..428115635a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/SIP2/SIP2AccountResource.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/SIP2/SIP2AccountResource.vue >@@ -507,10 +507,15 @@ export default { > resourceRelationships: { > resourceProperty: "custom_patron_fields", > }, >- relationshipStrings: { >- nameLowerCase: __("custom patron field"), >+ relationshipI18n: { > nameUpperCase: __("Custom patron field"), >- namePlural: __("custom patron fields"), >+ removeThisMessage: __( >+ "Remove this custom patron field" >+ ), >+ addNewMessage: __("Add new custom patron field"), >+ noneCreatedYetMessage: __( >+ "There are no custom patron fields created yet" >+ ), > }, > newRelationshipDefaultAttrs: { > type: "object", >@@ -563,10 +568,13 @@ export default { > resourceRelationships: { > resourceProperty: "patron_attributes", > }, >- relationshipStrings: { >- nameLowerCase: __("patron attribute"), >+ relationshipI18n: { > nameUpperCase: __("Patron attribute"), >- namePlural: __("patron attributes"), >+ removeThisMessage: __("Remove this patron attribute"), >+ addNewMessage: __("Add new patron attribute"), >+ noneCreatedYetMessage: __( >+ "There are no patron attributes created yet" >+ ), > }, > newRelationshipDefaultAttrs: { > type: "object", >@@ -622,10 +630,13 @@ export default { > resourceRelationships: { > resourceProperty: "custom_item_fields", > }, >- relationshipStrings: { >- nameLowerCase: __("custom item field"), >+ relationshipI18n: { > nameUpperCase: __("Custom item field"), >- namePlural: __("custom item fields"), >+ removeThisMessage: __("Remove this custom item field"), >+ addNewMessage: __("Add new custom item field"), >+ noneCreatedYetMessage: __( >+ "There are no custom item fields created yet" >+ ), > }, > newRelationshipDefaultAttrs: { > type: "object", >@@ -678,10 +689,13 @@ export default { > resourceRelationships: { > resourceProperty: "item_fields", > }, >- relationshipStrings: { >- nameLowerCase: __("item field"), >+ relationshipI18n: { > nameUpperCase: __("Item field"), >- namePlural: __("item fields"), >+ removeThisMessage: __("Remove this item field"), >+ addNewMessage: __("Add new item field"), >+ noneCreatedYetMessage: __( >+ "There are no item fields created yet" >+ ), > }, > newRelationshipDefaultAttrs: { > type: "object", >@@ -730,10 +744,13 @@ export default { > resourceRelationships: { > resourceProperty: "sort_bin_mappings", > }, >- relationshipStrings: { >- nameLowerCase: __("sort bin mapping"), >+ relationshipI18n: { > nameUpperCase: __("Sort bin mapping"), >- namePlural: __("sort bin mappings"), >+ removeThisMessage: __("Remove this sort bin mapping"), >+ addNewMessage: __("Add new sort bin mapping"), >+ noneCreatedYetMessage: __( >+ "There are no sort bin mappings created yet" >+ ), > }, > newRelationshipDefaultAttrs: { > type: "object", >@@ -777,10 +794,13 @@ export default { > resourceRelationships: { > resourceProperty: "screen_msg_regexs", > }, >- relationshipStrings: { >- nameLowerCase: __("screen msg regex"), >+ relationshipI18n: { > nameUpperCase: __("Screen msg regex"), >- namePlural: __("screen msg regexs"), >+ removeThisMessage: __("Remove this screen msg regex"), >+ addNewMessage: __("Add new screen msg regex"), >+ noneCreatedYetMessage: __( >+ "There are no screen msg regexs created yet" >+ ), > }, > newRelationshipDefaultAttrs: { > type: "object", >@@ -834,10 +854,15 @@ export default { > resourceRelationships: { > resourceProperty: "system_preference_overrides", > }, >- relationshipStrings: { >- nameLowerCase: __("system preference override"), >+ relationshipI18n: { > nameUpperCase: __("System preference override"), >- namePlural: __("system preference overrides"), >+ removeThisMessage: __( >+ "Remove this system preference override" >+ ), >+ addNewMessage: __("Add new system preference override"), >+ noneCreatedYetMessage: __( >+ "There are no system preference overrides created yet" >+ ), > }, > newRelationshipDefaultAttrs: { > type: "object", >-- >2.50.1 (Apple Git-155) >
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 41357
: 190123