summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2016-10-22 22:13:16 +0300
committerdartraiden <wowemuh@gmail.com>2016-10-22 22:13:16 +0300
commitaab5ffecbae90011d715cdc3872232f9b0b4b667 (patch)
tree250ea1b0add24b54bc4ab06c63de5dfa3ebc2937
parent0bc507b918370e559309958c5347985777558a10 (diff)
lpgen.js: remove statusplugins-related logic
-rw-r--r--tools/lpgen/lpgen.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/lpgen/lpgen.js b/tools/lpgen/lpgen.js
index 2300ecd360..40aec13a41 100644
--- a/tools/lpgen/lpgen.js
+++ b/tools/lpgen/lpgen.js
@@ -224,8 +224,6 @@ function GeneratePluginTranslate (pluginpath,langpackfilepath,vcxprojfile) {
FindFiles(pluginpath,"\\.rc$",resourcefiles);
//find all source files and list files in array
FindFiles(pluginpath,"\\.h$|\\.cpp$|\\.c$|\\.pas$|\\.dpr$|\\.inc$",sourcefiles);
- //Check for "Status plugins". They have few common resource files to translate, which located one layer upper, than plugin folder.
- CheckStatusPlugins(plugin);
//Parse files "resourcefiles", put result into "foundstrings" using "ParseRCFile" function
ParseFiles(resourcefiles,foundstrings,ParseRCFile);
//Parse files "sourcefiles", put result into "foundstrings" using "ParseSourceFile" function
@@ -372,15 +370,6 @@ function GetMUUID (folder,array) {
if (log) WScript.Echo(muuid);
};
-//For status plugins, namely KeepStatus, StartupStatus and AdvancedAutoAway we need add for all of them common source files to parsing array, because they exist one layer upper of pluginfolder
-function CheckStatusPlugins (plug) {
-if (plug.match(/(KeepStatus|StartupStatus|AdvancedAutoAway)/)) {
- resourcefiles.push(trunk+"\\Plugins\\StatusPlugins\\resource.rc");
- sourcefiles.push(trunk+"\\Plugins\\StatusPlugins\\commonstatus.cpp");
- sourcefiles.push(trunk+"\\Plugins\\StatusPlugins\\confirmdialog.cpp");
- }
-}
-
//read text file, removing all commented text for further processing
function ReadFile (file) {
//If file zero size, return;