feat(i18n): complete Japanese localization and eliminate UI hardcoded strings (#753)
Completes the Japanese catalog (all commands, panels, dialogs and preferences) and routes the remaining hard-coded UI labels through the translation lookup. English stays the default.
This commit is contained in:
1 parent
a8b3b21fd0
commit
d437c21368
35 files changed
+2219
-265
No files matched your search
@@ -228,7 +228,7 @@ pub fn window(app: &mut SolveApp, ctx: &egui::Context) {
|
||||
let mut open = true;
|
||||
let mut changes: Vec<(&'static str, bool)> = Vec::new();
|
||||
let mut reset_tab = false;
|
||||
crate::frame::window(ctx, "Customize Toolbar", crate::frame::Width::Normal)
|
||||
crate::frame::window(ctx, crate::i18n::tr_label("Customize Toolbar"), crate::frame::Width::Normal)
|
||||
.id(egui::Id::new("sc_toolbar_customize"))
|
||||
.open(&mut open)
|
||||
.default_height(520.0)
|
||||
@@ -261,7 +261,7 @@ pub fn window(app: &mut SolveApp, ctx: &egui::Context) {
|
||||
});
|
||||
ui.separator();
|
||||
ui.horizontal(|ui| {
|
||||
if ui.button("Reset Toolbar").clicked() {
|
||||
if ui.button(crate::i18n::tr_label("Reset Toolbar")).clicked() {
|
||||
reset_tab = true;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user