summaryrefslogtreecommitdiff
path: root/langpacks/chinese/Untranslated/Variables.txt
blob: 90e2de7bb5509061c709c9bbab000e1ae292bbc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[Adds support for dynamic variables in strings for plugins.]
[Description]
[Setting]
[Variables...]
[--- Special characters ---\r\n\r\nThe following characters have a special meaning in a formatting string:\r\n\r\n?<function>(<arguments>)\r\nThis will parse the function given the arguments, the result will be parsed again. Example: Today is ?cdate(yyyy/MM/dd).\r\n\r\n!<function>(<arguments>)\r\nThis will parse the function given the arguments, the result will not be parsed again. Example: Message waiting: !message(,first,rcvd,unread).\r\n\r\n%<field>%\r\nThis will parse the given field. Example: I installed Miranda at: %mirandapath%.\r\n\r\n`<string>`\r\nThis will not parse the given string, any function, field or special character in the string will shown in the result without being translated. Example: Use `%mirandapath%` to show the installation path.\r\n\r\n#<comment>\r\nThis will add a comment in the formatting string. Everything from the # character to the end of the line will be removed. Example: %dbprofile% #this is a useless comment.\r\n\r\n\r\n--- Contacts ---\r\n\r\nWhenever a functions requires a contact as an argument, you can specify it in two ways:\r\n\r\n(1) Using a unique ID (UIN for ICQ, email for MSN) or, a protocol ID followed by a unique ID in the form <PROTOID:UNIQUEID>, for example <MSN:miranda@hotmail.com> or <ICQ:123456789>.\r\n\r\n(2) Using the contact function:\r\n?contact(x,y)\r\nA contact will be searched which will have value x for its property y, y can be one of the following:\r\nfirst, last, nick, email, ID or display\r\n\r\nFor example: ?contact(miranda@hotmail.com,email) or ?contact(Miranda,nick). The contact function will return either a unique contact according to the arguments or nothing if none or multiple contacts exists with the given property.]
[Open String Formatting Help]
[Services]
[Variables]
[Alias]
[user defined]
[Boolean FALSE]
[y if w = x, else z]
[TRUE if x = y]
[Boolean TRUE]
[x + y + ...]
[x - y - ...]
[MetaContacts]
[get parent metacontact of contact x]
[get default subcontact x]
[get the 'most online' subcontact x]
[Miranda Core Global]
[path to Miranda root folder]
[path to current Miranda profile]
[name of current Miranda profile (filename, without extension)]
[will return parsed string %miranda_profile%\\Profiles\\%miranda_profilename%]
[will return parsed string %miranda_profile%\\Profiles\\%miranda_profilename%\\AvatarCache]
[will return parsed string %miranda_profile%\\Profiles\\%miranda_profilename%\\Logs]
[Miranda Core OS]
[same as environment variable %APPDATA% for currently logged-on Windows user]
[username for currently logged-on Windows user]
["My Documents" folder for currently logged-on Windows user]
["Desktop" folder for currently logged-on Windows user]
[db setting z of module y of contact x and return w if z isn't exist (w is optional)]
[path to the Miranda NG executable]
[TRUE if service function exists]
[Regular Expressions]
[(ANSI input only) the number of substring matches found in y with pattern x]
[(ANSI input only) substring match number z found in subject y with pattern x]
[replace all occurrences of \\n (Unix) by \\r\\n (Windows)]
[any environment variable defined in current Windows session (like %systemroot%, %allusersprofile%, etc.)]