Unverified Commit 242e06e1 authored by Yang Wang's avatar Yang Wang Committed by Sébastien Blin

chatview: update video msg and audio msg buttons' icon

Change-Id: I1a1820cb4fcfc89e9829ce639fd7825e93bd1c4e
parent c7f3ded7
......@@ -98,15 +98,112 @@
</svg>
</div>
<div id="audioRecordButton" class="action-button nav-button" onclick="audioRecord()">
<svg class="svgicon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z" />
<path d="M0 0h24v24H0z" fill="none" />
<svg class="svgicon" 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="24"
height="24"
viewBox="0 0 24 24"
version="1.1"
id="svg3753"
sodipodi:docname="chat_bubble-mic-24px.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
inkscape:export-filename="C:\Users\fner\Downloads\chat_bubble-mic-24px.png"
inkscape:export-xdpi="1024"
inkscape:export-ydpi="1024">
<metadata id="metadata3759">
<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 />
</cc:Work>
</rdf:RDF>
</metadata>
<defs id="defs3757" />
<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="1027"
id="namedview3755"
showgrid="false"
inkscape:zoom="25.337993"
inkscape:cx="13.637358"
inkscape:cy="14.233005"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg3753" />
<path d="M 4 2 C 2.9 2 2 2.9 2 4 L 2 22 L 6 18 L 20 18 C 21.1 18 22 17.1 22 16 L 22 4 C 22 2.9 21.1 2 20 2 L 4 2 z M 11.765625 3.9160156 C 12.508867 3.8551642 13.272016 4.2527996 13.636719 5.0410156 C 13.767503 5.3236557 13.771484 5.4322983 13.771484 7.6992188 C 13.771484 10.028985 13.770647 10.067925 13.625 10.363281 C 13.179285 11.267942 12.168586 11.679676 11.216797 11.34375 C 10.81743 11.202796 10.295752 10.671154 10.15625 10.261719 C 10.06289 9.987737 10.048828 9.6285584 10.048828 7.6992188 C 10.048828 5.1451299 10.0615 5.0663092 10.539062 4.5351562 C 10.881846 4.1538981 11.31968 3.9525265 11.765625 3.9160156 z M 7.4550781 9.6015625 L 8.5390625 9.6015625 C 8.5390625 11.512087 10.156379 12.849609 11.914062 12.849609 C 13.671745 12.849609 15.289062 11.512087 15.289062 9.6015625 L 16.371094 9.6015625 C 16.371094 11.779558 14.639627 13.575172 12.550781 13.880859 L 12.550781 15.970703 L 11.277344 15.970703 L 11.277344 13.880859 C 9.1884992 13.568806 7.4550781 11.773189 7.4550781 9.6015625 z "
id="path3749" />
<path d="M0 0h24v24H0z"
fill="none"
id="path3751" />
</svg>
</div>
<div id="videoRecordButton" class="nav-button action-button nav-right" onclick="videoRecord()">
<svg class="svgicon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="none" d="M0 0h24v24H0V0z" />
<path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4zM14 13h-3v3H9v-3H6v-2h3V8h2v3h3v2z" />
<svg class="svgicon" 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="24"
height="24"
viewBox="0 0 24 24"
version="1.1"
id="svg3753"
sodipodi:docname="chat_bubble-videocam-24px.svg"
inkscape:export-filename="C:\Users\fner\Downloads\chat_bubble-videocam-24px.png"
inkscape:export-xdpi="288"
inkscape:export-ydpi="288"
inkscape:version="0.92.3 (2405546, 2018-03-11)">
<metadata id="metadata3759">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs id="defs3757" />
<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="1027"
id="namedview3755"
showgrid="false"
inkscape:zoom="35.833333"
inkscape:cx="6.9069767"
inkscape:cy="14.232558"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg3753" />
<path d="M 4 2 C 2.9 2 2 2.9 2 4 L 2 22 L 6 18 L 20 18 C 21.1 18 22 17.1 22 16 L 22 4 C 22 2.9 21.1 2 20 2 L 4 2 z M 6.84375 6.0097656 L 14.787109 6.0097656 C 15.151215 6.0097656 15.449219 6.3077664 15.449219 6.671875 L 15.449219 8.9882812 L 18.097656 6.3398438 L 18.097656 13.623047 L 15.449219 10.974609 L 15.449219 13.291016 C 15.449219 13.655125 15.151215 13.953125 14.787109 13.953125 L 6.84375 13.953125 C 6.4796415 13.953125 6.1816406 13.655125 6.1816406 13.291016 L 6.1816406 6.671875 C 6.1816406 6.3077664 6.4796415 6.0097656 6.84375 6.0097656 z "
id="path3749"
inkscape:export-xdpi="345.60001"
inkscape:export-ydpi="345.60001" />
<path d="M0 0h24v24H0z"
fill="none"
id="path3751" />
</svg>
</div>
<textarea id="message" autofocus placeholder="Type a message" onkeyup="grow_text_area()" onkeydown="process_messagebar_keydown()"
......
......@@ -125,8 +125,9 @@ function set_titles() {
sendButton.title = "Send"
optionsButton.title = "Options"
backToBottomBtn.innerHTML = "'Jump to latest' &#9660;"
sendFileButton.title = "Send File"
videoRecordButton.title = "Record video clip"
sendFileButton.title = "Send file"
videoRecordButton.title = "Leave video message"
audioRecordButton.title = "Leave audio message"
acceptButton.title = "Accept"
refuseButton.title = "Refuse"
blockButton.title = "Block"
......@@ -139,8 +140,9 @@ function set_titles() {
sendButton.title = i18n.gettext("Send")
optionsButton.title = i18n.gettext("Options")
backToBottomBtn.innerHTML = `${i18n.gettext("Jump to latest")} &#9660;`
sendFileButton.title = i18n.gettext("Send File")
videoRecordButton.title = i18n.gettext("Record video clip")
sendFileButton.title = i18n.gettext("Send file")
videoRecordButton.title = i18n.gettext("Leave video message")
audioRecordButton.title = i18n.gettext("Leave audio message")
acceptButton.title = i18n.gettext("Accept")
refuseButton.title = i18n.gettext("Refuse")
blockButton.title = i18n.gettext("Block")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment