Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

Commented Feature: Some localized time units in Polish don't work when setting "Repeat task every:" feature. [12304]

$
0
0
Hi David,

The following localized Polish string don't work:
minut or minuty (for minutes)
godzin (for hours)

The following work:
godzina (for hour or hours)
Bez ograniczeń (for Indefinitely)
dzień (for day)

No Polish translation for minutes seem to work. Call to:

internal bool TryParse(string s, IFormatProvider provider, out TimeSpan result)

in TimeSpanFormatInfo class returns false for minut or minuty.

Thanks,
Audi
Comments: ** Comment from web user: apbangi **

Hi David,

One of our localization developers reported this:

IIZUKA, M.:18Dec2015 at 00:14:16:
Mixed UI language in TaskEditor when application UI culture and format of Windows region
are not the same. Please see TaskEditor_Mixed.png. The example is that application UI is
Japanese and format of Windows region setting is Polish.

Problem is CultureInfo.CurrentCulture is used to load resource. .
CultureInfo.CurrentUICulture should be used.

Following codes have problem.
TaskEditor Project
NativeMethods.cs
FullDateTimePicker.cs
TimeSpan2\TimeSpanFormatInfo.cs
TimeSpan2\TimeSpanPicker.cs

About the DatePicker, it seems that this is a Microsoft bug:
https://support.microsoft.com/en-us/kb/889834


Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>