From d2899f2ade9cbe8e1af2be80f07a9ad202503268 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 24 Oct 2012 16:08:52 +0200 Subject: [PATCH] locale: rework helperscripts Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/ca88052c14c8653bfea6d0c7740476c639525e02 Author: vanhofen Date: 2012-10-24 (Wed, 24 Oct 2012) Origin message was: ------------------ - locale: rework helperscripts --- data/locale/helpers/create-locals.h | 13 +++++-------- data/locale/helpers/create-locals_intern.h | 19 +++++-------------- 2 files changed, 10 insertions(+), 22 deletions(-) diff --git a/data/locale/helpers/create-locals.h b/data/locale/helpers/create-locals.h index efad5d9d8..946b43138 100755 --- a/data/locale/helpers/create-locals.h +++ b/data/locale/helpers/create-locals.h @@ -1,6 +1,6 @@ #!/bin/bash # usage: cut -d' ' -f1 english.locale | LC_ALL=C sort | uniq | tr [:lower:] [:upper:] | tr \. \_ | tr \- \_ | tr -d \? | ./helpers/create-locals.h -cat > locals.h < locals.h < locals.h <> locals.h; - fi + echo $'\t'"LOCALE_$id," >> locals.h; done + cat >> locals.h < locals_intern.h < locals_intern.h < locals_intern.h <> locals_intern.h; - fi + echo $'\t'"\"$id\"," >> locals_intern.h; done + cat >> locals_intern.h <