diff --git a/Cargo.lock b/Cargo.lock index 3e736d2..ca6e94f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -816,7 +816,7 @@ checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" [[package]] name = "pika-welcome" -version = "1.0.1" +version = "5.0.0" dependencies = [ "async-channel", "duct", diff --git a/locales/bg_BG.json b/locales/bg_BG.json deleted file mode 100644 index 266a99c..0000000 --- a/locales/bg_BG.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "first_setup_initial_box_text_title": "Добре дошли", - "first_setup_initial_box_text_description": "Този асистент ще ви помогне да извършите инсталацията на PikaOS.", - "first_setup_start_button_label": "Нека започнем", - "first_setup_window_headerbar_back_button_label": "Назад", - "first_setup_internet_box_text_title": "Интернет", - "first_setup_internet_box_text_description": "Проверяваме връзката с интернет...", - "internet_skip_button_label": "Пропусни", - "internet_next_button_label": "Следващ", - "first_setup_internet_button_content_text_label": "Настройте мрежовата връзка и proxy/VPN.", - "first_setup_internet_button_content_label": "Отвори Мрежови Настройки.", - "first_setup_internet_skip_dialog_heading": "Пропусни Мрежова Настройка?", - "first_setup_internet_skip_dialog_body": "Пропускайки Мрежовата Настройка, много от следващите стъпки ще са недостъпни!\nТова НЕ Е препоръчително.", - "first_setup_internet_skip_dialog_skip_cancel_label": "Обратно към Мрежови Настройки", - "first-setup-internet-skip-dialog-skip-confirm-labe": "Просто Пропусни!", - "first_setup_internet_box_text_description_true": "Устройството се свърза с Интернет успешно!", - "first_setup_internet_box_text_description_false": "Няма връзка с Интернет!", - "first_setup_update_box_text_title": "Системни Актуализации", - "first_setup_update_button_label": "Обнови", - "first_setup_update_skip_button_label": "Пропусни актуализациите", - "system_update_dialog_heading": "Списък Системни Актуализации", - "system_update_dialog_ok_label": "Ok", - "internet_network_disabled": "Деактивирано..Мрежовата настройка беше пропусната", - "system_update_dialog_success_true": "Актуализацията завършена Успешно!", - "system_update_dialog_success_false": "Актуализацията неуспешна!\nМоля, опитайте отново.", - "first_setup_user_box_text_title": "Потребителски настройки", - "first_setup_user_box_text_description": "Създайте потребителско профил.", - "user_info_username_title": "Потребителско име:", - "user_info_full_name_title": "Две имена:", - "user_info_password_title": "Потребителска парола:", - "user_info_password_verify_title": "Напишете Потребителска парола отново:", - "error_label_is_root_label": "Потребителското име не може да е root.", - "error_label_is_pikaos_label": "Потребителското име не може да е pikaos.", - "error_label_username_is_special_label": "Потребителското име не може да съдържа специални символи.", - "error_label_hostname_is_special_label": "", - "error_label_password_mismatch_label": "Паролите не съвпадат!", - "first_setup_gameutils_box_text_title": "PikaOS Геймърски МЕТА Пакет", - "first_setup_gameutils_box_text_description": "Бихте ли желали PikaOS Геймърския МЕТА Пакет?\n(от съществено значение, затова е и силно препоръчителен)", - "first_setup_gameutils_button_label": "Инсталирай МЕТА Пакета", - "first_setup_gameutils_skip_button_label": "Пропусни инсталацията на МЕТА Пакета", - "gameutils_install_dialog_heading": "МЕТА Пакет инсталационен списък", - "gameutils_install_dialog_success_true": "Инсталиране на МЕТА Пакетът Завършено Успешно!", - "gameutils_install_dialog_success_false": "Инсталиране на МЕТА Пакета неуспешно!\nМоля, опитайте отново.", - "first_setup_codec_box_text_title": "Мултимедийни Кодеци", - "first_setup_codec_box_text_description": "Желаете ли да инсталирате допълнителни видео възпроизвеждащи и кодиращи/декодиращи пакети?\n(силно препоръчително)", - "first_setup_codec_button_label": "Инсталирай Кодеци", - "first_setup_codec_skip_button_label": "Пропусни Инсталиране на Кодеци", - "codec_install_dialog_heading": "Списък инсталирани Кодеци", - "codec_install_dialog_success_true": "Инсталирането Завършено Успешно!", - "codec_install_dialog_success_false": "Неуспешно инсталиране на Кодеци!\nМоля, опитайте отново.", - "first_setup_driver_box_text_title": "Хардуерни Драйвъри", - "first_setup_driver_box_text_description": "Може да инсталирате драйвъри като NVIDIA собствени и CPU микрокод.", - "first_setup_driver_button_label": "Отвори Менажера на Драйвъри", - "first_setup_driver_skip_button_label": "Пропусни инсталиране на Драйвъри", - "first_setup_final_box_text_title": "Първоначалната Настройка е Завършена!", - "first_setup_final_box_text_description": "Първоначалната след-инсталационна настройка на PikaOS беше завършена.\nРестартирайте още веднъж, за да влезнете в новата си потребителска сесия.", - "first_setup_reboot_button_label": "Рестартирай" -} diff --git a/locales/cs_CZ.json b/locales/cs_CZ.json deleted file mode 100644 index 7720271..0000000 --- a/locales/cs_CZ.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "first_setup_initial_box_text_title": "Vítej", - "first_setup_initial_box_text_description": "", - "first_setup_start_button_label": "Jdeme na to", - "first_setup_window_headerbar_back_button_label": "Zpět", - "first_setup_internet_box_text_title": "Internet", - "first_setup_internet_box_text_description": "Kontrolujeme internetové připojení...", - "internet_skip_button_label": "Přeskočit", - "internet_next_button_label": "Dále", - "first_setup_internet_button_content_text_label": "Nastav sítové připojení či proxy/VPN.", - "first_setup_internet_button_content_label": "Otevři nastavení sítě.", - "first_setup_internet_skip_dialog_heading": "Přeskočit nastavení sítě?", - "first_setup_internet_skip_dialog_body": "Pokud-li přeskočíš nastavení sítě, mnoho dalších kroku nebude možné provést! Tento krok NEDOPORUČUJEME přeskakovat.", - "first_setup_internet_skip_dialog_skip_cancel_label": "Zpátky na nastavení sítě", - "first-setup-internet-skip-dialog-skip-confirm-labe": "Chci přeskočit!", - "first_setup_internet_box_text_description_true": "Zařízení se připojilo k internetu úspěšně!", - "first_setup_internet_box_text_description_false": "Žádné připojení k internetu!", - "first_setup_update_box_text_title": "Aktualizace systému", - "first_setup_update_button_label": "Aktualizovat", - "first_setup_update_skip_button_label": "Přeskočit aktualizace", - "system_update_dialog_heading": "Záznam z aktualizace systému", - "system_update_dialog_ok_label": "OK", - "internet_network_disabled": "Deaktivováno... Nastavení sítě bylo přeskočeno", - "system_update_dialog_success_true": "Aktualizace systému proběhla úspěšně!", - "system_update_dialog_success_false": "Aktualizace se nezdařila!\nZkus to znovu.", - "first_setup_user_box_text_title": "Nastavení uživatele", - "first_setup_user_box_text_description": "Teď si tu vytvoř svůj účet.", - "user_info_username_title": "Uživatelské jméno:", - "user_info_full_name_title": "Celé jméno:", - "user_info_hostname_title": "Hostitel:", - "user_info_password_title": "Uživatelské heslo:", - "user_info_password_verify_title": "Ověření uživatelského hesla:", - "error_label_is_root_label": "Uživatelské jméno nemůže být root.", - "error_label_is_pikaos_label": "Uživatelské jméno nemůže být pikaos.", - "error_label_username_is_special_label": "Uživatelské jméno nemůže obsahovat mezery či speciální znaky.", - "error_label_hostname_is_special_label": "Hostitel nemůže obsahovat mezery či speciální znaky.", - "error_label_password_mismatch_label": "Hesla se neshodují!", - "first_setup_gameutils_box_text_title": "PikaOS Gaming Meta Package", - "first_setup_gameutils_box_text_description": "Přeješ si nainstalovat PikaOS Gaming Meta package?\n(vřele doporučujeme pro pravé hráče)", - "first_setup_gameutils_button_label": "", - "first_setup_gameutils_skip_button_label": "", - "gameutils_install_dialog_heading": "", - "gameutils_install_dialog_success_true": "", - "gameutils_install_dialog_success_false": "", - "first_setup_codec_box_text_title": "", - "first_setup_codec_box_text_description": "", - "first_setup_codec_button_label": "", - "first_setup_codec_skip_button_label": "", - "codec_install_dialog_heading": "", - "codec_install_dialog_success_true": "", - "codec_install_dialog_success_false": "", - "first_setup_driver_box_text_title": "", - "first_setup_driver_box_text_description": "", - "first_setup_driver_button_label": "", - "first_setup_driver_skip_button_label": "", - "first_setup_final_box_text_title": "", - "first_setup_final_box_text_description": "", - "first_setup_reboot_button_label": "" -} diff --git a/locales/de_DE.json b/locales/de_DE.json deleted file mode 100644 index 7455f52..0000000 --- a/locales/de_DE.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "first_setup_initial_box_text_title": "Willkommen", - "first_setup_initial_box_text_description": "Dieser Assistent wird dir dabei helfen deine PikaOS installation abzuschließen.", - "first_setup_start_button_label": "Lasst uns beginnen", - "first_setup_window_headerbar_back_button_label": "Zurück", - "first_setup_internet_box_text_title": "Internet", - "first_setup_internet_box_text_description": "Überprüfe die Internetverbindung...", - "internet_skip_button_label": "Überspringen", - "internet_next_button_label": "Weiter", - "first_setup_internet_button_content_text_label": "Richte eine Netzwerkverbindung und einen proxy/VPN ein.", - "first_setup_internet_button_content_label": "Öffne Netzwerkeinstellungen.", - "first_setup_internet_skip_dialog_heading": "Netzwerkeinrichtung überspringen?", - "first_setup_internet_skip_dialog_body": "Wenn du die Netzwerkeinrichtung überspringst, sind viele der nächsten Schritte nicht verfügbar!\nDies wird NICHT empfohlen.", - "first_setup_internet_skip_dialog_skip_cancel_label": "Zurück zur Netzwerkeinrichtung", - "first-setup-internet-skip-dialog-skip-confirm-labe": "Ja überspringen!", - "first_setup_internet_box_text_description_true": "Gerät hat sich erfolgfreich mit dem Internet verbunden!", - "first_setup_internet_box_text_description_false": "Keine Internetverbindung!", - "first_setup_update_box_text_title": "System Aktualisierungen", - "first_setup_update_button_label": "Aktualisierung", - "first_setup_update_skip_button_label": "Aktualisierungen überspringen", - "system_update_dialog_heading": "Systemaktualisierungsprotokoll", - "system_update_dialog_ok_label": "Ok", - "internet_network_disabled": "Deaktiviert.. Die Netzwerkeinrichtung wurde übersprungen", - "system_update_dialog_success_true": "Update erfolgreich abgeschlossen!", - "system_update_dialog_success_false": "Update fehlgeschlagen!\nBitte versuche es erneut.", - "first_setup_user_box_text_title": "Benutzereinrichtung", - "first_setup_user_box_text_description": "Ein Benutzerkonto erstellen", - "user_info_username_title": "Benutzername:", - "user_info_full_name_title": "Vollständiger Name:", - "user_info_password_title": "Benutzer Passwort:", - "user_info_password_verify_title": "Gib das Benutzerpasswort erneut ein:", - "error_label_is_root_label": "Der Benutzername darf nicht root sein.", - "error_label_is_pikaos_label": "Der Benutzername darf nicht pikaos sein.", - "error_label_username_is_special_label": "", - "error_label_hostname_is_special_label": "", - "error_label_password_mismatch_label": "Passwörter stimmen nicht überein!", - "first_setup_gameutils_box_text_title": "PikaOS Gaming Meta-Paket", - "first_setup_gameutils_box_text_description": "Möchtest du das PikaOS Gaming Meta-Paket?\n(unverzichtbar für Spiele, daher dringend empfohlen)", - "first_setup_gameutils_button_label": "Meta-Paket installieren", - "first_setup_gameutils_skip_button_label": "Überspringe die Meta-Paket Installation", - "gameutils_install_dialog_heading": "Meta-Paket Installationsprotokoll", - "gameutils_install_dialog_success_true": "Meta-Paket Installation erfolgreich abgeschlossen!", - "gameutils_install_dialog_success_false": "Installation des Meta Pakets fehlgeschlagen!\nBitte versuche es erneut.", - "first_setup_codec_box_text_title": "Multi-media Codecs", - "first_setup_codec_box_text_description": "Möchtest du zusätzliche Videowiedergabe- und Kodierungs-/Dekodierungspakete installieren?\n(dringend empfohlen)", - "first_setup_codec_button_label": "Codecs installieren", - "first_setup_codec_skip_button_label": "Codec Installation überspringen", - "codec_install_dialog_heading": "Codec-Installationsprotokoll", - "codec_install_dialog_success_true": "Codec-Installation erfolgreich abgeschlossen!", - "codec_install_dialog_success_false": "Codec-Installation fehlgeschlagen!\nBitte versuche es erneut.", - "first_setup_driver_box_text_title": "Hardwaretreiber", - "first_setup_driver_box_text_description": "Sie können Treiber wie die proprietären NVIDIA-Treiber und CPU-Mikrocode installieren.", - "first_setup_driver_button_label": "Öffne den Treibermanager", - "first_setup_driver_skip_button_label": "Treiberinstallation überspringen", - "first_setup_final_box_text_title": "Ersteinrichtung abgeschlossen!", - "first_setup_final_box_text_description": "Die Ersteinrichtung nach der Installation von PikaOS ist abgeschlossen.\nStarte ein letztes Mal neu, um deine neue Benutzersitzung aufzurufen.", - "first_setup_reboot_button_label": "Neu starten" -} diff --git a/locales/en_US.json b/locales/en_US.json index 473988e..ca3072e 100644 --- a/locales/en_US.json +++ b/locales/en_US.json @@ -1,59 +1,4 @@ { - "first_setup_initial_box_text_title": "Welcome", - "first_setup_initial_box_text_description": "This wizard will help you finish your PikaOS installation.", - "first_setup_start_button_label": "Let's Start", - "first_setup_window_headerbar_back_button_label": "Back", - "first_setup_internet_box_text_title": "Internet", - "first_setup_internet_box_text_description": "Checking Internet Connection...", - "internet_skip_button_label": "Skip", - "internet_next_button_label": "Next", - "first_setup_internet_button_content_text_label": "Set up a network connection and a proxy/VPN.", - "first_setup_internet_button_content_label": "Open Network Settings.", - "first_setup_internet_skip_dialog_heading": "Skip Network Setup?", - "first_setup_internet_skip_dialog_body": "Skipping Network Setup will make many of the next steps unavailable!\nThis is NOT recommended.", - "first_setup_internet_skip_dialog_skip_cancel_label": "Return to Network Setup", - "first-setup-internet-skip-dialog-skip-confirm-labe": "Just Skip!", - "first_setup_internet_box_text_description_true": "Device connected to Internet Successfully!", - "first_setup_internet_box_text_description_false": "No internet Connection!", - "first_setup_update_box_text_title": "System Updates", - "first_setup_update_button_label": "Update", - "first_setup_update_skip_button_label": "Skip Updates", - "system_update_dialog_heading": "System Update Log", - "system_update_dialog_ok_label": "Ok", - "internet_network_disabled": "Disabled.. Network setup was skipped", - "system_update_dialog_success_true": "Update Completed Successfully!", - "system_update_dialog_success_false": "Update Failed!\nPlease try again.", - "first_setup_user_box_text_title": "User setup", - "first_setup_user_box_text_description": "Create a user account.", - "user_info_username_title": "Username:", - "user_info_full_name_title": "Full name:", - "user_info_hostname_title": "Hostname:", - "user_info_password_title": "User password:", - "user_info_password_verify_title": "Enter User password again:", - "error_label_is_root_label": "Username can not be root.", - "error_label_is_pikaos_label": "Username can not be pikaos.", - "error_label_username_is_special_label": "Username can not contain special characters or spaces.", - "error_label_hostname_is_special_label": "Hostname can not contain special characters or spaces.", - "error_label_password_mismatch_label": "Passwords do not match!", - "first_setup_gameutils_box_text_title": "PikaOS Gaming Meta Package", - "first_setup_gameutils_box_text_description": "Would you like the PikaOS Gaming Meta Package?\n(essential for gaming thus strongly recommended)", - "first_setup_gameutils_button_label": "Install Meta Package", - "first_setup_gameutils_skip_button_label": "Skip Meta Package Installation", - "gameutils_install_dialog_heading": "Meta Package installation Log", - "gameutils_install_dialog_success_true": "Meta Package installation Completed Successfully!", - "gameutils_install_dialog_success_false": "Meta Package installation Failed!\nPlease try again.", - "first_setup_codec_box_text_title": "Multi-media Codecs", - "first_setup_codec_box_text_description": "Would you like to install additional video playback and encoding/decoding packages?\n(strongly recommended)", - "first_setup_codec_button_label": "Install Codecs", - "first_setup_codec_skip_button_label": "Skip Codec Installation", - "codec_install_dialog_heading": "Codec installation Log", - "codec_install_dialog_success_true": "Codec installation Completed Successfully!", - "codec_install_dialog_success_false": "Codec installation Failed!\nPlease try again.", - "first_setup_driver_box_text_title": "Hardware Drivers", - "first_setup_driver_box_text_description": "You can install drivers such as the NVIDIA proprietary drivers and CPU microcode.", - "first_setup_driver_button_label": "Open Driver manager", - "first_setup_driver_skip_button_label": "Skip Driver installation", - "first_setup_final_box_text_title": "Initial Setup Complete!", - "first_setup_final_box_text_description": "PikaOS initial post install setup has been completed.\nReboot one last time to enter your new user session.", - "first_setup_reboot_button_label": "Reboot" + "app_name": "PikaOS Welcome", + "app_dev": "Cosmo" } diff --git a/locales/fr_FR.json b/locales/fr_FR.json deleted file mode 100644 index 51a736a..0000000 --- a/locales/fr_FR.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "first_setup_initial_box_text_title": "Bienvenue", - "first_setup_initial_box_text_description": "Cet assistant vous aidera à terminer l'installation de PikaOS", - "first_setup_start_button_label": "", - "first_setup_window_headerbar_back_button_label": "Retour", - "first_setup_internet_box_text_title": "Internet", - "first_setup_internet_box_text_description": "Vérification de la connexion Internet...", - "internet_skip_button_label": "Ignorer", - "internet_next_button_label": "Suivant", - "first_setup_internet_button_content_text_label": "Établir une connexion réseau et un proxy/VPN", - "first_setup_internet_button_content_label": "Ouvrir les paramètres réseau", - "first_setup_internet_skip_dialog_heading": "Passer la configuration du réseau ?", - "first_setup_internet_skip_dialog_body": "Si vous sautez l'étape de l'installation du réseau, la plupart des étapes suivantes ne seront pas disponibles !\nCeci n'est PAS recommandé", - "first_setup_internet_skip_dialog_skip_cancel_label": "Retour à la configuration du réseau", - "first-setup-internet-skip-dialog-skip-confirm-labe": "", - "first_setup_internet_box_text_description_true": "L'appareil s'est connecté à Internet avec succès !", - "first_setup_internet_box_text_description_false": "Pas de connexion internet !", - "first_setup_update_box_text_title": "Mises à jour du système", - "first_setup_update_button_label": "Mettre à jour", - "first_setup_update_skip_button_label": "Ignorer les mises à jour", - "system_update_dialog_heading": "Journal des mises à jour du système", - "system_update_dialog_ok_label": "Ok", - "internet_network_disabled": "Désactivé... La configuration du réseau a été ignorée", - "system_update_dialog_success_true": "Mise à jour effectuée avec succès !", - "system_update_dialog_success_false": "La mise à jour a échoué !\nVeuillez réessayer", - "first_setup_user_box_text_title": "", - "first_setup_user_box_text_description": "Créer un compte utilisateur", - "user_info_username_title": "Nom d'utilisateur:", - "user_info_full_name_title": "", - "user_info_password_title": "", - "user_info_password_verify_title": "", - "error_label_is_root_label": "Le nom d'utilisateur ne peut pas être \"root\".", - "error_label_is_pikaos_label": "Le nom d'utilisateur ne peut pas être \"pikaos\".", - "error_label_username_is_special_label": "", - "error_label_hostname_is_special_label": "", - "error_label_password_mismatch_label": "Les mots de passe ne correspondent pas !", - "first_setup_gameutils_box_text_title": "", - "first_setup_gameutils_box_text_description": "", - "first_setup_gameutils_button_label": "", - "first_setup_gameutils_skip_button_label": "", - "gameutils_install_dialog_heading": "", - "gameutils_install_dialog_success_true": "", - "gameutils_install_dialog_success_false": "", - "first_setup_codec_box_text_title": "Codecs multimédias", - "first_setup_codec_box_text_description": "Souhaitez-vous installer d'autres logiciels de lecture vidéo et d'encodage/décodage ?\n(fortement recommandé)", - "first_setup_codec_button_label": "Installer les codecs", - "first_setup_codec_skip_button_label": "", - "codec_install_dialog_heading": "", - "codec_install_dialog_success_true": "", - "codec_install_dialog_success_false": "", - "first_setup_driver_box_text_title": "", - "first_setup_driver_box_text_description": "Vous pouvez installer des pilotes tels que les pilotes propriétaires de NVIDIA et le microcode du processeur.", - "first_setup_driver_button_label": "", - "first_setup_driver_skip_button_label": "", - "first_setup_final_box_text_title": "Installation initiale terminée !", - "first_setup_final_box_text_description": "", - "first_setup_reboot_button_label": "Redémarrer" -} diff --git a/locales/it_IT.json b/locales/it_IT.json deleted file mode 100644 index 8f612d5..0000000 --- a/locales/it_IT.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "first_setup_initial_box_text_title": "Benvenuto", - "first_setup_initial_box_text_description": "Questo programma ti aiuterà a finire la tua installazione di PikaOS.", - "first_setup_start_button_label": "Cominciamo", - "first_setup_window_headerbar_back_button_label": "Indietro", - "first_setup_internet_box_text_title": "Internet", - "first_setup_internet_box_text_description": "Controllo della connessione in corso...", - "internet_skip_button_label": "Salta", - "internet_next_button_label": "Avanti", - "first_setup_internet_button_content_text_label": "Imposta una connessione a internet e opzionalmente un proxy e una VPN", - "first_setup_internet_button_content_label": "Apri le impostazioni di rete.", - "first_setup_internet_skip_dialog_heading": "Vuoi saltare la configurazione di Internet?", - "first_setup_internet_skip_dialog_body": "Saltare la configurazione della rete renderà molti dei prossimi passaggi impossibili!\\nQuesto non è raccomandato.", - "first_setup_internet_skip_dialog_skip_cancel_label": "Ritorna alla configurazione della rete", - "first-setup-internet-skip-dialog-skip-confirm-labe": "Si voglio saltarla!", - "first_setup_internet_box_text_description_true": "Il dispositivo è stato connesso a Internet con successo!", - "first_setup_internet_box_text_description_false": "Non c'è alcuna connessione a Internet!", - "first_setup_update_box_text_title": "Aggiornamenti di sistema", - "first_setup_update_button_label": "Aggiorna", - "first_setup_update_skip_button_label": "Salta gli aggiornamenti", - "system_update_dialog_heading": "Log degli aggiornamenti", - "system_update_dialog_ok_label": "Ok", - "internet_network_disabled": "Disabilitata.. La configurazione di rete è stata saltata", - "system_update_dialog_success_true": "Aggiornamento completato con successo", - "system_update_dialog_success_false": "Aggiornamento fallito!\\n Per favore prova un altra volta.", - "first_setup_user_box_text_title": "Configurazione dell'utente", - "first_setup_user_box_text_description": "Crea un nuovo account utente.", - "user_info_username_title": "Username:", - "user_info_full_name_title": "Nome completo:", - "user_info_password_title": "Password dell'utente:", - "user_info_password_verify_title": "Inserisci la password dell'utente un altra volta:", - "error_label_is_root_label": "L'username non può essere root.", - "error_label_is_pikaos_label": "L'username non può essere pikaos.", - "error_label_username_is_special_label": "", - "error_label_hostname_is_special_label": "", - "error_label_password_mismatch_label": "Le password non corrispondono!", - "first_setup_gameutils_box_text_title": "PikaOS Pacchetto per il Gaming", - "first_setup_gameutils_box_text_description": "Vorresti installare il pacchetto per il gaming di Pika OS?\\n(poichè è essenziale per il gaming esso è estremamente raccomandato)", - "first_setup_gameutils_button_label": "Installa il pacchetto", - "first_setup_gameutils_skip_button_label": "Salta l'installazione del pacchetto", - "gameutils_install_dialog_heading": "Mostra i registri dell'installazione del pacchetto", - "gameutils_install_dialog_success_true": "Il pacchetto è stato installato con successo!", - "gameutils_install_dialog_success_false": "L'installazione del pacchetto è fallita!\\nPerfavore prova ancora.", - "first_setup_codec_box_text_title": "Codecs Multimediali", - "first_setup_codec_box_text_description": "Vorresti installare dei pacchetti addizionali per la riproduzione dei video e per la codifica/decodifica?\\n(estremamente raccomandato)", - "first_setup_codec_button_label": "Installa i Codec", - "first_setup_codec_skip_button_label": "Salta l'installazione dei Codec", - "codec_install_dialog_heading": "Mostra i registri dell'installazione dei Codec", - "codec_install_dialog_success_true": "L'installazione dei Codec è stata completata con successo!", - "codec_install_dialog_success_false": "L'installazione dei Codec è fallita!\\nPerfavore prova ancora.", - "first_setup_driver_box_text_title": "Driver dell'hardware", - "first_setup_driver_box_text_description": "Puoi installare dei driver come quello proprietario di NVIDIA e i micro-codici della CPU", - "first_setup_driver_button_label": "Apri la configurazione dei driver", - "first_setup_driver_skip_button_label": "Salta l'installazione dei Driver", - "first_setup_final_box_text_title": "La configurazione iniziale è stata completata!", - "first_setup_final_box_text_description": "Il post installazione di Pika OS è stato completato.\\nPerfavore riavvia l'ultima volta per poter accedere alla tua nuova sessione utente", - "first_setup_reboot_button_label": "Riavvia" -} diff --git a/locales/sv_SE.json b/locales/sv_SE.json deleted file mode 100644 index facb427..0000000 --- a/locales/sv_SE.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "first_setup_initial_box_text_title": "Välkommen", - "first_setup_initial_box_text_description": "Den här installationsguiden hjälper dig att slutföra din PikaOS installation.", - "first_setup_start_button_label": "Påbörja", - "first_setup_window_headerbar_back_button_label": "Tillbaka", - "first_setup_internet_box_text_title": "Internet", - "first_setup_internet_box_text_description": "Kontrollerar Internetanslutning...", - "internet_skip_button_label": "Hoppa över", - "internet_next_button_label": "Nästa", - "first_setup_internet_button_content_text_label": "Konfigurera en Nätverksanslutning och en proxy/VPN.", - "first_setup_internet_button_content_label": "Öppna Nätverksinställningar.", - "first_setup_internet_skip_dialog_heading": "Hoppa över Nätverkskonfiguration?", - "first_setup_internet_skip_dialog_body": "Om du hoppar över Nätverkskonfiguration blir många av de följande stegen otillgängliga!\nDetta rekommenderas INTE.", - "first_setup_internet_skip_dialog_skip_cancel_label": "Återgå till Nätverkskonfiguration", - "first-setup-internet-skip-dialog-skip-confirm-labe": "Hoppa över!", - "first_setup_internet_box_text_description_true": "Enheten har anslutits till Internet!", - "first_setup_internet_box_text_description_false": "Ingen internetanslutning!", - "first_setup_update_box_text_title": "Systemuppdateringar", - "first_setup_update_button_label": "Uppdatera", - "first_setup_update_skip_button_label": "Hoppa över Uppdateringar", - "system_update_dialog_heading": "Systemets Uppdateringslogg", - "system_update_dialog_ok_label": "Ok", - "internet_network_disabled": "Inaktiverad... Nätverkskonfigurationen hoppades över", - "system_update_dialog_success_true": "Uppdateringen Slutfördes Framgångsrikt!", - "system_update_dialog_success_false": "Uppdateringen Misslyckades!\nVar god försök igen.", - "first_setup_user_box_text_title": "Användarkonfiguration", - "first_setup_user_box_text_description": "Skapa ett användarkonto.", - "user_info_username_title": "Användarnamn:", - "user_info_full_name_title": "Fullständigt namn:", - "user_info_password_title": "Användarlösenord:", - "user_info_password_verify_title": "Ange Användarlösenord igen:", - "error_label_is_root_label": "Användarnamn kan inte vara root.", - "error_label_is_pikaos_label": "Användarnamn kan inte vara pikaos.", - "error_label_username_is_special_label": "", - "error_label_hostname_is_special_label": "", - "error_label_password_mismatch_label": "Lösenorden matchar inte varandra!", - "first_setup_gameutils_box_text_title": "PikaOS Gaming Meta Package", - "first_setup_gameutils_box_text_description": "Vill du ha PikaOS Gaming Meta Package?\n(essentiell för spel och därmed en stark rekommendation)", - "first_setup_gameutils_button_label": "Installera Meta Package", - "first_setup_gameutils_skip_button_label": "Hoppa över Meta Package Installation", - "gameutils_install_dialog_heading": "Meta Package Installationslogg", - "gameutils_install_dialog_success_true": "Meta Package installationen Slutfördes Framgångsrikt!", - "gameutils_install_dialog_success_false": "Meta Package installationen Misslyckades!\nVänligen försök igen.", - "first_setup_codec_box_text_title": "Multi-media Codecs", - "first_setup_codec_box_text_description": "Vill du installera ytterligare paket för videouppspelning och kodning/avkodning?\n(rekommenderas starkt)", - "first_setup_codec_button_label": "Installera Codecs", - "first_setup_codec_skip_button_label": "Hoppa över Codec Installation", - "codec_install_dialog_heading": "Codec Installationslogg", - "codec_install_dialog_success_true": "Codec installation Slutförd Framgångsrikt!", - "codec_install_dialog_success_false": "Codec installation Misslyckades!\nVänligen försök igen.", - "first_setup_driver_box_text_title": "Drivrutiner för hårdvara", - "first_setup_driver_box_text_description": "Du kan installera drivrutiner som NVIDIAs egna drivrutiner och CPU mikrokod.", - "first_setup_driver_button_label": "Öppna Drivrutinshanteraren", - "first_setup_driver_skip_button_label": "Hoppa över installation av drivrutiner", - "first_setup_final_box_text_title": "Initiala Konfigurationen Slutförd!", - "first_setup_final_box_text_description": "PikaOS initiala konfiguration efter installation har slutförts.\nStarta om en sista gång för att komma till din nya användarsession.", - "first_setup_reboot_button_label": "Starta om" -} diff --git a/src/build_ui.rs b/src/build_ui.rs index 4dda576..9e65f98 100644 --- a/src/build_ui.rs +++ b/src/build_ui.rs @@ -6,22 +6,23 @@ use adw::*; // application crates /// first setup crates +use crate::config::*; use crate::first_setup::*; pub fn build_ui(app: &adw::Application) { // setup glib - gtk::glib::set_prgname(Some("PikaOS First Setup")); - glib::set_application_name("PikaOS First Setup"); + gtk::glib::set_prgname(Some(t!("app_name").to_string())); + glib::set_application_name(&t!("app_name").to_string()); // create the main Application window let window = adw::ApplicationWindow::builder() // The text on the titlebar - .title("PikaOS First Setup") + .title(t!("app_name")) // link it to the application "app" .application(app) // Add the box called "window_box" to it // Application icon - .icon_name("com.github.pikaos-linux.pikawelcome") + .icon_name(APP_ICON) // Minimum Size/Default .width_request(700) .height_request(500) @@ -29,7 +30,7 @@ pub fn build_ui(app: &adw::Application) { .hide_on_close(true) .deletable(false) // Startup - .startup_id("com.github.pikaos-linux.pikawelcome") + .startup_id(APP_ID) // build the window .build(); diff --git a/src/config.rs b/src/config.rs index d8b6c9a..1e66b64 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,2 +1,5 @@ pub const APP_ID: &str = "com.github.pikaos-linux.pikawelcome"; pub const DISTRO_ICON: &str = "pika-logo"; +pub const VERSION: &str = env!("CARGO_PKG_VERSION"); +pub const APP_ICON: &str = "com.github.pikaos-linux.pikawelcome"; +pub const APP_GITHUB: &str = "https://github.com/PikaOS-Linux/pkg-pika-welcome"; diff --git a/src/main.rs b/src/main.rs index 43bd304..3e5c176 100644 --- a/src/main.rs +++ b/src/main.rs @@ -49,10 +49,10 @@ fn main() { app.connect_activate(build_ui); }); - if get_current_username().unwrap() == "pikaos" { + if get_current_username().unwrap() != "pikaos" { application.run(); } else { - println!("Error: This program can only be run via pikaos user"); + println!("Error: This program can only be run via an installed system user"); std::process::exit(1) }