Skip to content

Commit

Permalink
Merge pull request #1483 from hovancik/langs
Browse files Browse the repository at this point in the history
Add new languages + bigger Welcome Win
  • Loading branch information
hovancik authored Sep 14, 2024
2 parents bbd88f2 + 57f150d commit c4db2d5
Show file tree
Hide file tree
Showing 7 changed files with 529 additions and 652 deletions.
1 change: 1 addition & 0 deletions app/images/flags/flag-bangladesh.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/images/flags/flag-greece.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/images/flags/flag-serbia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,9 @@ function createWelcomeWindow (isAppStart = true) {
const modalPath = path.join('file://', __dirname, '/welcome.html')
welcomeWin = new BrowserWindow({
x: displaysX(-1, 1000),
y: displaysY(-1, 770),
y: displaysY(-1, 850),
width: 1000,
height: 770,
height: 850,
autoHideMenuBar: true,
icon: windowIconPath(),
backgroundColor: 'EDEDED',
Expand Down
3 changes: 3 additions & 0 deletions app/preferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,11 @@
<option value="ajp">اللهجة الأردنية</option>
<option value="bg">Български</option>
<option value="be">Беларуская мова</option>
<option value="bn">বাংলা</option>
<option value="cs">Čeština</option>
<option value="da">Dansk</option>
<option value="de">Deutsch</option>
<option value="el">Ελληνικά</option>
<option value="en">English</option>
<option value="eo">Esperanto</option>
<option value="es">Español</option>
Expand Down Expand Up @@ -119,6 +121,7 @@
<option value="si">සිංහල</option>
<option value="sk">Slovenčina</option>
<option value="sl">Slovenščina</option>
<option value="sr">српски језик</option>
<option value="sv">Svenska</option>
<option value="th">ภาษาไทย</option>
<option value="tr">Türkçe</option>
Expand Down
21 changes: 21 additions & 0 deletions app/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
Беларуская мова
</label>
</div>
<div>
<img src="images/flags/flag-bangladesh.svg" alt="Bangladesh">
<input type="radio" value="bn" name="language" id="bn">
<label for="bn">
বাংলা
</label>
</div>
<div>
<img src="images/flags/flag-czech-republic.svg" alt="Czechia">
<input type="radio" value="cs" name="language" id="cs">
Expand All @@ -62,6 +69,13 @@
Deutsch
</label>
</div>
<div>
<img src="images/flags/flag-greece.svg" alt="Greece">
<input type="radio" value="el" name="language" id="el">
<label for="el">
Ελληνικά
</label>
</div>
<div>
<img src="images/flags/flag-united-kingdom.svg" alt="UK">
<input type="radio" value="en" name="language" id="en">
Expand Down Expand Up @@ -286,6 +300,13 @@
Slovenščina
</label>
</div>
<div>
<img src="images/flags/flag-serbia.svg" alt="Serbia">
<input type="radio" value="sr" name="language" id="sr">
<label for="sr">
српски језик
</label>
</div>
<div>
<img src="images/flags/flag-sweden.svg" alt="Sweden">
<input type="radio" value="sv" name="language" id="sv">
Expand Down
Loading

0 comments on commit c4db2d5

Please sign in to comment.