RR: Translate Eula Page

This commit is contained in:
Ward from fusion-voyager-3 2024-02-18 23:57:27 +03:00
parent 7c112db4e3
commit 3fbeefaedf
3 changed files with 58 additions and 38 deletions

View File

@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"POT-Creation-Date: 2024-02-09 17:48+0300\n" "POT-Creation-Date: 2024-02-09 17:48+0300\n"
"PO-Revision-Date: 2024-02-09 17:55+0300\n" "PO-Revision-Date: 2024-02-18 23:53+0300\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: en_US\n" "Language: en_US\n"
@ -52,7 +52,9 @@ msgid "manual_partition_drive"
msgstr "Manually Partition The Drive" msgstr "Manually Partition The Drive"
msgid "auto_partition_drive" msgid "auto_partition_drive"
msgstr "Automatically Partition\nThe Drive" msgstr ""
"Automatically Partition\n"
"The Drive"
msgid "manual_part_installer" msgid "manual_part_installer"
msgstr "Manual Partitioning Installer" msgstr "Manual Partitioning Installer"
@ -64,7 +66,17 @@ msgid "open_gparted"
msgstr "Open GPARTED" msgstr "Open GPARTED"
msgid "manual_part_note" msgid "manual_part_note"
msgstr "\n - Press the plus button below to begin adding filesystem entries.\nNotes:\n - This installer doesn't erase any data automatically, format your drives manually via gparted.\n - To Add a linux-swap partition set mountpoint to [SWAP]\n - We recommend the following partitions as a base layout:\n /boot ~ 1000mb ext4.\n /boot/efi ~ 512mb vfat/fat32.\n / >= 25GB btrfs.\n " msgstr ""
"\n"
" - Press the plus button below to begin adding filesystem entries.\n"
"Notes:\n"
" - This installer doesn't erase any data automatically, format your drives manually via gparted.\n"
" - To Add a linux-swap partition set mountpoint to [SWAP]\n"
" - We recommend the following partitions as a base layout:\n"
" /boot ~ 1000mb ext4.\n"
" /boot/efi ~ 512mb vfat/fat32.\n"
" / >= 25GB btrfs.\n"
" "
msgid "refresh_part_table" msgid "refresh_part_table"
msgstr "Refresh Partition Table" msgstr "Refresh Partition Table"
@ -93,41 +105,33 @@ msgstr "Filesystem Table Error: One or more entries don't have a partition confi
msgid "fstab_badfs" msgid "fstab_badfs"
msgstr "Filesystem Table Error: Invalid filesystem: (/dev/" msgstr "Filesystem Table Error: Invalid filesystem: (/dev/"
msgstr "fstab_small_efi_err"
msgstr "Filesystem Table Error: Small size: The partition mounted to /boot/efi (/dev/"
msgid "fstab_small_efi_size" msgid "fstab_small_efi_size"
msgstr ") Must at least be 512MBs!" msgstr ") Must at least be 512MBs!"
msgid "fstab_badfs_efi" msgid "fstab_badfs_efi"
msgstr ") Must be FAT32/vFAT to be mounted at /boot/efi!" msgstr ") Must be FAT32/vFAT to be mounted at /boot/efi!"
msgstr "fstab_small_boot_err"
msgstr "Filesystem Table Error: Small size: The partition mounted to /boot (/dev/"
msgid "fstab_small_boot_size" msgid "fstab_small_boot_size"
msgstr ") Must at least be 1GBs!" msgstr ") Must at least be 1GBs!"
msgid "fstab_badfs_boot" msgid "fstab_badfs_boot"
msgstr ") Must not be FAT32/vFAT to be mounted at /boot!" msgstr ") Must not be FAT32/vFAT to be mounted at /boot!"
msgstr "fstab_small_root_err"
msgstr "Filesystem Table Error: Small size: The partition mounted to / (/dev/"
msgid "fstab_small_root_size" msgid "fstab_small_root_size"
msgstr ") Must at least be 26GBs!" msgstr ") Must at least be 26GBs!"
msgid "fstab_badfs_root" msgid "fstab_badfs_root"
msgstr ") Must be a Linux* compatible filesystem such as:\n ext4/btrfs/xfs/f2fs to be mounted at /!" msgstr ""
") Must be a Linux* compatible filesystem such as:\n"
msgstr "fstab_small_home_err" " ext4/btrfs/xfs/f2fs to be mounted at /!"
msgstr "Filesystem Table Error: Small size: The partition mounted to /home (/dev/"
msgid "fstab_small_home_size" msgid "fstab_small_home_size"
msgstr ") Must at least be 11GBs!" msgstr ") Must at least be 11GBs!"
msgid "fstab_badfs_home" msgid "fstab_badfs_home"
msgstr ") Must be a Linux* compatible filesystem such as:\n ext4/btrfs/xfs/f2fs to be mounted at /home!" msgstr ""
") Must be a Linux* compatible filesystem such as:\n"
" ext4/btrfs/xfs/f2fs to be mounted at /home!"
msgid "fstab_badfs_swap" msgid "fstab_badfs_swap"
msgstr ") Must not be swap to be used as [SWAP]!" msgstr ") Must not be swap to be used as [SWAP]!"
@ -159,7 +163,7 @@ msgstr "Please select a Keyboard layout for the system to use"
msgid "no_keyboard_selected" msgid "no_keyboard_selected"
msgstr "No Keyboard Layout selected" msgstr "No Keyboard Layout selected"
msgid "test_you_keyboard" msgid "test_your_keyboard"
msgstr "Test Your Keyboard here!" msgstr "Test Your Keyboard here!"
msgid "keyboard" msgid "keyboard"
@ -227,3 +231,30 @@ msgstr "Configuring bootloader."
msgid "post_status_text" msgid "post_status_text"
msgstr "Running post installation script." msgstr "Running post installation script."
msgid "pikaos_eula_agreement"
msgstr "PikaOS User license Agreement"
msgid "please_read_eula"
msgstr "Please carefully read and make sure you consent to the following before installing PikaOS:"
msgid "eula_buffer"
msgstr ""
"There are a few things to keep in mind: \n"
" 1 - You understand that this distribution is -NOT- to be considered an Ubuntu Flavor. \n"
" 2 - This is a hobby distribution, so we will try our best to provide formal support but it will -NOT- be guaranteed. \n"
" 3 - Although PikaOS might provide identical patches and user experience to the Nobara project, we are -NOT- directly a part of them so questions and bug reports should not be sent directly to them (they dont have to deal with it!) \n"
" 4 - While the installer is running DO NOT INTERRUPT IT! or you will end up with a corrupted system. \n"
" 5 - Try to use pikman instead of apt when using the terminal, it is much faster! \n"
" 6 - You understand the xone driver downloads needed binaries locally and does not directly package or distribute any copyrighted firmware or other related data. \n"
" 7 - Automatic partitioning will format all partitons on a drive, so if you want to dualboot make a separate EFI partition for PikaOS and use manual partitioning \n"
" 8 - In case you need the login info for this session: \n"
" - username: pikaos \n"
" - password: \n"
" MEANING: JUST PRESS ENTER"
msgid "i_agree_eula"
msgstr "I Agree and Accept the User license Agreement"
msgid "eula"
msgstr "EULA"

