translatable therapy headings
authorpaul <paul@plutz.net>
Fri, 8 Apr 2016 14:26:46 +0000 (14:26 +0000)
committerpaul <paul@plutz.net>
Fri, 8 Apr 2016 14:26:46 +0000 (14:26 +0000)
svn path=/trunk/; revision=96

templates/text_therapy.sh
templates/therapy.css.sh
templates/therapy.html.sh

index d0a3202..ad05943 100755 (executable)
@@ -20,3 +20,5 @@
 item_name[prescriptionlist]="Zur Verordnungsliste"
 item_name[delete_session]="Therapiesitzung entfernen"
 item_name[therapist]="Therapeut"
+item_name[number]="Nr."
+item_name[signature]="Un&shy;ter&shy;schrift"
index d6a0135..face0b8 100755 (executable)
@@ -170,8 +170,9 @@ label.heading > span.no {
   border: none;
 }
 .tab > .date      { width: 30%; }
-.tab > .therapist { width: 40%; }
-.tab > .signature { width: 10%; }
+.tab > .therapist { width: 30%; }
+.tab > .signature { width: 20%; }
+label.tab > .signature { font-size: .75em; }
 .tab > .signature > button { display: inline-block; margin: 0; }
 /* fieldset.tab > button[type=submit] { width: 5%; text-align: center; margin-left: 5%;} */
 fieldset.tab > button[type=submit] { height: 2em; color: #FFF; font-weight: bold;}
index fd73e52..d850a70 100755 (executable)
@@ -157,10 +157,10 @@ cat <<EOF
   <input type="hidden" name="id" value="${id}">
 
   <label class="tab heading">
-    <span class=no>Nr.</span><!--
- --><span class=date>Datum</span><!--
- --><span class=therapist>Therapeut</span><!--
- --><span class=signature>Sig.</span>
+    <span class=no>$(l10n number)</span><!--
+ --><span class=date>$(l10n date)</span><!--
+ --><span class=therapist>$(l10n therapist)</span><!--
+ --><span class=signature>$(l10n signature)</span>
   </label>
 
   $(therapy_sessions)