RR: Translate Done Page
This commit is contained in:
parent
3fbeefaedf
commit
6e7fb5723d
30
po/en_US.po
30
po/en_US.po
@ -258,3 +258,33 @@ msgstr "I Agree and Accept the User license Agreement"
|
|||||||
|
|
||||||
msgid "eula"
|
msgid "eula"
|
||||||
msgstr "EULA"
|
msgstr "EULA"
|
||||||
|
|
||||||
|
msgid "bad_boot_platfrom"
|
||||||
|
msgstr Unsupported boot platform
|
||||||
|
|
||||||
|
msgid "pika_nowork_csm"
|
||||||
|
msgstr "PikaOS Only works on GPT UEFI Systems, this machine is booted in CSM/LEGACY mode."
|
||||||
|
|
||||||
|
msgid "exit"
|
||||||
|
msgstr "Exit"
|
||||||
|
|
||||||
|
msgid "subtitle_partition"
|
||||||
|
msgstr "Partition"
|
||||||
|
|
||||||
|
msgid "title_mountpoint"
|
||||||
|
msgstr "Mountpoint"
|
||||||
|
|
||||||
|
msgid "title_mountopt"
|
||||||
|
msgstr "Additional Mount Options"
|
||||||
|
|
||||||
|
msgid "pika_install_good"
|
||||||
|
msgstr "The installation of PikaOS has been completed sucessfully."
|
||||||
|
|
||||||
|
msgid "reboot"
|
||||||
|
msgstr "Reboot"
|
||||||
|
|
||||||
|
msgid "pika_install_bad"
|
||||||
|
msgstr "PikaOS has Failed!\nCheck logs for further info."
|
||||||
|
|
||||||
|
msgid "logs"
|
||||||
|
msgstr "Logs"
|
@ -72,7 +72,7 @@ pub fn done_page(
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
let installation_successful_text = gtk::Label::builder()
|
let installation_successful_text = gtk::Label::builder()
|
||||||
.label("The installation of PikaOS has been completed sucessfully.")
|
.label(gettext("pika_install_good"))
|
||||||
.halign(gtk::Align::Center)
|
.halign(gtk::Align::Center)
|
||||||
.valign(gtk::Align::Center)
|
.valign(gtk::Align::Center)
|
||||||
.build();
|
.build();
|
||||||
@ -89,7 +89,7 @@ pub fn done_page(
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
let installation_successful_exit_button = gtk::Button::builder()
|
let installation_successful_exit_button = gtk::Button::builder()
|
||||||
.label("Exit")
|
.label(gettext("exit"))
|
||||||
.halign(gtk::Align::Center)
|
.halign(gtk::Align::Center)
|
||||||
.valign(gtk::Align::Center)
|
.valign(gtk::Align::Center)
|
||||||
.margin_start(5)
|
.margin_start(5)
|
||||||
@ -97,7 +97,7 @@ pub fn done_page(
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
let installation_successful_reboot_button = gtk::Button::builder()
|
let installation_successful_reboot_button = gtk::Button::builder()
|
||||||
.label("Reboot")
|
.label(gettext("reboot"))
|
||||||
.halign(gtk::Align::Center)
|
.halign(gtk::Align::Center)
|
||||||
.valign(gtk::Align::Center)
|
.valign(gtk::Align::Center)
|
||||||
.margin_start(5)
|
.margin_start(5)
|
||||||
@ -162,7 +162,7 @@ pub fn done_page(
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
let installation_failed_text = gtk::Label::builder()
|
let installation_failed_text = gtk::Label::builder()
|
||||||
.label("PikaOS has Failed!\nCheck logs for further info.")
|
.label(gettext("pika_install_bad"))
|
||||||
.halign(gtk::Align::Center)
|
.halign(gtk::Align::Center)
|
||||||
.valign(gtk::Align::Center)
|
.valign(gtk::Align::Center)
|
||||||
.build();
|
.build();
|
||||||
@ -179,7 +179,7 @@ pub fn done_page(
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
let installation_failed_exit_button = gtk::Button::builder()
|
let installation_failed_exit_button = gtk::Button::builder()
|
||||||
.label("Exit")
|
.label(gettext("exit"))
|
||||||
.halign(gtk::Align::Center)
|
.halign(gtk::Align::Center)
|
||||||
.valign(gtk::Align::Center)
|
.valign(gtk::Align::Center)
|
||||||
.margin_start(5)
|
.margin_start(5)
|
||||||
@ -187,7 +187,7 @@ pub fn done_page(
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
let installation_failed_logs_button = gtk::Button::builder()
|
let installation_failed_logs_button = gtk::Button::builder()
|
||||||
.label("Logs")
|
.label(gettext("logs"))
|
||||||
.halign(gtk::Align::Center)
|
.halign(gtk::Align::Center)
|
||||||
.valign(gtk::Align::Center)
|
.valign(gtk::Align::Center)
|
||||||
.margin_start(5)
|
.margin_start(5)
|
||||||
|
@ -66,7 +66,7 @@ impl ObjectImpl for DriveMountRow {
|
|||||||
partition_row_expander_adw_listbox.add_css_class("boxed-list");
|
partition_row_expander_adw_listbox.add_css_class("boxed-list");
|
||||||
|
|
||||||
let partition_row_expander = adw::ExpanderRow::builder()
|
let partition_row_expander = adw::ExpanderRow::builder()
|
||||||
.subtitle("Partition")
|
.subtitle(gettext("subtitle_partition"))
|
||||||
.vexpand(true)
|
.vexpand(true)
|
||||||
.hexpand(true)
|
.hexpand(true)
|
||||||
.width_request(300)
|
.width_request(300)
|
||||||
@ -87,7 +87,7 @@ impl ObjectImpl for DriveMountRow {
|
|||||||
mountpoint_entry_adw_listbox.add_css_class("boxed-list");
|
mountpoint_entry_adw_listbox.add_css_class("boxed-list");
|
||||||
|
|
||||||
let mountpoint_entry_row = adw::EntryRow::builder()
|
let mountpoint_entry_row = adw::EntryRow::builder()
|
||||||
.title("Mountpoint")
|
.title(gettext("title_mountpoint"))
|
||||||
.hexpand(true)
|
.hexpand(true)
|
||||||
.valign(gtk::Align::Start)
|
.valign(gtk::Align::Start)
|
||||||
.width_request(300)
|
.width_request(300)
|
||||||
@ -109,7 +109,7 @@ impl ObjectImpl for DriveMountRow {
|
|||||||
mountopt_entry_adw_listbox.add_css_class("boxed-list");
|
mountopt_entry_adw_listbox.add_css_class("boxed-list");
|
||||||
|
|
||||||
let mountopt_entry_row = adw::EntryRow::builder()
|
let mountopt_entry_row = adw::EntryRow::builder()
|
||||||
.title("Additional Mount Options")
|
.title(gettext("title_mountopt"))
|
||||||
.hexpand(true)
|
.hexpand(true)
|
||||||
.valign(gtk::Align::Start)
|
.valign(gtk::Align::Start)
|
||||||
.width_request(300)
|
.width_request(300)
|
||||||
|
@ -21,7 +21,7 @@ pub fn efi_error_page(window: &adw::ApplicationWindow, content_stack: >k::Stac
|
|||||||
|
|
||||||
// the header text for the efi_error page
|
// the header text for the efi_error page
|
||||||
let efi_error_header_text = gtk::Label::builder()
|
let efi_error_header_text = gtk::Label::builder()
|
||||||
.label("Unsupported boot platform")
|
.label(gettext("bad_boot_platfrom"))
|
||||||
.halign(gtk::Align::End)
|
.halign(gtk::Align::End)
|
||||||
.hexpand(true)
|
.hexpand(true)
|
||||||
.margin_top(15)
|
.margin_top(15)
|
||||||
@ -55,14 +55,14 @@ pub fn efi_error_page(window: &adw::ApplicationWindow, content_stack: >k::Stac
|
|||||||
let efi_error_text = gtk::Label::builder()
|
let efi_error_text = gtk::Label::builder()
|
||||||
.vexpand(true)
|
.vexpand(true)
|
||||||
.hexpand(true)
|
.hexpand(true)
|
||||||
.label("PikaOS Only works on GPT UEFI Systems, this machine is booted in CSM/LEGACY mode.")
|
.label(gettext("pika_nowork_csm"))
|
||||||
.halign(gtk::Align::Center)
|
.halign(gtk::Align::Center)
|
||||||
.valign(gtk::Align::Center)
|
.valign(gtk::Align::Center)
|
||||||
.build();
|
.build();
|
||||||
efi_error_text.add_css_class("big_error_text");
|
efi_error_text.add_css_class("big_error_text");
|
||||||
|
|
||||||
let kill_me_button = gtk::Button::builder()
|
let exit_button = gtk::Button::builder()
|
||||||
.label("Exit")
|
.label(gettext("exit"))
|
||||||
.vexpand(true)
|
.vexpand(true)
|
||||||
.hexpand(true)
|
.hexpand(true)
|
||||||
.halign(gtk::Align::Center)
|
.halign(gtk::Align::Center)
|
||||||
@ -87,7 +87,7 @@ pub fn efi_error_page(window: &adw::ApplicationWindow, content_stack: >k::Stac
|
|||||||
// / efi_error_selection_box appends
|
// / efi_error_selection_box appends
|
||||||
//// add live and install media button to efi_error page selections
|
//// add live and install media button to efi_error page selections
|
||||||
efi_error_selection_box.append(&efi_error_text);
|
efi_error_selection_box.append(&efi_error_text);
|
||||||
efi_error_selection_box.append(&kill_me_button);
|
efi_error_selection_box.append(&exit_button);
|
||||||
|
|
||||||
// / efi_error_header_box appends
|
// / efi_error_header_box appends
|
||||||
//// Add the efi_error page header text and icon
|
//// Add the efi_error page header text and icon
|
||||||
@ -104,5 +104,5 @@ pub fn efi_error_page(window: &adw::ApplicationWindow, content_stack: >k::Stac
|
|||||||
//// Add the efi_error_main_box as page: efi_error_page, Give it nice title
|
//// Add the efi_error_main_box as page: efi_error_page, Give it nice title
|
||||||
content_stack.add_titled(&efi_error_main_box, Some("efi_error_page"), "Welcome");
|
content_stack.add_titled(&efi_error_main_box, Some("efi_error_page"), "Welcome");
|
||||||
|
|
||||||
kill_me_button.connect_clicked(clone!(@weak window => move |_| window.close()));
|
exit_button.connect_clicked(clone!(@weak window => move |_| window.close()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user