From 61d115a3a445a66edbc69d7be97b0505e1195619 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Mon, 26 Aug 2024 10:06:27 +0600 Subject: [PATCH] Localisation edits --- source/ubinstall-gtk.c | 4 ++-- source/ubl-strings.h | 5 ++++- ubinstall-gtk.pot | 6 ++++++ ubinstall-gtk_ru.po | 6 ++++++ 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index 4b27e00..cf833ef 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -1239,7 +1239,7 @@ void on_process_log_view(GtkWidget *,main_window *widgets){ 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->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); gdk_threads_add_timeout(500,(GSourceFunc)yon_read_log,window); } @@ -1252,7 +1252,7 @@ void on_summary_log_view(GtkWidget *,main_window *widgets){ 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->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); gdk_threads_add_timeout(500,(GSourceFunc)yon_read_log,window); diff --git a/source/ubl-strings.h b/source/ubl-strings.h index 7fe8d74..7e4e53e 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -173,4 +173,7 @@ #define ACCEPT_LABEL _("Accept") #define GPARTED_LABEL _("Start GParted") -#define EXIT_WARNING_LABEL _("Are you sure want to exit and interrupt installation process?") \ No newline at end of file +#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") \ No newline at end of file diff --git a/ubinstall-gtk.pot b/ubinstall-gtk.pot index 336bfbd..46e7711 100644 --- a/ubinstall-gtk.pot +++ b/ubinstall-gtk.pot @@ -616,6 +616,12 @@ msgstr "" msgid "Administrator" msgstr "" +msgid "Installation log" +msgstr "" + +msgid "Progress log" +msgstr "" + msgid "English, U.S.A.; Russian, Russia" msgstr "" diff --git a/ubinstall-gtk_ru.po b/ubinstall-gtk_ru.po index 1f7041e..518eec4 100644 --- a/ubinstall-gtk_ru.po +++ b/ubinstall-gtk_ru.po @@ -629,6 +629,12 @@ msgstr "Настройки" msgid "Administrator" msgstr "Администратор" +msgid "Installation log" +msgstr "Лог установки" + +msgid "Progress log" +msgstr "Лог прогресса" + #: source/ubl-strings.h:140 msgid "Read installation log" msgstr "Открыть лог установки"