forked from organicmaps/organicmaps
Uppercase every first letter for translations.
This commit is contained in:
parent
52f00c7b4a
commit
551a36da9e
1 changed files with 1 additions and 1 deletions
|
@ -20,5 +20,5 @@ LANGUAGES=( en ar cs da de el es fi fr he hu id it ja ko nb nl pl pt ro ru sk sv
|
|||
|
||||
for lang in "${LANGUAGES[@]}"; do
|
||||
TRANSLATION=$(trans -b "$SRC:$lang" "$WORD" | sed 's/ *//')
|
||||
echo "$lang:$TRANSLATION"
|
||||
echo "$lang:$(tr '[:lower:]' '[:upper:]' <<< ${TRANSLATION:0:1})${TRANSLATION:1}"
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue