Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button in wrong language #1544

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
3 changes: 3 additions & 0 deletions src/main/resources/messages_ar_AR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_bg_BG.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Направете дарение
color=Цвят
sponsor=Спонсор
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_ca_CA.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_cs_CZ.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Přispějte
color=Barva
sponsor=Sponzor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_de_DE.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Spenden
color=Farbe
sponsor=Sponsor
info=Die Info
AddFiles=Datei(en) hinzufügen
NoFile=Keine Datei(en) ausgewählt
FilesSelected=Dateien ausgewählt



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_el_GR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Δωρισε
color=Χρώμα
sponsor=Yποστηρικτής
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/messages_en_GB.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected




Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_en_US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_es_ES.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donar
color=Color
sponsor=Patrocinador
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_eu_ES.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_fr_FR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Faire un don
color=Couleur
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_hi_IN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_hu_HU.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_id_ID.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_it_IT.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donazione
color=Colore
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_ja_JP.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=寄付する
color=色
sponsor=スポンサー
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_ko_KR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=기부하기
color=색상
sponsor=스폰서
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_nl_NL.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_pl_PL.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_pt_BR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_pt_PT.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_ro_RO.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_ru_RU.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Пожертвовать
color=Цвет
sponsor=Спонсор
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_sk_SK.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Darovať
color=Farba
sponsor=Sponzorovať
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_sr_LATN_RS.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_sv_SE.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_tr_TR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Bağış Yapın
color=Renk
sponsor=Bağış
info=Bilgi
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_uk_UA.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=Donate
color=Color
sponsor=Sponsor
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_zh_CN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=捐款
color=颜色
sponsor=赞助
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_zh_TW.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ donate=捐贈
color=顏色
sponsor=贊助
info=Info
AddFiles=Add File(s)
NoFile=No File(s) selected
FilesSelected=Files selected



Expand Down
68 changes: 68 additions & 0 deletions src/main/resources/static/css/fileSelect.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,71 @@
overflow-y: auto;
white-space: pre-wrap;
}
#input{
display: none;
}

#file-name {
display: block;
background-color: #f8f9fa;
color: #212529;
padding: 10px;
margin-top: 10px;
border-radius: 5px;
}
.custom-file-chooser .mb-3 {
display: flex;
align-items: center;
gap: 10px;
}

.file-chooser-button {
width: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
padding-right: 75%;
position: relative;
overflow: hidden;
background: linear-gradient(to right, #E9ECEF 25%, #F1F3FD 25%);
color: black;
border: none;
box-shadow: none !important; /* Removes the box shadow */
}

/* State after a file is added */
.file-chooser-button.file-added {
color: black; /* Ensures text color remains black after file is added */
box-shadow: none !important; /* Removes the box shadow */
}


.file-chooser-button:hover {
color: black; /* Ensures text color remains black on hover */
box-shadow: none !important; /* Removes the box shadow */
}
.file-chooser-button:not(.file-added):hover {
background-color: var(--md-sys-color-primary); /* Keeps the background color unchanged */
box-shadow: none !important; /* Removes the box shadow */
border-color: var(--md-sys-color-primary); /* Keeps the border color unchanged */
color: black; /* Ensures text color remains black on hover */
}

.file-chooser-button::after {
content: '';
position: absolute;
left: 25%; /* Adjust this value to where you want the line */
top: 0;
bottom: 0;
width: 1px;
background-color: #000;
}


.file-name-right {
position: absolute;
left: 26%; /* Position it to the right of the line */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
Loading