8000 Redesign of language selector #100 by DecDuck · Pull Request #101 · Drop-OSS/drop · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Redesign of language selector #100 #101

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

Merged
merged 5 commits into from
Jun 8, 2025

Conversation

DecDuck
Copy link
Member
@DecDuck DecDuck commented Jun 7, 2025

No description provided.

@DecDuck DecDuck linked an issue Jun 7, 2025 that may be closed by this pull request
@DecDuck
Copy link
Member Author
DecDuck commented Jun 7, 2025

Also added full pirate translations.

@Huskydog9988 some of the elements (like the navbar) aren't changing when the language is set. Any idea why?

@DecDuck
Copy link
Member Author
DecDuck commented Jun 7, 2025

Wrapping the strings in computed fields like this works, but I'm looking for a better solution.
image

@DecDuck
Copy link
Member Author
DecDuck commented Jun 7, 2025

We can wrap the whole thing in a computed, and it works a treat:
image

@DecDuck DecDuck requested a review from quexeky June 7, 2025 09:14
@Huskydog9988
Copy link
Contributor

Seems like computed solves that nicely. For the language selector, can we keep that in a separate component? Some changes I’m introducing in #102 adds even more logic around it.

@DecDuck
Copy link
Member Author
DecDuck commented Jun 7, 2025

Yep, I'll refactor it shortly. I'm currently working on #90 and I don't want to lose my place.

@DecDuck DecDuck merged commit 0e02353 into develop Jun 8, 2025
4 checks passed
@DecDuck DecDuck deleted the 100-redesign-of-language-selector branch June 8, 2025 00:33
DecDuck added a commit that referenced this pull request Jun 8, 2025
* feat: add new language selector in footer, add pirate language

* fix: translations in title bar not updating

* chore: refactor into separate component

* fix: update translate url

* fix: update pirate translation to use "ship" instead of "plank" for platform

a very very necessary change
DecDuck added a commit that referenced this pull request Jun 8, 2025
* feat: add new language selector in footer, add pirate language

* fix: translations in title bar not updating

* chore: refactor into separate component

* fix: update translate url

* fix: update pirate translation to use "ship" instead of "plank" for platform

a very very necessary change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redesign of language selector
2 participants
0