mirror of
https://github.com/joinmarket-webui/jam.git
synced 2026-08-14 12:43:26 +02:00
feat: colored jars with names (#476)
* style(svg): add jamColor to all jars
* feat: add jar flavor based on index
* feat(jar): named jars with bold initial
* feat(jar-detail): use initial, not index
* feat: "Jar #{n}" -> "Jar {X}"
* feat(send): use full name in from & recipient
This commit is contained in:
parent
077b62ab80
commit
6a050f4ccc
8 changed files with 167 additions and 88 deletions
|
|
@ -154,88 +154,88 @@
|
|||
</symbol>
|
||||
<symbol id="jar-closed-fill-25" fill="currentColor" viewBox="0 0 30 55">
|
||||
<path d="M25.9759 14.0086V13.107H27.7519C28.0543 13.107 28.2991 12.8612 28.2991 12.5588V8.24275C28.2991 6.27179 27.0688 6 25.7392 6H4.26054C2.93101 6 1.70117 6.27179 1.70117 8.24275V12.5588C1.70117 12.8617 1.94651 13.107 2.24836 13.107H4.0238V14.0086C4.0238 14.9718 3.55144 15.4552 2.83576 16.188C1.63906 17.4134 0 19.091 0 24.0059V47.1149C0 51.9827 0.912663 55 5.45768 55H24.5439C29.0873 55 30 51.9833 30 47.1149V24.0059C30 19.0901 28.361 17.4124 27.1648 16.188C26.4491 15.4557 25.9762 14.9723 25.9762 14.008L25.9759 14.0086ZM2.79547 8.2432C2.79547 7.3763 2.90949 7.09686 4.25987 7.09686H25.7398C27.0912 7.09686 27.2053 7.37681 27.2053 8.2432V12.0111C19.0516 12.0085 10.869 12.0106 2.7951 12.0106L2.79547 8.2432ZM28.904 47.1167C28.904 52.8556 27.435 53.905 24.5422 53.905L5.45727 53.9055C2.56404 53.9055 1.09456 52.855 1.09456 47.1172L1.09405 24.0069C1.09405 19.5393 2.49277 18.1065 3.6172 16.9549C4.38836 16.1655 5.1173 15.4189 5.1173 14.0091V13.1075H24.8798V14.0091C24.8798 15.4201 25.6087 16.1657 26.3794 16.9549C27.5038 18.1053 28.9025 19.5383 28.9025 24.0069L28.9036 47.1172L28.904 47.1167Z" />
|
||||
<rect x="26.9983" y="47.1555" width="1" height="5.45425" rx="0.5" transform="rotate(45 26.9983 47.1555)" />
|
||||
<rect x="27.001" y="43.6182" width="1" height="10.4318" rx="0.5" transform="rotate(45 27.001 43.6182)" />
|
||||
<rect x="24.2859" y="42.7979" width="1" height="11.616" rx="0.5" transform="rotate(45 24.2859 42.7979)" />
|
||||
<rect x="20.7573" y="42.7905" width="1" height="11.6001" rx="0.5" transform="rotate(45 20.7573 42.7905)" />
|
||||
<rect x="17.2285" y="42.7837" width="1" height="11.6088" rx="0.5" transform="rotate(45 17.2285 42.7837)" />
|
||||
<rect x="13.6736" y="42.8027" width="1" height="11.5931" rx="0.5" transform="rotate(45 13.6736 42.8027)" />
|
||||
<rect x="10.1365" y="42.8052" width="1" height="11.0668" rx="0.5" transform="rotate(45 10.1365 42.8052)" />
|
||||
<rect x="6.62524" y="42.7808" width="1" height="6.11823" rx="0.5" transform="rotate(45 6.62524 42.7808)" />
|
||||
<rect fill="var(--jamColor)" x="26.9983" y="47.1555" width="1" height="5.45425" rx="0.5" transform="rotate(45 26.9983 47.1555)" />
|
||||
<rect fill="var(--jamColor)" x="27.001" y="43.6182" width="1" height="10.4318" rx="0.5" transform="rotate(45 27.001 43.6182)" />
|
||||
<rect fill="var(--jamColor)" x="24.2859" y="42.7979" width="1" height="11.616" rx="0.5" transform="rotate(45 24.2859 42.7979)" />
|
||||
<rect fill="var(--jamColor)" x="20.7573" y="42.7905" width="1" height="11.6001" rx="0.5" transform="rotate(45 20.7573 42.7905)" />
|
||||
<rect fill="var(--jamColor)" x="17.2285" y="42.7837" width="1" height="11.6088" rx="0.5" transform="rotate(45 17.2285 42.7837)" />
|
||||
<rect fill="var(--jamColor)" x="13.6736" y="42.8027" width="1" height="11.5931" rx="0.5" transform="rotate(45 13.6736 42.8027)" />
|
||||
<rect fill="var(--jamColor)" x="10.1365" y="42.8052" width="1" height="11.0668" rx="0.5" transform="rotate(45 10.1365 42.8052)" />
|
||||
<rect fill="var(--jamColor)" x="6.62524" y="42.7808" width="1" height="6.11823" rx="0.5" transform="rotate(45 6.62524 42.7808)" />
|
||||
</symbol>
|
||||
<symbol id="jar-closed-fill-50" fill="currentColor" viewBox="0 0 30 55">
|
||||
<path d="M25.9759 14.0086V13.107H27.7519C28.0543 13.107 28.2991 12.8612 28.2991 12.5588V8.24275C28.2991 6.27179 27.0688 6 25.7392 6H4.26054C2.93101 6 1.70117 6.27179 1.70117 8.24275V12.5588C1.70117 12.8617 1.94651 13.107 2.24836 13.107H4.0238V14.0086C4.0238 14.9718 3.55144 15.4552 2.83576 16.188C1.63906 17.4134 0 19.091 0 24.0059V47.1149C0 51.9827 0.912663 55 5.45768 55H24.5439C29.0873 55 30 51.9833 30 47.1149V24.0059C30 19.0901 28.361 17.4124 27.1648 16.188C26.4491 15.4557 25.9762 14.9723 25.9762 14.008L25.9759 14.0086ZM2.79547 8.2432C2.79547 7.3763 2.90949 7.09686 4.25987 7.09686H25.7398C27.0912 7.09686 27.2053 7.37681 27.2053 8.2432V12.0111C19.0516 12.0085 10.869 12.0106 2.7951 12.0106L2.79547 8.2432ZM28.904 47.1167C28.904 52.8556 27.435 53.905 24.5422 53.905L5.45727 53.9055C2.56404 53.9055 1.09456 52.855 1.09456 47.1172L1.09405 24.0069C1.09405 19.5393 2.49277 18.1065 3.6172 16.9549C4.38836 16.1655 5.1173 15.4189 5.1173 14.0091V13.1075H24.8798V14.0091C24.8798 15.4201 25.6087 16.1657 26.3794 16.9549C27.5038 18.1053 28.9025 19.5383 28.9025 24.0069L28.9036 47.1172L28.904 47.1167Z" />
|
||||
<rect x="26.9919" y="47.1621" width="1" height="5.44529" rx="0.5" transform="rotate(45 26.9919 47.1621)" />
|
||||
<rect x="26.9944" y="43.625" width="1" height="10.4224" rx="0.5" transform="rotate(45 26.9944 43.625)" />
|
||||
<rect x="26.9963" y="40.0874" width="1" height="15.449" rx="0.5" transform="rotate(45 26.9963 40.0874)" />
|
||||
<rect x="26.9983" y="36.5498" width="1" height="20.426" rx="0.5" transform="rotate(45 26.9983 36.5498)" />
|
||||
<rect x="25.7163" y="34.2961" width="1" height="23.6123" rx="0.5" transform="rotate(45 25.7163 34.2961)" />
|
||||
<rect x="22.178" y="34.2983" width="1" height="23.6203" rx="0.5" transform="rotate(45 22.178 34.2983)" />
|
||||
<rect x="18.6401" y="34.3013" width="1" height="23.1059" rx="0.5" transform="rotate(45 18.6401 34.3013)" />
|
||||
<rect x="15.094" y="34.312" width="1" height="18.0926" rx="0.5" transform="rotate(45 15.094 34.312)" />
|
||||
<rect x="11.5557" y="34.3145" width="1" height="13.0762" rx="0.5" transform="rotate(45 11.5557 34.3145)" />
|
||||
<rect x="8.02588" y="34.3086" width="1" height="8.08624" rx="0.5" transform="rotate(45 8.02588 34.3086)" />
|
||||
<rect x="4.49609" y="34.3027" width="1" height="3.09625" rx="0.5" transform="rotate(45 4.49609 34.3027)" />
|
||||
<rect fill="var(--jamColor)" x="26.9919" y="47.1621" width="1" height="5.44529" rx="0.5" transform="rotate(45 26.9919 47.1621)" />
|
||||
<rect fill="var(--jamColor)" x="26.9944" y="43.625" width="1" height="10.4224" rx="0.5" transform="rotate(45 26.9944 43.625)" />
|
||||
<rect fill="var(--jamColor)" x="26.9963" y="40.0874" width="1" height="15.449" rx="0.5" transform="rotate(45 26.9963 40.0874)" />
|
||||
<rect fill="var(--jamColor)" x="26.9983" y="36.5498" width="1" height="20.426" rx="0.5" transform="rotate(45 26.9983 36.5498)" />
|
||||
<rect fill="var(--jamColor)" x="25.7163" y="34.2961" width="1" height="23.6123" rx="0.5" transform="rotate(45 25.7163 34.2961)" />
|
||||
<rect fill="var(--jamColor)" x="22.178" y="34.2983" width="1" height="23.6203" rx="0.5" transform="rotate(45 22.178 34.2983)" />
|
||||
<rect fill="var(--jamColor)" x="18.6401" y="34.3013" width="1" height="23.1059" rx="0.5" transform="rotate(45 18.6401 34.3013)" />
|
||||
<rect fill="var(--jamColor)" x="15.094" y="34.312" width="1" height="18.0926" rx="0.5" transform="rotate(45 15.094 34.312)" />
|
||||
<rect fill="var(--jamColor)" x="11.5557" y="34.3145" width="1" height="13.0762" rx="0.5" transform="rotate(45 11.5557 34.3145)" />
|
||||
<rect fill="var(--jamColor)" x="8.02588" y="34.3086" width="1" height="8.08624" rx="0.5" transform="rotate(45 8.02588 34.3086)" />
|
||||
<rect fill="var(--jamColor)" x="4.49609" y="34.3027" width="1" height="3.09625" rx="0.5" transform="rotate(45 4.49609 34.3027)" />
|
||||
</symbol>
|
||||
<symbol id="jar-closed-fill-75" fill="currentColor" viewBox="0 0 30 55">
|
||||
<path d="M25.9759 14.0086V13.107H27.7519C28.0543 13.107 28.2991 12.8612 28.2991 12.5588V8.24275C28.2991 6.27179 27.0688 6 25.7392 6H4.26054C2.93101 6 1.70117 6.27179 1.70117 8.24275V12.5588C1.70117 12.8617 1.94651 13.107 2.24836 13.107H4.0238V14.0086C4.0238 14.9718 3.55144 15.4552 2.83576 16.188C1.63906 17.4134 0 19.091 0 24.0059V47.1149C0 51.9827 0.912663 55 5.45768 55H24.5439C29.0873 55 30 51.9833 30 47.1149V24.0059C30 19.0901 28.361 17.4124 27.1648 16.188C26.4491 15.4557 25.9762 14.9723 25.9762 14.008L25.9759 14.0086ZM2.79547 8.2432C2.79547 7.3763 2.90949 7.09686 4.25987 7.09686H25.7398C27.0912 7.09686 27.2053 7.37681 27.2053 8.2432V12.0111C19.0516 12.0085 10.869 12.0106 2.7951 12.0106L2.79547 8.2432ZM28.904 47.1167C28.904 52.8556 27.435 53.905 24.5422 53.905L5.45727 53.9055C2.56404 53.9055 1.09456 52.855 1.09456 47.1172L1.09405 24.0069C1.09405 19.5393 2.49277 18.1065 3.6172 16.9549C4.38836 16.1655 5.1173 15.4189 5.1173 14.0091V13.1075H24.8798V14.0091C24.8798 15.4201 25.6087 16.1657 26.3794 16.9549C27.5038 18.1053 28.9025 19.5383 28.9025 24.0069L28.9036 47.1172L28.904 47.1167Z" />
|
||||
<rect x="26.9932" y="47.1609" width="1" height="5.44679" rx="0.5" transform="rotate(45 26.9932 47.1609)" />
|
||||
<rect x="26.9915" y="43.6279" width="1" height="10.4182" rx="0.5" transform="rotate(45 26.9915 43.6279)" />
|
||||
<rect x="26.9956" y="40.0879" width="1" height="15.4481" rx="0.5" transform="rotate(45 26.9956 40.0879)" />
|
||||
<rect x="27" y="36.5481" width="1" height="20.4285" rx="0.5" transform="rotate(45 27 36.5481)" />
|
||||
<rect x="26.9915" y="33.021" width="1" height="25.4156" rx="0.5" transform="rotate(45 26.9915 33.021)" />
|
||||
<rect x="27.0012" y="29.4751" width="1" height="30.4414" rx="0.5" transform="rotate(45 27.0012 29.4751)" />
|
||||
<rect x="27.0012" y="25.9399" width="1" height="34.9517" rx="0.5" transform="rotate(45 27.0012 25.9399)" />
|
||||
<rect x="23.5908" y="25.8149" width="1" height="30.1135" rx="0.5" transform="rotate(45 23.5908 25.8149)" />
|
||||
<rect x="20.0496" y="25.8203" width="1" height="25.0995" rx="0.5" transform="rotate(45 20.0496 25.8203)" />
|
||||
<rect x="16.5393" y="25.7949" width="1" height="20.1474" rx="0.5" transform="rotate(45 16.5393 25.7949)" />
|
||||
<rect x="12.9824" y="25.8164" width="1" height="15.12" rx="0.5" transform="rotate(45 12.9824 25.8164)" />
|
||||
<rect x="9.45679" y="25.8066" width="1" height="10.1278" rx="0.5" transform="rotate(45 9.45679 25.8066)" />
|
||||
<rect x="5.91553" y="25.8125" width="1" height="5.11357" rx="0.5" transform="rotate(45 5.91553 25.8125)" />
|
||||
<rect fill="var(--jamColor)" x="26.9932" y="47.1609" width="1" height="5.44679" rx="0.5" transform="rotate(45 26.9932 47.1609)" />
|
||||
<rect fill="var(--jamColor)" x="26.9915" y="43.6279" width="1" height="10.4182" rx="0.5" transform="rotate(45 26.9915 43.6279)" />
|
||||
<rect fill="var(--jamColor)" x="26.9956" y="40.0879" width="1" height="15.4481" rx="0.5" transform="rotate(45 26.9956 40.0879)" />
|
||||
<rect fill="var(--jamColor)" x="27" y="36.5481" width="1" height="20.4285" rx="0.5" transform="rotate(45 27 36.5481)" />
|
||||
<rect fill="var(--jamColor)" x="26.9915" y="33.021" width="1" height="25.4156" rx="0.5" transform="rotate(45 26.9915 33.021)" />
|
||||
<rect fill="var(--jamColor)" x="27.0012" y="29.4751" width="1" height="30.4414" rx="0.5" transform="rotate(45 27.0012 29.4751)" />
|
||||
<rect fill="var(--jamColor)" x="27.0012" y="25.9399" width="1" height="34.9517" rx="0.5" transform="rotate(45 27.0012 25.9399)" />
|
||||
<rect fill="var(--jamColor)" x="23.5908" y="25.8149" width="1" height="30.1135" rx="0.5" transform="rotate(45 23.5908 25.8149)" />
|
||||
<rect fill="var(--jamColor)" x="20.0496" y="25.8203" width="1" height="25.0995" rx="0.5" transform="rotate(45 20.0496 25.8203)" />
|
||||
<rect fill="var(--jamColor)" x="16.5393" y="25.7949" width="1" height="20.1474" rx="0.5" transform="rotate(45 16.5393 25.7949)" />
|
||||
<rect fill="var(--jamColor)" x="12.9824" y="25.8164" width="1" height="15.12" rx="0.5" transform="rotate(45 12.9824 25.8164)" />
|
||||
<rect fill="var(--jamColor)" x="9.45679" y="25.8066" width="1" height="10.1278" rx="0.5" transform="rotate(45 9.45679 25.8066)" />
|
||||
<rect fill="var(--jamColor)" x="5.91553" y="25.8125" width="1" height="5.11357" rx="0.5" transform="rotate(45 5.91553 25.8125)" />
|
||||
</symbol>
|
||||
<symbol id="jar-open-empty" viewBox="0 0 30 55" fill="currentColor">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M27.7519 7.10699H25.9759H4.0238H2.24836C1.94652 7.10699 1.70117 6.86171 1.70117 6.55881V2.24275C1.70117 0.271793 2.93102 0 4.26055 0H25.7392C27.0688 0 28.2991 0.271793 28.2991 2.24275V6.55881C28.2991 6.8612 28.0543 7.10699 27.7519 7.10699ZM4.25987 1.09686C2.90949 1.09686 2.79547 1.3763 2.79547 2.2432L2.7951 6.01059C5.27498 6.01059 7.7651 6.01039 10.2615 6.0102H10.262H10.2625C15.8934 6.00976 21.5563 6.00932 27.2053 6.0111V2.2432C27.2053 1.37681 27.0912 1.09686 25.7398 1.09686H4.25987ZM25.9759 13.5V12.5H26.5C26.7761 12.5 27 12.2761 27 12C27 11.7239 26.7761 11.5 26.5 11.5H25.9759V11C25.9759 10 25.5 9.375 24.5 9.375H5C4.0238 9.37498 4.0238 10.5002 4.0238 11.0001V11.5H3.5C3.22386 11.5 3 11.7239 3 12C3 12.2761 3.22386 12.5 3.5 12.5H4.0238V13.5H3.5C3.22386 13.5 3 13.7239 3 14C3 14.2761 3.22386 14.5 3.5 14.5H3.97644C3.8401 15.1597 3.41883 15.591 2.83624 16.1875L2.83576 16.188L2.83526 16.1885C1.63861 17.4138 0 19.0917 0 24.0059V47.1148C0 51.9827 0.912663 55 5.45768 55H24.5439C29.0873 55 30 51.9832 30 47.1148V24.0059C30 19.0901 28.361 17.4123 27.1648 16.188L27.1638 16.187C26.5815 15.5912 26.1601 15.16 26.0236 14.5H26.5C26.7761 14.5 27 14.2761 27 14C27 13.7239 26.7761 13.5 26.5 13.5H25.9759ZM24.8797 13.5V13.1075V12.5H5.11725V13.1075V13.5H24.8797ZM24.9114 14.5H5.08551C4.93748 15.603 4.29356 16.2625 3.61714 16.9549C2.49272 18.1064 1.09399 19.5393 1.09399 24.0069L1.0945 47.1172C1.0945 52.855 2.56398 53.9055 5.45721 53.9055L24.5421 53.905C27.4349 53.905 28.9039 52.8555 28.9039 47.1167L28.9035 47.1172L28.9025 24.0069C28.9025 19.5382 27.5037 18.1053 26.3793 16.9549L26.3777 16.9533C25.7023 16.2615 25.0592 15.603 24.9114 14.5ZM24.8797 10.5V11.5H5.11725V10.5H24.8797Z" />
|
||||
</symbol>
|
||||
<symbol id="jar-open-fill-25" fill="currentColor" viewBox="0 0 30 55">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M27.7519 7.10699H25.9759H4.0238H2.24836C1.94652 7.10699 1.70117 6.86171 1.70117 6.55881V2.24275C1.70117 0.271793 2.93102 0 4.26055 0H25.7392C27.0688 0 28.2991 0.271793 28.2991 2.24275V6.55881C28.2991 6.8612 28.0543 7.10699 27.7519 7.10699ZM4.25987 1.09686C2.90949 1.09686 2.79547 1.3763 2.79547 2.2432L2.7951 6.01059C5.27498 6.01059 7.7651 6.01039 10.2615 6.0102H10.262H10.2625C15.8934 6.00976 21.5563 6.00932 27.2053 6.0111V2.2432C27.2053 1.37681 27.0912 1.09686 25.7398 1.09686H4.25987ZM25.9759 13.5V12.5H26.5C26.7761 12.5 27 12.2761 27 12C27 11.7239 26.7761 11.5 26.5 11.5H25.9759V11C25.9759 10 25.5 9.375 24.5 9.375H5C4.0238 9.37498 4.0238 10.5002 4.0238 11.0001V11.5H3.5C3.22386 11.5 3 11.7239 3 12C3 12.2761 3.22386 12.5 3.5 12.5H4.0238V13.5H3.5C3.22386 13.5 3 13.7239 3 14C3 14.2761 3.22386 14.5 3.5 14.5H3.97644C3.8401 15.1597 3.41883 15.591 2.83624 16.1875L2.83576 16.188L2.83526 16.1885C1.63861 17.4138 0 19.0917 0 24.0059V47.1148C0 51.9827 0.912663 55 5.45768 55H24.5439C29.0873 55 30 51.9832 30 47.1148V24.0059C30 19.0901 28.361 17.4123 27.1648 16.188L27.1638 16.187C26.5815 15.5912 26.1601 15.16 26.0236 14.5H26.5C26.7761 14.5 27 14.2761 27 14C27 13.7239 26.7761 13.5 26.5 13.5H25.9759ZM24.8797 13.5V13.1075V12.5H5.11725V13.1075V13.5H24.8797ZM24.9114 14.5H5.08551C4.93748 15.603 4.29356 16.2625 3.61714 16.9549C2.49272 18.1064 1.09399 19.5393 1.09399 24.0069L1.0945 47.1172C1.0945 52.855 2.56398 53.9055 5.45721 53.9055L24.5421 53.905C27.4349 53.905 28.9039 52.8555 28.9039 47.1167L28.9035 47.1172L28.9025 24.0069C28.9025 19.5382 27.5037 18.1053 26.3793 16.9549L26.3777 16.9533C25.7023 16.2615 25.0592 15.603 24.9114 14.5ZM24.8797 10.5V11.5H5.11725V10.5H24.8797Z" />
|
||||
<rect x="26.9983" y="47.1555" width="1" height="5.45425" rx="0.5" transform="rotate(45 26.9983 47.1555)" />
|
||||
<rect x="27.001" y="43.6182" width="1" height="10.4318" rx="0.5" transform="rotate(45 27.001 43.6182)" />
|
||||
<rect x="24.2859" y="42.7979" width="1" height="11.616" rx="0.5" transform="rotate(45 24.2859 42.7979)" />
|
||||
<rect x="20.7573" y="42.7905" width="1" height="11.6001" rx="0.5" transform="rotate(45 20.7573 42.7905)" />
|
||||
<rect x="17.2285" y="42.7837" width="1" height="11.6088" rx="0.5" transform="rotate(45 17.2285 42.7837)" />
|
||||
<rect x="13.6736" y="42.8027" width="1" height="11.5931" rx="0.5" transform="rotate(45 13.6736 42.8027)" />
|
||||
<rect x="10.1365" y="42.8052" width="1" height="11.0668" rx="0.5" transform="rotate(45 10.1365 42.8052)" />
|
||||
<rect x="6.62524" y="42.7808" width="1" height="6.11823" rx="0.5" transform="rotate(45 6.62524 42.7808)" />
|
||||
<rect fill="var(--jamColor)" x="26.9983" y="47.1555" width="1" height="5.45425" rx="0.5" transform="rotate(45 26.9983 47.1555)" />
|
||||
<rect fill="var(--jamColor)" x="27.001" y="43.6182" width="1" height="10.4318" rx="0.5" transform="rotate(45 27.001 43.6182)" />
|
||||
<rect fill="var(--jamColor)" x="24.2859" y="42.7979" width="1" height="11.616" rx="0.5" transform="rotate(45 24.2859 42.7979)" />
|
||||
<rect fill="var(--jamColor)" x="20.7573" y="42.7905" width="1" height="11.6001" rx="0.5" transform="rotate(45 20.7573 42.7905)" />
|
||||
<rect fill="var(--jamColor)" x="17.2285" y="42.7837" width="1" height="11.6088" rx="0.5" transform="rotate(45 17.2285 42.7837)" />
|
||||
<rect fill="var(--jamColor)" x="13.6736" y="42.8027" width="1" height="11.5931" rx="0.5" transform="rotate(45 13.6736 42.8027)" />
|
||||
<rect fill="var(--jamColor)" x="10.1365" y="42.8052" width="1" height="11.0668" rx="0.5" transform="rotate(45 10.1365 42.8052)" />
|
||||
<rect fill="var(--jamColor)" x="6.62524" y="42.7808" width="1" height="6.11823" rx="0.5" transform="rotate(45 6.62524 42.7808)" />
|
||||
</symbol>
|
||||
<symbol id="jar-open-fill-50" fill="currentColor" viewBox="0 0 30 55">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M27.7519 7.10699H25.9759H4.0238H2.24836C1.94652 7.10699 1.70117 6.86171 1.70117 6.55881V2.24275C1.70117 0.271793 2.93102 0 4.26055 0H25.7392C27.0688 0 28.2991 0.271793 28.2991 2.24275V6.55881C28.2991 6.8612 28.0543 7.10699 27.7519 7.10699ZM4.25987 1.09686C2.90949 1.09686 2.79547 1.3763 2.79547 2.2432L2.7951 6.01059C5.27498 6.01059 7.7651 6.01039 10.2615 6.0102H10.262H10.2625C15.8934 6.00976 21.5563 6.00932 27.2053 6.0111V2.2432C27.2053 1.37681 27.0912 1.09686 25.7398 1.09686H4.25987ZM25.9759 13.5V12.5H26.5C26.7761 12.5 27 12.2761 27 12C27 11.7239 26.7761 11.5 26.5 11.5H25.9759V11C25.9759 10 25.5 9.375 24.5 9.375H5C4.0238 9.37498 4.0238 10.5002 4.0238 11.0001V11.5H3.5C3.22386 11.5 3 11.7239 3 12C3 12.2761 3.22386 12.5 3.5 12.5H4.0238V13.5H3.5C3.22386 13.5 3 13.7239 3 14C3 14.2761 3.22386 14.5 3.5 14.5H3.97644C3.8401 15.1597 3.41883 15.591 2.83624 16.1875L2.83576 16.188L2.83526 16.1885C1.63861 17.4138 0 19.0917 0 24.0059V47.1148C0 51.9827 0.912663 55 5.45768 55H24.5439C29.0873 55 30 51.9832 30 47.1148V24.0059C30 19.0901 28.361 17.4123 27.1648 16.188L27.1638 16.187C26.5815 15.5912 26.1601 15.16 26.0236 14.5H26.5C26.7761 14.5 27 14.2761 27 14C27 13.7239 26.7761 13.5 26.5 13.5H25.9759ZM24.8797 13.5V13.1075V12.5H5.11725V13.1075V13.5H24.8797ZM24.9114 14.5H5.08551C4.93748 15.603 4.29356 16.2625 3.61714 16.9549C2.49272 18.1064 1.09399 19.5393 1.09399 24.0069L1.0945 47.1172C1.0945 52.855 2.56398 53.9055 5.45721 53.9055L24.5421 53.905C27.4349 53.905 28.9039 52.8555 28.9039 47.1167L28.9035 47.1172L28.9025 24.0069C28.9025 19.5382 27.5037 18.1053 26.3793 16.9549L26.3777 16.9533C25.7023 16.2615 25.0592 15.603 24.9114 14.5ZM24.8797 10.5V11.5H5.11725V10.5H24.8797Z" />
|
||||
<rect x="26.9919" y="47.1621" width="1" height="5.44529" rx="0.5" transform="rotate(45 26.9919 47.1621)" />
|
||||
<rect x="26.9944" y="43.625" width="1" height="10.4224" rx="0.5" transform="rotate(45 26.9944 43.625)" />
|
||||
<rect x="26.9963" y="40.0874" width="1" height="15.449" rx="0.5" transform="rotate(45 26.9963 40.0874)" />
|
||||
<rect x="26.9983" y="36.5498" width="1" height="20.426" rx="0.5" transform="rotate(45 26.9983 36.5498)" />
|
||||
<rect x="25.7163" y="34.2961" width="1" height="23.6123" rx="0.5" transform="rotate(45 25.7163 34.2961)" />
|
||||
<rect x="22.178" y="34.2983" width="1" height="23.6203" rx="0.5" transform="rotate(45 22.178 34.2983)" />
|
||||
<rect x="18.6401" y="34.3013" width="1" height="23.1059" rx="0.5" transform="rotate(45 18.6401 34.3013)" />
|
||||
<rect x="15.094" y="34.312" width="1" height="18.0926" rx="0.5" transform="rotate(45 15.094 34.312)" />
|
||||
<rect x="11.5557" y="34.3145" width="1" height="13.0762" rx="0.5" transform="rotate(45 11.5557 34.3145)" />
|
||||
<rect x="8.02588" y="34.3086" width="1" height="8.08624" rx="0.5" transform="rotate(45 8.02588 34.3086)" />
|
||||
<rect x="4.49609" y="34.3027" width="1" height="3.09625" rx="0.5" transform="rotate(45 4.49609 34.3027)" />
|
||||
<rect fill="var(--jamColor)" x="26.9919" y="47.1621" width="1" height="5.44529" rx="0.5" transform="rotate(45 26.9919 47.1621)" />
|
||||
<rect fill="var(--jamColor)" x="26.9944" y="43.625" width="1" height="10.4224" rx="0.5" transform="rotate(45 26.9944 43.625)" />
|
||||
<rect fill="var(--jamColor)" x="26.9963" y="40.0874" width="1" height="15.449" rx="0.5" transform="rotate(45 26.9963 40.0874)" />
|
||||
<rect fill="var(--jamColor)" x="26.9983" y="36.5498" width="1" height="20.426" rx="0.5" transform="rotate(45 26.9983 36.5498)" />
|
||||
<rect fill="var(--jamColor)" x="25.7163" y="34.2961" width="1" height="23.6123" rx="0.5" transform="rotate(45 25.7163 34.2961)" />
|
||||
<rect fill="var(--jamColor)" x="22.178" y="34.2983" width="1" height="23.6203" rx="0.5" transform="rotate(45 22.178 34.2983)" />
|
||||
<rect fill="var(--jamColor)" x="18.6401" y="34.3013" width="1" height="23.1059" rx="0.5" transform="rotate(45 18.6401 34.3013)" />
|
||||
<rect fill="var(--jamColor)" x="15.094" y="34.312" width="1" height="18.0926" rx="0.5" transform="rotate(45 15.094 34.312)" />
|
||||
<rect fill="var(--jamColor)" x="11.5557" y="34.3145" width="1" height="13.0762" rx="0.5" transform="rotate(45 11.5557 34.3145)" />
|
||||
<rect fill="var(--jamColor)" x="8.02588" y="34.3086" width="1" height="8.08624" rx="0.5" transform="rotate(45 8.02588 34.3086)" />
|
||||
<rect fill="var(--jamColor)" x="4.49609" y="34.3027" width="1" height="3.09625" rx="0.5" transform="rotate(45 4.49609 34.3027)" />
|
||||
</symbol>
|
||||
<symbol id="jar-open-fill-75" fill="currentColor" viewBox="0 0 30 55">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M27.7519 7.10699H25.9759H4.0238H2.24836C1.94652 7.10699 1.70117 6.86171 1.70117 6.55881V2.24275C1.70117 0.271793 2.93102 0 4.26055 0H25.7392C27.0688 0 28.2991 0.271793 28.2991 2.24275V6.55881C28.2991 6.8612 28.0543 7.10699 27.7519 7.10699ZM4.25987 1.09686C2.90949 1.09686 2.79547 1.3763 2.79547 2.2432L2.7951 6.01059C5.27498 6.01059 7.7651 6.01039 10.2615 6.0102H10.262H10.2625C15.8934 6.00976 21.5563 6.00932 27.2053 6.0111V2.2432C27.2053 1.37681 27.0912 1.09686 25.7398 1.09686H4.25987ZM25.9759 13.5V12.5H26.5C26.7761 12.5 27 12.2761 27 12C27 11.7239 26.7761 11.5 26.5 11.5H25.9759V11C25.9759 10 25.5 9.375 24.5 9.375H5C4.0238 9.37498 4.0238 10.5002 4.0238 11.0001V11.5H3.5C3.22386 11.5 3 11.7239 3 12C3 12.2761 3.22386 12.5 3.5 12.5H4.0238V13.5H3.5C3.22386 13.5 3 13.7239 3 14C3 14.2761 3.22386 14.5 3.5 14.5H3.97644C3.8401 15.1597 3.41883 15.591 2.83624 16.1875L2.83576 16.188L2.83526 16.1885C1.63861 17.4138 0 19.0917 0 24.0059V47.1148C0 51.9827 0.912663 55 5.45768 55H24.5439C29.0873 55 30 51.9832 30 47.1148V24.0059C30 19.0901 28.361 17.4123 27.1648 16.188L27.1638 16.187C26.5815 15.5912 26.1601 15.16 26.0236 14.5H26.5C26.7761 14.5 27 14.2761 27 14C27 13.7239 26.7761 13.5 26.5 13.5H25.9759ZM24.8797 13.5V13.1075V12.5H5.11725V13.1075V13.5H24.8797ZM24.9114 14.5H5.08551C4.93748 15.603 4.29356 16.2625 3.61714 16.9549C2.49272 18.1064 1.09399 19.5393 1.09399 24.0069L1.0945 47.1172C1.0945 52.855 2.56398 53.9055 5.45721 53.9055L24.5421 53.905C27.4349 53.905 28.9039 52.8555 28.9039 47.1167L28.9035 47.1172L28.9025 24.0069C28.9025 19.5382 27.5037 18.1053 26.3793 16.9549L26.3777 16.9533C25.7023 16.2615 25.0592 15.603 24.9114 14.5ZM24.8797 10.5V11.5H5.11725V10.5H24.8797Z" />
|
||||
<rect x="26.9932" y="47.1609" width="1" height="5.44679" rx="0.5" transform="rotate(45 26.9932 47.1609)" />
|
||||
<rect x="26.9915" y="43.6279" width="1" height="10.4182" rx="0.5" transform="rotate(45 26.9915 43.6279)" />
|
||||
<rect x="26.9956" y="40.0879" width="1" height="15.4481" rx="0.5" transform="rotate(45 26.9956 40.0879)" />
|
||||
<rect x="27" y="36.5481" width="1" height="20.4285" rx="0.5" transform="rotate(45 27 36.5481)" />
|
||||
<rect x="26.9915" y="33.021" width="1" height="25.4156" rx="0.5" transform="rotate(45 26.9915 33.021)" />
|
||||
<rect x="27.0012" y="29.4751" width="1" height="30.4414" rx="0.5" transform="rotate(45 27.0012 29.4751)" />
|
||||
<rect x="27.0012" y="25.9399" width="1" height="34.9517" rx="0.5" transform="rotate(45 27.0012 25.9399)" />
|
||||
<rect x="23.5908" y="25.8149" width="1" height="30.1135" rx="0.5" transform="rotate(45 23.5908 25.8149)" />
|
||||
<rect x="20.0496" y="25.8203" width="1" height="25.0995" rx="0.5" transform="rotate(45 20.0496 25.8203)" />
|
||||
<rect x="16.5393" y="25.7949" width="1" height="20.1474" rx="0.5" transform="rotate(45 16.5393 25.7949)" />
|
||||
<rect x="12.9824" y="25.8164" width="1" height="15.12" rx="0.5" transform="rotate(45 12.9824 25.8164)" />
|
||||
<rect x="9.45679" y="25.8066" width="1" height="10.1278" rx="0.5" transform="rotate(45 9.45679 25.8066)" />
|
||||
<rect x="5.91553" y="25.8125" width="1" height="5.11357" rx="0.5" transform="rotate(45 5.91553 25.8125)" />
|
||||
<rect fill="var(--jamColor)" x="26.9932" y="47.1609" width="1" height="5.44679" rx="0.5" transform="rotate(45 26.9932 47.1609)" />
|
||||
<rect fill="var(--jamColor)" x="26.9915" y="43.6279" width="1" height="10.4182" rx="0.5" transform="rotate(45 26.9915 43.6279)" />
|
||||
<rect fill="var(--jamColor)" x="26.9956" y="40.0879" width="1" height="15.4481" rx="0.5" transform="rotate(45 26.9956 40.0879)" />
|
||||
<rect fill="var(--jamColor)" x="27" y="36.5481" width="1" height="20.4285" rx="0.5" transform="rotate(45 27 36.5481)" />
|
||||
<rect fill="var(--jamColor)" x="26.9915" y="33.021" width="1" height="25.4156" rx="0.5" transform="rotate(45 26.9915 33.021)" />
|
||||
<rect fill="var(--jamColor)" x="27.0012" y="29.4751" width="1" height="30.4414" rx="0.5" transform="rotate(45 27.0012 29.4751)" />
|
||||
<rect fill="var(--jamColor)" x="27.0012" y="25.9399" width="1" height="34.9517" rx="0.5" transform="rotate(45 27.0012 25.9399)" />
|
||||
<rect fill="var(--jamColor)" x="23.5908" y="25.8149" width="1" height="30.1135" rx="0.5" transform="rotate(45 23.5908 25.8149)" />
|
||||
<rect fill="var(--jamColor)" x="20.0496" y="25.8203" width="1" height="25.0995" rx="0.5" transform="rotate(45 20.0496 25.8203)" />
|
||||
<rect fill="var(--jamColor)" x="16.5393" y="25.7949" width="1" height="20.1474" rx="0.5" transform="rotate(45 16.5393 25.7949)" />
|
||||
<rect fill="var(--jamColor)" x="12.9824" y="25.8164" width="1" height="15.12" rx="0.5" transform="rotate(45 12.9824 25.8164)" />
|
||||
<rect fill="var(--jamColor)" x="9.45679" y="25.8066" width="1" height="10.1278" rx="0.5" transform="rotate(45 9.45679 25.8066)" />
|
||||
<rect fill="var(--jamColor)" x="5.91553" y="25.8125" width="1" height="5.11357" rx="0.5" transform="rotate(45 5.91553 25.8125)" />
|
||||
</symbol>
|
||||
<symbol id="info" viewBox="0 0 24 24" fill="currentColor">
|
||||
<circle cx="12" cy="7.25" r="1.25"></circle><path d="M11 10h2v8h-2z"></path>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 95 KiB |
|
|
@ -20,6 +20,7 @@ import { SATS, formatBtc, formatSats } from '../utils'
|
|||
import { routes } from '../constants/routes'
|
||||
import styles from './Send.module.css'
|
||||
import { ConfirmModal } from './Modal'
|
||||
import { jarInitial, jarName } from './jars/Jar'
|
||||
|
||||
const IS_COINJOIN_DEFAULT_VAL = true
|
||||
// initial value for `minimum_makers` from the default joinmarket.cfg (last check on 2022-02-20 of v0.9.5)
|
||||
|
|
@ -769,7 +770,7 @@ export default function Send() {
|
|||
.sort((lhs, rhs) => lhs.accountIndex - rhs.accountIndex)
|
||||
.map(({ accountIndex, totalBalance, calculatedTotalBalanceInSats }) => (
|
||||
<option key={accountIndex} value={accountIndex}>
|
||||
{t('send.account_selector_option', { number: accountIndex })}{' '}
|
||||
{jarName(accountIndex)}{' '}
|
||||
{settings.showBalance &&
|
||||
(settings.unit === 'sats'
|
||||
? `(${formatSats(calculatedTotalBalanceInSats)} sats)`
|
||||
|
|
@ -794,7 +795,7 @@ export default function Send() {
|
|||
className={classnames('slashed-zeroes', styles['input'], {
|
||||
[styles['jar-input']]: destinationJar !== null,
|
||||
})}
|
||||
value={destinationJar !== null ? `Jar #${destinationJar} (${destination})` : destination || ''}
|
||||
value={destinationJar !== null ? `${jarName(destinationJar)} (${destination})` : destination || ''}
|
||||
required
|
||||
onChange={(e) => {
|
||||
const value = e.target.value
|
||||
|
|
@ -954,9 +955,7 @@ export default function Send() {
|
|||
<strong>{t('send.confirm_modal.label_source_jar')}</strong>
|
||||
</rb.Col>
|
||||
<rb.Col xs={9} className="text-start">
|
||||
{t('send.confirm_modal.text_source_jar', {
|
||||
jarId: `#${account}`,
|
||||
})}
|
||||
{t('send.confirm_modal.text_source_jar', { jarId: jarInitial(account) })}
|
||||
</rb.Col>
|
||||
</rb.Row>
|
||||
<rb.Row>
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ import { CopyButton } from '../CopyButton'
|
|||
import LockdateForm from './LockdateForm'
|
||||
import * as fb from './utils'
|
||||
import styles from './FidelityBondSteps.module.css'
|
||||
import { jarInitial } from '../jars/Jar'
|
||||
|
||||
const cx = classnamesBind.bind(styles)
|
||||
|
||||
|
|
@ -169,7 +170,9 @@ const SelectUtxos = ({ walletInfo, jar, utxos, selectedUtxos, onUtxoSelected, on
|
|||
|
||||
return (
|
||||
<div className="d-flex flex-column gap-4">
|
||||
<div className={styles.stepDescription}>{t('earn.fidelity_bond.select_utxos.description', { jar })}</div>
|
||||
<div className={styles.stepDescription}>
|
||||
{t('earn.fidelity_bond.select_utxos.description', { jar: jarInitial(jar) })}
|
||||
</div>
|
||||
{utxos.map((utxo, index) => {
|
||||
return (
|
||||
<UtxoCard
|
||||
|
|
@ -218,7 +221,7 @@ const FreezeUtxos = ({ walletInfo, jar, utxos, selectedUtxos, isLoading = false
|
|||
) : (
|
||||
<div className={styles.stepDescription}>
|
||||
{t('earn.fidelity_bond.freeze_utxos.description_unselected_utxos')}{' '}
|
||||
{t('earn.fidelity_bond.freeze_utxos.description_selected_utxos_to_freeze', { jar })}
|
||||
{t('earn.fidelity_bond.freeze_utxos.description_selected_utxos_to_freeze', { jar: jarInitial(jar) })}
|
||||
</div>
|
||||
)}
|
||||
{utxosToFreeze.map((utxo, index) => (
|
||||
|
|
@ -292,7 +295,7 @@ const ReviewInputs = ({ lockDate, jar, utxos, selectedUtxos, timelockedAddress }
|
|||
{
|
||||
icon: <Sprite symbol="jar-open-fill-50" width="18" height="18" className={styles.confirmationStepIcon} />,
|
||||
label: t('earn.fidelity_bond.review_inputs.label_jar'),
|
||||
content: t('earn.fidelity_bond.review_inputs.label_jar_n', { jar }),
|
||||
content: t('earn.fidelity_bond.review_inputs.label_jar_n', { jar: jarInitial(jar) }),
|
||||
},
|
||||
{
|
||||
icon: <Sprite symbol="coins" width="18" height="18" className={styles.confirmationStepIcon} />,
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ import SegmentedTabs from '../SegmentedTabs'
|
|||
import { UtxoList } from './UtxoList'
|
||||
import { DisplayBranchHeader, DisplayBranchBody } from './DisplayBranch'
|
||||
import styles from './JarDetailsOverlay.module.css'
|
||||
import { jarInitial } from '../jars/Jar'
|
||||
|
||||
const TABS = {
|
||||
UTXOS: 'UTXOS',
|
||||
|
|
@ -65,7 +66,9 @@ const Header = ({ account, nextAccount, previousAccount, setTab, onHide, initial
|
|||
</rb.Button>
|
||||
<div className={styles.accountStepperTitle}>
|
||||
<Sprite symbol="jar-open-fill-50" width="20" height="20" />
|
||||
<span className="slashed-zeroes">#{account.account}</span>
|
||||
<span className="slashed-zeroes">
|
||||
<strong>{jarInitial(Number(account.account))}</strong>
|
||||
</span>
|
||||
</div>
|
||||
<rb.Button variant="link" className={styles.accountStepperButton} onClick={() => nextAccount()}>
|
||||
<Sprite symbol="caret-right" width="20" height="20" />
|
||||
|
|
@ -295,10 +298,10 @@ const JarDetailsOverlay = (props: JarDetailsOverlayProps) => {
|
|||
const utxoListTitle = () => {
|
||||
const utxos = props.utxosByAccount[accountIndex] || []
|
||||
|
||||
if (utxos.length === 0) return t('jar_details.utxo_list.title_no_utxos', { jar: accountIndex })
|
||||
if (utxos.length === 1) return t('jar_details.utxo_list.title_1_utxo', { jar: accountIndex })
|
||||
if (utxos.length === 0) return t('jar_details.utxo_list.title_no_utxos', { jar: jarInitial(accountIndex) })
|
||||
if (utxos.length === 1) return t('jar_details.utxo_list.title_1_utxo', { jar: jarInitial(accountIndex) })
|
||||
|
||||
return t('jar_details.utxo_list.title_num_utxos', { num: utxos.length, jar: accountIndex })
|
||||
return t('jar_details.utxo_list.title_num_utxos', { num: utxos.length, jar: jarInitial(accountIndex) })
|
||||
}
|
||||
|
||||
const refreshButton = () => {
|
||||
|
|
|
|||
|
|
@ -8,11 +8,35 @@
|
|||
margin: 0 0 0.25rem 0;
|
||||
}
|
||||
|
||||
.apricotJam {
|
||||
--jamColor: #ffb765;
|
||||
}
|
||||
|
||||
.blueberryJam {
|
||||
--jamColor: #6a9bff;
|
||||
}
|
||||
|
||||
.cherryJam {
|
||||
--jamColor: #ff636b;
|
||||
}
|
||||
|
||||
.dateJam {
|
||||
--jamColor: #964b00;
|
||||
}
|
||||
|
||||
.elderberryJam {
|
||||
--jamColor: #7b3183;
|
||||
}
|
||||
|
||||
.jarIndex {
|
||||
font-size: 0.8rem;
|
||||
color: var(--bs-gray-600);
|
||||
}
|
||||
|
||||
.jarIndex::first-letter {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.jarBalance {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
|
|
|
|||
|
|
@ -43,6 +43,40 @@ const calculateFillLevel = (accountBalance: number, totalBalance: number): JarFi
|
|||
return 0
|
||||
}
|
||||
|
||||
const jarName = (index: Number) => {
|
||||
switch (index) {
|
||||
case 0:
|
||||
return 'Apricot'
|
||||
case 1:
|
||||
return 'Blueberry'
|
||||
case 2:
|
||||
return 'Cherry'
|
||||
case 3:
|
||||
return 'Date'
|
||||
case 4:
|
||||
return 'Elderberry'
|
||||
default:
|
||||
return 'Jam'
|
||||
}
|
||||
}
|
||||
|
||||
const jarInitial = (index: Number) => {
|
||||
switch (index) {
|
||||
case 0:
|
||||
return 'A'
|
||||
case 1:
|
||||
return 'B'
|
||||
case 2:
|
||||
return 'C'
|
||||
case 3:
|
||||
return 'D'
|
||||
case 4:
|
||||
return 'E'
|
||||
default:
|
||||
return 'X'
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A jar with index and balance.
|
||||
*/
|
||||
|
|
@ -62,10 +96,29 @@ const Jar = ({ index, balance, fillLevel, isOpen = false }: JarProps) => {
|
|||
}
|
||||
}, [fillLevel, isOpen])
|
||||
|
||||
const flavorStyle = useMemo(() => {
|
||||
switch (index) {
|
||||
case 0:
|
||||
return styles.apricotJam
|
||||
case 1:
|
||||
return styles.blueberryJam
|
||||
case 2:
|
||||
return styles.cherryJam
|
||||
case 3:
|
||||
return styles.dateJam
|
||||
case 4:
|
||||
return styles.elderberryJam
|
||||
default:
|
||||
return styles.neutralJam
|
||||
}
|
||||
}, [index])
|
||||
|
||||
const flavorName = jarName(index)
|
||||
|
||||
return (
|
||||
<div className={styles.jarContainer}>
|
||||
<Sprite className={styles.jarSprite} symbol={jarSymbol} width="32px" height="48px" />
|
||||
<div className={styles.jarIndex}>{'#' + index}</div>
|
||||
<Sprite className={`${styles.jarSprite} ${flavorStyle}`} symbol={jarSymbol} width="32px" height="48px" />
|
||||
<div className={styles.jarIndex}>{flavorName}</div>
|
||||
<div className={styles.jarBalance}>
|
||||
<Balance valueString={balance} convertToUnit={settings.unit} showBalance={settings.showBalance} />
|
||||
</div>
|
||||
|
|
@ -139,4 +192,4 @@ const OpenableJar = ({ index, balance, fillLevel, tooltipText, onClick }: JarPro
|
|||
)
|
||||
}
|
||||
|
||||
export { calculateFillLevel, SelectableJar, OpenableJar }
|
||||
export { calculateFillLevel, SelectableJar, OpenableJar, jarName, jarInitial }
|
||||
|
|
|
|||
|
|
@ -172,7 +172,6 @@
|
|||
"placeholder_recipient": "Enter address or choose jar from wallet...",
|
||||
"feedback_reused_address": "This address is already used. To preserve your privacy please choose another one.",
|
||||
"label_account": "Send from",
|
||||
"account_selector_option": "Jar {{ number }}",
|
||||
"label_amount": "Amount in sats",
|
||||
"placeholder_amount": "Enter amount...",
|
||||
"feedback_invalid_amount": "Please provide a valid amount.",
|
||||
|
|
@ -290,7 +289,7 @@
|
|||
"text_primary_button": "Next",
|
||||
"text_primary_button_unsafe": "Select potentially less private UTXOs",
|
||||
"text_secondary_button": "Cancel",
|
||||
"description": "Select one or more UTXOs from Jar #{{ jar }} to use for the fidelity bond.",
|
||||
"description": "Select one or more UTXOs from Jar {{ jar }} to use for the fidelity bond.",
|
||||
"utxo_card": {
|
||||
"confirmations": "{{ confs }} Confirmations",
|
||||
"label_frozen": "frozen",
|
||||
|
|
@ -305,7 +304,7 @@
|
|||
"text_secondary_button": "Cancel",
|
||||
"description_selected_utxos": "Selected UTXOs:",
|
||||
"description_unselected_utxos": "The following UTXOs will not be used for the fidelity bond:",
|
||||
"description_selected_utxos_to_freeze": "They will be frozen to remain in Jar #{{ jar }}. You can unfreeze them anytime after creating the bond."
|
||||
"description_selected_utxos_to_freeze": "They will be frozen to remain in Jar {{ jar }}. You can unfreeze them anytime after creating the bond."
|
||||
},
|
||||
"review_inputs": {
|
||||
"text_primary_button": "Create fidelity bond",
|
||||
|
|
@ -314,7 +313,7 @@
|
|||
"description": "You configured the fidelity bond as follows:",
|
||||
"label_lock_date": "Locked until",
|
||||
"label_jar": "Funded from",
|
||||
"label_jar_n": "Jar #{{ jar }}",
|
||||
"label_jar_n": "Jar {{ jar }}",
|
||||
"label_amount": "Amount to be locked",
|
||||
"label_address": "Funds will be time-locked and sent to",
|
||||
"label_selected_utxos": "UTXOs that will be time-locked:"
|
||||
|
|
@ -424,9 +423,9 @@
|
|||
"progress_current_state": "Waiting for transaction <1>{{ current }}</1> of <3>{{ total }}</3> to process...",
|
||||
"progress_done": "All transactions completed successfully. The scheduler will stop soon.",
|
||||
"precondition": {
|
||||
"hint_missing_utxos": "To run the scheduler you need at least one UTXO with <2>{{ minConfirmations }}</2> confirmations in Jar #0. Fund your wallet and wait for <6>{{ minConfirmations }}</6> blocks.",
|
||||
"hint_missing_confirmations": "The scheduler requires one of your UTXOs in Jar #0 to have <2>{{ minConfirmations }}</2> or more confirmations. Wait for <6>{{ amountOfMissingConfirmations }}</6> more block(s).",
|
||||
"hint_missing_overall_retries": "You've tried running the scheduler unsuccessfully too many times in a row. For security reasons, you need a fresh UTXO in Jar #0 to try again. See <2>the docs</2> for more information."
|
||||
"hint_missing_utxos": "To run the scheduler you need at least one UTXO with <2>{{ minConfirmations }}</2> confirmations in Jar A. Fund your wallet and wait for <6>{{ minConfirmations }}</6> blocks.",
|
||||
"hint_missing_confirmations": "The scheduler requires one of your UTXOs in Jar A to have <2>{{ minConfirmations }}</2> or more confirmations. Wait for <6>{{ amountOfMissingConfirmations }}</6> more block(s).",
|
||||
"hint_missing_overall_retries": "You've tried running the scheduler unsuccessfully too many times in a row. For security reasons, you need a fresh UTXO in Jar A to try again. See <2>the docs</2> for more information."
|
||||
}
|
||||
},
|
||||
"modal": {
|
||||
|
|
|
|||
|
|
@ -169,8 +169,6 @@
|
|||
"feedback_invalid_recipient": "Veuillez indiquer l'adresse du destinataire.",
|
||||
"label_account": "Niveau de confidentialité à envoyer à partir de",
|
||||
"label_account_dev_mode": "Compte à partir duquel envoyer",
|
||||
"account_selector_option": "Niveau de confidentialité {{ number }}",
|
||||
"account_selector_option_dev_mode": "Compte {{ number }}",
|
||||
"label_amount": "Montant en sats",
|
||||
"placeholder_amount": "Entrez le montant...",
|
||||
"feedback_invalid_amount": "Veuillez fournir un montant valide.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue