[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 13a9a9d 10/10: Simplify German address formatting,
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 13a9a9d 10/10: Simplify German address formatting, bump version to 0.8.6 |
Date: |
Fri, 8 Oct 2021 14:00:02 -0400 (EDT) |
branch: externals/ebdb
commit 13a9a9d1e91afde5d915a580060eb9c2f692e2d9
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Simplify German address formatting, bump version to 0.8.6
This will probably have to be changed again in the future, but this is
"correct enough" for now.
* ebdb-i18n-basic.el (ebdb-string-i18n): Output postcode before
locality; skip neighborhood and region for now.
---
ebdb-i18n-basic.el | 7 +++----
ebdb.el | 2 +-
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/ebdb-i18n-basic.el b/ebdb-i18n-basic.el
index 3758993..289df39 100644
--- a/ebdb-i18n-basic.el
+++ b/ebdb-i18n-basic.el
@@ -281,10 +281,9 @@ itself."
(concat
(when streets
(concat (mapconcat #'identity streets "\n") "\n"))
- (ebdb-concat ", " (ebdb-address-locality address)
- (ebdb-address-neighborhood address)
- (ebdb-concat " " (ebdb-address-region address)
- (ebdb-address-postcode address)))
+ (when postcode
+ (format "%s " postcode))
+ locality
"\n"
(car-safe (rassq 'deu (ebdb-i18n-countries))))))
diff --git a/ebdb.el b/ebdb.el
index bf84cc1..74916f5 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -2,7 +2,7 @@
;; Copyright (C) 2016-2021 Free Software Foundation, Inc.
-;; Version: 0.8.5
+;; Version: 0.8.6
;; Package-Requires: ((emacs "25.1") (seq "2.15"))
;; Maintainer: Eric Abrahamsen <eric@ericabrahamsen.net>
- [elpa] externals/ebdb updated (b08a526 -> 13a9a9d), Eric Abrahamsen, 2021/10/08
- [elpa] externals/ebdb 4fd89fe 01/10: Make all address slots skippable, Eric Abrahamsen, 2021/10/08
- [elpa] externals/ebdb a5571cf 03/10: Add address i18n for Singapore, Eric Abrahamsen, 2021/10/08
- [elpa] externals/ebdb 8573c7f 02/10: Fix argument order in ebdb-read-i18n, Eric Abrahamsen, 2021/10/08
- [elpa] externals/ebdb 082acb1 05/10: Fix retrieval of default when editing object labels, Eric Abrahamsen, 2021/10/08
- [elpa] externals/ebdb 044b022 04/10: Remove the Universal Time flag for timestamp output, Eric Abrahamsen, 2021/10/08
- [elpa] externals/ebdb 4aa9845 07/10: Improve reading of states in German addresses, Eric Abrahamsen, 2021/10/08
- [elpa] externals/ebdb 8700b4a 06/10: Don't show redundant labels for fields that don't have their own, Eric Abrahamsen, 2021/10/08
- [elpa] externals/ebdb 13a9a9d 10/10: Simplify German address formatting, bump version to 0.8.6,
Eric Abrahamsen <=
- [elpa] externals/ebdb 3e6bed6 09/10: Borrow changes from notification branch, Eric Abrahamsen, 2021/10/08
- [elpa] externals/ebdb 53773d1 08/10: Remove UK address read method from i18n-basic, Eric Abrahamsen, 2021/10/08