|
|
|
@ -1,67 +1,71 @@
|
|
|
|
|
From 31b639413a37f2fd1759c39b75760163a91fb6c0 Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: Alexey Berezhok <aberezhok@msvsphere-os.ru>
|
|
|
|
|
From 8a43761341f2a3e676f7e2d479705e5fe180d1d3 Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: alexey <aberezhok@msvsphere-os.ru>
|
|
|
|
|
Date: Tue, 5 Dec 2023 17:29:48 +0300
|
|
|
|
|
Subject: [PATCH] Added description of standart repos
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
po/ru.po | 41 ++++++++++++++++++++++++++++++
|
|
|
|
|
src/gs-repo-row.c | 63 +++++++++++++++++++++++++++++++++++++++++------
|
|
|
|
|
2 files changed, 96 insertions(+), 8 deletions(-)
|
|
|
|
|
po/ru.po | 45 +++++++++++++++++++++++++++++++
|
|
|
|
|
src/gs-repo-row.c | 67 +++++++++++++++++++++++++++++++++++++++++------
|
|
|
|
|
2 files changed, 104 insertions(+), 8 deletions(-)
|
|
|
|
|
|
|
|
|
|
diff --git a/po/ru.po b/po/ru.po
|
|
|
|
|
index a80f80e..3df5754 100644
|
|
|
|
|
index a80f80e..3c34e5a 100644
|
|
|
|
|
--- a/po/ru.po
|
|
|
|
|
+++ b/po/ru.po
|
|
|
|
|
@@ -3134,6 +3134,47 @@ msgctxt "repo-row"
|
|
|
|
|
@@ -3134,6 +3134,51 @@ msgctxt "repo-row"
|
|
|
|
|
msgid "%s • %s"
|
|
|
|
|
msgstr "%s • %s"
|
|
|
|
|
|
|
|
|
|
+#. TRANSLATORS: additional repo description 1;
|
|
|
|
|
+#: src/gs-repo-row.c:249
|
|
|
|
|
+msgid "AppStream repo"
|
|
|
|
|
+msgstr "Репозиторий стандартных приложений"
|
|
|
|
|
+msgid "General-purpose applications set"
|
|
|
|
|
+msgstr "Приложения общего назначения"
|
|
|
|
|
+
|
|
|
|
|
+#. TRANSLATORS: additional repo description 2;
|
|
|
|
|
+#: src/gs-repo-row.c:252
|
|
|
|
|
+msgid "BaseOS repo"
|
|
|
|
|
+msgstr "Базовый репозиторий"
|
|
|
|
|
+msgid "Core set of the operating system packages"
|
|
|
|
|
+msgstr "Базовый набор пакетов операционной системы"
|
|
|
|
|
+
|
|
|
|
|
+#. TRANSLATORS: additional repo description 3;
|
|
|
|
|
+#: src/gs-repo-row.c:255
|
|
|
|
|
+msgid "CRB repo"
|
|
|
|
|
+msgstr "Репозиторий для разработчиков"
|
|
|
|
|
+msgid "Additional packages for use by developers"
|
|
|
|
|
+msgstr "Дополнительные пакеты для разработчиков"
|
|
|
|
|
+
|
|
|
|
|
+#. TRANSLATORS: additional repo description 4;
|
|
|
|
|
+#: src/gs-repo-row.c:258
|
|
|
|
|
+msgid "Extras repo"
|
|
|
|
|
+msgstr "Репозиторий с дополнительными приложениями"
|
|
|
|
|
+msgid "Extra applications set"
|
|
|
|
|
+msgstr "Набор дополнительных приложений"
|
|
|
|
|
+
|
|
|
|
|
+#. TRANSLATORS: additional repo description 5;
|
|
|
|
|
+#: src/gs-repo-row.c:261
|
|
|
|
|
+msgid "HighAvailability repo"
|
|
|
|
|
+msgstr "Репозиторий со служюами высокой доступности"
|
|
|
|
|
+msgid "Packages for making high availability clusters"
|
|
|
|
|
+msgstr "Пакеты для создания кластеров высокой доступности"
|
|
|
|
|
+
|
|
|
|
|
+#. TRANSLATORS: additional repo description 6;
|
|
|
|
|
+#: src/gs-repo-row.c:264
|
|
|
|
|
+msgid "NFV repo"
|
|
|
|
|
+msgstr "Репозиторий с пакетами для концепции NFV"
|
|
|
|
|
+msgid "Network functions virtualization components"
|
|
|
|
|
+msgstr "Компоненты для виртуализации сетевых служб"
|
|
|
|
|
+
|
|
|
|
|
+#. TRANSLATORS: additional repo description 7;
|
|
|
|
|
+#: src/gs-repo-row.c:267
|
|
|
|
|
+msgid "ResilientStorage repo"
|
|
|
|
|
+msgstr "Репозиторий для кластерных хранилищ"
|
|
|
|
|
+msgid "Packages for making clustered storages"
|
|
|
|
|
+msgstr "Пакеты для создания кластерных хранилищ"
|
|
|
|
|
+
|
|
|
|
|
+#. TRANSLATORS: additional repo description 8;
|
|
|
|
|
+#: src/gs-repo-row.c:270
|
|
|
|
|
+msgid "RT repo"
|
|
|
|
|
+msgstr "Репозиторий с пакетами ядра реального времени"
|
|
|
|
|
+msgid "Real-time system packages set"
|
|
|
|
|
+msgstr "Набор пакетов для системы реального времени"
|
|
|
|
|
+
|
|
|
|
|
+#. TRANSLATORS: additional repo description 9;
|
|
|
|
|
+#: src/gs-repo-row.c:273
|
|
|
|
|
+msgid "Additional packages for use by OS maintainers"
|
|
|
|
|
+msgstr "Дополнительные пакеты для сопровождающих ОС"
|
|
|
|
|
+
|
|
|
|
|
#. TRANSLATORS: lighthearted star rating description;
|
|
|
|
|
#. * A really bad application
|
|
|
|
|
#: src/gs-review-dialog.c:82
|
|
|
|
|
diff --git a/src/gs-repo-row.c b/src/gs-repo-row.c
|
|
|
|
|
index 4bdf07b..4775db3 100644
|
|
|
|
|
index 4bdf07b..30ca16c 100644
|
|
|
|
|
--- a/src/gs-repo-row.c
|
|
|
|
|
+++ b/src/gs-repo-row.c
|
|
|
|
|
@@ -189,12 +189,15 @@ get_repo_installed_text (GsApp *repo)
|
|
|
|
@ -109,7 +113,7 @@ index 4bdf07b..4775db3 100644
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -242,6 +251,44 @@ gs_repo_row_set_repo (GsRepoRow *self, GsApp *repo)
|
|
|
|
|
@@ -242,6 +251,48 @@ gs_repo_row_set_repo (GsRepoRow *self, GsApp *repo)
|
|
|
|
|
refresh_ui (self);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -117,35 +121,39 @@ index 4bdf07b..4775db3 100644
|
|
|
|
|
+ if (g_strstr_len(repo_name, 9, "MSVSphere") != NULL) {
|
|
|
|
|
+ if (g_strstr_len(repo_name, 32, "AppStream")) {
|
|
|
|
|
+ /* TRANSLATORS: additional repo description 1 */
|
|
|
|
|
+ return g_strdup(_("AppStream repo"));
|
|
|
|
|
+ return g_strdup(_("General-purpose applications set"));
|
|
|
|
|
+ }
|
|
|
|
|
+ if (g_strstr_len(repo_name, 32, "BaseOS") != NULL) {
|
|
|
|
|
+ /* TRANSLATORS: additional repo description 2 */
|
|
|
|
|
+ return g_strdup(_("BaseOS repo"));
|
|
|
|
|
+ return g_strdup(_("Core set of the operating system packages"));
|
|
|
|
|
+ }
|
|
|
|
|
+ if (g_strstr_len(repo_name, 32, "CRB") != NULL) {
|
|
|
|
|
+ /* TRANSLATORS: additional repo description 3 */
|
|
|
|
|
+ return g_strdup(_("CRB repo"));
|
|
|
|
|
+ return g_strdup(_("Additional packages for use by developers"));
|
|
|
|
|
+ }
|
|
|
|
|
+ if (g_strstr_len(repo_name, 32, "Extras") != NULL) {
|
|
|
|
|
+ /* TRANSLATORS: additional repo description 4 */
|
|
|
|
|
+ return g_strdup(_("Extras repo"));
|
|
|
|
|
+ return g_strdup(_("Extra applications set"));
|
|
|
|
|
+ }
|
|
|
|
|
+ if (g_strstr_len(repo_name, 32, "HighAvailability") != NULL) {
|
|
|
|
|
+ /* TRANSLATORS: additional repo description 5 */
|
|
|
|
|
+ return g_strdup(_("HighAvailability repo"));
|
|
|
|
|
+ return g_strdup(_("Packages for making high availability clusters"));
|
|
|
|
|
+ }
|
|
|
|
|
+ if (g_strstr_len(repo_name, 32, "NFV") != NULL) {
|
|
|
|
|
+ /* TRANSLATORS: additional repo description 6 */
|
|
|
|
|
+ return g_strdup(_("NFV repo"));
|
|
|
|
|
+ return g_strdup(_("Network functions virtualization components"));
|
|
|
|
|
+ }
|
|
|
|
|
+ if (g_strstr_len(repo_name, 32, "ResilientStorage") != NULL) {
|
|
|
|
|
+ /* TRANSLATORS: additional repo description 7 */
|
|
|
|
|
+ return g_strdup(_("ResilientStorage repo"));
|
|
|
|
|
+ return g_strdup(_("Packages for making clustered storages"));
|
|
|
|
|
+ }
|
|
|
|
|
+ if (g_strstr_len(repo_name, 32, "RT") != NULL) {
|
|
|
|
|
+ /* TRANSLATORS: additional repo description 8 */
|
|
|
|
|
+ return g_strdup(_("RT repo"));
|
|
|
|
|
+ return g_strdup(_("Real-time system packages set"));
|
|
|
|
|
+ }
|
|
|
|
|
+ if (g_strstr_len(repo_name, 32, "Devel") != NULL) {
|
|
|
|
|
+ /* TRANSLATORS: additional repo description 9 */
|
|
|
|
|
+ return g_strdup(_("Additional packages for use by OS maintainers"));
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ return NULL;
|
|
|
|
|