summary refs log tree commit diff stats
path: root/share
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-30 09:59:58 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-10-30 09:59:58 +0100
commit29f7a9180caa1b8278bf3d9c6a9b49a0b59a1000 (patch)
treec22557d059e0137a84e3b948963d409a7c225ee6 /share
parent66be50f3350248fac4292287776f9e416de77f5a (diff)
Rebrand get_info(xchatdir) but remain compatible for Perl and Python
Diffstat (limited to 'share')
-rw-r--r--share/doc/perl.md8
-rw-r--r--share/doc/plugins.md4
-rw-r--r--share/doc/python.md2
-rw-r--r--share/doc/tcl.md20
4 files changed, 17 insertions, 17 deletions
diff --git a/share/doc/perl.md b/share/doc/perl.md
index d1553c65..b139c5bb 100644
--- a/share/doc/perl.md
+++ b/share/doc/perl.md
@@ -501,14 +501,14 @@ a context cannot be found.</p>
   <td></td>
 </tr>
 <tr>
-   <td>xchatdir</td> <td>xchat config directory encoded in UTF-8<br />
+   <td>hexchatdir</td> <td>HexChat config directory encoded in UTF-8<br />
                      examples:<br />
-                     /home/user/.xchat2<br />
-                     C:\Documents and Settings\user\Application Data\X-Chat 2
+                     /home/user/.config/hexchat<br />
+                     C:\Users\user\Appdata\Roaming\HexChat
                      </td>
    <td></td>
 </tr><tr>
-   <td>xchatdirfs</td>  <td>same as xchatdir except encoded in the locale file system encoding</td>
+   <td>hexchatdirfs</td>  <td>same as hexchatdir except encoded in the locale file system encoding</td>
    <td></td>
 </tr>
 </table><p>This function is used to retrieve certain information about the current
diff --git a/share/doc/plugins.md b/share/doc/plugins.md
index bf000701..0645ff46 100644
--- a/share/doc/plugins.md
+++ b/share/doc/plugins.md
@@ -834,8 +834,8 @@ Changed in 2.6.1. If _servname_ is NULL, it finds the channel (or query) by the
 	<tr><td>version</td><td>HexChat version number.</td></tr>
 	<tr><td>win_ptr</td><td>native window pointer. Unix: (GtkWindow *) Win32: HWND (since 2.6.0).</td></tr>
 	<tr><td>win_status</td><td>window status: "active", "hidden" or "normal" (since 2.0.9).</td>
-	<tr><td>xchatdir</td><td>HexChat config directory, e.g.: /home/user/.config/hexchat <small>This string is encoded in UTF-8, which means you _should_ convert it to "locale" encoding before using functions like open() or OpenFile(). For best <a href="#unicode">Unicode support</a> on Linux, convert this string using g_filename_from_utf8 and on Windows convert this string to UTF-16LE (wide) and use OpenFileW() etc.</small></td></tr>
-	<tr><td>xchatdirfs</td><td>HexChat config directory, e.g.: /home/user/.config/hexchat (since 2.0.9).<small>This string is encoded in local file system encoding, making it ideal for direct use with functions like open() or OpenFile(). For real Unicode support on Windows, it's best not to use xchatdirfs, but xchatdir instead.</small></td></tr>
+	<tr><td>hexchatdir</td><td>HexChat config directory, e.g.: /home/user/.config/hexchat <small>This string is encoded in UTF-8, which means you **should** convert it to "locale" encoding before using functions like open() or OpenFile(). For best <a href="#unicode">Unicode support</a> on Linux, convert this string using g_filename_from_utf8 and on Windows convert this string to UTF-16LE (wide) and use OpenFileW() etc.</small></td></tr>
+	<tr><td>hexchatdirfs</td><td>HexChat config directory, e.g.: /home/user/.config/hexchat.<small>This string is encoded in local file system encoding, making it ideal for direct use with functions like open() or OpenFile(). For real Unicode support on Windows, it's best not to use hexchatdirfs, but hexchatdir instead.</small></td></tr>
 	</table>
 	</blockquote>
 
