]> git.plutz.net Git - confetti/blobdiff - templates/text_frame.sh
rename attendees section to more generic "cards" to allow alternate views for vcards
[confetti] / templates / text_frame.sh
index b76b58439baf3f9e35b012bcf0481f9cfd83720a..aa5858e5ec8252412954ebe712531b78480f7516 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright 2014, 2015 Paul Hänsch
+# Copyright 2014 - 2016 Paul Hänsch
 #
 # This file is part of Confetti.
 # 
 # You should have received a copy of the GNU Affero General Public License
 # along with Confetti.  If not, see <http://www.gnu.org/licenses/>. 
 
-declare -A item_name
-
-item_name[p_attendees]="Teilnehmende"
+item_name[p_cards]="Teilnehmende"
 item_name[p_courses]="Kurse"
 item_name[p_email]="Email"
 item_name[p_error]="Fehler"
-
-l10n() {
-  [ -n "$item_name[$1]" ] && echo -n "$item_name[$1]" || echo -n "$1"
-}