Esanders has uploaded a new change for review. https://gerrit.wikimedia.org/r/115660
Change subject: Bold/italic icons for fa ...................................................................... Bold/italic icons for fa Change-Id: I16158b21bb3dbe2c2dcd55f459a8d6d86a924a4a --- A modules/ve/ui/styles/images/icons/bold-arab-dad.png A modules/ve/ui/styles/images/icons/bold-arab-dad.svg A modules/ve/ui/styles/images/icons/italic-arab-keheh-jeem.png A modules/ve/ui/styles/images/icons/italic-arab-keheh-jeem.svg M modules/ve/ui/styles/ve.ui.Icons-raster.css M modules/ve/ui/styles/ve.ui.Icons-vector.css M modules/ve/ui/tools/ve.ui.AnnotationTool.js 7 files changed, 39 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor refs/changes/60/115660/1 diff --git a/modules/ve/ui/styles/images/icons/bold-arab-dad.png b/modules/ve/ui/styles/images/icons/bold-arab-dad.png new file mode 100644 index 0000000..1b9fa35 --- /dev/null +++ b/modules/ve/ui/styles/images/icons/bold-arab-dad.png Binary files differ diff --git a/modules/ve/ui/styles/images/icons/bold-arab-dad.svg b/modules/ve/ui/styles/images/icons/bold-arab-dad.svg new file mode 100644 index 0000000..e148f0f --- /dev/null +++ b/modules/ve/ui/styles/images/icons/bold-arab-dad.svg @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" + height="24px" viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve"> +<g id="bold-arab-dad" style="opacity:0.75;"> + <path id="arab-dad" style="fill-rule:evenodd;clip-rule:evenodd;" d="m 16.411344,8.2323345 -1.675748,-0.6653477 0.69406,-1.566987 1.688254,0.6404748 -0.706566,1.5918599 m 0.775346,3.0780105 c -0.508572,-0.286035 -1.000458,-0.42698 -1.475659,-0.422838 -0.471054,3e-6 -0.981698,0.205203 -1.531933,0.615602 -0.14174,0.107784 -0.310565,0.234221 -0.506477,0.379311 l 0.0062,0.02487 c 1.083807,0.06632 1.934186,0.09949 2.551139,0.09949 l 0.312639,0 c 0.566907,-0.02072 0.992097,-0.06425 1.27557,-0.130582 -0.06672,-0.169962 -0.275136,-0.358581 -0.625279,-0.565856 l -0.0062,0 m -6.803036,3.295647 c -0.01668,-0.903713 -0.32932,-1.869606 -0.9379194,-2.897684 l 1.2943284,-1.7286595 0.118803,0.1492365 c 0.266779,0.335786 0.504384,0.924442 0.712817,1.765969 l 0.06253,0.04974 c 0.496047,-0.0083 0.94208,-0.169962 1.338098,-0.48502 l 0,-0.0062 1.732023,-1.5296776 c 0.679459,-0.6010884 1.281811,-0.9016345 1.807057,-0.9016393 0.383492,0.00415 0.848282,0.1948416 1.394372,0.5720746 0.550232,0.3772415 0.883713,0.6964423 1.000447,0.9576033 0.06251,0.14924 0.09378,0.385532 0.09379,0.708875 -1.4e-5,0.69644 -0.11048,1.229133 -0.331397,1.598078 -0.191767,0.310911 -0.473142,0.555493 -0.844127,0.733748 -0.437709,0.207274 -1.54862,0.31091 -3.332738,0.31091 -0.800367,0 -1.79456,-0.02073 -2.982581,-0.06218 -0.0417,0.149237 -0.08963,0.292255 -0.143814,0.429056 -0.254288,0.671565 -0.462714,1.113056 -0.625279,1.324477 -0.72533,0.936873 -1.7862192,1.405311 -3.1826713,1.405314 -1.7049293,-0.0083 -2.5573923,-0.922369 -2.5573917,-2.742228 0.00417,-0.94102 0.2792905,-1.81364 0.8253685,-2.617863 0.1500654,-0.215562 0.298048,-0.366871 0.4439482,-0.453928 0.2250983,-0.132653 0.2876262,-0.0912 0.1875837,0.124364 -0.3960118,0.862259 -0.5961009,1.548333 -0.6002679,2.058225 0.00833,1.177312 0.7524169,1.76804 2.2322464,1.772187 1.0379586,-0.0042 1.8028827,-0.182401 2.2947751,-0.534765"/> +</g> +</svg> diff --git a/modules/ve/ui/styles/images/icons/italic-arab-keheh-jeem.png b/modules/ve/ui/styles/images/icons/italic-arab-keheh-jeem.png new file mode 100644 index 0000000..fc7d316 --- /dev/null +++ b/modules/ve/ui/styles/images/icons/italic-arab-keheh-jeem.png Binary files differ diff --git a/modules/ve/ui/styles/images/icons/italic-arab-keheh-jeem.svg b/modules/ve/ui/styles/images/icons/italic-arab-keheh-jeem.svg new file mode 100644 index 0000000..670c59c --- /dev/null +++ b/modules/ve/ui/styles/images/icons/italic-arab-keheh-jeem.svg @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" + height="24px" viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve"> +<g id="italic-arab-keheh-jeem" style="opacity:0.75;"> + <path id="arab-keheh" style="fill-rule:evenodd;clip-rule:evenodd;" d="m 18,6 -0.201945,0.7746933 -2.491508,0.9244674 c -0.246121,0.1000646 -0.589429,0.2646868 -1.029924,0.4932214 -0.441125,0.2272434 -0.668945,0.3712072 -0.684091,0.4312459 -0.0088,0.030988 0.109808,0.1956101 0.355929,0.4932215 0.247384,0.2963202 0.513069,0.6352485 0.797687,1.0174303 0.283986,0.382182 0.517486,0.845707 0.699237,1.389284 0.183014,0.544222 0.214568,1.047127 0.0934,1.508069 -0.188693,0.717883 -0.434184,1.076824 -0.737102,1.076824 l -3.142783,0 c -0.07573,0 -0.03787,-0.215 0.113595,-0.793438 l 3.256377,0 c 0.05553,-0.154938 0.09655,-0.356336 0.123692,-0.456401 0.06374,-0.245965 0.0025,-0.602324 -0.184276,-1.069076 -0.1868,-0.466107 -0.354667,-0.803745 -0.50234,-1.012266 L 13.713698,9.8863794 13.554666,10.069723 C 13.332525,9.9083291 13.133104,9.7198202 12.956401,9.5041973 c 0.0032,-0.015494 0.0082,-0.094254 0.01515,-0.2375726 0.0082,-0.1426726 0.01893,-0.2408005 0.03282,-0.2943835 0.09088,-0.3473209 0.33826,-0.7023886 0.742151,-1.0639121 0.403892,-0.3628148 0.990166,-0.6875403 1.759454,-0.9735313 z"/> + <path id="arab-jeem" style="fill-rule:evenodd;clip-rule:evenodd;" d="m 9.3117621,15.23951 c -0.092769,0.108457 -0.1804893,0.212395 -0.2625297,0.31246 -0.082672,0.09942 -0.1703919,0.204002 -0.2625296,0.31246 -0.1262162,-0.08974 -0.249908,-0.180117 -0.3710756,-0.271143 -0.1199053,-0.08973 -0.2435973,-0.180116 -0.3710755,-0.271143 0.095924,-0.108457 0.1867999,-0.21304 0.2726269,-0.312459 0.087089,-0.100065 0.179858,-0.204003 0.2776756,-0.31246 z m 1.3176969,2.104584 c -0.112964,0.07553 -0.23918,0.149774 -0.378649,0.222079 l 0.0025,-0.0052 -0.2650535,0.118786 c -0.040389,0.01678 -0.080778,0.03357 -0.1211675,0.04906 -0.040389,0.01549 -0.083303,0.03228 -0.1287405,0.05165 l 0.00505,0 c -0.069419,0.02582 -0.1609257,0.05036 -0.2751513,0.07489 -0.1129635,0.02582 -0.241073,0.05294 -0.3836972,0.08263 -0.059322,0.0084 -0.1180121,0.01614 -0.1767026,0.02324 -0.059322,0.0065 -0.117381,0.0142 -0.1741783,0.02324 l -0.3735999,0.01549 c -0.9056011,0 -1.5549832,-0.182699 -1.9487777,-0.54745 -0.3919011,-0.361524 -0.5036024,-0.862492 -0.335735,-1.502905 0.059322,-0.225952 0.1236919,-0.430601 0.1943729,-0.61459 0.069419,-0.184635 0.1590324,-0.382182 0.2701026,-0.593932 0.1325269,-0.25694 0.2928215,-0.506133 0.4796215,-0.74887 0.188062,-0.242737 0.4038917,-0.482892 0.6462268,-0.720465 l -0.00253,0.0052 c 0.015146,-0.01356 0.032816,-0.0297 0.053011,-0.04906 l 0.058059,-0.05681 c 0.02335,-0.01872 0.0467,-0.03874 0.070681,-0.05939 0.025243,-0.02066 0.049224,-0.04003 0.073205,-0.05939 0.050486,-0.04132 0.1110702,-0.0878 0.1817513,-0.139445 0.070681,-0.05294 0.1337891,-0.10071 0.1893243,-0.142027 l 0.6992376,-0.48031 -0.2044702,-0.06198 -0.2902972,-0.07489 c -0.2158298,-0.04777 -0.4158824,-0.07231 -0.600789,-0.07231 -0.2675783,0 -0.5048647,0.05294 -0.7118592,0.157521 -0.022088,0.01549 -0.042282,0.0297 -0.060584,0.04132 -0.018933,0.01033 -0.039127,0.02324 -0.060584,0.03873 0.0467,-0.09813 0.090876,-0.186572 0.1312649,-0.265978 0.041651,-0.07876 0.086458,-0.16785 0.1337891,-0.265978 l -0.00252,0.0052 c 0.2890349,-0.395739 0.5793323,-0.593932 0.8708916,-0.593932 0.1426243,0 0.3035498,0.01227 0.4821457,0.03615 0.1779648,0.02259 0.3710756,0.0581 0.5780701,0.105875 0.4221931,0.09167 0.8557457,0.136862 1.3000267,0.136862 l 1.040021,0 c -0.100973,0.143318 -0.198159,0.277598 -0.290297,0.402841 -0.09087,0.125887 -0.186169,0.258231 -0.285248,0.397675 l -0.156508,0.0052 c -0.05238,0 -0.133158,0.0142 -0.242335,0.04132 l -0.292822,0.04906 -0.1868,0.03615 -0.1514596,0.04906 -0.090876,0.351195 -0.020195,0.129115 c -0.00379,0.06068 0.023981,0.131698 0.083303,0.214332 0.1110696,0.110394 0.5212726,0.165268 1.2318696,0.165268 l 0.928951,0 -0.206994,0.790187 -1.496924,0 c -0.161557,0 -0.26253,-0.0077 -0.302919,-0.02324 -0.2423349,-0.04454 -0.4259795,-0.138153 -0.5503024,-0.281472 l -0.00253,0.0052 c 0,0 -0.00884,-0.02195 -0.025243,-0.06714 l -0.027767,-0.06714 0.00505,0.0052 c -0.00189,-0.03744 -0.00379,-0.08005 -0.00505,-0.126533 -0.00189,-0.04777 -0.00379,-0.09103 -0.00505,-0.129115 0.00631,-0.05165 0.012622,-0.102002 0.01767,-0.152357 0.00631,-0.05165 0.012622,-0.103938 0.01767,-0.157521 l 0.060584,-0.289219 0.035341,-0.13428 c 0.018301,-0.06714 0.031554,-0.104583 0.040389,-0.113621 l -0.00505,-0.03873 c -0.3502499,0.108457 -0.6986066,0.269851 -1.0450699,0.482892 -0.3452013,0.21175 -0.678412,0.464816 -0.9996321,0.759199 -0.2473837,0.234345 -0.4682621,0.473209 -0.6613727,0.717883 -0.1684987,0.244028 -0.2751513,0.453195 -0.3205891,0.627502 -0.1666054,0.640413 -0.074467,1.142672 0.2751512,1.508069 0.2606364,0.269852 0.7232186,0.469981 1.3883779,0.599096 l 0.3887458,0.05681 0.3988431,0.02066 0.9213782,0.03357 z"/> +</g> +</svg> diff --git a/modules/ve/ui/styles/ve.ui.Icons-raster.css b/modules/ve/ui/styles/ve.ui.Icons-raster.css index ee6bb2c..53133dd 100644 --- a/modules/ve/ui/styles/ve.ui.Icons-raster.css +++ b/modules/ve/ui/styles/ve.ui.Icons-raster.css @@ -21,6 +21,11 @@ background-image: url(images/icons/bold-arab-ain.png); } +.oo-ui-icon-bold-arab-dad { + /* @embed */ + background-image: url(images/icons/bold-arab-dad.png); +} + .oo-ui-icon-bold-cyrl-be { /* @embed */ background-image: url(images/icons/bold-cyrl-be.png); @@ -125,6 +130,11 @@ background-image: url(images/icons/italic-arab-meem.png); } +.oo-ui-icon-italic-arab-keheh-jeem { + /* @embed */ + background-image: url(images/icons/italic-arab-keheh-jeem.png); +} + .oo-ui-icon-italic-geor-kan { /* @embed */ background-image: url(images/icons/italic-geor-kan.png); diff --git a/modules/ve/ui/styles/ve.ui.Icons-vector.css b/modules/ve/ui/styles/ve.ui.Icons-vector.css index b333ef0..f2df273 100644 --- a/modules/ve/ui/styles/ve.ui.Icons-vector.css +++ b/modules/ve/ui/styles/ve.ui.Icons-vector.css @@ -21,6 +21,11 @@ background-image: url(images/icons/bold-arab-ain.svg); } +.oo-ui-icon-bold-arab-dad { + /* @embed */ + background-image: url(images/icons/bold-arab-dad.svg); +} + .oo-ui-icon-bold-cyrl-be { /* @embed */ background-image: url(images/icons/bold-cyrl-be.svg); @@ -125,6 +130,11 @@ background-image: url(images/icons/italic-arab-meem.svg); } +.oo-ui-icon-italic-arab-keheh-jeem { + /* @embed */ + background-image: url(images/icons/italic-arab-keheh-jeem.svg); +} + .oo-ui-icon-italic-geor-kan { /* @embed */ background-image: url(images/icons/italic-geor-kan.svg); diff --git a/modules/ve/ui/tools/ve.ui.AnnotationTool.js b/modules/ve/ui/tools/ve.ui.AnnotationTool.js index 4d788d7..02b2237 100644 --- a/modules/ve/ui/tools/ve.ui.AnnotationTool.js +++ b/modules/ve/ui/tools/ve.ui.AnnotationTool.js @@ -87,6 +87,7 @@ 'en': 'bold-b', 'es': 'bold-n', 'eu': 'bold-l', + 'fa': 'bold-arab-dad', 'fr': 'bold-g', 'gl': 'bold-n', 'he': 'bold-b', @@ -134,6 +135,7 @@ 'en': 'italic-i', 'es': 'italic-c', 'eu': 'italic-e', + 'fa': 'italic-arab-keheh-jeem', 'fr': 'italic-i', 'gl': 'italic-c', 'he': 'italic-i', -- To view, visit https://gerrit.wikimedia.org/r/115660 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I16158b21bb3dbe2c2dcd55f459a8d6d86a924a4a Gerrit-PatchSet: 1 Gerrit-Project: VisualEditor/VisualEditor Gerrit-Branch: master Gerrit-Owner: Esanders <esand...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits