[ktp-call-ui] make missing translations non-fatal (for now)

Rex Dieter rdieter at fedoraproject.org
Thu Jul 26 16:39:21 UTC 2012


commit bed9b50d7f845ee6a3256453ada467a379b87a52
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Thu Jul 26 11:42:47 2012 -0500

    make missing translations non-fatal (for now)

 ktp-call-ui.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/ktp-call-ui.spec b/ktp-call-ui.spec
index fe7df75..0f1e199 100644
--- a/ktp-call-ui.spec
+++ b/ktp-call-ui.spec
@@ -40,7 +40,8 @@ rm -rf %{buildroot}
 
 make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
-%find_lang %{name} --all-name --with-kde
+touch %{name}.lang
+%find_lang %{name} --all-name --with-kde || echo "WARNING: no translations found"
 
 
 %post -p /sbin/ldconfig


More information about the scm-commits mailing list