diff options
author | Jan Macku <jamacku@redhat.com> | 2021-09-13 10:14:56 +0200 |
---|---|---|
committer | Jan Macku <jamacku@redhat.com> | 2021-09-13 10:30:27 +0200 |
commit | a1546251a184dae81a34cf2ddda51934f7ce7157 (patch) | |
tree | 16298709f7c509fb782cc815a4cccbacb56a75ad | |
parent | 3e07ebc4319e713b9d7ec402cb1fa47bf14340dd (diff) | |
download | initscripts-a1546251a184dae81a34cf2ddda51934f7ce7157.tar initscripts-a1546251a184dae81a34cf2ddda51934f7ce7157.tar.gz initscripts-a1546251a184dae81a34cf2ddda51934f7ce7157.tar.bz2 initscripts-a1546251a184dae81a34cf2ddda51934f7ce7157.tar.xz initscripts-a1546251a184dae81a34cf2ddda51934f7ce7157.zip |
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 <jamacku@redhat.com>
Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/cs/
Translation: fedora-sysv/initscripts
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | po/cs.po | 9 |
2 files changed, 7 insertions, 4 deletions
@@ -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 @@ -8,13 +8,14 @@ # Zdenek <chmelarz@gmail.com>, 2016. #zanata # Zdenek <chmelarz@gmail.com>, 2017. #zanata # Daniel Rusek <mail@asciiwolf.com>, 2020. +# Jan Macku <jamacku@redhat.com>, 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 <mail@asciiwolf.com>\n" +"PO-Revision-Date: 2021-09-13 08:14+0000\n" +"Last-Translator: Jan Macku <jamacku@redhat.com>\n" "Language-Team: Czech <https://translate.fedoraproject.org/projects/" "fedora-sysv/initscripts/cs/>\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 <configuration>" @@ -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" |