Bugzilla – Attachment 161596 Details for
Bug 35087
Discount rate does not accept comma as decimal separator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35087: (follow-up) string validation is now translatable
Bug-35087-follow-up-string-validation-is-now-trans.patch (text/plain), 1.41 KB, created by
Thibaud Guillot
on 2024-01-29 14:09:37 UTC
(
hide
)
Description:
Bug 35087: (follow-up) string validation is now translatable
Filename:
MIME Type:
Creator:
Thibaud Guillot
Created:
2024-01-29 14:09:37 UTC
Size:
1.41 KB
patch
obsolete
>From 80f94615c734f253ca3f12b26342410e1d86a819 Mon Sep 17 00:00:00 2001 >From: Thibaud Guillot <thibaud.guillot@biblibre.com> >Date: Mon, 29 Jan 2024 15:07:31 +0100 >Subject: [PATCH] Bug 35087: (follow-up) string validation is now translatable > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/validator-strings.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/validator-strings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/validator-strings.inc >index 578b51d..6326ef4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/validator-strings.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/validator-strings.inc >@@ -12,7 +12,7 @@ > digits: _("Please enter only digits."), > equalTo: _("Please enter the same value again."), > number: _("Please add amount in valid format: 0.00"), >- decimal_rate: $.validator.addMethod("decimal_rate", $.validator.methods.number, "Please add rate in valid format: 0.00"), >+ decimal_rate: $.validator.addMethod("decimal_rate", $.validator.methods.number, _("Please add rate in valid format: 0.00")), > maxlength: $.validator.format(_("Please enter no more than {0} characters.")), > minlength: $.validator.format(_("Please enter at least {0} characters.")), > rangelength: $.validator.format(_("Please enter a value between {0} and {1} characters long.")), >-- >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 35087
:
157302
|
157626
|
158921
|
159831
|
161128
|
161225
|
161237
|
161596
|
161597
|
161598
|
161704
|
161705
|
161706
|
162065
|
162066
|
162067
|
164739
|
164740