diff options
author | Barry Jackson <barjac@users.noreply.github.com> | 2023-01-05 15:22:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-05 15:22:25 +0000 |
commit | 8d6bb61cf2c23bba979716d9cb0ee26789f594bd (patch) | |
tree | e228c4131be5bc255a7b2e6a679fdd7c505b2241 /mk-mo | |
parent | 7651d383f33ee245a082e657a9055f318f5d6886 (diff) | |
download | remove-old-kernels-8d6bb61cf2c23bba979716d9cb0ee26789f594bd.tar remove-old-kernels-8d6bb61cf2c23bba979716d9cb0ee26789f594bd.tar.gz remove-old-kernels-8d6bb61cf2c23bba979716d9cb0ee26789f594bd.tar.bz2 remove-old-kernels-8d6bb61cf2c23bba979716d9cb0ee26789f594bd.tar.xz remove-old-kernels-8d6bb61cf2c23bba979716d9cb0ee26789f594bd.zip |
Add files via upload
initial import
Diffstat (limited to 'mk-mo')
-rw-r--r-- | mk-mo | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -0,0 +1,23 @@ +#!/bin/bash + +# Recreates ALL .mo binaries from .po text files in po directory + +[[ -d locale ]] && rm -r locale + +mkdir locale + +cd po + +for po in *.po; do + +echo $po + +molang=$(echo $po|rev|cut -d. -f2-|rev) + +mkdir -p ../locale/$molang/LC_MESSAGES + +msgfmt -vco ../locale/$molang/LC_MESSAGES/remove-old-kernels.mo $po + +done + +cd .. |