mirror of
https://framagit.org/tom79/fediplan.git
synced 2025-04-05 13:41:51 +02:00
Remove flags
This commit is contained in:
parent
f298988a4e
commit
8ee370c536
10 changed files with 41 additions and 143 deletions
|
@ -17,7 +17,8 @@
|
||||||
"symfony/security-bundle": "4.3.*",
|
"symfony/security-bundle": "4.3.*",
|
||||||
"symfony/translation": "4.3.*",
|
"symfony/translation": "4.3.*",
|
||||||
"symfony/twig-bundle": "4.3.*",
|
"symfony/twig-bundle": "4.3.*",
|
||||||
"symfony/yaml": "4.3.*"
|
"symfony/yaml": "4.3.*",
|
||||||
|
"twig/extensions": "^1.5"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/web-server-bundle": "4.3.*"
|
"symfony/web-server-bundle": "4.3.*"
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-de" viewBox="0 0 640 480">
|
|
||||||
<path fill="#ffce00" d="M0 320h640v160H0z"/>
|
|
||||||
<path d="M0 0h640v160H0z"/>
|
|
||||||
<path fill="#d00" d="M0 160h640v160H0z"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 213 B |
|
@ -1,15 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-gb" viewBox="0 0 640 480">
|
|
||||||
<defs>
|
|
||||||
<clipPath id="a">
|
|
||||||
<path fill-opacity=".7" d="M-85.3 0h682.6v512H-85.3z"/>
|
|
||||||
</clipPath>
|
|
||||||
</defs>
|
|
||||||
<g clip-path="url(#a)" transform="translate(80) scale(.94)">
|
|
||||||
<g stroke-width="1pt">
|
|
||||||
<path fill="#012169" d="M-256 0H768v512H-256z"/>
|
|
||||||
<path fill="#fff" d="M-256 0v57.2L653.5 512H768v-57.2L-141.5 0H-256zM768 0v57.2L-141.5 512H-256v-57.2L653.5 0H768z"/>
|
|
||||||
<path fill="#fff" d="M170.7 0v512h170.6V0H170.7zM-256 170.7v170.6H768V170.7H-256z"/>
|
|
||||||
<path fill="#c8102e" d="M-256 204.8v102.4H768V204.8H-256zM204.8 0v512h102.4V0H204.8zM-256 512L85.3 341.3h76.4L-179.7 512H-256zm0-512L85.3 170.7H9L-256 38.2V0zm606.4 170.7L691.7 0H768L426.7 170.7h-76.3zM768 512L426.7 341.3H503l265 132.5V512z"/>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 837 B |
|
@ -1,7 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-fr" viewBox="0 0 640 480">
|
|
||||||
<g fill-rule="evenodd" stroke-width="1pt">
|
|
||||||
<path fill="#fff" d="M0 0h640v480H0z"/>
|
|
||||||
<path fill="#00267f" d="M0 0h213.3v480H0z"/>
|
|
||||||
<path fill="#f31830" d="M426.7 0H640v480H426.7z"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 292 B |
|
@ -1,5 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-nl" viewBox="0 0 640 480">
|
|
||||||
<rect fill="#21468b" width="640" height="480"/>
|
|
||||||
<rect fill="#fff" width="640" height="320"/>
|
|
||||||
<rect fill="#ae1c28" width="640" height="160"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 239 B |
|
@ -1,45 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-br" viewBox="0 0 640 480">
|
|
||||||
<g stroke-width="1pt">
|
|
||||||
<path fill="#229e45" fill-rule="evenodd" d="M0 0h640v480H0z"/>
|
|
||||||
<path fill="#f8e509" fill-rule="evenodd" d="M321.4 436l301.5-195.7L319.6 44 17.1 240.7 321.4 436z"/>
|
|
||||||
<path fill="#2b49a3" fill-rule="evenodd" d="M452.8 240c0 70.3-57.1 127.3-127.6 127.3A127.4 127.4 0 1 1 452.8 240z"/>
|
|
||||||
<path fill="#ffffef" fill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6.5 6.5 0 0 1-5 1.7 6.6 6.6 0 0 1-4.8-2 7.3 7.3 0 0 1-1.7-5.3z"/>
|
|
||||||
<path fill="#f7ffff" d="M219.4 191.3c0 1.5.3 2.7 1 3.6.7.8 1.6 1.3 2.8 1.3a3.5 3.5 0 0 0 2.8-1.1c.7-.8 1-2 1.1-3.7 0-1.6-.2-2.8-1-3.6a3.5 3.5 0 0 0-2.7-1.3 3.6 3.6 0 0 0-2.8 1.2c-.8.8-1.1 2-1.2 3.6z"/>
|
|
||||||
</g>
|
|
||||||
<g stroke-opacity=".5">
|
|
||||||
<path fill="#309e3a" d="M233 198.5l.2-14h6c1.5 0 2.5.2 3.2.5.7.2 1.2.7 1.6 1.3s.6 1.4.6 2.3a3.8 3.8 0 0 1-1 2.6 4.5 4.5 0 0 1-2.7 1.2l1.5 1.2c.4.4.9 1.2 1.5 2.3l1.7 2.8h-3.4l-2-3.2-1.4-2a2.1 2.1 0 0 0-.9-.6 5 5 0 0 0-1.4-.2h-.6v5.8H233z"/>
|
|
||||||
<path fill="#fff" d="M236 190.5h2c1.4 0 2.3 0 2.6-.2.3 0 .6-.3.8-.5s.3-.7.3-1c0-.6-.1-1-.4-1.2-.2-.3-.6-.5-1-.6h-2l-2.3-.1v3.5z"/>
|
|
||||||
</g>
|
|
||||||
<g stroke-opacity=".5">
|
|
||||||
<path fill="#309e3a" d="M249 185.2l5.2.3c1.1 0 2 .1 2.6.3a4.7 4.7 0 0 1 2 1.4 6 6 0 0 1 1.2 2.4c.3.9.4 2 .3 3.3a9.3 9.3 0 0 1-.5 3c-.4 1-1 1.8-1.7 2.4a5 5 0 0 1-2 1c-.6.2-1.5.2-2.5.2l-5.3-.3.7-14z"/>
|
|
||||||
<path fill="#fff" d="M251.7 187.7l-.5 9.3h3.8c.5 0 .9-.2 1.2-.5.3-.3.6-.7.8-1.3.2-.6.4-1.5.4-2.6l-.1-2.5a3.2 3.2 0 0 0-.8-1.4 2.7 2.7 0 0 0-1.2-.7 13 13 0 0 0-2.3-.3h-1.3z"/>
|
|
||||||
</g>
|
|
||||||
<g stroke-opacity=".5">
|
|
||||||
<path fill="#309e3a" d="M317.6 210.2l3.3-13.6 4.4 1 3.2 1c.7.4 1.3 1 1.6 1.9.4.8.4 1.7.2 2.8-.2.8-.5 1.5-1 2a3.9 3.9 0 0 1-3 1.4c-.7 0-1.7-.2-3-.5l-1.7-.5-1.2 5.2-2.8-.7z"/>
|
|
||||||
<path fill="#fff" d="M323 199.6l-.8 3.8 1.5.4c1 .2 1.8.4 2.2.3a1.9 1.9 0 0 0 1.6-1.5c0-.5 0-.9-.2-1.3a2 2 0 0 0-1-.9l-1.9-.5-1.3-.3z"/>
|
|
||||||
</g>
|
|
||||||
<g stroke-opacity=".5">
|
|
||||||
<path fill="#309e3a" d="M330.6 214.1l4.7-13.2 5.5 2c1.5.5 2.4 1 3 1.4.5.5.9 1 1 1.8s.2 1.5 0 2.3c-.4 1-1 1.7-1.8 2.2-.8.4-1.8.5-3 .3.4.5.8 1 1 1.6l.8 2.7.6 3.1-3.1-1.1-1-3.6a19.5 19.5 0 0 0-.7-2.4 2.1 2.1 0 0 0-.6-.8c-.2-.3-.6-.5-1.3-.7l-.5-.2-2 5.6-2.6-1z"/>
|
|
||||||
<path fill="#fff" d="M336 207.4l1.9.7c1.3.5 2.1.7 2.5.7.3 0 .6 0 .9-.3.3-.2.5-.5.6-.9.2-.4.2-.8 0-1.2a1.7 1.7 0 0 0-.8-.9l-2-.7-2-.7-1.2 3.3z"/>
|
|
||||||
</g>
|
|
||||||
<g stroke-opacity=".5">
|
|
||||||
<path fill="#309e3a" d="M347 213.6a9 9 0 0 1 1.7-3.2 6.6 6.6 0 0 1 1.8-1.5 6 6 0 0 1 2-.7c1 0 2 0 3.1.4a6.5 6.5 0 0 1 4.2 3.3c.8 1.6.8 3.5.2 5.7a7.4 7.4 0 0 1-3.4 4.5c-1.5.9-3.3 1-5.2.4a6.6 6.6 0 0 1-4.2-3.3 7.3 7.3 0 0 1-.2-5.6z"/>
|
|
||||||
<path fill="#fff" d="M349.8 214.4c-.4 1.5-.5 2.8 0 3.8s1.2 1.6 2.3 2c1 .3 2 .2 3-.4 1-.5 1.6-1.6 2.1-3.2.5-1.5.5-2.7 0-3.7a3.5 3.5 0 0 0-2.2-2 3.6 3.6 0 0 0-3 .3c-1 .6-1.7 1.6-2.2 3.2z"/>
|
|
||||||
</g>
|
|
||||||
<g stroke-opacity=".5">
|
|
||||||
<path fill="#309e3a" d="M374.3 233.1l6.4-12.4 5.3 2.7a10 10 0 0 1 2.7 1.9c.5.5.8 1.1.8 1.9s0 1.5-.4 2.2a3.8 3.8 0 0 1-2 2c-1 .2-2 .2-3.1-.2.4.6.6 1.2.8 1.7.2.6.3 1.5.4 2.8l.2 3.2-3-1.5-.4-3.7a20 20 0 0 0-.3-2.5 2 2 0 0 0-.5-1l-1.2-.7-.5-.3-2.7 5.2-2.5-1.3z"/>
|
|
||||||
<path fill="#fff" d="M380.5 227.2l1.9 1c1.2.6 2 1 2.3 1 .3 0 .7 0 1-.2.3-.1.5-.4.7-.8.2-.4.3-.8.2-1.2a2 2 0 0 0-.7-1 23.7 23.7 0 0 0-1.8-1l-2-1-1.6 3.2z"/>
|
|
||||||
</g>
|
|
||||||
<g stroke-opacity=".5">
|
|
||||||
<path fill="#309e3a" d="M426.1 258.7a8.9 8.9 0 0 1 2.5-2.6 6.6 6.6 0 0 1 2.2-.9 5.5 5.5 0 0 1 2.2 0c1 .2 1.9.6 2.8 1.2a6.6 6.6 0 0 1 3 4.4c.3 1.7-.2 3.6-1.4 5.5a7.3 7.3 0 0 1-4.5 3.3 6.5 6.5 0 0 1-5.2-1.1 6.6 6.6 0 0 1-3-4.4c-.3-1.8.2-3.6 1.4-5.4z"/>
|
|
||||||
<path fill="#fff" d="M428.6 260.3c-1 1.3-1.3 2.5-1.1 3.6a3.6 3.6 0 0 0 1.6 2.5c1 .7 2 .9 3 .6 1-.3 2-1 2.9-2.4.9-1.4 1.3-2.6 1.1-3.6-.1-1-.7-1.9-1.6-2.6s-2-.8-3-.5c-1 .2-2 1-3 2.4z"/>
|
|
||||||
</g>
|
|
||||||
<path fill="#309e3a" d="M301.8 204.5l2.3-9.8 7.2 1.7-.3 1.6-5.3-1.2-.5 2.2 4.9 1.1-.4 1.7-4.9-1.2-.6 2.7 5.5 1.3-.4 1.6-7.5-1.7z"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 8 KiB |
|
@ -1,57 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="flag-icon-css-pt" viewBox="0 0 640 480">
|
|
||||||
<path fill="red" d="M256 0h384v480H256z"/>
|
|
||||||
<path fill="#060" d="M0 0h256v480H0z"/>
|
|
||||||
<g fill="#ff0" fill-rule="evenodd" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width=".6">
|
|
||||||
<path d="M339.5 306.2c-32.3-1-180-93.2-181-108l8.1-13.5c14.7 21.3 165.7 111 180.6 107.8l-7.7 13.7"/>
|
|
||||||
<path d="M164.9 182.8c-2.9 7.8 38.6 33.4 88.4 63.8 49.9 30.3 92.9 49 96 46.4l1.5-2.8c-.6 1-2 1.3-4.3.6-13.5-3.9-48.6-20-92.1-46.4-43.6-26.4-81.4-50.7-87.3-61a6.3 6.3 0 0 1-.6-3.1h-.2l-1.2 2.2-.2.3zm175.3 123.8c-.5 1-1.6 1-3.5.8-12-1.3-48.6-19.1-91.9-45-50.4-30.2-92-57.6-87.4-64.8l1.2-2.2.2.1c-4 12.2 82.1 61.4 87.2 64.6 49.8 30.8 91.8 48.9 95.5 44.2l-1.3 2.3z"/>
|
|
||||||
<path d="M256.2 207.2c32.2-.3 72-4.4 95-13.6l-5-8c-13.5 7.5-53.5 12.5-90.3 13.2-43.4-.4-74.1-4.5-89.5-14.8l-4.6 8.6c28.2 12 57.2 14.5 94.4 14.6"/>
|
|
||||||
<path d="M352.5 193.8c-.8 1.3-15.8 6.4-37.8 10.2a381.2 381.2 0 0 1-58.6 4.3 416.1 416.1 0 0 1-56.2-3.6c-23.1-3.6-35-8.6-39.5-10.4l1.1-2.2c12.7 5 24.7 8 38.7 10.2A411.5 411.5 0 0 0 256 206a391.8 391.8 0 0 0 58.3-4.3c22.5-3.7 34.8-8.4 36.6-10.5l1.6 2.7zm-4.4-8.1c-2.4 2-14.6 6.3-36 9.7a388.2 388.2 0 0 1-55.8 4c-22 0-40.1-1.6-53.8-3.6-21.8-2.8-33.4-8-37.6-9.4l1.3-2.2c3.3 1.7 14.4 6.2 36.5 9.3a385 385 0 0 0 53.6 3.4 384 384 0 0 0 55.4-4c21.5-3 33.1-8.4 34.9-9.8l1.5 2.6zM150.3 246c19.8 10.7 63.9 16 105.6 16.4 38 .1 87.4-5.8 105.9-15.6l-.5-10.7c-5.8 9-58.8 17.7-105.8 17.4-47-.4-90.7-7.6-105.3-17v9.5"/>
|
|
||||||
<path d="M362.8 244.5v2.5c-2.8 3.4-20.2 8.4-42 12a434 434 0 0 1-65.4 4.4 400 400 0 0 1-62-4.3 155 155 0 0 1-44.4-12v-2.9c9.7 6.4 35.9 11.2 44.7 12.6 15.8 2.4 36.1 4.2 61.7 4.2 26.9 0 48.4-1.9 65-4.4 15.7-2.3 38-8.2 42.4-12.1zm0-9v2.5c-2.8 3.3-20.2 8.3-42 11.9a434 434 0 0 1-65.4 4.5 414 414 0 0 1-62-4.3 155 155 0 0 1-44.4-12v-3c9.7 6.5 36 11.2 44.7 12.6a408 408 0 0 0 61.7 4.3c26.9 0 48.5-2 65-4.5 15.7-2.2 38-8.1 42.4-12zm-107 68.8c-45.6-.2-84.7-12.4-93-14.4l6 9.4a249.8 249.8 0 0 0 87.4 14.3c34.7-1 65-3.7 86.3-14.1l6.2-9.8c-14.5 6.9-64 14.6-93 14.6"/>
|
|
||||||
<path d="M344.9 297.3a143 143 0 0 1-2.8 4c-10 3.6-26 7.4-32.6 8.4a295.5 295.5 0 0 1-53.7 5c-40.4-.6-73.5-8.5-89-15.3l-1.3-2.1.2-.4 2.1.9a286.5 286.5 0 0 0 88.2 14.5c18.8 0 37.5-2.1 52.6-4.8 23.2-4.7 32.6-8.2 35.5-9.8l.7-.4zm5.3-8.8a287.2 287.2 0 0 1-2 3.5c-5.4 2-20 6.2-41.3 9.2-14 1.9-22.7 3.8-50.6 4.3a347.4 347.4 0 0 1-94.2-14L161 289a390 390 0 0 0 95.4 14c25.5-.5 36.4-2.4 50.3-4.3 24.8-3.8 37.3-8 41-9.1a2.9 2.9 0 0 0 0-.2l2.6-1z"/>
|
|
||||||
<path d="M350.8 237.6c.1 30-15.3 57-27.6 68.8a99.3 99.3 0 0 1-67.8 28.2c-30.3.5-58.8-19.2-66.5-27.9a101 101 0 0 1-27.5-67.4c1.8-32.8 14.7-55.6 33.3-71.3a99.6 99.6 0 0 1 64.2-22.7 98.2 98.2 0 0 1 71 35.6c12.5 15.2 18 31.7 20.9 56.7zM255.6 135a106 106 0 0 1 106 105.2 105.6 105.6 0 1 1-211.4 0c-.1-58 47.3-105.2 105.4-105.2"/>
|
|
||||||
<path d="M255.9 134.5c58.2 0 105.6 47.4 105.6 105.6S314.1 345.7 256 345.7s-105.6-47.4-105.6-105.6c0-58.2 47.4-105.6 105.6-105.6zM152.6 240c0 56.8 46.7 103.3 103.3 103.3 56.6 0 103.3-46.5 103.3-103.3s-46.7-103.3-103.3-103.3S152.6 183.2 152.6 240z"/>
|
|
||||||
<path d="M256 143.3a97 97 0 0 1 96.7 96.7 97.1 97.1 0 0 1-96.7 96.8c-53 0-96.7-43.6-96.7-96.8a97.1 97.1 0 0 1 96.7-96.7zM161.6 240c0 52 42.6 94.4 94.4 94.4s94.4-42.5 94.4-94.4c0-52-42.6-94.4-94.4-94.4a94.8 94.8 0 0 0-94.4 94.4z"/>
|
|
||||||
<path d="M260.3 134h-9.1v212.3h9z"/>
|
|
||||||
<path d="M259.3 132.8h2.3v214.7h-2.2V132.8zm-9 0h2.4v214.7h-2.3V132.8z"/>
|
|
||||||
<path d="M361.6 244.2v-7.8l-6.4-6-36.3-9.6-52.2-5.3-63 3.2-44.8 10.6-9 6.7v7.9l22.9-10.3 54.4-8.5h52.3l38.4 4.2 26.6 6.4z"/>
|
|
||||||
<path d="M256 223.8c24.9 0 49 2.3 68.3 6 19.8 4 33.7 9 38.5 14.5v2.8c-5.8-7-24.5-12-39-15-19-3.6-43-6-67.9-6-26.1 0-50.5 2.6-69.3 6.2-15 3-35.1 9-37.6 14.8v-2.9c1.3-4 16.3-10 37.3-14.3 18.9-3.7 43.3-6.1 69.6-6.1zm0-9.1a383 383 0 0 1 68.3 6c19.8 4 33.7 9 38.5 14.6v2.7c-5.8-6.9-24.5-12-39-14.9-19-3.7-43-6-67.9-6a376 376 0 0 0-69.2 6.2c-14.5 2.7-35.4 8.9-37.7 14.7v-2.8c1.4-4 16.6-10.3 37.3-14.3 19-3.7 43.3-6.2 69.7-6.2zm-.6-46.2c39.3-.2 73.6 5.5 89.3 13.5l5.7 10c-13.6-7.4-50.6-15-94.9-14-36.1.3-74.7 4-94 14.4l6.8-11.4c15.9-8.3 53.3-12.5 87.1-12.5"/>
|
|
||||||
<path d="M256 176.7a354 354 0 0 1 61.3 4.3c16 3 31.3 7.4 33.5 9.8l1.7 3c-5.3-3.4-18.6-7.3-35.6-10.5s-38.7-4.3-61-4.2c-25.3-.1-45 1.2-61.8 4.2a108.9 108.9 0 0 0-33.3 10.3l1.7-3.1c6-3 15.3-6.7 31.1-9.6 17.5-3.2 37.4-4.1 62.4-4.2zm0-9c21.4-.2 42.6 1 59.1 4a96 96 0 0 1 30.6 10l2.5 4c-4.2-4.7-20-9.2-34.1-11.6-16.4-2.9-36.7-4-58.1-4.2a361 361 0 0 0-59.5 4.4 97.3 97.3 0 0 0-29.6 9.1l2.2-3.3c5.8-3 15.2-5.8 27-8.1a357 357 0 0 1 59.9-4.4zM308.4 284a276.4 276.4 0 0 0-52.5-4c-65.5.8-86.6 13.5-89.2 17.3l-5-8c16.8-12 52.4-18.8 94.6-18.2 21.9.4 40.8 1.9 56.6 5l-4.5 8"/>
|
|
||||||
<path d="M255.6 278.9c18.2.3 36 1 53.3 4.2l-1.2 2.2c-16-3-33.2-4-52-4-24.3-.2-48.7 2.1-70 8.2-6.7 1.9-17.8 6.2-19 9.8l-1.2-2c.4-2.2 7-6.6 19.6-10 24.4-7 47.2-8.3 70.5-8.4zm.8-9.2a327 327 0 0 1 57.3 5l-1.3 2.3a299 299 0 0 0-56-4.9c-24.2 0-49.9 1.8-73.3 8.6-7.5 2.2-20.6 7-21 10.7l-1.2-2.2c.2-3.4 11.5-7.9 21.7-10.8 23.5-6.9 49.3-8.6 73.8-8.7z"/>
|
|
||||||
<path d="M349.4 290.5l-7.8 12.3-22.7-20.1-58.6-39.5-66.2-36.3-34.3-11.7 7.3-13.6 2.5-1.3 21.3 5.3 70.4 36.3 40.6 25.6L336 272l13.9 16z"/>
|
|
||||||
<path d="M158.6 195.5c6-4 50.2 15.6 96.6 43.6 46.1 28 90.3 59.6 86.3 65.5l-1.3 2.1-.6.5c.1-.1.8-1 0-3.1-2-6.5-33.4-31.5-85.3-62.9-50.7-30.1-92.9-48.3-97-43.1l1.3-2.6zM351 290.4c3.8-7.6-37.2-38.5-88.1-68.6-52-29.5-89.6-46.9-96.5-41.7L165 183c0 .1 0-.2.4-.5 1.2-1 3.3-1 4.2-1 11.8.2 45.5 15.7 92.8 42.8 20.8 12 87.6 55 87.3 67 0 1 .1 1.2-.3 1.8l1.7-2.6z"/>
|
|
||||||
</g>
|
|
||||||
<g transform="translate(0 26.7) scale(1.06667)">
|
|
||||||
<path fill="#fff" stroke="#000" stroke-width=".7" d="M180.6 211a58.7 58.7 0 0 0 17.5 41.7 59 59 0 0 0 41.8 17.6 59.4 59.4 0 0 0 42-17.4 59 59 0 0 0 17.4-41.8v-79.2l-118.7-.2V211z"/>
|
|
||||||
<path fill="red" stroke="#000" stroke-width=".5" d="M182.8 211.1a56.4 56.4 0 0 0 16.8 40 57 57 0 0 0 40.2 16.8 56.9 56.9 0 0 0 40.2-16.6 56.4 56.4 0 0 0 16.7-40v-77H183v76.8m91-53.7v48.9l-.1 5.1a33.2 33.2 0 0 1-10 24 34 34 0 0 1-24 10c-9.4 0-17.7-4-23.9-10.2a34 34 0 0 1-10-24v-54l68 .2z"/>
|
|
||||||
<g id="e">
|
|
||||||
<g id="d" fill="#ff0" stroke="#000" stroke-width=".5">
|
|
||||||
<path stroke="none" d="M190.2 154.4c.1-5.5 4-6.8 4-6.8.1 0 4.3 1.4 4.3 6.9h-8.3"/>
|
|
||||||
<path d="M186.8 147.7l-.7 6.3h4.2c0-5.2 4-6 4-6 .1 0 4 1.1 4.1 6h4.2l-.8-6.4h-15zm-1 6.4h17c.3 0 .6.3.6.7 0 .5-.3.8-.6.8h-17c-.3 0-.6-.3-.6-.8 0-.4.3-.7.7-.7z"/>
|
|
||||||
<path d="M192 154c0-3.3 2.3-4.2 2.3-4.2s2.3 1 2.3 4.2H192m-5.8-9h16.3c.3 0 .6.4.6.8 0 .3-.3.6-.6.6h-16.3c-.3 0-.6-.3-.6-.7 0-.3.3-.6.6-.6zm.4 1.5H202c.3 0 .6.3.6.7 0 .4-.3.7-.6.7h-15.5c-.4 0-.6-.3-.6-.7 0-.4.2-.7.6-.7zm5-10.6h1.2v.8h.9v-.8h1.3v.9h.9v-1h1.2v2c0 .4-.2.6-.5.6h-4.4c-.3 0-.6-.2-.6-.5v-2zm4.6 2.7l.3 6.4h-4.3l.3-6.5h3.7"/>
|
|
||||||
<path id="a" d="M191 141.6v3.4h-4v-3.4h4z"/>
|
|
||||||
<use width="100%" height="100%" x="10.6" xlink:href="#a"/>
|
|
||||||
<path id="b" d="M186.3 139h1.2v1h.9v-1h1.2v1h.9v-1h1.2v2c0 .4-.2.6-.5.6h-4.3a.6.6 0 0 1-.6-.6v-2z"/>
|
|
||||||
<use width="100%" height="100%" x="10.6" xlink:href="#b"/>
|
|
||||||
<path fill="#000" stroke="none" d="M193.9 140.6c0-.6.9-.6.9 0v1.6h-.9v-1.6"/>
|
|
||||||
<path id="c" fill="#000" stroke="none" d="M188.6 142.8c0-.6.8-.6.8 0v1.2h-.8v-1.2"/>
|
|
||||||
<use width="100%" height="100%" x="10.6" xlink:href="#c"/>
|
|
||||||
</g>
|
|
||||||
<use width="100%" height="100%" y="46.3" xlink:href="#d"/>
|
|
||||||
<use width="100%" height="100%" transform="rotate(-45.2 312.8 180)" xlink:href="#d"/>
|
|
||||||
</g>
|
|
||||||
<use width="100%" height="100%" x="45.7" xlink:href="#d"/>
|
|
||||||
<use width="100%" height="100%" transform="matrix(-1 0 0 1 479.8 0)" xlink:href="#e"/>
|
|
||||||
<g id="f" fill="#fff">
|
|
||||||
<path fill="#039" d="M232.6 202.4a8.3 8.3 0 0 0 2.2 5.7 7.2 7.2 0 0 0 5.3 2.4c2.1 0 4-1 5.3-2.4a8.3 8.3 0 0 0 2.2-5.7v-10.8h-15v10.8"/>
|
|
||||||
<circle cx="236.1" cy="195.7" r="1.5"/>
|
|
||||||
<circle cx="244.4" cy="195.7" r="1.5"/>
|
|
||||||
<circle cx="240.2" cy="199.7" r="1.5"/>
|
|
||||||
<circle cx="236.1" cy="203.9" r="1.5"/>
|
|
||||||
<circle cx="244.4" cy="203.9" r="1.5"/>
|
|
||||||
</g>
|
|
||||||
<use width="100%" height="100%" y="-26" xlink:href="#f"/>
|
|
||||||
<use width="100%" height="100%" x="-20.8" xlink:href="#f"/>
|
|
||||||
<use width="100%" height="100%" x="20.8" xlink:href="#f"/>
|
|
||||||
<use width="100%" height="100%" y="25.8" xlink:href="#f"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 8.2 KiB |
|
@ -21,6 +21,7 @@ class AppExtension extends AbstractExtension
|
||||||
return [
|
return [
|
||||||
new TwigFunction('convertAccountEmoji', [$this, 'accountEmoji']),
|
new TwigFunction('convertAccountEmoji', [$this, 'accountEmoji']),
|
||||||
new TwigFunction('convertStatusEmoji', [$this, 'statusEmoji']),
|
new TwigFunction('convertStatusEmoji', [$this, 'statusEmoji']),
|
||||||
|
new TwigFunction('getLanguage', [$this, 'language']),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,4 +44,23 @@ class AppExtension extends AbstractExtension
|
||||||
}
|
}
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function language($locale)
|
||||||
|
{
|
||||||
|
switch ($locale){
|
||||||
|
case "en":
|
||||||
|
return "English";
|
||||||
|
case "fr":
|
||||||
|
return "Français";
|
||||||
|
case "de":
|
||||||
|
return "Deutsch";
|
||||||
|
case "nl":
|
||||||
|
return "Nederlands";
|
||||||
|
case "pt-PT":
|
||||||
|
return "Português";
|
||||||
|
case "pt-BR":
|
||||||
|
return "Brasil";
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
12
symfony.lock
12
symfony.lock
|
@ -277,6 +277,18 @@
|
||||||
"symfony/yaml": {
|
"symfony/yaml": {
|
||||||
"version": "v4.3.3"
|
"version": "v4.3.3"
|
||||||
},
|
},
|
||||||
|
"twig/extensions": {
|
||||||
|
"version": "1.0",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "master",
|
||||||
|
"version": "1.0",
|
||||||
|
"ref": "a86723ee8d8b2f9437c8ce60a5546a1c267da5ed"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/twig_extensions.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
"twig/twig": {
|
"twig/twig": {
|
||||||
"version": "v2.11.3"
|
"version": "v2.11.3"
|
||||||
},
|
},
|
||||||
|
|
|
@ -34,20 +34,19 @@
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item dropdown">
|
||||||
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
||||||
{% set flagLink = "img/flags/"~app.request.locale~".svg" %}
|
{{ getLanguage(app.request.locale) }}
|
||||||
<img src="{{ asset(flagLink) }}" alt="language" width="30">
|
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu">
|
<div class="dropdown-menu">
|
||||||
{% set route = app.request.attributes.get('_route') %}
|
{% set route = app.request.attributes.get('_route') %}
|
||||||
{% if route == "app_fediplan_about" %}
|
{% if route == "app_fediplan_about" %}
|
||||||
{% set route = "about" %}
|
{% set route = "about" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'en' }) }}"><img src="{{ asset("img/flags/en.svg") }}" alt="English" width="20"> English</a>
|
<a class="dropdown-item" href="{{ path(route, {'_locale':'en' }) }}">English</a>
|
||||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'fr' }) }}"><img src="{{ asset("img/flags/fr.svg") }}" alt="Français" width="20"> Français</a>
|
<a class="dropdown-item" href="{{ path(route, {'_locale':'fr' }) }}">Français</a>
|
||||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'de' }) }}"><img src="{{ asset("img/flags/de.svg") }}" alt="Deutsch" width="20"> Deutsch</a>
|
<a class="dropdown-item" href="{{ path(route, {'_locale':'de' }) }}">Deutsch</a>
|
||||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'nl' }) }}"><img src="{{ asset("img/flags/nl.svg") }}" alt="Nederlands" width="20"> Nederlands</a>
|
<a class="dropdown-item" href="{{ path(route, {'_locale':'nl' }) }}">Nederlands</a>
|
||||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'pt-PT' }) }}"><img src="{{ asset("img/flags/pt-PT.svg") }}" alt="Português" width="20"> Português</a>
|
<a class="dropdown-item" href="{{ path(route, {'_locale':'pt-PT' }) }}">Português</a>
|
||||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'pt-BR' }) }}"><img src="{{ asset("img/flags/pt-BR.svg") }}" alt="Brasil" width="20"> Brasil</a>
|
<a class="dropdown-item" href="{{ path(route, {'_locale':'pt-BR' }) }}">Brasil</a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Add table
Reference in a new issue