[kate] doc/katepart: Fix addresses on Windows: %USER% -> %USERPROFILE%.

Yuri Chornoivan null at kde.org
Tue Jan 21 08:01:13 GMT 2020


Git commit 08cc702b3f7d167588e5baa0be900610b2b5b433 by Yuri Chornoivan.
Committed on 21/01/2020 at 08:00.
Pushed by scmsync into branch 'master'.

Fix addresses on Windows: %USER% -> %USERPROFILE%.

Thanks to Viktor Tomkovič.

M  +7    -7    doc/katepart/development.docbook

https://commits.kde.org/kate/08cc702b3f7d167588e5baa0be900610b2b5b433

diff --git a/doc/katepart/development.docbook b/doc/katepart/development.docbook
index 6d0ed3c64..f44a4102f 100644
--- a/doc/katepart/development.docbook
+++ b/doc/katepart/development.docbook
@@ -1180,7 +1180,7 @@ called ⪚ <filename>javascript.js</filename> in the local home folder
 Therein, the environment variable <envar>XDG_DATA_HOME</envar> typically expands to
 either <filename>~/.local</filename> or <filename>~/.local/share</filename>.
 </para>
-<para>On &Windows; these files are located in <filename>%USER%\AppData\Local\katepart5\indentation</filename>.
+<para>On &Windows; these files are located in <filename>%USERPROFILE%\AppData\Local\katepart5\indentation</filename>.
 <replaceable>%USERPROFILE%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.</para>
 
 <sect3 id="dev-scripting-indentation-header">
@@ -1298,8 +1298,8 @@ with a different tab width.
 <para>
 A default &kde; installation ships &kappname; with several indenters. The
 corresponding JavaScript source code can be found in <filename>$<envar>XDG_DATA_DIRS</envar>/katepart5/script/indentation</filename>.</para>
-<para>On &Windows; these files are located in <filename>%USER%\AppData\Local\katepart5\indentation</filename>.
-<replaceable>%USER%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.
+<para>On &Windows; these files are located in <filename>%USERPROFILE%\AppData\Local\katepart5\indentation</filename>.
+<replaceable>%USERPROFILE%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.
 </para>
 
 <para>
@@ -1335,8 +1335,8 @@ So as a first step, create a new <filename>*.js</filename> file called
 <filename>$<envar>XDG_DATA_HOME</envar>/katepart5/script/commands</filename>.
 Therein, the environment variable <envar>XDG_DATA_HOME</envar> typically expands to
 either <filename>~/.local</filename> or <filename>~/.local/share</filename>.</para>
-<para>On &Windows; these files are located in <filename>%USER%\AppData\Local\katepart5\commands</filename>.
-<replaceable>%USER%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.
+<para>On &Windows; these files are located in <filename>%USERPROFILE%\AppData\Local\katepart5\commands</filename>.
+<replaceable>%USERPROFILE%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.
 </para>
 
 <sect3 id="dev-scripting-command-line-header">
@@ -1506,8 +1506,8 @@ require ("myscriptnamehere.js");
 
 </para>
 
-<para>On &Windows; these files are located in <filename>%USER%\AppData\Local\katepart5\libraries</filename>.
-<replaceable>%USER%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.</para>
+<para>On &Windows; these files are located in <filename>%USERPROFILE%\AppData\Local\katepart5\libraries</filename>.
+<replaceable>%USERPROFILE%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.</para>
 
 <para>
 To extend existing prototypes like <classname>Cursor</classname> or


More information about the kde-doc-english mailing list