Relocate Japanese locale to ja

This commit is contained in:
Miro Hrončok 2017-08-30 17:50:45 +02:00
commit 0517af875d

View file

@ -1,6 +1,6 @@
Name: python-uranium
Version: 2.7.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A Python framework for building desktop applications
License: AGPLv3+
URL: https://github.com/Ultimaker/Uranium
@ -61,6 +61,11 @@ sed -i 's|lib/python${PYTHON_VERSION_MAJOR}/dist-packages|%(echo %{python3_sitel
mv resources/i18n/{ptbr,pt_BR}
sed -i 's/"Language: ptbr\n"/"Language: pt_BR\n"/' resources/i18n/pt_BR/*.po
# Invalid locale name jp
# https://github.com/Ultimaker/Uranium/issues/277
mv resources/i18n/{jp,ja}
# empty file. appending to the end to make sure we are not overriding
# a non empty file in the future
echo '# empty' >> UM/Settings/ContainerRegistryInterface.py
@ -113,6 +118,9 @@ popd
%changelog
* Wed Aug 30 2017 Miro Hrončok <mhroncok@redhat.com> - 2.7.0-2
- Relocate Japanese locale to ja
* Wed Aug 30 2017 Miro Hrončok <mhroncok@redhat.com> - 2.7.0-1
- Update to 2.7.0 (#1486741)