From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH proxmox-datacenter-manager v3 1/2] Revert "ui: reduce list of available languages to english"
Date: Fri, 5 Sep 2025 16:27:39 +0200 [thread overview]
Message-ID: <20250905142748.396472-2-m.sandoval@proxmox.com> (raw)
In-Reply-To: <20250905142748.396472-1-m.sandoval@proxmox.com>
This reverts commit 12844034f863456597ecab2a942d47278edf30dd.
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
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 be0c10c..ddec64a 100644
--- a/ui/src/main.rs
+++ b/ui/src/main.rs
@@ -308,13 +308,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.47.2
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
next prev parent reply other threads:[~2025-09-05 14:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-05 14:27 [pdm-devel] [PATCH proxmox-datacenter-manager v3 0/2] ui: allow selecting other languages Maximiliano Sandoval
2025-09-05 14:27 ` Maximiliano Sandoval [this message]
2025-09-05 14:27 ` [pdm-devel] [PATCH proxmox-datacenter-manager v3 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=20250905142748.396472-2-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.