- Status Closed
- Percent Complete
- Task Type Bug Report
- Category Backend / Core
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version 2.34-rc4
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Photo Organizer
Opened by Marcus Hinz - 2007-09-01
Last edited by Solomon Peachy - 2007-09-02
Opened by Marcus Hinz - 2007-09-01
Last edited by Solomon Peachy - 2007-09-02
FS#288 - Preferences in photo upload
The preferences in "My Setting - Photo upload" (gamma, sharpen radius etc.) are not working correctly in german translation. I think the reason is the decimal-delimter (1,5 in German - 1.5 in US).
Closed by Solomon Peachy
2007-09-02 17:44
Reason for closing: Fixed
Additional comments about closing: ...
2007-09-02 17:44
Reason for closing: Fixed
Additional comments about closing: ...
@$^@!!
Why, oh why isn't there a simple way to ignore locale settings?
I think I got all cases where we pass floatings point numbers to external applications; r1662 has the last commit.
I won't be able to test this personally for a few hours, so please let me know if it works...
Sorry, it still doesn't work correctly. If I for example choose "1.5" for gamma in photo upload settings and save it, the value changes to "2.2" automatically. Maybe the right value is passed to the external application.
The same problem exists for "sharpen radius", "Brightness (dcraw)", "Gamma (ufraw)" and "Gamma linearity"
Ah, I was misunderstanding what the problem was.. but I ended up fixing the next step in the chain anyway.
I'll see what I can figure out.
I think I got it this time.
I had to disable the use of locale-specific number formatting altogether, and instead convert as needed. There are places where the output needs to be fixed up (eg aperture) but I'd rather have "misformat" instead of "notwork"..
Please test and let me know if it works for you.
Good job!!! Now it works for me. Thank you!