diff --git a/share/doc/python.md b/share/doc/python.md
index 9593ff82..9480810a 100644
--- a/share/doc/python.md
+++ b/share/doc/python.md
@@ -162,7 +162,7 @@ are available to be queried:
  * **server:** Current server name (what the server claims to be) or None if you are not connected.
  * **topic:** Current channel topic.
  * **version:** HexChat version number.
- * **xchatdir:** HexChat config directory e.g.: "~/.config/hexchat".
+ * **hexchatdir:** HexChat config directory e.g.: "~/.config/hexchat".
 
 Example:
 
diff --git a/share/doc/tcl.md b/share/doc/tcl.md
index f7ac44d7..506da056 100644
--- a/share/doc/tcl.md
+++ b/share/doc/tcl.md
@@ -95,7 +95,7 @@ before Eggdrop and is broadly considered the industry standard language for auto
 <tr valign=top>
 <td align=right><b>Example:</b></td>
 <td><pre>/tcl puts "Hello, XChat World!"
-/tcl xchatdir</pre></td>
+/tcl hexchatdir</pre></td>
 </tr>
 
 
@@ -706,12 +706,12 @@ The following fields are currently defined:
 </tr>
 <tr>
 <td>version </td>
-<td> xchat version number.
+<td> HexChat version number.
 </td>
 </tr>
 <tr>
-<td>xchatdir </td>
-<td> xchat config directory, e.g.: /home/user/.xchat.</td>
+<td>hexchatdir </td>
+<td> HexChat config directory, e.g.: /home/user/.config/hexchat.</td>
 </tr>
 </table><br>
 </td>
@@ -724,7 +724,7 @@ The following fields are currently defined:
 
 <tr valign=top>
 <td align=right nowrap><b>See Also:</b></td>
-<td><a href='#away'>away</a>, <a href='#channel'>channel</a>, <a href='#host'>host</a>, <a href='#me'>me</a>, <a href='#network'>network</a>, <a href='#server'>server</a>, <a href='#topic'>topic</a>, <a href='#version'>version</a>, <a href='#xchatdir'>xchatdir</a></td>
+<td><a href='#away'>away</a>, <a href='#channel'>channel</a>, <a href='#host'>host</a>, <a href='#me'>me</a>, <a href='#network'>network</a>, <a href='#server'>server</a>, <a href='#topic'>topic</a>, <a href='#version'>version</a>, <a href='#hexchatdir'>hexchatdir</a></td>
 </tr>
 
 
@@ -3581,7 +3581,7 @@ print "[timers]"</pre></td>
 
 <tr valign=top>
 <td align=right nowrap><b>See Also:</b></td>
-<td><a href='#xchatdir'>xchatdir</a></td>
+<td><a href='#hexchatdir'>hexchatdir</a></td>
 </tr>
 
 
@@ -3594,17 +3594,17 @@ print "[timers]"</pre></td>
 <p>
 
 
-<a name='xchatdir'> </a>
+<a name='hexchatdir'> </a>
 <table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0>
 
 <tr valign=top>
 <td align=right width=1% ><b>Name:</b></td>
-<td>xchatdir - Returns the current xchat config directory.</td>
+<td>hexchatdir - Returns the current HexChat config directory.</td>
 </tr>
 
 <tr valign=top>
 <td align=right><b>Synopsis:</b></td>
-<td><pre>xchatdir</pre></td>
+<td><pre>hexchatdir</pre></td>
 </tr>
 
 <tr valign=top>
@@ -3614,7 +3614,7 @@ print "[timers]"</pre></td>
 
 <tr valign=top>
 <td align=right><b>Example:</b></td>
-<td><pre>print "My XChat config directory is [xchatdir]"</pre></td>
+<td><pre>print "My XChat config directory is [hexchatdir]"</pre></td>
 </tr>
 
 <tr valign=top>