latin: rename title attribute to name
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 17 May 2017 13:20:52 +0000 (15:20 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 5 Jun 2017 00:59:16 +0000 (02:59 +0200)
Match termcol include, clarify distinction with hovered title.

latin.plp
writing-latn.inc.pl

index 38dc426dd3efe35770eeeabfec7dbcdc69790d80..f9e47189f1811fbfa943702f0ee0c883db98d7b5 100644 (file)
--- a/latin.plp
+++ b/latin.plp
@@ -78,7 +78,7 @@ else {
                my ($id, $info) = @{$row};
 
                printf '<tr id="%s">', $id;
-               say '<th>', $info->{title} // ucfirst $id;
+               say '<th>', $info->{name} // ucfirst $id;
 
                my $colspan = 1;
                my $col = 0;
index c7bc11cb9d267126651638017abee052c385498a..9cd97c9e2119d55b132beb08434629e3149a62cc 100644 (file)
@@ -100,7 +100,7 @@ lowercase => {
        list => [qw{ a b c d e f g h i j k l m n o p q r s t u v w x y z }],
 },
 suetterlin => {
-       title => 'Sütterlin',
+       name => 'Sütterlin',
        style => [
                '@font-face {
                        font-family: Suetterlin; /* R. G. Arens */
@@ -111,7 +111,7 @@ suetterlin => {
        list => [qw{ a b c d e f g h i j k l m n o p q r ſ s t u v w x y z }],
 },
 roman => {
-       title => 'Old Roman Cursive',
+       name => 'Old Roman Cursive',
        style => [
                'svg path { stroke-linecap: round; stroke-linejoin: round }',
                '.sample span { margin-right: -10px }',
@@ -150,7 +150,7 @@ roman => {
        ],
 },
 sutton => {
-       title => 'Sutton <abbr title="American Sign Lanugage">ASL</abbr>',
+       name => 'Sutton <abbr title="American Sign Lanugage">ASL</abbr>',
        style => $spacestyle,
        list => [
                # American manual alphabet in Sutton (U+1D800+) notation
@@ -165,7 +165,7 @@ sutton => {
        }],
 },
 unistrokes => {
-       title => 'Unistrokes',
+       name => 'Unistrokes',
        url   => 'https://www.google.com/patents/US5596656', # by Xerox
        style => 'svg path { stroke-linecap: round; stroke-linejoin: round }',
        list => [
@@ -204,7 +204,7 @@ unistrokes => {
        ],
 },
 edgewrite => {
-       title => 'EdgeWrite',
+       name => 'EdgeWrite',
        url   => 'http://depts.washington.edu/ewrite/', # patented US7729542
        style => 'svg path { stroke-linecap: round; stroke-linejoin: round }',
        list => [
@@ -229,10 +229,10 @@ edgewrite => {
        ],
 },
 #graffiti => {
-#      title => 'Palm Graffiti',
+#      name => 'Palm Graffiti',
 #},
 ita2 => {
-       title => '<abbr title="International Telegraph Alphabet">ITA</abbr>2',
+       name => '<abbr title="International Telegraph Alphabet">ITA</abbr>2',
        style => [@wrapstyle, 'td { font-size: 50% }'],
        list => [map { tr/01/○●/r =~ s/..\K/ /r } qw(
                11000 10011 01110 10010 10000 10110 01011 00101 01100 11010 11110 01001 00111
@@ -244,7 +244,7 @@ braille => {
        list => [qw{ ⠁ ⠃ ⠉ ⠙ ⠑ ⠋ ⠛ ⠓ ⠊ ⠚ ⠅ ⠇ ⠍ ⠝ ⠕ ⠏ ⠟ ⠗ ⠎ ⠞ ⠥ ⠧ ⠺ ⠭ ⠽ ⠵ }],
 },
 tactile => {
-       title => '5-point Tactile',
+       name => '5-point Tactile',
        list => [
                map { '<svg width="9" height="12" viewBox="0 0 18 24">'.$_.'</svg>' }
                map {
@@ -269,7 +269,7 @@ morse => {
        }],
 },
 tap => {
-       title => 'Tap code',
+       name => 'Tap code',
        style => \@tapstyle,
        list => [map { disptap($_) } qw{
                11 12 13 14 15 21 22 23  > 24 25 31 32
@@ -277,7 +277,7 @@ tap => {
        }],
 },
 shorttap => {
-       title => 'Short Tap',
+       name => 'Short Tap',
        style => \@tapstyle,
        list => [map { disptap($_) } qw{
                11 12 13 14 21 22 23 20 > 31 -13 32 33
@@ -292,7 +292,7 @@ cards => {
        ), '', chr(0x1F0CF), chr(0x1F0DF) ],
 },
 maritime => {
-       title => 'Maritime flags',
+       name => 'Maritime flags',
        style => $spacestyle,
        list => [
                # International Code of Signals, SVG fills
@@ -402,7 +402,7 @@ maritime => {
        ],
 },
 flag => {
-       title => 'Flag semaphore',
+       name => 'Flag semaphore',
        list => [
                map {
                        local $_ = $_;
@@ -418,7 +418,7 @@ flag => {
        ],
 },
 chappe => {
-       title => 'Chappe semaphore',
+       name => 'Chappe semaphore',
        list => [
                map {
                        my ($r, $pr, $pl) = split //, $_;
@@ -443,7 +443,7 @@ chappe => {
        ],
 },
 prussian => {
-       title => 'Prussian semaphore',
+       name => 'Prussian semaphore',
        list => [
                map { /^\D+$/ ? $_ : sprintf
                        join('',
@@ -466,7 +466,7 @@ prussian => {
        ],
 },
 code39 => {
-       title => 'Code 39',
+       name => 'Code 39',
        list => [map { dispbar($_) } qw(
                2111121121 1121121121 2121121111 1111221121 2111221111 1121221111
                1111122121 2111122111 1121122111 1111222111 2111111221 1121111221
@@ -476,7 +476,7 @@ code39 => {
        )], # ISO/IEC 16388
 },
 code93 => {
-       title => 'Code 93',
+       name => 'Code 93',
        list => [map { dispbar($_) } qw(
                211113 211212 211311 221112 221211 231111 112113 112212 112311 122112
                132111 111123 111222 111321 121122 131121 212112 212211 211122 211221
@@ -484,7 +484,7 @@ code93 => {
        )],
 },
 code128 => {
-       title => 'Code 128',
+       name => 'Code 128',
        list => [map { dispbar($_) } qw(
                111323 131123 131321 112313 132113 132311 211313 231113 231311 112133
                112331 132131 113123 113321 133121 313121 211331 231131 213113 213311
@@ -492,7 +492,7 @@ code128 => {
        )],
 },
 rm4scc => {
-       title => '<abbr title="Royal Mail 4-State Customer Code">RM4SCC</abbr>',
+       name => '<abbr title="Royal Mail 4-State Customer Code">RM4SCC</abbr>',
        list => [
                map {
                        my $len = length $_;
@@ -520,7 +520,7 @@ rm4scc => {
        ],
 },
 rgbmap => {
-       title => 'RGBmap',
+       name => 'RGBmap',
        style => [
                'svg { isolation: isolate }',
                'svg circle { mix-blend-mode: screen }',
@@ -532,7 +532,7 @@ rgbmap => {
        ],
 },
 cmymap => {
-       title => 'CMYmap',
+       name => 'CMYmap',
        style => [
                'svg { isolation: isolate }',  # mix on white
                'svg circle { mix-blend-mode: multiply }',
@@ -545,7 +545,7 @@ cmymap => {
        ],
 },
 dni => {
-       title => "D'ni",
+       name => "D'ni",
        style => [
                'svg { border: 1px solid currentColor }',
                '.sample span + span svg { border-left: 0 }',