[sdk/kdesrc-build] /: Remove unused option kde-languages

Andrew Shark null at kde.org
Thu Nov 16 16:01:55 GMT 2023


Git commit aec5f8b9c19bed58a633f9fb2c72392c0a70cf68 by Andrew Shark.
Committed on 16/11/2023 at 15:03.
Pushed by ngraham into branch 'master'.

Remove unused option kde-languages

M  +0    -24   doc/index.docbook
M  +0    -1    modules/ksb/BuildContext.pm
M  +2    -2    vim/syntax/kdesrc-buildrc.vim

https://invent.kde.org/sdk/kdesrc-build/-/commit/aec5f8b9c19bed58a633f9fb2c72392c0a70cf68

diff --git a/doc/index.docbook b/doc/index.docbook
index 1ade05f5..d39ec95c 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -2487,30 +2487,6 @@ change this to a directory needing root access, you may want to read about the
 well.</entry>
 </row>
 
-<row id="conf-kde-languages">
-<entry>kde-languages</entry>
-<entry>Cannot be overridden</entry>
-<entry><para>This option allows you to choose to download and install
-localization packages along with &kde;. You might do this if you do not live in
-the United States and would like to use &kde; translated into your native
-language.</para>
-
-<para>To use this option, set it to a space-separated list of languages to
-install. Each language has a language code associated with it, which you
-can look up at this page: <ulink
-url="http://l10n.kde.org/teams-list.php">http://l10n.kde.org/teams-list.php</ulink>.
-</para>
-
-<para>It is alright to choose only one language. By default, none are
-downloaded, which means &kde; will display in American English.</para>
-
-<para>For instance, to choose to install French, you would set the option to
-something like: <userinput><option>kde-languages</option>
-<replaceable>fr</replaceable></userinput>.  You would still need to use
-&systemsettings; in order to choose the French language, however.</para>
-</entry>
-</row>
-
 <row id="conf-libname">
 <entry>libname</entry>
 <entry>Module setting overrides global</entry>
diff --git a/modules/ksb/BuildContext.pm b/modules/ksb/BuildContext.pm
index 12edbd72..d2a0cc6e 100644
--- a/modules/ksb/BuildContext.pm
+++ b/modules/ksb/BuildContext.pm
@@ -161,7 +161,6 @@ our %defaultGlobalOptions = (
     "do-not-compile"       => "",
     "http-proxy"           => '', # Proxy server to use for HTTP.
     "kdedir"               => "$ENV{HOME}/kde",
-    "kde-languages"        => "",
     "libname"              => $libname,
     "libpath"              => "",
     "log-dir"              => "log",
diff --git a/vim/syntax/kdesrc-buildrc.vim b/vim/syntax/kdesrc-buildrc.vim
index 297fcd76..e60c4731 100644
--- a/vim/syntax/kdesrc-buildrc.vim
+++ b/vim/syntax/kdesrc-buildrc.vim
@@ -46,14 +46,14 @@ syn keyword ksbrcOption contained skipwhite nextgroup=ksbrcStringValue
 
 syn keyword ksbrcGlobalOption contained skipwhite nextgroup=ksbrcStringValue
             \ branch-group git-desired-protocol git-repository-base http-proxy
-            \ kde-languages niceness debug-level persistent-data-file set-env
+            \ niceness debug-level persistent-data-file set-env
             \ num-cores num-cores-low-mem
 
 " MUST BE CONSISTENT WITH ABOVE. Used when a module-set option is used in the
 " wrong spot to highlight the error.
 syn keyword ksbrcErrorGlobalOption contained skipwhite nextgroup=ksbrcStringValue
             \ branch-group git-desired-protocol git-repository-base http-proxy
-            \ kde-languages niceness debug-level persistent-data-file set-env
+            \ niceness debug-level persistent-data-file set-env
             \ num-cores num-cores-low-mem
 
 syn keyword ksbrcModuleSetOption contained skipwhite nextgroup=ksbrcStringValue


More information about the kde-doc-english mailing list