[MacPorts] #31295: kmymoney4 starts with an error
MacPorts
noreply at macports.org
Sun Sep 18 11:08:21 PDT 2011
#31295: kmymoney4 starts with an error
-------------------------------------+--------------------------------------
Reporter: vazspam-forum@… | Owner: mk@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: kmymoney4
-------------------------------------+--------------------------------------
Comment(by mk@…):
and the code you mention checks that the decimal symbol is not empty:
{{{
if (KGlobal::locale()->monetaryDecimalSymbol().isEmpty()) {
KMessageBox::error(0, i18n("The monetary decimal symbol is not
correctly
set in the KDE System Settings module Country/Region & Language. Please
set it
to a reasonable value and start KMyMoney again."), i18n("Invalid
settings"));
delete a;
exit(1);
}
}}}
There needs to be a value, otherwise the whole application would not work
properly.
> Jack wrote:
>
> I haven't yet found where the
> settings are stored, but I assume somewhere under ~/.kde4.
They are stored in ~/.kde4/share/config/kdeglobals. Here you see the
German
version :)
{{{
[Locale]
DecimalSymbol=,
MonetaryDecimalSymbol=,
MonetaryThousandsSeparator=.
ThousandsSeparator=.
}}}
There can also be global places, but the exact location depend on the
distro
as it seems to me. In case the value returned is empty, there must be a
setting somewhere, as the default in code when no entry is found is ','
and
'.' as used in the US locale.
Note: On my openSUSE system, I found /etc/kde4/share/config/kdeglobals.
Hope that helps.
Thomas
--
Ticket URL: <https://trac.macports.org/ticket/31295#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list