File 0001-Added-Yandex-account.patch of Package gnome-control-center

From 7dc03a610a7297b1338f2e194579ce12207d641e Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Mon, 29 Dec 2025 21:15:41 +0300
Subject: [PATCH] Added Yandex account

---
 panels/online-accounts/cc-online-account-provider-row.c   | 1 +
 panels/online-accounts/cc-online-accounts-panel.c         | 1 +
 .../gnome-online-accounts-panel.desktop.in                | 2 +-
 po/ru.po                                                  | 8 ++++++++
 4 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/panels/online-accounts/cc-online-account-provider-row.c b/panels/online-accounts/cc-online-account-provider-row.c
index be4a220..4d0d691 100644
--- a/panels/online-accounts/cc-online-account-provider-row.c
+++ b/panels/online-accounts/cc-online-account-provider-row.c
@@ -56,6 +56,7 @@ _goa_provider_get_provider_info (GoaProvider *provider)
   static ProviderInfo goa_metadata[] = {
     { "owncloud", N_("Nextcloud"), N_("Calendar, contacts, files") },
     { "google", N_("Google"), N_("Email, calendar, contacts, files") },
+    { "yandex", N_("Yandex"), N_("Email, calendar, files") },
     { "ms_graph", N_("Microsoft 365"), N_("Email, calendar, contacts, files") },
     { "exchange", N_("Microsoft Exchange"), N_("Email, calendar, contacts") },
     { "fedora", N_("Fedora"), N_("Enterprise authentication") },
diff --git a/panels/online-accounts/cc-online-accounts-panel.c b/panels/online-accounts/cc-online-accounts-panel.c
index def0883..2a45502 100644
--- a/panels/online-accounts/cc-online-accounts-panel.c
+++ b/panels/online-accounts/cc-online-accounts-panel.c
@@ -296,6 +296,7 @@ goa_provider_priority (const char *provider_type)
   static const char *goa_priority[] = {
     "owncloud",     /* Nextcloud */
     "google",       /* Google */
+    "yandex",       /* Yandex */
     "ms_graph",     /* Microsoft 365 */
     "exchange",     /* Microsoft Exchange */
     "fedora",       /* Fedora */
diff --git a/panels/online-accounts/gnome-online-accounts-panel.desktop.in b/panels/online-accounts/gnome-online-accounts-panel.desktop.in
index 1e15406..ba29095 100644
--- a/panels/online-accounts/gnome-online-accounts-panel.desktop.in
+++ b/panels/online-accounts/gnome-online-accounts-panel.desktop.in
@@ -14,4 +14,4 @@ OnlyShowIn=GNOME;Unity;
 # Do NOT translate or localize the semicolons!
 # The list MUST also end with a semicolon!
 # For ReadItLater and Pocket, see http://en.wikipedia.org/wiki/Pocket_(application)
-Keywords=Google;Facebook;Twitter;Yahoo;Web;Online;Chat;Calendar;Mail;Contact;ownCloud;Kerberos;IMAP;SMTP;Pocket;ReadItLater;
+Keywords=Google;Yandex;Facebook;Twitter;Yahoo;Web;Online;Chat;Calendar;Mail;Contact;ownCloud;Kerberos;IMAP;SMTP;Pocket;ReadItLater;
diff --git a/po/ru.po b/po/ru.po
index 0ae4dca..01b72fa 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -4575,6 +4575,14 @@ msgstr "Google"
 msgid "Email, calendar, contacts, files"
 msgstr "Эл. почта, календарь, контакты, файлы"
 
+#: panels/online-accounts/cc-online-account-provider-row.c:59
+msgid "Yandex"
+msgstr "Яндекс"
+
+#: panels/online-accounts/cc-online-account-provider-row.c:59
+msgid "Email, calendar, files"
+msgstr "Эл. почта, календарь, файлы"
+
 #: panels/online-accounts/cc-online-account-provider-row.c:59
 msgid "Microsoft 365"
 msgstr "Microsoft 365"
-- 
2.52.0

openSUSE Build Service is sponsored by