Skip to content

Commit

Permalink
Merge pull request #360 from fflorent/show-language-selector
Browse files Browse the repository at this point in the history
Show language selector!
  • Loading branch information
fflorent authored Jul 10, 2024
2 parents b05750d + 2e4ff8c commit 03e37c8
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
6 changes: 4 additions & 2 deletions help/en/MISSING-TRANSLATION.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
The current page still doesn't have a translation for this language.
We're just getting started translating this language, sorry!

But you can help translating it: [Contributing](https://hosted.weblate.org/engage/grist-help/){.internal-link target=_blank}.
We show partially translated languages to track progress.

This page isn't translated yet. But the good news is that [you can join the translation community to help us 👋](https://hosted.weblate.org/engage/grist-help/){.internal-link target=_blank}.
4 changes: 2 additions & 2 deletions help/en/docs/css/grist.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
.btn-group.wm-vcentered { display: inline-flex; }
.btn-group.wm-vcentered > .btn.btn-sm { float: none; }

.home-link {
.home-link, .home-top-tool-selector {
font-size: 18px;
margin-right: 3rem;
flex: 0 0.1 auto;
Expand All @@ -184,7 +184,7 @@

/* small screens */
@media (max-width: 600px) {
.home-link, .wm-top-brand {
.home-link, .wm-top-brand, .home-top-tool-selector {
font-size: 16px;
}
}
Expand Down
6 changes: 4 additions & 2 deletions help/fr/MISSING-TRANSLATION.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
The current page still doesn't have a translation for this language.
Nous commençons tout juste à traduire la documentation pour cette langue, désolé !

But you can help translating it: [Contributing](https://hosted.weblate.org/engage/grist-help/){.internal-link target=_blank}.
Nous affichons des pages traduites partiellement afin de suivre l'avancement.

Cette page n'est pas encore traduite. Mais la bonne nouvelle est que [vous pouvez rejoindre la communauté de traduction pour nous aider 👋](https://hosted.weblate.org/engage/grist-help/){.internal-link target=_blank}.
7 changes: 5 additions & 2 deletions help/fr/docs/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
!!!warning

The current page still doesn't have a translation for this language.
Nous commençons tout juste à traduire la documentation pour cette langue, désolé !

Nous affichons des pages traduites partiellement de sorte de suivre l'avancement.

Cette page n'est pas encore traduite. Mais la bonne nouvelle est que [vous pouvez rejoindre la communauté de traduction pour nous aider 👋](https://hosted.weblate.org/engage/grist-help/){.internal-link target=_blank}.

But you can help translating it: [Contributing](https://hosted.weblate.org/engage/grist-help/){.internal-link target=_blank}.


# Welcome to Grist! {: data-toc-label='' }
Expand Down
1 change: 0 additions & 1 deletion overrides/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ html {

#wm-language-select {
border: none;
display: none; /* Hide it for now :) */
}

#wm-language-select, #wm-language-select option {
Expand Down
2 changes: 1 addition & 1 deletion overrides/topbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div class="wm-top-tool wm-vcenter pull-right wm-small-left wm-top-toc-button">
<button id="wm-toc-button" type="button" class="btn btn-sm btn-default wm-vcentered"><i class="fa fa-th-list" aria-hidden="true"></i></button>
</div>
<select id="wm-language-select" class="wm-top-tool wm-vcenter pull-right wm-small-left" name="lang"
<select id="wm-language-select" class="wm-top-tool wm-vcenter pull-right wm-small-left home-top-tool-selector" name="lang"
{% if config.theme.disable_language_selector %}
data-unavailable="true"
{% endif %}
Expand Down

0 comments on commit 03e37c8

Please sign in to comment.