From a1546251a184dae81a34cf2ddda51934f7ce7157 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Mon, 13 Sep 2021 10:14:56 +0200 Subject: Translated using Weblate (Czech) Currently translated at 90.5% (143 of 158 strings) spec: Replace not working awk command with sed (#382) Sed command get version number from spec file and increment last number by one. Work like old awk command was intended to work. Source: https://stackoverflow.com/questions/14348432/how-to-find-replace-and-increment-a-matched-number-with-sed-awk/14348899 (cherry picked from commit bfda3cc2acdea827909e6c89bda5bbb5140cda6c) Co-authored-by: Jan Macku Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/cs/ Translation: fedora-sysv/initscripts --- Makefile | 2 +- po/cs.po | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4d77e363..eb67cc0c 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ localstatedir = /var sharedstatedir = $(localstatedir)/lib VERSION := $(shell gawk '/Version:/ { print $$2 }' initscripts.spec) -NEXT_VERSION := $(shell gawk '/Version:/ { print $$2 + 0.01 }' initscripts.spec) +NEXT_VERSION := $(shell sed -nr 's/Version:[ ]*([0-9]*)\.([0-9]*)\.([0-9]*)/echo "\1\.\2\.$$((\3+1))"/gep' initscripts.spec) all: make-binaries make-translations diff --git a/po/cs.po b/po/cs.po index 5762ea03..14b90966 100644 --- a/po/cs.po +++ b/po/cs.po @@ -8,13 +8,14 @@ # Zdenek , 2016. #zanata # Zdenek , 2017. #zanata # Daniel Rusek , 2020. +# Jan Macku , 2021. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n" -"PO-Revision-Date: 2020-09-01 12:29+0000\n" -"Last-Translator: Daniel Rusek \n" +"PO-Revision-Date: 2021-09-13 08:14+0000\n" +"Last-Translator: Jan Macku \n" "Language-Team: Czech \n" "Language: cs\n" @@ -22,7 +23,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Weblate 4.2.1\n" +"X-Generator: Weblate 4.8\n" #: ../network-scripts/ifdown:15 ../network-scripts/ifdown:22 msgid "usage: ifdown " @@ -514,6 +515,8 @@ msgstr "" #: ../network-scripts/network-functions-ipv6:895 msgid "Given IPv6 default device '$device' requires an explicit nexthop" msgstr "" +"Zadané implicitní IPv6 zařízení '$device' vyžaduje explicitní zadání adresy " +"dalšího skoku" #: ../network-scripts/network-functions-ipv6:898 msgid "Given IPv6 default device '$device' doesn't exist or isn't up" -- cgit v1.2.1