This commit is contained in:
Ward from fusion-voyager-3 2024-08-18 18:00:56 +03:00
parent 6c15902195
commit 41d0baa5e4
14 changed files with 17 additions and 18 deletions

View File

@ -76,7 +76,7 @@
"exit_button_label": "", "exit_button_label": "",
"subtitle_partition": "", "subtitle_partition": "",
"title_mountpoint": "", "title_mountpoint": "",
"title_mountopt": "", "title_mountopts": "",
"pika_install_good": "", "pika_install_good": "",
"reboot": "", "reboot": "",
"pika_install_bad": "", "pika_install_bad": "",

View File

@ -76,7 +76,7 @@
"exit_button_label": "Изход", "exit_button_label": "Изход",
"subtitle_partition": "Дял", "subtitle_partition": "Дял",
"title_mountpoint": "Точка за монтиране", "title_mountpoint": "Точка за монтиране",
"title_mountopt": "Допълнителни Точки за Монтиране", "title_mountopts": "Допълнителни Точки за Монтиране",
"pika_install_good": "Инсталацията на PikaOS беше завършена успешно.", "pika_install_good": "Инсталацията на PikaOS беше завършена успешно.",
"reboot": "Рестартирай", "reboot": "Рестартирай",
"pika_install_bad": "PikaOS се провали!\nПроверете логовете за повече информация.", "pika_install_bad": "PikaOS се провали!\nПроверете логовете за повече информация.",

View File

@ -76,7 +76,7 @@
"exit_button_label": "", "exit_button_label": "",
"subtitle_partition": "", "subtitle_partition": "",
"title_mountpoint": "", "title_mountpoint": "",
"title_mountopt": "", "title_mountopts": "",
"pika_install_good": "", "pika_install_good": "",
"reboot": "", "reboot": "",
"pika_install_bad": "", "pika_install_bad": "",

View File

@ -76,7 +76,7 @@
"exit_button_label": "Beenden", "exit_button_label": "Beenden",
"subtitle_partition": "Partition", "subtitle_partition": "Partition",
"title_mountpoint": "Einhängepunkt", "title_mountpoint": "Einhängepunkt",
"title_mountopt": "Zusätzliche Einhängeoptionen", "title_mountopts": "Zusätzliche Einhängeoptionen",
"pika_install_good": "Die Installation von PikaOS wurde erfolgreich abgeschlossen.", "pika_install_good": "Die Installation von PikaOS wurde erfolgreich abgeschlossen.",
"reboot": "Neu starten", "reboot": "Neu starten",
"pika_install_bad": "PikaOS installation ist gescheitert!\nWeitere Informationen findest du in den Protokollen.", "pika_install_bad": "PikaOS installation ist gescheitert!\nWeitere Informationen findest du in den Protokollen.",

View File

@ -77,7 +77,7 @@
"exit_button_label": "exit_button_label", "exit_button_label": "exit_button_label",
"subtitle_partition": "Partition", "subtitle_partition": "Partition",
"title_mountpoint": "Mountpoint", "title_mountpoint": "Mountpoint",
"title_mountopt": "Additional Mount Options", "title_mountopts": "Additional Mount Options",
"pika_install_good": "The installation of PikaOS has been completed sucessfully.", "pika_install_good": "The installation of PikaOS has been completed sucessfully.",
"reboot": "Reboot", "reboot": "Reboot",
"pika_install_bad": "PikaOS has Failed!\nCheck logs for further info.", "pika_install_bad": "PikaOS has Failed!\nCheck logs for further info.",

View File

@ -76,7 +76,7 @@
"exit_button_label": "Sortir", "exit_button_label": "Sortir",
"subtitle_partition": "Partition", "subtitle_partition": "Partition",
"title_mountpoint": "Point de Montage", "title_mountpoint": "Point de Montage",
"title_mountopt": "Options additionnelles de montage", "title_mountopts": "Options additionnelles de montage",
"pika_install_good": "L'installation de PikaOS a bien complété.", "pika_install_good": "L'installation de PikaOS a bien complété.",
"reboot": "Redémarrer", "reboot": "Redémarrer",
"pika_install_bad": "PikaOS a échoué!\nVeuillez voir les logs pour plus d'info.", "pika_install_bad": "PikaOS a échoué!\nVeuillez voir les logs pour plus d'info.",

View File

