Skip to content

Commit

Permalink
tomb-git: add patch until italian translations are fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Narrat committed Dec 31, 2024
1 parent 4127102 commit 8e5f5e3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ pkgbase = tomb-git
provides = tomb
conflicts = tomb
source = tomb::git+https://github.com/dyne/Tomb.git
source = 0001-it.patch
source = _tomb
sha256sums = SKIP
sha256sums = 7be401ed4b6fd1600de91eeb9928d51089102050064aa9e2a5dda7cbd8c18a06
sha256sums = 8007bc208fdac3fbd7a61320b48c4c8073639b478fcc410145a3792986aca9e8

pkgname = tomb-git
Expand Down
14 changes: 14 additions & 0 deletions 0001-it.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
--- a/tomb/extras/translations/it.po
+++ b/tomb/extras/translations/it.po
@@ -1712,10 +1712,6 @@
msgid " -D print debugging information at runtime"
msgstr " -D mostra le informazioni di debug/runtime"

-#: tomb:Commandline interaction:usage:664
-msgid "For more information on Tomb read the manual: man tomb"
-msgstr "Per maggiori informazioni su Tomb leggi il manuale: man tomb"
-
#: tomb:Key operations:list_gnupg_ciphers:1215
msgid "gpg (GnuPG) is not found, Tomb cannot function without it."
msgstr "gpg (GnuPG) non trovato, Tomb non funziona senza di esso."

6 changes: 6 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ makedepends=('git' 'libgcrypt')
conflicts=("${_name}")
provides=("${_name}")
source=("${_name}::git+https://github.com/dyne/${_name//t/T}.git"
0001-it.patch
"_${_name}")
sha256sums=('SKIP'
'7be401ed4b6fd1600de91eeb9928d51089102050064aa9e2a5dda7cbd8c18a06'
'8007bc208fdac3fbd7a61320b48c4c8073639b478fcc410145a3792986aca9e8')


Expand All @@ -27,6 +29,10 @@ pkgver() {
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/v//'
}

prepare() {
patch -Np1 -i "${srcdir}"/0001-it.patch
}

build() {
cd "${_name}/extras/kdf-keys"
make
Expand Down

0 comments on commit 8e5f5e3

Please sign in to comment.