Hey Stefan, we got it set up properly. However, one more question: I need to add a new string into the app. Looked how it's organized, but want to make sure I do it a proper way. String is "No shelved items!" -> when you try to unshelve on a folder that has nothing shelved, for now we just show MessageBox telling user that nothing was shelved, so cannot be unshelved. Later it will evolve, and probably will be handled by an UnshelveDialog, but for now we want to keep it that way. So, as I figured out, there's a file: TortoiseUI.pot. Should I just place my english string there, eg. IDS_NOTHING_SHELVED and it'll be used for autogenerating resources? Or there is some other way? I don't want to have this string in code :-) Also, we'll put just an english version of it, so probably it'll have to be translated someday, if we keep that solution. Thank you!
W dniu czwartek, 26 października 2017 19:56:26 UTC+2 użytkownik Stefan napisał: > > > > On Thursday, October 26, 2017 at 5:57:04 PM UTC+2, Julian Foad wrote: >> >> "Unshelve" is closely related to "Apply patch", but "Apply patch" has a >> special behaviour when one file is selected: it assumes that file is the >> patch file; and that doesn't make sense for "unshelve". So we wanted to >> just not show the "unshelve" option if a file (or a folder, or multiple >> items) is/are selected, because in that case the user may think the >> unshelve operation is somehow going to apply to (only) the selected >> item(s). Maybe later we will want to add the possibility of unshelving only >> the part of a shelved change that applies to particular (selected) file(s), >> but for now we don't have that. >> >> > So unshelving works on folders. Or only WC roots? > If for folders, just use the same context menu struct and flags as for > example the 'cleanup' command: it shows for folders that are under version > control, but not for files or multi-selections. > If only WC roots, then copy the flags from the 'relocate' command. That > only shows for WC roots. Use the ITEMIS_WCROOT flag. > > Stefan > > -- You received this message because you are subscribed to the Google Groups "TortoiseSVN-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn-dev/d8b733c8-ab53-4afd-ba20-8d3bdc3fe2b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

