diff options
author | Robert Tari <robert@tari.in> | 2022-08-14 19:54:16 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2022-08-16 18:10:26 +0200 |
commit | de319a7f92a0a74a38e15c2ab6f54144fe25bda9 (patch) | |
tree | a95541c8787c34a651d8392d4ecfe7c83dd4d98f /update-pot.sh | |
parent | 7d9327a7a9e258c38e7fa4bf91ee61924c20f30d (diff) | |
download | ayatana-indicator-printers-de319a7f92a0a74a38e15c2ab6f54144fe25bda9.tar.gz ayatana-indicator-printers-de319a7f92a0a74a38e15c2ab6f54144fe25bda9.tar.bz2 ayatana-indicator-printers-de319a7f92a0a74a38e15c2ab6f54144fe25bda9.zip |
Update translation scripts
Diffstat (limited to 'update-pot.sh')
-rwxr-xr-x | update-pot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update-pot.sh b/update-pot.sh index e7e38f5..610f87d 100755 --- a/update-pot.sh +++ b/update-pot.sh @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/> -GETTEXT_DOMAIN=$(cat configure.ac | grep -E "^GETTEXT_PACKAGE=" | sed -e 's/GETTEXT_PACKAGE=//') +GETTEXT_DOMAIN=$(cat CMakeLists.txt | grep 'set.*(.*GETTEXT_PACKAGE' | sed -r -e 's/.*\"([^"]+)\"\)/\1/') cd po/ && intltool-update --gettext-package ${GETTEXT_DOMAIN} --pot && cd - 1>/dev/null |