TextsCore2.rc 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. #include "TextsCore.h"
  2. STRINGTABLE
  3. BEGIN
  4. UNKNOWN_KEY4,
  5. "**Continue connecting to an unknown server and "
  6. "add its host key to a cache?**\n"
  7. "\n"
  8. "The server's host key was not found in the cache. You have no guarantee "
  9. "that the server is the computer you think it is.\n"
  10. "\n"
  11. "The server's %s key details are:\n"
  12. "\n"
  13. "%s\n"
  14. "\n"
  15. "If you trust this host, press Yes. "
  16. "To connect without adding host key to the cache, press No. "
  17. "To abandon the connection press Cancel."
  18. DIFFERENT_KEY5,
  19. "**WARNING – POTENTIAL SECURITY BREACH!**\n"
  20. "\n"
  21. "The server's host key does not match the one WinSCP has "
  22. "in cache. This means that either the "
  23. "server administrator has changed the host key, "
  24. "the server presents different key under certain circumstance, "
  25. "or you have actually connected to another computer pretending "
  26. "to be the server.\n"
  27. "\n"
  28. "The new %s key details are:\n"
  29. "\n"
  30. "%s\n"
  31. "\n"
  32. "If you were expecting this change, trust the new key and "
  33. "want to continue connecting to the server, "
  34. "either press Update to update cache, or "
  35. "press Add to add the new key to the cache while keeping the old one(s). "
  36. "If you want to carry on connecting but without updating "
  37. "the cache, press Skip. "
  38. "If you want to abandon the connection completely, press "
  39. "Cancel. Pressing Cancel is the ONLY guaranteed safe "
  40. "choice."
  41. OLD_KEY,
  42. "You are loading an SSH-2 private key which has an "
  43. "old version of the file format. This means your key "
  44. "file is not fully tamperproof. We recommend you convert "
  45. "your key to the new format.\n"
  46. "\n"
  47. "You can perform this conversion by loading the key "
  48. "into PuTTYgen and then saving it again."
  49. SCRIPT_HELP_HELP,
  50. "help [ <command> [ <command2> ... ] ]\n"
  51. " Displays list of commands when no parameters are specified.\n"
  52. " Displays help for each command when some are specified.\n"
  53. "alias:\n"
  54. " man\n"
  55. "examples:\n"
  56. " help\n"
  57. " help ls\n"
  58. SCRIPT_EXIT_HELP,
  59. "exit\n"
  60. " Closes all sessions and terminates the program.\n"
  61. "alias:\n"
  62. " bye\n"
  63. SCRIPT_OPEN_HELP10,
  64. "open <site>\n"
  65. "open sftp|scp|ftp[es]|dav[s]|s3 :// [ <user> [ :password ] @ ] <host> [ :<port> ]\n"
  66. " Establishes connection to given host. Use either name of the site or\n"
  67. " specify host, username, port and protocol directly.\n"
  68. "switches:\n"
  69. " -privatekey=<file> SSH private key file\n"
  70. " -hostkey=<fingerprint> Fingerprint of server host key (SFTP and SCP only).\n"
  71. " -clientcert=<file> TLS/SSL client certificate file\n"
  72. " -certificate=<fingerprint> Fingerprint of TLS/SSL certificate\n"
  73. " (FTPS and WebDAVS only)\n"
  74. " -passphrase=<phr> Private key passphrase\n"
  75. " -passive=on|off Passive mode (FTP protocol only)\n"
  76. " -implicit Implicit TLS/SSL (FTP protocol only)\n"
  77. " -explicit Explicit TLS/SSL (FTP protocol only)\n"
  78. " -timeout=<sec> Server response timeout\n"
  79. " -username=<user> An alternative way to provide a username\n"
  80. " -password=<password> An alternative way to provide a password\n"
  81. " -rawsettings setting1=value1 setting2=value2 ...\n"
  82. " Configures any site settings using raw format\n"
  83. " as in an INI file\n"
  84. " -filezilla Load <site> from FileZilla site manager\n"
  85. " -newpassword=<password> Changes password to <password>\n"
  86. "examples:\n"
  87. " open\n"
  88. " open sftp://[email protected]:2222 -privatekey=mykey.ppk\n"
  89. " open [email protected]\n"
  90. " open example.com\n"
  91. SCRIPT_CLOSE_HELP,
  92. "close [ <session> ]\n"
  93. " Closes session specified by its number. When session number is not\n"
  94. " specified, closes currently selected session.\n"
  95. "examples:\n"
  96. " close\n"
  97. " close 1\n"
  98. SCRIPT_SESSION_HELP,
  99. "session [ <session> ]\n"
  100. " Makes session specified by its number active. When session number\n"
  101. " is not specified, lists connected sessions.\n"
  102. "examples:\n"
  103. " session\n"
  104. " session 1\n"
  105. SCRIPT_PWD_HELP,
  106. "pwd\n"
  107. " Prints current remote working directory for active session.\n"
  108. SCRIPT_CD_HELP,
  109. "cd [ <directory> ]\n"
  110. " Changes remote working directory for active session.\n"
  111. " If directory is not specified, changes to home directory.\n"
  112. "examples:\n"
  113. " cd /home/martin\n"
  114. " cd\n"
  115. SCRIPT_LS_HELP2,
  116. "ls [ <directory> ]/[ <wildcard> ]\n"
  117. " Lists the contents of specified remote directory. If directory is \n"
  118. " not specified, lists working directory.\n"
  119. " When wildcard is specified, it is treated as set of files to list.\n"
  120. " Otherwise, all files are listed.\n"
  121. "alias:\n"
  122. " dir\n"
  123. "effective option:\n"
  124. " failonnomatch\n"
  125. "examples:\n"
  126. " ls\n"
  127. " ls *.html\n"
  128. " ls /home/martin\n"
  129. SCRIPT_LPWD_HELP,
  130. "lpwd\n"
  131. " Prints current local working directory (valid for all sessions).\n"
  132. SCRIPT_LCD_HELP,
  133. "lcd <directory>\n"
  134. " Changes local working directory for all sessions.\n"
  135. "example:\n"
  136. " lcd d:\\\n"
  137. SCRIPT_LLS_HELP2,
  138. "lls [ <directory> ]\\[ <wildcard> ]\n"
  139. " Lists the contents of specified local directory. If directory is \n"
  140. " not specified, lists working directory.\n"
  141. " When wildcard is specified, it is treated as set of files to list.\n"
  142. " Otherwise, all files are listed.\n"
  143. "effective option:\n"
  144. " failonnomatch\n"
  145. "examples:\n"
  146. " lls\n"
  147. " lls *.html\n"
  148. " lls d:\\\n"
  149. SCRIPT_RM_HELP2,
  150. "rm <file> [ <file2> ... ]\n"
  151. " Removes one or more remote files. If remote recycle bin is\n"
  152. " configured, moves file to the bin instead of deleting it.\n"
  153. " Filename can be replaced with wildcard to select multiple files.\n"
  154. "effective option:\n"
  155. " failonnomatch\n"
  156. "examples:\n"
  157. " rm index.html\n"
  158. " rm index.html about.html\n"
  159. " rm *.html\n"
  160. SCRIPT_RMDIR_HELP,
  161. "rmdir <directory> [ <directory2> ... ]\n"
  162. " Removes one or more remote directories. If remote recycle bin is\n"
  163. " configured, moves directory to the bin instead of deleting it.\n"
  164. "example:\n"
  165. " rmdir public_html\n"
  166. SCRIPT_MV_HELP2,
  167. "mv <file> [ <file2> ... ] [ <directory>/ ][ <newname> ]\n"
  168. " Moves or renames one or more remote files. Destination directory or new\n"
  169. " name or both must be specified. Destination directory must end with \n"
  170. " slash. Operation mask can be used instead of new name.\n"
  171. " Filename can be replaced with wildcard to select multiple files.\n"
  172. "alias:\n"
  173. " rename\n"
  174. "effective option:\n"
  175. " failonnomatch\n"
  176. "examples:\n"
  177. " mv index.html public_html/\n"
  178. " mv index.html about.*\n"
  179. " mv index.html public_html/about.*\n"
  180. " mv public_html/index.html public_html/about.html /home/martin/*.bak\n"
  181. " mv *.html /home/backup/*.bak\n"
  182. SCRIPT_CHMOD_HELP2,
  183. "chmod <mode> <file> [ <file2> ... ]\n"
  184. " Changes permissions of one or more remote files. Mode can be specified\n"
  185. " as three or four-digit octal number.\n"
  186. " Filename can be replaced with wildcard to select multiple files.\n"
  187. "effective option:\n"
  188. " failonnomatch\n"
  189. "examples:\n"
  190. " chmod 644 index.html about.html\n"
  191. " chmod 1700 /home/martin/public_html\n"
  192. " chmod 644 *.html\n"
  193. SCRIPT_LN_HELP,
  194. "ln <target> <symlink>\n"
  195. " Creates remote symbolic link.\n"
  196. "alias:\n"
  197. " symlink\n"
  198. "example:\n"
  199. " ln /home/martin/public_html www\n"
  200. SCRIPT_MKDIR_HELP,
  201. "mkdir <directory>\n"
  202. " Creates remote directory.\n"
  203. "example:\n"
  204. " mkdir public_html\n"
  205. SCRIPT_GET_HELP8,
  206. "get <file> [ [ <file2> ... ] <directory>\\[ <newname> ] ]\n"
  207. " Downloads one or more files from remote directory to local directory.\n"
  208. " If only one parameter is specified downloads the file to local working\n"
  209. " directory. If more parameters are specified, all except the last one\n"
  210. " specify set of files to download. The last parameter specifies target\n"
  211. " local directory and optionally operation mask to store file(s) under\n"
  212. " different name. Destination directory must end with backslash. \n"
  213. " Filename can be replaced with wildcard to select multiple files.\n"
  214. " To download more files to current working directory use '.\\' as the\n"
  215. " last parameter.\n"
  216. "alias:\n"
  217. " recv, mget\n"
  218. "switches:\n"
  219. " -delete Delete source remote file(s) after transfer\n"
  220. " -resume Resume transfer if possible (SFTP and FTP protocols only)\n"
  221. " -append Append file to end of target file (SFTP protocol only)\n"
  222. " -preservetime Preserve timestamp\n"
  223. " -nopreservetime Do not preserve timestamp\n"
  224. " -speed=<kbps> Limit transfer speed (in KB/s)\n"
  225. " -transfer=<mode> Transfer mode: binary, ascii, automatic\n"
  226. " -filemask=<mask> Sets file mask.\n"
  227. " -resumesupport=<state> Configures resume support.\n"
  228. " Possible values are 'on', 'off' or threshold\n"
  229. " -neweronly Transfer new and updated files only\n"
  230. " -latest Transfer the latest file only\n"
  231. "effective options:\n"
  232. " confirm, failonnomatch, reconnecttime\n"
  233. "examples:\n"
  234. " get index.html\n"
  235. " get -delete index.html about.html .\\\n"
  236. " get index.html about.html d:\\www\\\n"
  237. " get public_html/index.html d:\\www\\about.*\n"
  238. " get *.html *.png d:\\www\\*.bak\n"
  239. SCRIPT_PUT_HELP8,
  240. "put <file> [ [ <file2> ... ] <directory>/[ <newname> ] ]\n"
  241. " Uploads one or more files from local directory to remote directory.\n"
  242. " If only one parameter is specified uploads the file to remote working\n"
  243. " directory. If more parameters are specified, all except the last one\n"
  244. " specify set of files to upload. The last parameter specifies target\n"
  245. " remote directory and optionally operation mask to store file(s) under\n"
  246. " different name. Destination directory must end with slash. \n"
  247. " Filename can be replaced with wildcard to select multiple files.\n"
  248. " To upload more files to current working directory use './' as the\n"
  249. " last parameter.\n"
  250. "alias:\n"
  251. " send, mput\n"
  252. "switches:\n"
  253. " -delete Delete source local file(s) after transfer\n"
  254. " -resume Resume transfer if possible (SFTP and FTP protocols only)\n"
  255. " -append Append file to end of target file (SFTP protocol only)\n"
  256. " -preservetime Preserve timestamp\n"
  257. " -nopreservetime Do not preserve timestamp\n"
  258. " -permissions=<mode> Set permissions\n"
  259. " -nopermissions Keep default permissions\n"
  260. " -speed=<kbps> Limit transfer speed (in KB/s)\n"
  261. " -transfer=<mode> Transfer mode: binary, ascii, automatic\n"
  262. " -filemask=<mask> Sets file mask.\n"
  263. " -resumesupport=<state> Configures resume support.\n"
  264. " Possible values are 'on', 'off' or threshold\n"
  265. " -neweronly Transfer new and updated files only\n"
  266. " -latest Transfer the latest file only\n"
  267. "effective options:\n"
  268. " confirm, failonnomatch, reconnecttime\n"
  269. "examples:\n"
  270. " put index.html\n"
  271. " put -delete index.html about.html ./\n"
  272. " put -permissions=644 index.html about.html /home/martin/public_html/\n"
  273. " put d:\\www\\index.html about.*\n"
  274. " put *.html *.png /home/martin/backup/*.bak\n"
  275. SCRIPT_OPTION_HELP7,
  276. "option [ <option> [ <value> ] ]\n"
  277. " If no parameters are specified, lists all script options and their\n"
  278. " values. When one parameter is specified only, shows value of the option.\n"
  279. " When two parameters are specified sets value of the option.\n"
  280. " Initial values of some options are taken from application configuration,\n"
  281. " however modifing the options does not change the application\n"
  282. " configuration.\n"
  283. "options are:\n"
  284. " echo on|off\n"
  285. " Toggles echoing of command being executed.\n"
  286. " Commands affected: all\n"
  287. " batch on|off|abort|continue\n"
  288. " Toggles batch mode (all prompts are automatically replied\n"
  289. " negatively). When 'on', it is recommended to set 'confirm'\n"
  290. " to 'off' to allow overwrites. With 'abort', script is aborted\n"
  291. " when any error occurs. With 'continue', all errors are ignored.\n"
  292. " Reconnect time is automatically limited do 120s, if not limited yet.\n"
  293. " Commands affected: nearly all\n"
  294. " confirm on|off\n"
  295. " Toggles confirmations (overwrite, etc.).\n"
  296. " Commands affected: get, put\n"
  297. " reconnecttime off | <sec>\n"
  298. " Time limit in seconds to try reconnecting broken sessions.\n"
  299. " Commands affected: get, put, synchronize, keepuptodate\n"
  300. " failonnomatch on|off\n"
  301. " When 'on', commands fail when file mask matches no files.\n"
  302. " When 'off', commands do nothing when file mask matches no files.\n"
  303. " Commands affected: get, put, rm, mv, chmod, ls, lls\n"
  304. "examples:\n"
  305. " option\n"
  306. " option batch\n"
  307. " option confirm off\n"
  308. SCRIPT_SYNCHRONIZE_HELP7,
  309. "synchronize local|remote|both [ <local directory> [ <remote directory> ] ]\n"
  310. " When the first parameter is 'local' synchronises local directory with\n"
  311. " remote one. When the first parameter is 'remote' synchronises remote\n"
  312. " directory with local one. When the first parameter is 'both' synchronises\n"
  313. " directories one against the other.\n"
  314. " When directories are not specified, current working directories are\n"
  315. " synchronized.\n"
  316. " Note: Overwrite confirmations are always off for the command.\n"
  317. "switches:\n"
  318. " -preview Preview changes only, do not synchronize\n"
  319. " -delete Delete obsolete files\n"
  320. " -mirror Mirror mode (synchronize also older files).\n"
  321. " Ignored for 'both'.\n"
  322. " -criteria=<criteria> Comparison criteria. Possible values are 'none', 'time',\n"
  323. " 'size' and 'either'. Ignored for 'both' mode.\n"
  324. " -permissions=<mode> Set permissions\n"
  325. " -nopermissions Keep default permissions\n"
  326. " -speed=<kbps> Limit transfer speed (in KB/s)\n"
  327. " -transfer=<mode> Transfer mode: binary, ascii, automatic\n"
  328. " -filemask=<mask> Sets file mask.\n"
  329. " -resumesupport=<state> Configures resume support.\n"
  330. " Possible values are 'on', 'off' or threshold\n"
  331. "effective options:\n"
  332. " reconnecttime\n"
  333. "examples:\n"
  334. " synchronize remote -delete\n"
  335. " synchronize both d:\\www /home/martin/public_html\n"
  336. SCRIPT_KEEPUPTODATE_HELP5,
  337. "keepuptodate [ <local directory> [ <remote directory> ] ]\n"
  338. " Watches for changes in local directory and reflects them on remote one.\n"
  339. " When directories are not specified, current working directories are\n"
  340. " synchronized. To stop watching for changes press Ctrl-C.\n"
  341. " Note: Overwrite confirmations are always off for the command.\n"
  342. "switches:\n"
  343. " -delete Delete obsolete files\n"
  344. " -permissions=<mode> Set permissions\n"
  345. " -nopermissions Keep default permissions\n"
  346. " -speed=<kbps> Limit transfer speed (in KB/s)\n"
  347. " -transfer=<mode> Transfer mode: binary, ascii, automatic\n"
  348. " -filemask=<mask> Sets file mask.\n"
  349. " -resumesupport=<state> Configures resume support.\n"
  350. " Possible values are 'on', 'off' or threshold\n"
  351. "effective options:\n"
  352. " reconnecttime\n"
  353. "examples:\n"
  354. " keepuptodate -delete\n"
  355. " keepuptodate d:\\www /home/martin/public_html\n"
  356. SCRIPT_CALL_HELP2,
  357. "call <command>\n"
  358. " With SFTP and SCP protocols, executes arbitrary remote shell command.\n"
  359. " If current session does not allow execution of arbitrary remote command\n"
  360. " separate shell session will be automatically opened.\n"
  361. " With FTP protocol, executes a protocol command.\n"
  362. " The command must not require user input.\n"
  363. "alias:\n"
  364. " !\n"
  365. "example:\n"
  366. " call touch index.html\n"
  367. SCRIPT_ECHO_HELP,
  368. "echo <message>\n"
  369. " Prints message onto script output.\n"
  370. "example:\n"
  371. " echo Starting upload...\n"
  372. SCRIPT_STAT_HELP,
  373. "stat <file>\n"
  374. " Retrieves and lists attributes of specified remote file.\n"
  375. "example:\n"
  376. " stat index.html\n"
  377. SCRIPT_CHECKSUM_HELP,
  378. "checksum <alg> <file>\n"
  379. " Calculates checksum of remote file.\n"
  380. "example:\n"
  381. " checksum sha-1 index.html\n"
  382. SCRIPT_CP_HELP,
  383. "cp <file> [ <file2> ... ] [ <directory>/ ][ <newname> ]\n"
  384. " Duplicates one or more remote files. Destination directory or new\n"
  385. " name or both must be specified. Destination directory must end with\n"
  386. " slash. Operation mask can be used instead of new name.\n"
  387. " Filename can be replaced with wildcard to select multiple files.\n"
  388. "effective option:\n"
  389. " failonnomatch\n"
  390. "examples:\n"
  391. " cp index.html public_html/\n"
  392. " cp index.html about.*\n"
  393. " cp index.html public_html/about.*\n"
  394. " cp public_html/index.html public_html/about.html /home/martin/*.bak\n"
  395. " cp *.html /home/backup/*.bak\n"
  396. END