From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH proxmox-datacenter-manager v2 1/2] Revert "ui: reduce list of available languages to english"
Date: Wed, 22 Jan 2025 16:01:31 +0100 [thread overview]
Message-ID: <20250122150132.426276-1-m.sandoval@proxmox.com> (raw)
This reverts commit 12844034f863456597ecab2a942d47278edf30dd.
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
This would benefit from the patches at [1].
[1] https://lore.proxmox.com/pve-devel/s8objvzoumq.fsf@proxmox.com/T/#u
ui/src/main.rs | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/ui/src/main.rs b/ui/src/main.rs
index 6e2c9b2..1416856 100644
--- a/ui/src/main.rs
+++ b/ui/src/main.rs
@@ -301,13 +301,8 @@ fn main() {
);
pwt::state::set_available_themes(&["Desktop", "Crisp"]);
- use pwt::state::LanguageInfo;
- pwt::state::set_available_languages(vec![LanguageInfo::new(
- "en",
- "English",
- gettext_noop("English"),
- )]);
+ pwt::state::set_available_languages(proxmox_yew_comp::available_language_list());
yew::Renderer::<DatacenterManagerApp>::new().render();
}
--
2.39.5
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
next reply other threads:[~2025-01-22 15:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-22 15:01 Maximiliano Sandoval [this message]
2025-01-22 15:01 ` [pdm-devel] [PATCH proxmox-datacenter-manager v2 2/2] ui: add catalog_url_builder Maximiliano Sandoval
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250122150132.426276-1-m.sandoval@proxmox.com \
--to=m.sandoval@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.