Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x11-packages/lenmus/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A free program to help you in the study of music theory
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=6.0.1
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://github.com/lenmus/lenmus/archive/refs/tags/Release_${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=1fa5b8edc468c800598845aa809b4a4e93058ed13af40bfacd037c44d1c4bc1d
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
18 changes: 18 additions & 0 deletions x11-packages/lenmus/set-language.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
--- a/src/app/lenmus_app.cpp
+++ b/src/app/lenmus_app.cpp
@@ -710,13 +710,8 @@ void TheApp::set_up_locale(wxString lang)
// locale object re-initialization
delete m_pLocale;
m_pLocale = LENMUS_NEW wxLocale();
- if (!m_pLocale->Init("", lang, "", false))
- {
- wxMessageBox( wxString::Format("Language %s can not be set. "
- "Please, verify that any required language codepages are installed in your system.",
- sLangName.wx_str()));
- }
- else if (lang != "en")
+ m_pLocale->Init("", lang, "", false);
+ if (lang != "en")
{
wxString sPath = pPaths->GetLocaleRootPath();
m_pLocale->AddCatalogLookupPathPrefix( sPath );