Merge pull request 'master' (#58) from YanTheKaller/ubinstall-gtk:master into master

Reviewed-on: #58
master
Dmitry Razumov 1 year ago
commit 407faa63f4

@ -719,6 +719,16 @@ void on_keyboard_clicked (GtkWidget *, main_window *widgets){
gtk_widget_show(window->MainWindow); gtk_widget_show(window->MainWindow);
} }
void on_keyboard_removed(GtkWidget *, main_window *widgets);
void on_keyboard_removed(GtkWidget *, main_window *widgets){
GtkTreeModel *model;
GtkTreeIter iter, childiter;
if (gtk_tree_selection_get_selected(gtk_tree_view_get_selection(GTK_TREE_VIEW(widgets->LayoutTree)),&model,&iter)){
gtk_tree_model_filter_convert_iter_to_child_iter(GTK_TREE_MODEL_FILTER(widgets->LayoutsFilter),&childiter,&iter);
gtk_tree_store_set(widgets->LayoutList,&childiter,3,0,-1);
}
}
void yon_language_selection_changed(GtkCellRenderer *, char *path, ubinstall_language_window *window); void yon_language_selection_changed(GtkCellRenderer *, char *path, ubinstall_language_window *window);
void yon_language_selection_changed(GtkCellRenderer *, char *path, ubinstall_language_window *window){ void yon_language_selection_changed(GtkCellRenderer *, char *path, ubinstall_language_window *window){
GtkTreeIter iter; GtkTreeIter iter;
@ -736,6 +746,11 @@ void on_language_window_accept(GtkWidget *,dictionary *dict){
ubinstall_language_window *window = yon_dictionary_get_data(dict->first->next,ubinstall_language_window*); ubinstall_language_window *window = yon_dictionary_get_data(dict->first->next,ubinstall_language_window*);
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(window->DefaultCheck))){ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(window->DefaultCheck))){
gtk_entry_set_text(GTK_ENTRY(widgets->AvailableLanguagesEntry),""); gtk_entry_set_text(GTK_ENTRY(widgets->AvailableLanguagesEntry),"");
GtkTreeIter iter;
for_iter(widgets->LanguagesList,&iter){
gtk_list_store_set(widgets->LanguagesList,&iter,0,0,-1);
}
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->LanguagesCombo),-1);
} else { } else {
yon_gtk_list_store_copy_full(widgets->LanguagesList,window->liststore1); yon_gtk_list_store_copy_full(widgets->LanguagesList,window->liststore1);
gtk_tree_model_filter_refilter(GTK_TREE_MODEL_FILTER(widgets->LanguagesFilter)); gtk_tree_model_filter_refilter(GTK_TREE_MODEL_FILTER(widgets->LanguagesFilter));
@ -749,10 +764,17 @@ void on_language_window_accept(GtkWidget *,dictionary *dict){
if (status) if (status)
yon_char_parsed_add_or_create_if_exists(parsed,&size,current); yon_char_parsed_add_or_create_if_exists(parsed,&size,current);
} }
char *final = yon_char_parsed_to_string(parsed,size,"; "); if (parsed){
gtk_entry_set_text(GTK_ENTRY(widgets->AvailableLanguagesEntry),final); char *final = yon_char_parsed_to_string(parsed,size,"; ");
free(final); gtk_entry_set_text(GTK_ENTRY(widgets->AvailableLanguagesEntry),!yon_char_is_empty(final)?final:"");
yon_char_parsed_free(parsed,size); if (yon_char_is_empty(final)) {
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->LanguagesCombo),-1);
}
if (final) free(final);
yon_char_parsed_free(parsed,size);
} else
gtk_entry_set_text(GTK_ENTRY(widgets->AvailableLanguagesEntry),"");
} }
on_subwindow_close(window->MainWindow); on_subwindow_close(window->MainWindow);
free(window); free(window);
@ -786,11 +808,16 @@ void on_language_clicked(GtkWidget *, main_window *widgets){
gtk_tree_view_set_model(GTK_TREE_VIEW(window->LanguagesTree),GTK_TREE_MODEL(window->liststore1)); gtk_tree_view_set_model(GTK_TREE_VIEW(window->LanguagesTree),GTK_TREE_MODEL(window->liststore1));
yon_gtk_window_setup(GTK_WINDOW(window->MainWindow),GTK_WINDOW(widgets->MainWindow),TITLE_LABEL,icon_path,"language-chooser-window"); yon_gtk_window_setup(GTK_WINDOW(window->MainWindow),GTK_WINDOW(widgets->MainWindow),TITLE_LABEL,icon_path,"language-chooser-window");
if (yon_char_is_empty(gtk_entry_get_text(GTK_ENTRY(widgets->AvailableLanguagesEntry)))){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(window->DefaultCheck),1);
}
dictionary *dict=NULL; dictionary *dict=NULL;
yon_dictionary_add_or_create_if_exists_with_data(dict,"widgets",widgets); yon_dictionary_add_or_create_if_exists_with_data(dict,"widgets",widgets);
yon_dictionary_add_or_create_if_exists_with_data(dict,"window",window); yon_dictionary_add_or_create_if_exists_with_data(dict,"window",window);
g_signal_connect(G_OBJECT(window->SaveButton),"clicked",G_CALLBACK(on_language_window_accept),dict); g_signal_connect(G_OBJECT(window->SaveButton),"clicked",G_CALLBACK(on_language_window_accept),dict);
gtk_widget_show(window->MainWindow); gtk_widget_show(window->MainWindow);
} }
/**config_init() /**config_init()
@ -832,11 +859,11 @@ int cur_slide=0;
int yon_image_resize_from_container(GtkImage *target, GdkPixbuf *pixbuf_unscaled); int yon_image_resize_from_container(GtkImage *target, GdkPixbuf *pixbuf_unscaled);
int yon_image_resize_from_container(GtkImage *target, GdkPixbuf *pixbuf_unscaled) { int yon_image_resize_from_container(GtkImage *target, GdkPixbuf *pixbuf_unscaled) {
int width = gtk_widget_get_allocated_width(gtk_widget_get_parent(gtk_widget_get_parent(GTK_WIDGET(target)))); int width = gtk_widget_get_allocated_width((gtk_widget_get_parent(GTK_WIDGET(target))));
int height = gtk_widget_get_allocated_height(gtk_widget_get_parent(gtk_widget_get_parent(GTK_WIDGET(target)))); int height = gtk_widget_get_allocated_height((gtk_widget_get_parent(GTK_WIDGET(target))));
int newImgWidthDef = (width <= 217) ? width : width - 30; int newImgWidthDef = (width <= 217) ? width : width - 30;
int newImgHeightDef = (height <= 120) ? height : height - 217; int newImgHeightDef = (height <= 120) ? height : height - 80;
int originalWidth = gdk_pixbuf_get_width(pixbuf_unscaled); int originalWidth = gdk_pixbuf_get_width(pixbuf_unscaled);
int originalHeight = gdk_pixbuf_get_height(pixbuf_unscaled); int originalHeight = gdk_pixbuf_get_height(pixbuf_unscaled);
@ -1058,6 +1085,7 @@ void on_page_changed(GtkWidget *,GtkWidget *,int page, main_window *widgets){
gtk_widget_set_sensitive(widgets->CancelInstallButton,1); gtk_widget_set_sensitive(widgets->CancelInstallButton,1);
main_config.install_complete=0; main_config.install_complete=0;
main_config.save_done=0; main_config.save_done=0;
textdomain(LocaleName);
gtk_button_set_label(GTK_BUTTON(widgets->NextButton),RESTART_LABEL); gtk_button_set_label(GTK_BUTTON(widgets->NextButton),RESTART_LABEL);
gtk_button_set_label(GTK_BUTTON(widgets->CancelInstallButton),EXIT_LABEL); gtk_button_set_label(GTK_BUTTON(widgets->CancelInstallButton),EXIT_LABEL);
gtk_image_set_from_icon_name(GTK_IMAGE(gtk_button_get_image(GTK_BUTTON(widgets->NextButton))), gtk_image_set_from_icon_name(GTK_IMAGE(gtk_button_get_image(GTK_BUTTON(widgets->NextButton))),
@ -1074,6 +1102,7 @@ void on_page_changed(GtkWidget *,GtkWidget *,int page, main_window *widgets){
gtk_widget_set_sensitive(widgets->CancelInstallButton,1); gtk_widget_set_sensitive(widgets->CancelInstallButton,1);
main_config.install_complete=0; main_config.install_complete=0;
main_config.save_done=0; main_config.save_done=0;
textdomain(LocaleName);
gtk_button_set_label(GTK_BUTTON(widgets->NextButton),RESTART_LABEL); gtk_button_set_label(GTK_BUTTON(widgets->NextButton),RESTART_LABEL);
gtk_button_set_label(GTK_BUTTON(widgets->CancelInstallButton),EXIT_LABEL); gtk_button_set_label(GTK_BUTTON(widgets->CancelInstallButton),EXIT_LABEL);
gtk_image_set_from_icon_name(GTK_IMAGE(gtk_button_get_image(GTK_BUTTON(widgets->NextButton))), gtk_image_set_from_icon_name(GTK_IMAGE(gtk_button_get_image(GTK_BUTTON(widgets->NextButton))),
@ -1091,6 +1120,7 @@ void on_page_changed(GtkWidget *,GtkWidget *,int page, main_window *widgets){
gtk_widget_set_sensitive(widgets->CancelInstallButton,1); gtk_widget_set_sensitive(widgets->CancelInstallButton,1);
main_config.install_complete=0; main_config.install_complete=0;
main_config.save_done=0; main_config.save_done=0;
textdomain(LocaleName);
gtk_button_set_label(GTK_BUTTON(widgets->CancelInstallButton),EXIT_LABEL); gtk_button_set_label(GTK_BUTTON(widgets->CancelInstallButton),EXIT_LABEL);
gtk_image_set_from_icon_name(GTK_IMAGE(gtk_button_get_image(GTK_BUTTON(widgets->NextButton))), gtk_image_set_from_icon_name(GTK_IMAGE(gtk_button_get_image(GTK_BUTTON(widgets->NextButton))),
"com.ublinux.ubinstall-gtk.sync-symbolic",GTK_ICON_SIZE_BUTTON); "com.ublinux.ubinstall-gtk.sync-symbolic",GTK_ICON_SIZE_BUTTON);
@ -1119,6 +1149,13 @@ void on_page_changed(GtkWidget *,GtkWidget *,int page, main_window *widgets){
} }
} }
void *on_install_success(main_window *widgets){
gtk_label_set_text(GTK_LABEL(widgets->InstallationLabel),"");
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_COMPLETION);
return NULL;
}
void *on_setup_system_configuration(void *data); void *on_setup_system_configuration(void *data);
void *on_setup_system_configuration(void * data){ void *on_setup_system_configuration(void * data){
main_window *widgets = (main_window*)data; main_window *widgets = (main_window*)data;
@ -1147,6 +1184,7 @@ void *on_setup_system_configuration(void * data){
free(command); free(command);
if (parameter_string) free(parameter_string); if (parameter_string) free(parameter_string);
} }
g_thread_new("success func",(GThreadFunc)on_install_success,widgets);
return NULL; return NULL;
} }
@ -1239,7 +1277,7 @@ void on_process_log_view(GtkWidget *,main_window *widgets){
g_signal_connect(G_OBJECT(window->Window),"destroy",G_CALLBACK(on_log_closed),dict); g_signal_connect(G_OBJECT(window->Window),"destroy",G_CALLBACK(on_log_closed),dict);
gtk_widget_set_sensitive(widgets->ReadFullLogButton,0); gtk_widget_set_sensitive(widgets->ReadFullLogButton,0);
gtk_widget_set_sensitive(widgets->ReadShortLogButton,0); gtk_widget_set_sensitive(widgets->ReadShortLogButton,0);
yon_gtk_window_setup(GTK_WINDOW(window->Window),NULL,LOG_VIEW_LABEL,icon_path,"log_viewer"); yon_gtk_window_setup(GTK_WINDOW(window->Window),NULL,INSTALL_LOG_LABEL,icon_path,"log_viewer");
window->command = yon_char_new(short_log_path); window->command = yon_char_new(short_log_path);
gdk_threads_add_timeout(500,(GSourceFunc)yon_read_log,window); gdk_threads_add_timeout(500,(GSourceFunc)yon_read_log,window);
} }
@ -1252,7 +1290,7 @@ void on_summary_log_view(GtkWidget *,main_window *widgets){
g_signal_connect(G_OBJECT(window->Window),"destroy",G_CALLBACK(on_log_closed),dict); g_signal_connect(G_OBJECT(window->Window),"destroy",G_CALLBACK(on_log_closed),dict);
gtk_widget_set_sensitive(widgets->ReadFullLogButton,0); gtk_widget_set_sensitive(widgets->ReadFullLogButton,0);
gtk_widget_set_sensitive(widgets->ReadShortLogButton,0); gtk_widget_set_sensitive(widgets->ReadShortLogButton,0);
yon_gtk_window_setup(GTK_WINDOW(window->Window),NULL,LOG_VIEW_LABEL,icon_path,"log_viewer"); yon_gtk_window_setup(GTK_WINDOW(window->Window),NULL,PROGRESS_LOG_LABEL,icon_path,"log_viewer");
window->command = yon_char_new(full_log_path); window->command = yon_char_new(full_log_path);
gdk_threads_add_timeout(500,(GSourceFunc)yon_read_log,window); gdk_threads_add_timeout(500,(GSourceFunc)yon_read_log,window);
@ -1668,6 +1706,7 @@ void on_page_navigation_clicked(GtkWidget *self, main_window *widgets){
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION); gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION);
} }
if (gtk_progress_bar_get_fraction(GTK_PROGRESS_BAR(widgets->InstallationProgress))>0.9){ if (gtk_progress_bar_get_fraction(GTK_PROGRESS_BAR(widgets->InstallationProgress))>0.9){
gtk_label_set_text(GTK_LABEL(widgets->InstallationLabel),CONFIGURATION_LABEL);
pthread_t tid; pthread_t tid;
pthread_create(&tid,NULL,on_setup_system_configuration,widgets); pthread_create(&tid,NULL,on_setup_system_configuration,widgets);
yon_debug_output("%s\n","installation ending configuration startup"); yon_debug_output("%s\n","installation ending configuration startup");
@ -1680,9 +1719,8 @@ void on_page_navigation_clicked(GtkWidget *self, main_window *widgets){
yon_debug_output("Save changed to: %s\n",yon_char_from_int(main_config.save_done)); yon_debug_output("Save changed to: %s\n",yon_char_from_int(main_config.save_done));
yon_debug_output("Install state: %s\n",yon_char_from_int(main_config.install_complete)); yon_debug_output("Install state: %s\n",yon_char_from_int(main_config.install_complete));
if (main_config.install_complete){ if (!main_config.install_complete){
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_COMPLETION); gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION);
} else {
printf("still deactivated\n"); printf("still deactivated\n");
gtk_widget_set_sensitive(widgets->CancelInstallButton,0); gtk_widget_set_sensitive(widgets->CancelInstallButton,0);
gtk_widget_set_sensitive(widgets->NextButton,0); gtk_widget_set_sensitive(widgets->NextButton,0);
@ -2328,6 +2366,7 @@ main_window *yon_main_window_complete(){
g_signal_connect(G_OBJECT(widgets->AvailableLanguagesButton),"clicked",G_CALLBACK(on_language_clicked),widgets); g_signal_connect(G_OBJECT(widgets->AvailableLanguagesButton),"clicked",G_CALLBACK(on_language_clicked),widgets);
g_signal_connect(G_OBJECT(widgets->RegionCombo),"changed",G_CALLBACK(on_region_changed),widgets); g_signal_connect(G_OBJECT(widgets->RegionCombo),"changed",G_CALLBACK(on_region_changed),widgets);
g_signal_connect(G_OBJECT(widgets->AddButton),"clicked",G_CALLBACK(on_keyboard_clicked),widgets); g_signal_connect(G_OBJECT(widgets->AddButton),"clicked",G_CALLBACK(on_keyboard_clicked),widgets);
g_signal_connect(G_OBJECT(widgets->RemoveButton),"clicked",G_CALLBACK(on_keyboard_removed),widgets);
g_signal_connect(G_OBJECT(widgets->UsersToggle),"toggled",G_CALLBACK(on_toggle_block),NULL); g_signal_connect(G_OBJECT(widgets->UsersToggle),"toggled",G_CALLBACK(on_toggle_block),NULL);
g_signal_connect(G_OBJECT(widgets->LicenceToggle),"toggled",G_CALLBACK(on_toggle_block),NULL); g_signal_connect(G_OBJECT(widgets->LicenceToggle),"toggled",G_CALLBACK(on_toggle_block),NULL);

@ -463,4 +463,6 @@ void on_toggle_button_switch_on(GtkWidget *, GtkToggleButton *toggle);
void on_autohostname_sensitiveness_check(GtkWidget *, main_window *widgets); void on_autohostname_sensitiveness_check(GtkWidget *, main_window *widgets);
void on_autohostname_check(GtkWidget *, main_window *widgets); void on_autohostname_check(GtkWidget *, main_window *widgets);
void on_hostname_entry_changed (GtkWidget *, main_window *widgets); void on_hostname_entry_changed (GtkWidget *, main_window *widgets);
void *on_install_success(main_window *widgets);

@ -21,10 +21,10 @@
#define LOCATION_TAB_LABEL _("Location") #define LOCATION_TAB_LABEL _("Location")
#define KEYBOARD_TAB_LABEL _("Keyboard") #define KEYBOARD_TAB_LABEL _("Keyboard")
#define USERS_TAB_LABEL _("Users") #define USERS_TAB_LABEL _("Users")
#define COMPLETION_TAB_LABEL _("Completion") #define COMPLETION_TAB_LABEL _("Installation completion")
#define COMMON_INSTALL_INFO_LABEL _("Deleting all data on the selected disk and then installing the UBLinux system") #define COMMON_INSTALL_INFO_LABEL _("Deleting all data on the selected disk and then installing the UBLinux system")
#define NEAR_INSTALL_LABEL _("Installation next to another system") #define NEAR_INSTALL_LABEL _("Installation next to another system")
#define NEAR_INSTALL_INFO_LABEL _("Shrinking a partition and creating a new one for installing UBLinux") #define NEAR_INSTALL_INFO_LABEL _("Shrinking a partition and creating a new one for installing OS")
#define SHRINK_SECTION_INSTALL_LABEL _("Installation on the same partition as another system") #define SHRINK_SECTION_INSTALL_LABEL _("Installation on the same partition as another system")
#define SHRINK_SECTION_INSTALL_INFO_LABEL _("Unpacking the UBLinux file system into an existing system") #define SHRINK_SECTION_INSTALL_INFO_LABEL _("Unpacking the UBLinux file system into an existing system")
#define ADDITIONAL_INSTALL_INFO_LABEL _("Selecting additional software to install from the repository via the Internet") #define ADDITIONAL_INSTALL_INFO_LABEL _("Selecting additional software to install from the repository via the Internet")
@ -53,11 +53,11 @@
#define COMPUTER_NAME_LABEL _("Host name:") #define COMPUTER_NAME_LABEL _("Host name:")
#define AUTOMATICALLY_LABEL _("Automatically") #define AUTOMATICALLY_LABEL _("Automatically")
#define USER_LABEL _("User") #define USER_LABEL _("User")
#define COMPLETION_LABEL _("Completion") #define COMPLETION_LABEL _("Installation completion")
#define INSTALLATION_COMPLETION_LABEL _("Installation completion") #define INSTALLATION_COMPLETION_LABEL _("Installation completion")
#define SELECT_DEVICE_LABEL _("Select device:") #define SELECT_DEVICE_LABEL _("Select device:")
#define CHOOSE_SECTION_LABEL _("Choose a section:") #define CHOOSE_SECTION_LABEL _("Choose a section:")
#define ATTENSION_LABEL _("Attention! The selected partition will be modified: the size will be reduced. In the resulting free space, a partition will be created into which the UBLinux OS will be\ninstalled.") #define ATTENSION_LABEL _("<b>Attention!</b> The selected partition will be modified: the size will be reduced. In the resulting free space, a partition will be created into which the UBLinux OS will be\ninstalled.")
#define DEVICE_LABEL _("Device") #define DEVICE_LABEL _("Device")
#define MARK_LABEL _("Mark") #define MARK_LABEL _("Mark")
#define SIZE_LABEL _("Size") #define SIZE_LABEL _("Size")
@ -173,4 +173,12 @@
#define ACCEPT_LABEL _("Accept") #define ACCEPT_LABEL _("Accept")
#define GPARTED_LABEL _("Start GParted") #define GPARTED_LABEL _("Start GParted")
#define EXIT_WARNING_LABEL _("Are you sure want to exit and interrupt installation process?") #define EXIT_WARNING_LABEL _("Are you sure want to exit and interrupt installation process?")
#define PROGRESS_LOG_LABEL _("Progress log")
#define INSTALL_LOG_LABEL _("Installation log")
#define ADD_LAYOUT_LABEL _("Add layouts")
#define REMOVE_LAYOUT_LABEL _("Remove layout")
#define CONFIGURATION_LABEL _("System configuration...")

@ -808,6 +808,7 @@ and help you install UBLinux on your computer</property>
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="margin-start">5</property>
<property name="label" translatable="yes">Deleting all data on the selected disk and then installing the UBLinux system</property> <property name="label" translatable="yes">Deleting all data on the selected disk and then installing the UBLinux system</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
@ -884,7 +885,8 @@ and help you install UBLinux on your computer</property>
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Shrinking a partition and creating a new one for installing UBLinux</property> <property name="margin-start">5</property>
<property name="label" translatable="yes">Shrinking a partition and creating a new one for installing OS</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
<packing> <packing>
@ -960,7 +962,8 @@ and help you install UBLinux on your computer</property>
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Unpacking the UBLinux file system into an existing system</property> <property name="margin-start">5</property>
<property name="label" translatable="yes">Unpacking into an existing system</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
<packing> <packing>
@ -1035,6 +1038,7 @@ and help you install UBLinux on your computer</property>
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="margin-start">5</property>
<property name="label" translatable="yes">Installing OS files, user data on different partitions, creating RAID, etc.</property> <property name="label" translatable="yes">Installing OS files, user data on different partitions, creating RAID, etc.</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
@ -1110,6 +1114,7 @@ and help you install UBLinux on your computer</property>
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="margin-start">5</property>
<property name="label" translatable="yes">Recovering bootloader, OS files, user data</property> <property name="label" translatable="yes">Recovering bootloader, OS files, user data</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
@ -1493,9 +1498,15 @@ and help you install UBLinux on your computer</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">5</property> <property name="spacing">5</property>
<child> <child>
<object class="GtkImage" id="SlidesImage"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Installation</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="foreground" value="#33722f2e7a06"/>
<attribute name="size" value="15360"/>
</attributes>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -1503,6 +1514,17 @@ and help you install UBLinux on your computer</property>
<property name="position">0</property> <property name="position">0</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkImage" id="SlidesImage">
<property name="visible">True</property>
<property name="can-focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object> </object>
<packing> <packing>
<property name="position">6</property> <property name="position">6</property>
@ -2159,6 +2181,7 @@ and help you install UBLinux on your computer</property>
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Add layouts</property>
<property name="image">image13</property> <property name="image">image13</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -2176,6 +2199,7 @@ and help you install UBLinux on your computer</property>
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Remove layout</property>
<property name="image">image14</property> <property name="image">image14</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -3283,7 +3307,7 @@ or continue working in the UBLinux Live environment.</property>
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Shrinking a partition and creating a new one for installing UBLinux</property> <property name="label" translatable="yes">Shrinking a partition and creating a new one for installing OS</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
<packing> <packing>
@ -3310,8 +3334,9 @@ or continue working in the UBLinux Live environment.</property>
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Attention! The selected partition will be modified: the size will be reduced. In the resulting free space, a partition will be created into which the UBLinux OS will be <property name="label" translatable="yes">&lt;b&gt;Attention!&lt;/b&gt; The selected partition will be modified: the size will be reduced. In the resulting free space, a partition will be created into which the UBLinux OS will be
installed.</property> installed.</property>
<property name="use-markup">True</property>
<property name="wrap">True</property> <property name="wrap">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<property name="yalign">0</property> <property name="yalign">0</property>
@ -3884,7 +3909,7 @@ installed.</property>
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Unpacking the UBLinux file system into an existing system</property> <property name="label" translatable="yes">Unpacking into an existing system</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
<packing> <packing>
@ -3911,7 +3936,8 @@ installed.</property>
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Attention! The UBLinux OS will be installed on the selected partition with OS already installed. All user data will be saved.</property> <property name="label" translatable="yes">&lt;b&gt;Attention!&lt;/b&gt; The UBLinux OS will be installed on the selected partition with OS already installed. All user data will be saved.</property>
<property name="use-markup">True</property>
<property name="wrap">True</property> <property name="wrap">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<property name="yalign">0</property> <property name="yalign">0</property>

@ -130,7 +130,7 @@ msgid "Users"
msgstr "" msgstr ""
#: source/ubl-strings.h:21 source/ubl-strings.h:52 #: source/ubl-strings.h:21 source/ubl-strings.h:52
msgid "Completion" msgid "Installation completion"
msgstr "" msgstr ""
#: source/ubl-strings.h:22 #: source/ubl-strings.h:22
@ -143,7 +143,7 @@ msgid "Installation next to another system"
msgstr "" msgstr ""
#: source/ubl-strings.h:24 #: source/ubl-strings.h:24
msgid "Shrinking a partition and creating a new one for installing UBLinux" msgid "Shrinking a partition and creating a new one for installing OS"
msgstr "" msgstr ""
#: source/ubl-strings.h:25 #: source/ubl-strings.h:25
@ -151,7 +151,7 @@ msgid "Installation on the same partition as another system"
msgstr "" msgstr ""
#: source/ubl-strings.h:26 #: source/ubl-strings.h:26
msgid "Unpacking the UBLinux file system into an existing system" msgid "Unpacking into an existing system"
msgstr "" msgstr ""
#: source/ubl-strings.h:27 #: source/ubl-strings.h:27
@ -261,7 +261,7 @@ msgstr ""
#: source/ubl-strings.h:56 #: source/ubl-strings.h:56
msgid "" msgid ""
"Attention! The selected partition will be modified: the size will be " "<b>Attention!</b> The selected partition will be modified: the size will be "
"reduced. In the resulting free space, a partition will be created into which " "reduced. In the resulting free space, a partition will be created into which "
"the UBLinux OS will be\n" "the UBLinux OS will be\n"
"installed." "installed."
@ -326,7 +326,7 @@ msgstr ""
#: source/ubl-strings.h:73 #: source/ubl-strings.h:73
msgid "" msgid ""
"Attention! The selected OC UBLinux components will be installed\n" "<b>Attention!</b> The selected OC UBLinux components will be installed\n"
"separately into the selected partition." "separately into the selected partition."
msgstr "" msgstr ""
@ -529,7 +529,7 @@ msgstr ""
#: source/ubl-strings.h:132 #: source/ubl-strings.h:132
msgid "" msgid ""
"Attention! The UBLinux OS will be installed on the selected partition with " "<b>Attention!</b> The UBLinux OS will be installed on the selected partition with "
"OS already installed. All user data will be saved." "OS already installed. All user data will be saved."
msgstr "" msgstr ""
@ -616,6 +616,18 @@ msgstr ""
msgid "Administrator" msgid "Administrator"
msgstr "" msgstr ""
msgid "Installation log"
msgstr ""
msgid "Progress log"
msgstr ""
msgid "Add layouts"
msgstr ""
msgid "Remove layout"
msgstr ""
msgid "English, U.S.A.; Russian, Russia" msgid "English, U.S.A.; Russian, Russia"
msgstr "" msgstr ""

@ -123,7 +123,7 @@ msgstr "Разделы"
#: source/ubl-strings.h:17 #: source/ubl-strings.h:17
msgid "Installation" msgid "Installation"
msgstr "Установить" msgstr "Установка"
#: source/ubl-strings.h:18 source/ubl-strings.h:33 #: source/ubl-strings.h:18 source/ubl-strings.h:33
msgid "Location" msgid "Location"
@ -153,16 +153,16 @@ msgid "Installation next to another system"
msgstr "Установка рядом с другой системой" msgstr "Установка рядом с другой системой"
#: source/ubl-strings.h:24 #: source/ubl-strings.h:24
msgid "Shrinking a partition and creating a new one for installing UBLinux" msgid "Shrinking a partition and creating a new one for installing OS"
msgstr "Уменьшение раздела и создание нового для установки UBLinux" msgstr "Уменьшение раздела и создание нового для установки ОС"
#: source/ubl-strings.h:25 #: source/ubl-strings.h:25
msgid "Installation on the same partition as another system" msgid "Installation on the same partition as another system"
msgstr "Установка в раздел другой системы" msgstr "Установка в раздел другой системы"
#: source/ubl-strings.h:26 #: source/ubl-strings.h:26
msgid "Unpacking the UBLinux file system into an existing system" msgid "Unpacking into an existing system"
msgstr "Установить систему UBLinux в уже существующую систему" msgstr "Установить ОС в уже существующий раздел"
#: source/ubl-strings.h:27 #: source/ubl-strings.h:27
msgid "" msgid ""
@ -264,7 +264,7 @@ msgstr "Пользователь"
#: source/ubl-strings.h:54 #: source/ubl-strings.h:54
msgid "Select device:" msgid "Select device:"
msgstr "Выберите устройство хранения:" msgstr "Выберите устройство:"
#: source/ubl-strings.h:55 #: source/ubl-strings.h:55
msgid "Choose a section:" msgid "Choose a section:"
@ -272,14 +272,14 @@ msgstr "Выберите раздел:"
#: source/ubl-strings.h:56 #: source/ubl-strings.h:56
msgid "" msgid ""
"Attention! The selected partition will be modified: the size will be " "<b>Attention!</b> The selected partition will be modified: the size will be "
"reduced. In the resulting free space, a partition will be created into which " "reduced. In the resulting free space, a partition will be created into which "
"the UBLinux OS will be\n" "the UBLinux OS will be\n"
"installed." "installed."
msgstr "" msgstr ""
"Внимание! Выбранный раздел будет модифицирован: размер будет уменьшен. В " "<b>Внимание!</b> Выбранный раздел будет модифицирован: размер будет уменьшен. В "
"полученном свободном пространстве будет создан раздел, в который будет " "полученном свободном пространстве будет создан раздел, в который будет "
"произведена установка ОС UBLinux" "произведена установка ОС."
#: source/ubl-strings.h:57 #: source/ubl-strings.h:57
msgid "Device" msgid "Device"
@ -338,11 +338,11 @@ msgstr ""
#: source/ubl-strings.h:73 #: source/ubl-strings.h:73
msgid "" msgid ""
"Attention! The selected OC UBLinux components will be installed\n" "<b>Attention!</b> The selected OC UBLinux components will be installed\n"
"separately into the selected partition." "separately into the selected partition."
msgstr "" msgstr ""
"Внимание! В выбранный раздел будет произведена раздельная установка " "<b>Внимание!</b> В выбранный раздел будет произведена раздельная установка "
"выбранных компонентов ОС UBLinux/" "выбранных компонентов ОС UBLinux."
#: source/ubl-strings.h:74 #: source/ubl-strings.h:74
msgid "GRUB install" msgid "GRUB install"
@ -550,11 +550,11 @@ msgstr "Ошибка установки"
#: source/ubl-strings.h:132 #: source/ubl-strings.h:132
msgid "" msgid ""
"Attention! The UBLinux OS will be installed on the selected partition with " "<b>Attention!</b> The UBLinux OS will be installed on the selected partition with "
"OS already installed. All user data will be saved." "OS already installed. All user data will be saved."
msgstr "" msgstr ""
"Внимание! ОС UBLinux будет установлена в выбранный раздел. Если не менять " "<b>Внимание!</b> В выбранный раздел будет произведена установка системы. Если не менять "
"тип ФС и не форматировать, все данные на разделе будут сохранены" "тип ФС и не форматировать, все данные на разделе будут сохранены."
#: source/ubl-strings.h:134 #: source/ubl-strings.h:134
msgid "Installation options" msgid "Installation options"
@ -629,6 +629,18 @@ msgstr "Настройки"
msgid "Administrator" msgid "Administrator"
msgstr "Администратор" msgstr "Администратор"
msgid "Installation log"
msgstr "Лог установки"
msgid "Progress log"
msgstr "Лог прогресса"
msgid "Add layouts"
msgstr "Добавить раскладки"
msgid "Remove layout"
msgstr "Удалить раскладку"
#: source/ubl-strings.h:140 #: source/ubl-strings.h:140
msgid "Read installation log" msgid "Read installation log"
msgstr "Открыть лог установки" msgstr "Открыть лог установки"

Loading…
Cancel
Save