- This topic has 9 replies, 2 voices, and was last updated 7 years, 1 month ago by HeDiBo.
-
AuthorPosts
-
April 8, 2017 at 9:53 am #37428HeDiBoParticipant
Internal skins are mostly what applications will use. In localization a programmer may change the internal name to something that makes sense in the local language. For instance “Zest” doesn't mean anything in Dutch. But in choosing the skin the user of the app must know what the skin “Zest” stands for, the programmer may change that name to the Dutch equivalent (“Citroen” or “Oranjeschil”).
Also, the addition of “(internal)” will make no sense to a user who can choose nothing else but internal skins.
By changing the internal name, the programmer looses the possibility to use “Update All Skins” in the InternalSkins dialog.
I suggest to store the original skin name inside of the skin, and to scan the external skins for this name.
It's not a good idea to use the filename to represent an internal skin name. The internal skin name may even contain characters that are not allowed in a file name.
April 10, 2017 at 11:33 am #56464SupportKeymasterInteresting idea, I will think.
April 18, 2017 at 1:00 pm #56512SupportKeymasterDescribed feature will be implemented in the v12.06
April 18, 2017 at 1:34 pm #56517HeDiBoParticipant'Support' wrote:Described feature will be implemented in the v12.06
Really great
June 15, 2017 at 2:24 pm #56825HeDiBoParticipant'Support' wrote:Described feature will be implemented in the v12.06
Maybe I explained it wrongly.
My application is delivered with Internal Skins only.
Many of the internal skins are renamed to Dutch equivalents.
If I click “Update All” in the list if Internal Skins, none of the skins with a translated name are updated. I get the message: “These skins are not updated: ” followed by a list of renamed skin names.
My idea was that “Update All” would go for an update, using the original name, not the translated name. This would require that the Skin manager would maintain a list of original skin names against which the update would be done.
In that way, skin manager could also have a method for setting a skin using the original skin name (OrgSkinName := 'Notes Leather' would do the same as SkinName := 'Leder'). That would make the application easily localizable.
June 16, 2017 at 5:59 am #56829SupportKeymasterInternal skins should be updated after clicking the “Update all” button, even if renamed.
This feature doesn't work? Maybe you should remove all skins from list and add it again (old names will be stored in this case).
June 16, 2017 at 9:36 am #56833HeDiBoParticipant'Support' wrote:Internal skins should be updated after clicking the “Update all” button, even if renamed.
This feature doesn't work? Maybe you should remove all skins from list and add it again (old names will be stored in this case).
Strangest thing is: it works if you do it in the same Delphi session. However, if you terminate Delphi and restart it, the same problem occurs.
I have deleted and re-added these skins already several times. Always with the same result. I also downloaded one of the offending skins from the skin gallery: but it's the same skin, so that's not the problem either.
When I rebuild the latest AlphaSkins components, I always delete all old DCU's, DCP's and BPL's before regenerating. So, it can't be old stuff hanging around.
June 16, 2017 at 12:32 pm #56836HeDiBoParticipantAnother problem with SkinManager is this:
My SkinManager is placed on a DataModule. When I change the list of internal skins, and I close the project, Delphi does not see the change in SkinManager.InternalSkins. Therefore the change gets lost.
I think this is a simple oversight, easily corrected.
With respect of being unable to “Update All” internal skins, I tested that when I was sure, the DataModule was saved.
June 16, 2017 at 5:10 pm #56840SupportKeymasterYou are right, I see a problem now. I will fix it on the next week.
October 18, 2017 at 9:34 am #57135HeDiBoParticipant'Support' wrote:You are right, I see a problem now. I will fix it on the next week.
Replacing skins with local names still does not work. I thought.
But when I removed the translated ones, added them again and translated them again, then it worked.
-
AuthorPosts
- You must be logged in to reply to this topic.