Fixed Russian translation

i8 changed/i8/pam-1.3.1-27.el8.inferit
Sergey Cherevko 10 months ago
parent ea1dbc9ce9
commit abb34d0177
Signed by: scherevko
GPG Key ID: D87CBBC16D2E4A72

@ -0,0 +1,40 @@
From 0d07891ec991d1a3acb80f098d5a1b3ea3ad1480 Mon Sep 17 00:00:00 2001
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
Date: Thu, 14 Mar 2024 14:10:47 +0300
Subject: [PATCH] Fix Russian translation
---
po/ru.po | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/po/ru.po b/po/ru.po
index 0332308..9900c36 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -43,7 +43,7 @@ msgid "Password: "
msgstr "Пароль: "
#: libpam/pam_get_authtok.c:41
-#, fuzzy, c-format
+#, c-format
msgid "Current %s%spassword: "
msgstr "Новый пароль %s%s: "
@@ -545,14 +545,12 @@ msgstr ""
"Срок действия учетной записи истек; обратитесь к системному администратору"
#: modules/pam_unix/pam_unix_acct.c:261
-#, fuzzy
msgid ""
"You are required to change your password immediately (administrator enforced)"
msgstr ""
"Вам необходимо немедленно сменить пароль (в принудительном режиме root)"
#: modules/pam_unix/pam_unix_acct.c:267
-#, fuzzy
msgid "You are required to change your password immediately (password expired)"
msgstr "Вам необходимо немедленно сменить пароль (пароль устарел)"
--
2.39.3

@ -3,7 +3,7 @@
Summary: An extensible library which provides authentication for applications Summary: An extensible library which provides authentication for applications
Name: pam Name: pam
Version: 1.3.1 Version: 1.3.1
Release: 27%{?dist} Release: 27%{?dist}.inferit
# The library is BSD licensed with option to relicense as GPLv2+ # The library is BSD licensed with option to relicense as GPLv2+
# - this option is redundant as the BSD license allows that anyway. # - this option is redundant as the BSD license allows that anyway.
# pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+. # pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+.
@ -101,6 +101,8 @@ Patch64: pam-1.5.1-pam-faillock-avoid-logging-erroneous.patch
# https://github.com/linux-pam/linux-pam/commit/80bfda5962e5be3daa70e0fc8c75fc97d1c55121 # https://github.com/linux-pam/linux-pam/commit/80bfda5962e5be3daa70e0fc8c75fc97d1c55121
Patch65: pam-1.3.1-pam-misc-configurable.patch Patch65: pam-1.3.1-pam-misc-configurable.patch
Patch1000: 0001-Fix-Russian-translation.patch
%define _pamlibdir %{_libdir} %define _pamlibdir %{_libdir}
%define _moduledir %{_libdir}/security %define _moduledir %{_libdir}/security
%define _secconfdir %{_sysconfdir}/security %define _secconfdir %{_sysconfdir}/security
@ -213,6 +215,7 @@ cp %{SOURCE18} .
%patch63 -p1 -b .pam-faillock-clarify-missing-user %patch63 -p1 -b .pam-faillock-clarify-missing-user
%patch64 -p1 -b .pam-faillock-avoid-logging-erroneous %patch64 -p1 -b .pam-faillock-avoid-logging-erroneous
%patch65 -p1 -b .pam-misc-configurable %patch65 -p1 -b .pam-misc-configurable
%patch1000 -p1
autoreconf -i autoreconf -i
@ -229,6 +232,7 @@ autoreconf -i
%endif %endif
--disable-static \ --disable-static \
--disable-prelude --disable-prelude
rm -rf %{_builddir}/Linux-PAM-%{version}/po/*.gmo
make -C po update-gmo make -C po update-gmo
make make
# we do not use _smp_mflags because the build of sources in yacc/flex fails # we do not use _smp_mflags because the build of sources in yacc/flex fails
@ -466,6 +470,10 @@ done
%doc doc/specs/rfc86.0.txt %doc doc/specs/rfc86.0.txt
%changelog %changelog
* Thu Mar 14 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1.3.1-27.inferit
- Fix Russian translation
- Rebuilt for MSVSphere 8.9
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.3.1-27 * Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.3.1-27
- Rebuilt for MSVSphere 8.8 - Rebuilt for MSVSphere 8.8

Loading…
Cancel
Save