Home » U++ Library support » U++ Library : Other (not classified elsewhere) » [Win32 - FileSel - System Places Improvement] - Disk name
[Win32 - FileSel - System Places Improvement] - Disk name [message #40149] |
Sat, 22 June 2013 12:39 |
|
Klugier
Messages: 1075 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello,
I have noticed that FileSel shows only letter in system places if the disk (partition) dosen't have a name. We should change this behavior and call that disk simply: "Local Disk". This is the default notation on Windows. All we need to do is just to modify FileSel source code (CtrlLib/FileSel.cpp - Line 1713):
if(desc.GetCount() == 0)
desc << " " << t_("Local Disk");
desc << " (" << n << ")";
Instead of:
if(desc.GetCount())
desc << " (" << n << ")";
else
desc = n;
Of course, We will need to make translation of "Local Disk" phrase. I have posted my national translation:
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Sat, 22 June 2013 12:57] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Mar 28 18:33:41 CET 2024
Total time taken to generate the page: 0.01357 seconds
|