Bug#776078: kupfer: calculator plugin: decimal separator is not localized

2017-02-15 Thread Ulrik Sverdrup
I'm normally not an enemy of localization, but adapting the number
syntax in calculator is contrary to the construction of the plugin. It's
documented like this:

> The Calculator uses python's math and complex math modules, and parses
expressions as Python expressions.

So from upstream’s side, it will not change in the existing calculator.
If you reimagine a calculator plugin and implement it, not based on
python expressions, it's welcome as an addition either to replace it or
be a separate plugin alongside the existing one.

Ulrik



Bug#776078: kupfer: calculator plugin: decimal separator is not localized

2015-02-14 Thread Hugo Lefeuvre
Hi Oliver,

Thanks for reporting bugs.
I'll forward this issue to kupfer's upstream. It will take time.

Regards,
 Hugo

-- 
  Hugo Lefeuvre (hugo6390)|www.hugo6390.org
4096/ ACB7 B67F 197F 9B32 1533 431C AC90 AC3E C524 065E


signature.asc
Description: Digital signature


Bug#776078: kupfer: calculator plugin: decimal separator is not localized

2015-01-23 Thread Oliver Grimm
Package: kupfer
Version: 0+v208-5
Severity: normal
Tags: l10n

Dear Maintainer,

kupfer does not correctly handle localized decimal separators with the
calculator plugin.
To reproduce try:
- be sure to run kupfer with a locale that uses a different decimal separator
than . (here: German locale with ,)
- start kupfer
- be sure to enable the calculator plugin in the settings
- type = to start the calculator mode
- enter 1000 * 1,1
- kupfer returns the error message complex() argument must be a string or
number
- typing =1000*1.1 works fine, though.


regards,
Oliver



-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'stable-updates'), (500, 
'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kupfer depends on:
ii  dbus  1.8.12-3
ii  python-dbus   1.2.0-2+b3
ii  python-gobject3.14.0-1
ii  python-gtk2   2.24.0-4
ii  python-keybinder  0.3.0-3
ii  python-xdg0.25-4
pn  python:anynone

Versions of packages kupfer recommends:
ii  python-keyring  4.0-1
ii  python-wnck 2.32.0+dfsg-3

Versions of packages kupfer suggests:
pn  python-cjson none
pn  python-gdata none
pn  python-qrencode  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org