[packages/cura] - fix Japanese locale - rel 2
baggins
baggins at pld-linux.org
Mon May 15 09:17:23 CEST 2017
commit eb2968f295bb8f937d477d53f1e7737b69e157e8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon May 15 09:17:08 2017 +0200
- fix Japanese locale
- rel 2
cura.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/cura.spec b/cura.spec
index 58d8283..c9bbe92 100644
--- a/cura.spec
+++ b/cura.spec
@@ -4,7 +4,7 @@
Summary: 3D printer control software
Name: cura
Version: 2.5.0
-Release: 1
+Release: 2
Epoch: 1
Group: Applications/Engineering
# Code is AGPLv3
@@ -74,7 +74,10 @@ sed -i '1s=^#!%{_bindir}/\(python\|env python\)3*=#!%{__python3}=' cura_app.py
# Invalid locale name ptbr
# https://github.com/Ultimaker/Uranium/issues/246
mv resources/i18n/{ptbr,pt_BR}
-sed -i 's/"Language: ptbr\n"/"Language: pt_BR\n"/' resources/i18n/pt_BR/*.po
+sed -i 's/"Language: ptbr\\n"/"Language: pt_BR\\n"/' resources/i18n/pt_BR/*.po
+
+mv resources/i18n/{jp,ja}
+sed -i 's/"Language: jp\\n"/"Language: ja\\n"/' resources/i18n/ja/*.po
# Failing test, mixes sets and lists :(
# Changed in master, not reporting to upstream
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cura.git/commitdiff/eb2968f295bb8f937d477d53f1e7737b69e157e8
More information about the pld-cvs-commit
mailing list