Debian Codegraph @

po/l10n_test

raw symbols SCIP
1 #!/usr/bin/env bash
2
3 # Copyright © 2021 Dr. Helge Kreutzmann <[email protected]>
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 if [ -d man1 ]; then
19 lcode=$(basename $(pwd))
20 elif [ a"$1" != a ]; then
21 if [ -d $1 ]; then
22 cd $1
23 lcode=$1
24 else
25 echo "Language $1 could not be found, aborting"
26 exit 11
27 fi
28 else
29 echo "Could not determine target directory, aborting"
30 exit 12
31 fi
32
33 #cat ../l10n_set
34 source ../l10n_set
35
36 echo "Code: $lcode - Langname: $langname - langname_translated: $langname_translated"
37 echo "hint: $hint1 ### $hint2"
38 echo "langmail: $langmail"