View File

@ -18,7 +18,7 @@ pub fn eula_page(content_stack: &gtk::Stack) {
// Next and back button // Next and back button
let bottom_back_button = gtk::Button::builder() let bottom_back_button = gtk::Button::builder()
.label("Back") .label(gettext("back"))
.margin_top(15) .margin_top(15)
.margin_bottom(15) .margin_bottom(15)
.margin_start(15) .margin_start(15)
@ -27,7 +27,7 @@ pub fn eula_page(content_stack: &gtk::Stack) {
.hexpand(true) .hexpand(true)
.build(); .build();
let bottom_next_button = gtk::Button::builder() let bottom_next_button = gtk::Button::builder()
.label("Next") .label(gettext("next"))
.margin_top(15) .margin_top(15)
.margin_bottom(15) .margin_bottom(15)
.margin_start(15) .margin_start(15)
@ -57,7 +57,7 @@ pub fn eula_page(content_stack: &gtk::Stack) {
// the header text for the eula page // the header text for the eula page
let eula_header_text = gtk::Label::builder() let eula_header_text = gtk::Label::builder()
.label("PikaOS User license Agreement") .label(gettext("pikaos_eula_agreement"))
.halign(gtk::Align::End) .halign(gtk::Align::End)
.hexpand(true) .hexpand(true)
.margin_top(15) .margin_top(15)
@ -97,7 +97,7 @@ pub fn eula_page(content_stack: &gtk::Stack) {
// text above eula selection box // text above eula selection box
let eula_selection_text = gtk::Label::builder() let eula_selection_text = gtk::Label::builder()
.label("Please carefully read and make sure you consent to the following before installing PikaOS:") .label(gettext("please_read_eula"))
.halign(gtk::Align::Center) .halign(gtk::Align::Center)
.hexpand(true) .hexpand(true)
.margin_top(15) .margin_top(15)
@ -108,18 +108,7 @@ pub fn eula_page(content_stack: &gtk::Stack) {
eula_selection_text.add_css_class("medium_sized_text"); eula_selection_text.add_css_class("medium_sized_text");
let eula_buffer = gtk::TextBuffer::builder() let eula_buffer = gtk::TextBuffer::builder()
.text("There are a few things to keep in mind: .text(gettext("eula_buffer"))
1 - You understand that this distribution is -NOT- to be considered an Ubuntu Flavor.
2 - This is a hobby distribution, so we will try our best to provide formal support but it will -NOT- be guaranteed.
3 - Although PikaOS might provide identical patches and user experience to the Nobara project, we are -NOT- directly a part of them so questions and bug reports should not be sent directly to them (they dont have to deal with it!)
4 - While the installer is running DO NOT INTERRUPT IT! or you will end up with a corrupted system.
5 - Try to use pikman instead of apt when using the terminal, it is much faster!
6 - You understand the xone driver downloads needed binaries locally and does not directly package or distribute any copyrighted firmware or other related data.
7 - Automatic partitioning will format all partitons on a drive, so if you want to dualboot make a separate EFI partition for PikaOS and use manual partitioning
8 - In case you need the login info for this session:
- username: pikaos
- password:
MEANING: JUST PRESS ENTER")
.build(); .build();
let eula_selection_text_view = gtk::TextView::builder() let eula_selection_text_view = gtk::TextView::builder()
@ -139,7 +128,7 @@ pub fn eula_page(content_stack: &gtk::Stack) {
.build(); .build();
let eula_accept_checkbutton = gtk::CheckButton::builder() let eula_accept_checkbutton = gtk::CheckButton::builder()
.label("I Agree and Accept the User license Agreement") .label(gettext("i_agree_eula"))
.margin_top(15) .margin_top(15)
.margin_bottom(15) .margin_bottom(15)
.margin_start(15) .margin_start(15)
@ -167,7 +156,7 @@ pub fn eula_page(content_stack: &gtk::Stack) {
// / Content stack appends // / Content stack appends
//// Add the eula_main_box as page: eula_page, Give it nice title //// Add the eula_main_box as page: eula_page, Give it nice title
content_stack.add_titled(&eula_main_box, Some("eula_page"), "EULA"); content_stack.add_titled(&eula_main_box, Some("eula_page"), &gettext("eula"));
eula_accept_checkbutton.connect_toggled( eula_accept_checkbutton.connect_toggled(
clone!(@weak eula_accept_checkbutton, @weak bottom_next_button => move |_| { clone!(@weak eula_accept_checkbutton, @weak bottom_next_button => move |_| {

View File

@ -234,7 +234,7 @@ pub fn keyboard_page(content_stack: &gtk::Stack) {
.margin_top(15) .margin_top(15)
.margin_end(15) .margin_end(15)
.margin_start(15) .margin_start(15)
.placeholder_text(gettext("test_you_keyboard")) .placeholder_text(gettext("test_your_keyboard"))
.build(), .build(),
); );