File indexing completed on 2024-05-12 15:55:27
0001 #!/bin/sh -e 0002 # Print sorted statistics for all po files in the po directory. 0003 # Don't forget the one source of truth for localization data: 0004 # https://l10n.kde.org/stats/gui/trunk-kf5/po/kphotoalbum.po/ 0005 0006 # SPDX-FileCopyrightText: 2022 Johannes Zarl-Zierl <johannes@zarl-zierl.at> 0007 # 0008 # SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-KDE-Accepted-LGPL 0009 0010 cd po 0011 for lang in * 0012 do 0013 test -d "$lang" || continue 0014 printf '%12s ' "$lang" 0015 LC_ALL=C msgfmt -o /dev/null --statistics "$lang"/*.po 2>&1 0016 done | sort -r -g -k'1.13'