Bugzilla – Attachment 106510 Details for
Bug 25922
aria-labels are currently not translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25922: Fix typo 'arial-label' -> 'aria-label'
Bug-25922-Fix-typo-arial-label---aria-label.patch (text/plain), 1.05 KB, created by
Julian Maurice
on 2020-07-03 13:38:16 UTC
(
hide
)
Description:
Bug 25922: Fix typo 'arial-label' -> 'aria-label'
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2020-07-03 13:38:16 UTC
Size:
1.05 KB
patch
obsolete
>From 8ca2340de9ca39ae331730730e8a8b23351deda6 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 3 Jul 2020 17:36:04 +0400 >Subject: [PATCH] Bug 25922: Fix typo 'arial-label' -> 'aria-label' > >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > misc/translator/xgettext.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/translator/xgettext.pl b/misc/translator/xgettext.pl >index 54360a1971..f9ba3bf8d0 100755 >--- a/misc/translator/xgettext.pl >+++ b/misc/translator/xgettext.pl >@@ -117,7 +117,7 @@ sub text_extract { > # value [tag=input], meta > my $tag; > $tag = lc($1) if $t =~ /^<(\S+)/s; >- for my $a ('alt', 'content', 'title', 'value', 'label', 'placeholder', 'arial-label') { >+ for my $a ('alt', 'content', 'title', 'value', 'label', 'placeholder', 'aria-label') { > if ($attr->{$a}) { > next if $a eq 'label' && $tag ne 'optgroup'; > next if $a eq 'content' && $tag ne 'meta'; >-- >2.20.1
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 25922
:
106501
|
106509
|
106510
|
106532
|
106533