Skip to content

Commit

Permalink
Merge pull request #3218 from martkol/master
Browse files Browse the repository at this point in the history
add catalan language
  • Loading branch information
fast4x authored Aug 11, 2024
2 parents 52b26b7 + ec16c1d commit 846a398
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
18 changes: 14 additions & 4 deletions docs/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@ select {
}
}
#languageSelect {
padding: 0 5px 0 5px;
padding: 0 8px 0 25px;
color: #abbad0;
background-image:url(../images/lang.svg) !important;
background-position: left -1px;
background-repeat: no-repeat;
background-size: auto 21px;
}

.footer-links > li > a {
white-space: nowrap;
}
Expand Down Expand Up @@ -81,6 +87,9 @@ select {
margin-right: 12% !important;
margin-left: 12% !important;
}
#languageSelect {
padding-right: 0
}
}
.feature-extended-body p {
color: #36517c;
Expand All @@ -107,16 +116,17 @@ body,
.body-wrap {
transition: background-color 250ms;
}
#languageSelect > option {
color: #15182b;
}
body.dark {
background-color: #0d1117;
#toggledark {
--sun: 0.4 !important;
--moon: 0.95 !important
;
}
#languageSelect > option {
color: #15182b;
}

.hero-paragraph,
.site-footer a,
.site-footer p {
Expand Down
1 change: 1 addition & 0 deletions docs/images/lang.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ <h2 class="section-title mt-0">
<option value="bn">বাংলা</option>
<option value="zh-rCN">简体中文</option>
<option value="zh-rTW">繁體中文</option>
<option value="ca">Català</option>
<option value="cs">Čeština</option>
<option value="da">Dansk</option>
<option value="de">Deutsch</option>
Expand Down Expand Up @@ -353,7 +354,7 @@ <h2 class="section-title mt-0">
<script src="js/main.min.js"></script>
<script>
// Load the locales
const multilingual = new Multilingual(["en", "cs", "it", "es", "fi", "fr", "pt-rBR", "ru", "ro", "tr", "zh-rCN", "zh-rTW", "da", "de", "et", "fil", "nl","sr","sr-rCS","uk","he","hu","ko","bn","pl"]);
const multilingual = new Multilingual(["en", "cs", "it", "es", "fi", "fr", "pt-rBR", "ru", "ro", "tr", "zh-rCN", "zh-rTW", "da", "de", "et", "fil", "nl","sr","sr-rCS","uk","he","hu","ko","bn","pl","ca"]);
(async () => {
await multilingual.loadStrings();
multilingual.updateDom();
Expand Down

0 comments on commit 846a398

Please sign in to comment.