From 9adef493a1bcd9c3722f143e7fef05c490e88246 Mon Sep 17 00:00:00 2001 From: VictorR2007 Date: Sun, 14 Aug 2016 11:55:57 +0300 Subject: [PATCH] Fix Russian translations --- git-2.7.3-fix_translate.patch | 12 ++++++++++++ git.spec | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 git-2.7.3-fix_translate.patch diff --git a/git-2.7.3-fix_translate.patch b/git-2.7.3-fix_translate.patch new file mode 100644 index 0000000..f4e8e4c --- /dev/null +++ b/git-2.7.3-fix_translate.patch @@ -0,0 +1,12 @@ +diff -urN git-2.7.3/po/ru.po git-2.7.3-patched/po/ru.po +--- git-2.7.3/po/ru.po 2016-03-11 01:11:15.000000000 +0300 ++++ git-2.7.3-patched/po/ru.po 2016-08-14 11:43:14.000000000 +0300 +@@ -1752,7 +1752,7 @@ + + #: wt-status.c:263 + msgid "both modified:" +-msgstr "оба измены:" ++msgstr "оба изменены:" + + #: wt-status.c:265 + #, c-format diff --git a/git.spec b/git.spec index fa4a972..763ec61 100644 --- a/git.spec +++ b/git.spec @@ -5,7 +5,7 @@ Summary: Global Information Tracker Name: git Version: 2.7.3 -Release: 1 +Release: 2 Epoch: 1 License: GPLv2+ Group: Development/Tools @@ -15,6 +15,7 @@ Source2: gitweb.conf Source3: %{profile_branch} # Do we really need it? It's not used anyway Source4: %{profile_env} +Patch0: git-2.7.3-fix_translate.patch BuildRequires: asciidoc BuildRequires: docbook-dtd45-xml BuildRequires: xmlto @@ -286,6 +287,7 @@ Shows the current git branch in your bash prompt. %prep %setup -q +%patch0 -p1 # remove borring file rm -f Documentation/.gitignore # prefix gitweb css/png files with /gitweb