diff --git a/cura.spec b/cura.spec index b831c2b..f253815 100644 --- a/cura.spec +++ b/cura.spec @@ -1,7 +1,7 @@ Name: cura Epoch: 1 Version: 2.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: 3D printer control software License: AGPLv3+ @@ -67,6 +67,12 @@ sed -i '1s=^#!/usr/bin/\(python\|env python\)3*=#!%{__python3}=' cura_app.py # 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/"ptbr"/"pt_BR"/' resources/qml/Preferences/GeneralPage.qml + +# Invalid locale name jp +# https://github.com/Ultimaker/Uranium/issues/277 +mv resources/i18n/{jp,ja} +sed -i 's/"jp"/"ja"/' resources/qml/Preferences/GeneralPage.qml %build %{cmake} -DCURA_VERSION:STRING=%{version} . @@ -123,6 +129,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %{_prefix}/lib/%{name} %changelog +* Wed Aug 30 2017 Miro Hrončok - 1:2.7.0-2 +- Relocate Japanese locale to ja + * Wed Aug 30 2017 Miro Hrončok - 1:2.7.0-1 - Update to 2.7.0