Browse Source

Renaming "Cached host keys" to "Caches", as it removes all other kinds of caches as well since 31bb8358

Source commit: 031a6f33d284000b530a8f2c98828803e45b1aaf
Martin Prikryl 6 years ago
parent
commit
0a0fe50682

+ 1 - 1
source/core/Configuration.cpp

@@ -772,7 +772,7 @@ void __fastcall TConfiguration::CleanupCaches()
   }
   catch (Exception & E)
   {
-    throw ExtException(&E, LoadStr(CLEANUP_HOSTKEYS_ERROR));
+    throw ExtException(&E, LoadStr(CLEANUP_CACHES_ERROR));
   }
 }
 //---------------------------------------------------------------------------

+ 1 - 1
source/forms/Cleanup.cpp

@@ -103,7 +103,7 @@ void __fastcall TCleanupDialog::InitControls()
         break;
 
       case wdCaches:
-        Caption = LoadStr(CLEANUP_HOSTKEYS);
+        Caption = LoadStr(CLEANUP_CACHES);
         Location = L"...";
         break;
 

+ 1 - 1
source/resource/TextsCore.h

@@ -49,7 +49,7 @@
 #define LIST_LINE_ERROR         114
 #define RIGHTS_ERROR            115
 #define CLEANUP_CONFIG_ERROR    116
-#define CLEANUP_HOSTKEYS_ERROR  117
+#define CLEANUP_CACHES_ERROR    117
 #define CLEANUP_SEEDFILE_ERROR  118
 #define CLEANUP_SESSIONS_ERROR  119
 #define DETECT_RETURNVAR_ERROR  120

+ 1 - 1
source/resource/TextsCore1.rc

@@ -18,7 +18,7 @@ BEGIN
   LIST_LINE_ERROR, "Unexpected directory listing line '%s'."
   RIGHTS_ERROR, "Invalid rights description '%s'"
   CLEANUP_CONFIG_ERROR, "Error cleaning up general configuration."
-  CLEANUP_HOSTKEYS_ERROR, "Error cleaning up sites."
+  CLEANUP_CACHES_ERROR, "Error cleaning up caches."
   CLEANUP_SEEDFILE_ERROR, "Error cleaning up random seed file."
   CLEANUP_SESSIONS_ERROR, "Error cleaning up cached host keys."
   DETECT_RETURNVAR_ERROR, "Error detecting variable containing return code of last command."

+ 1 - 1
source/resource/TextsWin.h

@@ -357,7 +357,7 @@
 #define PROGRESS_CALCULATE_SIZE 1696
 #define CLEANUP_CONFIG          1700
 #define CLEANUP_SESSIONS        1701
-#define CLEANUP_HOSTKEYS        1702
+#define CLEANUP_CACHES          1702
 #define CLEANUP_INIFILE         1703
 #define CLEANUP_SEEDFILE        1704
 #define SELECT_LOCAL_DIRECTORY  1705

+ 1 - 1
source/resource/TextsWin1.rc

@@ -362,7 +362,7 @@ BEGIN
         PROGRESS_CALCULATE_SIZE, "Calculating directory size"
         CLEANUP_CONFIG, "General configuration"
         CLEANUP_SESSIONS, "Sites"
-        CLEANUP_HOSTKEYS, "Cached host keys"
+        CLEANUP_CACHES, "Caches"
         CLEANUP_INIFILE, "Configuration INI file"
         CLEANUP_SEEDFILE, "Random seed file"
         SELECT_LOCAL_DIRECTORY, "Select local directory."