]> git.plutz.net Git - confetti/blobdiff - cards/l10n.sh
basic support for telephone type
[confetti] / cards / l10n.sh
index c9161733bbf8b14385605141eed975e005bf7497..841adb4977ddc45c3fbddfc051af61ea58c3d0d4 100755 (executable)
@@ -16,7 +16,9 @@
 # along with Confetti.  If not, see <http://www.gnu.org/licenses/>. 
 
 l10n(){
-  case $1 in
+  local word
+  [ $# -eq 0 ] && read -r word || word="$1"
+  case $word in
     PHOTO) printf %s "Foto";;
     LOGO) printf %s "Logo";;
     FN) printf %s "Voller Name";;
@@ -89,10 +91,10 @@ l10n(){
     new_prescription) printf %s "Neue Verordnung";;
     no_icd) printf %s "Kein ICD Code";;
   
-    X-ZACK-JOINDATE) printf %s "An&shy;mel&shy;de&shy;da&shy;tum";;
+    X-ZACK-JOINDATE)  printf %s "An&shy;mel&shy;de&shy;da&shy;tum";;
     X-ZACK-LEAVEDATE) printf %s "Ab&shy;mel&shy;de&shy;da&shy;tum";;
-    label_join) printf %s "Anm.";;
-    label_leave) printf %s "Abm.";;
+    X-ZACK-JOINDATE_short)  printf %s "Anm.";;
+    X-ZACK-LEAVEDATE_short) printf %s "Abm.";;
   
     edit) printf %s "Bearbeiten";;
     edit_categories) printf %s "Kategorien Bearbeiten";;
@@ -133,6 +135,13 @@ l10n(){
     male) printf %s "&#x2642;";;
     other) printf %s "&#x26A5;";;
     none) printf %s "&#x26AA;";;
+
+    teltype) printf %s "Anschlusstyp:";;
+    HOME) printf %s "Privat";;
+    WORK) printf %s "Geschäftlich";;
+    CELL) printf %s "Mobil";;
+    FAX) printf %s "Fax";;
+
     *) printf %s "$1";;
   esac
 }