@ -76,7 +76,7 @@
"exit_button_label": "", "exit_button_label": "",
"subtitle_partition": "", "subtitle_partition": "",
"title_mountpoint": "", "title_mountpoint": "",
"title_mountopt": "", "title_mountopts": "",
"pika_install_good": "", "pika_install_good": "",
"reboot": "", "reboot": "",
"pika_install_bad": "", "pika_install_bad": "",

View File

@ -76,7 +76,7 @@
"exit_button_label": "", "exit_button_label": "",
"subtitle_partition": "", "subtitle_partition": "",
"title_mountpoint": "", "title_mountpoint": "",
"title_mountopt": "", "title_mountopts": "",
"pika_install_good": "", "pika_install_good": "",
"reboot": "", "reboot": "",
"pika_install_bad": "", "pika_install_bad": "",

View File

@ -76,7 +76,7 @@
"exit_button_label": "", "exit_button_label": "",
"subtitle_partition": "", "subtitle_partition": "",
"title_mountpoint": "", "title_mountpoint": "",
"title_mountopt": "", "title_mountopts": "",
"pika_install_good": "", "pika_install_good": "",
"reboot": "", "reboot": "",
"pika_install_bad": "", "pika_install_bad": "",

View File

@ -76,7 +76,7 @@
"exit_button_label": "", "exit_button_label": "",
"subtitle_partition": "", "subtitle_partition": "",
"title_mountpoint": "", "title_mountpoint": "",
"title_mountopt": "", "title_mountopts": "",
"pika_install_good": "", "pika_install_good": "",
"reboot": "", "reboot": "",
"pika_install_bad": "", "pika_install_bad": "",

View File

@ -87,8 +87,8 @@ impl ObjectImpl for DriveMountRow {
.width_request(300) .width_request(300)
.build(); .build();
let mountopt_entry_row = gtk::Entry::builder() let mountopts_entry_row = gtk::Entry::builder()
.placeholder_text(t!("title_mountopt")) .placeholder_text(t!("title_mountopts"))
.hexpand(true) .hexpand(true)
.vexpand(true) .vexpand(true)
.margin_start(10) .margin_start(10)
@ -126,7 +126,7 @@ impl ObjectImpl for DriveMountRow {
action_row_content_box.append(&mountpoint_entry_row); action_row_content_box.append(&mountpoint_entry_row);
action_row_content_box.append(&mountopt_entry_row); action_row_content_box.append(&mountopts_entry_row);
obj.add_prefix(&action_row_content_box); obj.add_prefix(&action_row_content_box);
@ -145,7 +145,7 @@ impl ObjectImpl for DriveMountRow {
.bidirectional() .bidirectional()
.build(); .build();
obj.bind_property("mountopt", &mountopt_entry_row, "text") obj.bind_property("mountopts", &mountopts_entry_row, "text")
.sync_create() .sync_create()
.bidirectional() .bidirectional()
.build(); .build();

View File

@ -24,7 +24,7 @@ impl DriveMountRow {
FstabEntry{ FstabEntry{
partition: self.partition(), partition: self.partition(),
mountpoint: self.mountpoint(), mountpoint: self.mountpoint(),
mountopt: self.mountopts() mountopts: self.mountopts()
} }
} }
} }

View File

@ -1,5 +1,5 @@
use std::env; use std::env;
use gtk::{CssProvider, gdk, STYLE_PROVIDER_PRIORITY_APPLICATION, prelude::*}; use gtk::{CssProvider, gdk, STYLE_PROVIDER_PRIORITY_APPLICATION, prelude::*, glib as glib};
use gdk::{Display}; use gdk::{Display};
mod config; mod config;
mod build_ui; mod build_ui;
@ -16,7 +16,6 @@ mod timezone_page;
mod partitioning_page; mod partitioning_page;
mod automatic_partitioning_page; mod automatic_partitioning_page;
mod manual_partitioning_page; mod manual_partitioning_page;
mod fstab_entry;
mod drive_mount_row; mod drive_mount_row;
#[macro_use] #[macro_use]

View File

@ -151,7 +151,7 @@ pub struct Partition {
pub struct FstabEntry { pub struct FstabEntry {
pub partition: String, pub partition: String,
pub mountpoint: String, pub mountpoint: String,
pub mountopt: String, pub mountopts: String,
} }
pub struct CrypttabEntry { pub struct CrypttabEntry {