Added plugin icon

This commit is contained in:
Marc Gilleron 2018-11-14 23:35:57 +00:00
parent 7489df3553
commit a25eb456aa
3 changed files with 105 additions and 0 deletions

View File

@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
version="1.1"
viewBox="0 0 16 16"
id="svg14"
sodipodi:docname="icon_translation_editor.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)">
<metadata
id="metadata20">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs18" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview16"
showgrid="false"
inkscape:zoom="37.565048"
inkscape:cx="8.101071"
inkscape:cy="7.754355"
inkscape:window-x="-8"
inkscape:window-y="32"
inkscape:window-maximized="1"
inkscape:current-layer="svg14" />
<g
aria-label="文"
style="font-style:normal;font-weight:normal;font-size:16.1359272px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#e0e0e0;fill-opacity:1;stroke:none;stroke-width:0.40339816"
id="text24"
transform="matrix(0.78323073,0,0,0.78323073,0.39024052,0.45457391)">
<path
d="M 8.2456974,11.262581 C 6.1446652,13.069468 3.9806021,14.309077 1.753508,14.981408 L 1.1862293,13.468664 C 3.4133234,12.838355 5.4093039,11.766828 7.174171,10.254085 5.7034485,8.6573006 4.7159633,6.8083923 4.2117156,4.7073601 H 1.1862293 V 3.5097718 H 7.237202 V 1.1145951 H 8.6238832 C 9.0440897,1.1986364 9.0651,1.3667189 8.6869142,1.6188428 v 1.890929 h 6.1140038 v 1.1975883 h -2.962456 c -0.336165,1.9749703 -1.218598,3.8238786 -2.6473001,5.5467249 0.6210213,0.495424 1.1219921,0.756646 1.4349361,0.962106 l -0.59277,1.385288 C 9.5386956,12.267635 8.9541483,11.906306 8.2456974,11.262581 Z M 8.1826664,9.2455897 C 9.4432855,7.7328465 10.220667,6.2201033 10.514812,4.7073601 H 5.5983969 c 0.2521239,1.4287019 1.113547,2.9414451 2.5842695,4.5382296 z"
style="fill:#e0e0e0;fill-opacity:1;stroke-width:0.40339816"
id="path4537"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccccccccccccccccccc" />
</g>
<g
aria-label="A"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.08705807px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#e0e0e0;fill-opacity:1;stroke:none;stroke-width:0.2771765"
id="text4542">
<path
d="M 11.058158,7.5732103 9.5748304,11.595517 H 12.546898 Z M 10.441007,6.4959034 h 1.239715 l 3.08034,8.0825086 h -1.136857 l -0.73625,-2.07341 H 9.2446007 l -0.73625,2.07341 H 7.3552534 Z"
style="fill:#e0e0e0;fill-opacity:1;stroke-width:0.2771765"
id="path4544" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -0,0 +1,29 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icon_translation_editor.svg-4cd403549c8918c26dc2b3379a53ced2.stex"
[deps]
source_file="res://addons/zylann.translation_editor/tools/icons/icon_translation_editor.svg"
dest_files=[ "res://.import/icon_translation_editor.svg-4cd403549c8918c26dc2b3379a53ced2.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@ -32,6 +32,10 @@ func get_plugin_name():
return "Localization" return "Localization"
func get_plugin_icon():
return preload("icons/icon_translation_editor.svg")
func make_visible(visible): func make_visible(visible):
_main_control.visible = visible _main_control.visible = visible