locale: move scripts to subdir 'helpers/'

Origin commit data
------------------
Branch: ni/coolstream
Commit: f0bfe2167c
Author: vanhofen <vanhofen@gmx.de>
Date: 2012-10-24 (Wed, 24 Oct 2012)

Origin message was:
------------------
- locale: move scripts to subdir 'helpers/'

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2012-10-24 15:45:57 +02:00
parent 8d82a008c7
commit 8f54d552d3
6 changed files with 7 additions and 7 deletions

View File

@@ -43,11 +43,11 @@ ordercheck: $(top_srcdir)/data/locale/$(master.locale)
locals.h: ordercheck locals.h: ordercheck
cut -d' ' -f1 $(top_srcdir)/data/locale/$(master.locale) | LC_ALL=C sort | uniq | tr [:lower:] [:upper:] | tr \. \_ | tr \- \_ | tr -d \? | \ cut -d' ' -f1 $(top_srcdir)/data/locale/$(master.locale) | LC_ALL=C sort | uniq | tr [:lower:] [:upper:] | tr \. \_ | tr \- \_ | tr -d \? | \
$(top_srcdir)/data/locale/create.locals.h $(top_srcdir)/data/locale/helpers/create-locals.h
locals_intern.h: ordercheck locals_intern.h: ordercheck
cut -d' ' -f1 $(top_srcdir)/data/locale/$(master.locale) | LC_ALL=C sort | uniq | \ cut -d' ' -f1 $(top_srcdir)/data/locale/$(master.locale) | LC_ALL=C sort | uniq | \
$(top_srcdir)/data/locale/create.locals_intern.h $(top_srcdir)/data/locale/helpers/create-locals_intern.h
check: locals.h locals_intern.h check: locals.h locals_intern.h
diff locals.h $(top_srcdir)/src/system diff locals.h $(top_srcdir)/src/system

View File

@@ -17,7 +17,7 @@ english.locale is considered the master file.
Verfication of .locale files: Verfication of .locale files:
----------------------------- -----------------------------
Use the check.locale.files shell script for detecting Use ./helpers/check-locale for detecting in master file
- violations of the sorting order, - violations of the sorting order,
- missing translations and - missing translations and
- legacy strings. - legacy strings.
@@ -51,7 +51,7 @@ Or use for item 3-6 'make locals'
8.) 8.)
To the extent possible, update other locale file. For this, the To the extent possible, update other locale file. For this, the
Perl-script create-locals-update.pl may be useful. Perl-script ./helpers/create-locals-work may be useful.
9.) 9.)
If committing the changes to Git, commit both the involved If committing the changes to Git, commit both the involved

View File

@@ -9,7 +9,7 @@
$masterfilename = "english.locale"; $masterfilename = "english.locale";
$#ARGV == 0 || die("Usage: create-locals-update.pl file.locale."); $#ARGV == 0 || die("Usage: create-locals-work file.locale.");
$no_errors = 0; $no_errors = 0;
$last_was_ok = 1; $last_was_ok = 1;

View File

@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# usage: cut -d' ' -f1 english.locale | LC_ALL=C sort | uniq | tr [:lower:] [:upper:] | tr \. \_ | tr \- \_ | tr -d \? | ./create.locals.h # 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 <<EOF cat > locals.h <<EOF
#ifndef __locals__ #ifndef __locals__
#define __locals__ #define __locals__

View File

@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# usage: cut -d' ' -f1 english.locale | LC_ALL=C sort | uniq | ./create.locals_intern.h # usage: cut -d' ' -f1 english.locale | LC_ALL=C sort | uniq | ./helpers/create-locals_intern.h
cat > locals_intern.h <<EOF cat > locals_intern.h <<EOF
#ifndef __locals_intern__ #ifndef __locals_intern__
#define __locals_intern__ #define __locals_intern__