]> git.plutz.net Git - confetti/commitdiff
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 d0a32024c772794123e2e80b4dbfae6a153883b3..ad059430530020d97627d8006ee19cca0f09109c 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 d6a0135697c7ad1cd571c6ca4cc8dd27a0f64694..face0b84899326ec10ab8158eaf8f4c394456f91 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 fd73e52eea326e97bb846739f571a5ff8ebcd62a..d850a70d21a46dab95dbb6317b84182ec33f5446 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)