[Pkg-bitcoin-commits] [electrum] 05/07: Update translations patch and translations.
Tristan Seligmann
mithrandi at moszumanska.debian.org
Sun May 4 08:47:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
mithrandi pushed a commit to branch master
in repository electrum.
commit a88a15df9116ca6ecf378bd9e58a98dbacf496fc
Author: Tristan Seligmann <mithrandi at debian.org>
Date: Sun May 4 10:00:55 2014 +0200
Update translations patch and translations.
---
debian/README.source | 2 +-
debian/changelog | 2 ++
debian/electrum-translations.zip | Bin 805886 -> 859089 bytes
.../3001_dont_fetch_translations_from_web.patch | 12 ++++++------
debian/rules | 2 ++
5 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/debian/README.source b/debian/README.source
index 1324f0c..78c6991 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -17,7 +17,7 @@ Translations
The file debian/electrum-translations.zip is retrieved from upstream's
translations management site; the URL is:
- http://crowdin.net/download/project/electrum.zip
+ https://crowdin.net/download/project/electrum.zip
Currently updating this is a manual process.
diff --git a/debian/changelog b/debian/changelog
index fc32703..2f2cab3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
electrum (1.9.8-1) UNRELEASED; urgency=medium
* New upstream release.
+ * Update translations patch and translations.
+ * Install upstream changelog.
-- Tristan Seligmann <mithrandi at debian.org> Sun, 04 May 2014 09:50:34 +0200
diff --git a/debian/electrum-translations.zip b/debian/electrum-translations.zip
index 43eaf12..1fd61ef 100644
Binary files a/debian/electrum-translations.zip and b/debian/electrum-translations.zip differ
diff --git a/debian/patches/3001_dont_fetch_translations_from_web.patch b/debian/patches/3001_dont_fetch_translations_from_web.patch
index 82e8d3b..165374a 100644
--- a/debian/patches/3001_dont_fetch_translations_from_web.patch
+++ b/debian/patches/3001_dont_fetch_translations_from_web.patch
@@ -1,16 +1,16 @@
Description: Do not fetch webpage during build
Script mki18n.py generates the po file for which it retrives data
from the web. This patch makes the script read the translations from
- a locally saved file debian/electrum.translations.
+ a locally saved file debian/electrum-translations.zip.
Author: Vasudev Kamath <kamathvasudev at gmail.com>,
Tristan Seligmann <mithrandi at mithrandi.net>
Forwarded: not-needed
-Last-Update: 2013-06-22
+Last-Update: 2014-05-04
Index: electrum/mki18n.py
===================================================================
---- electrum.orig/mki18n.py 2013-11-28 00:06:17.002789913 +0200
-+++ electrum/mki18n.py 2013-11-28 00:06:36.431091871 +0200
+--- electrum.orig/mki18n.py 2014-05-04 09:53:01.848401254 +0200
++++ electrum/mki18n.py 2014-05-04 09:58:00.568908854 +0200
@@ -1,41 +1,13 @@
#!/usr/bin/python
-from StringIO import StringIO
@@ -21,8 +21,8 @@ Index: electrum/mki18n.py
crowdin_file_name = 'electrum-client/messages.pot'
locale_file_name = 'locale/messages.pot'
--if os.path.exists('build/crowdin_api_key.txt'):
-- crowdin_api_key = open('build/crowdin_api_key.txt').read()
+-if os.path.exists('contrib/crowdin_api_key.txt'):
+- crowdin_api_key = open('contrib/crowdin_api_key.txt').read()
-
- # Generate fresh translation template
- if not os.path.exists('locale'):
diff --git a/debian/rules b/debian/rules
index 7c26fd0..2b33424 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,8 @@ DEB_UPSTREAM_CRUFT_MOVE = ecdsa aes
# Ignore graphics and .mo files in addition to the default debian files
DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(locale/.*/.*\.mo|data/dark/.*\.png|icons/.*\.png|LICENSE|debian/(changelog|copyright(|_hints|_newhints)|electrum.translations))$
+DEB_INSTALL_CHANGELOGS_ALL=RELEASE-NOTES
+
pre-build::
python mki18n.py
pyrcc4 icons.qrc -o gui/icons_rc.py
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/electrum.git
More information about the Pkg-bitcoin-commits
mailing list