xref: /haiku/src/apps/terminal/TermConst.cpp (revision 040a81419dda83d1014e9dc94936a4cb3f027303)
1 /*
2  * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 
7 #include "TermConst.h"
8 
9 #include <Catalog.h>
10 
11 
12 #undef B_TRANSLATION_CONTEXT
13 #define B_TRANSLATION_CONTEXT "Terminal ToolTips"
14 
15 
16 const char* const kTooTipSetTabTitlePlaceholders = B_TRANSLATE(
17 	"\t%d\t-\tThe current working directory of the active process.\n"
18 	"\t\t\tOptionally the maximum number of path components can be\n"
19 	"\t\t\tspecified. E.g. '%2d' for at most two components.\n"
20 	"\t%i\t-\tThe index of the tab.\n"
21 	"\t%p\t-\tThe name of the active process.\n"
22 	"\t%%\t-\tThe character '%'.");
23 
24 const char* const kTooTipSetWindowTitlePlaceholders = B_TRANSLATE(
25 	"\t%d\t-\tThe current working directory of the active process in the\n"
26 	"\t\t\tcurrent tab. Optionally the maximum number of path components\n"
27 	"\t\t\tcan be specified. E.g. '%2d' for at most two components.\n"
28 	"\t%T\t-\tThe Terminal application name for the current locale.\n"
29 	"\t%e\t-\tThe encoding of the current tab. Not shown for UTF-8.\n"
30 	"\t%i\t-\tThe index of the window.\n"
31 	"\t%p\t-\tThe name of the active process in the current tab.\n"
32 	"\t%t\t-\tThe title of the current tab.\n"
33 	"\t%%\t-\tThe character '%'.");
34 
35 const char* const kShellEscapeCharacters = " ~`#$&*()\\|[]{};'\"<>?!";
36 const char* const kDefaultAdditionalWordCharacters = ":@-./_~";
37 const char* const kURLAdditionalWordCharacters = ":/-._~[]?#@!$&'()*+,;=";
38