diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2012-09-29 00:15:45 +0200 |
---|---|---|
committer | Martin Dummer <martin.dummer@gmx.net> | 2012-09-29 00:15:45 +0200 |
commit | 3318113f69eb48c44a6681d409ff42345a30f298 (patch) | |
tree | 2baaf451df0a4f88d91cbc6a263dabbe58ce6fef | |
parent | f40dd20cf02873743f67230660a9db09fd6de619 (diff) | |
download | vdr-plugin-undelete-3318113f69eb48c44a6681d409ff42345a30f298.tar.gz vdr-plugin-undelete-3318113f69eb48c44a6681d409ff42345a30f298.tar.bz2 |
fix lots of typos
-rw-r--r-- | menudispkey.c | 4 | ||||
-rw-r--r-- | menudispkey.h | 2 | ||||
-rw-r--r-- | menueditkeys.c | 2 | ||||
-rw-r--r-- | menueditkeys.h | 2 | ||||
-rw-r--r-- | menunoselectitem.h | 2 | ||||
-rw-r--r-- | menusetup.c | 4 | ||||
-rw-r--r-- | menuundelete.c | 12 | ||||
-rw-r--r-- | po/de_DE.po | 38 | ||||
-rw-r--r-- | po/fr_FR.po | 34 | ||||
-rw-r--r-- | undelete.c | 80 | ||||
-rw-r--r-- | vdrtools.c | 6 |
11 files changed, 93 insertions, 93 deletions
diff --git a/menudispkey.c b/menudispkey.c index 1a03275..60407dc 100644 --- a/menudispkey.c +++ b/menudispkey.c @@ -1,9 +1,9 @@ /* - * autotimeredit: A plugin for the Video Disk Recorder + * undelete: A plugin for the Video Disk Recorder * * See the README file for copyright information and how to reach the author. * - * $Id: menueditkeys.c 0.5 2005/11/17 21:05:05 hflor Exp $ + * $Id: menudispkey.c 0.5 2005/11/17 21:05:05 hflor Exp $ */ #include "menudispkey.h" diff --git a/menudispkey.h b/menudispkey.h index 9a595ad..535bee4 100644 --- a/menudispkey.h +++ b/menudispkey.h @@ -1,5 +1,5 @@ /* - * autotimeredit: A plugin for the Video Disk Recorder + * undelete: A plugin for the Video Disk Recorder * * See the README file for copyright information and how to reach the author. * diff --git a/menueditkeys.c b/menueditkeys.c index 7eb9933..4f304c7 100644 --- a/menueditkeys.c +++ b/menueditkeys.c @@ -1,5 +1,5 @@ /* - * autotimeredit: A plugin for the Video Disk Recorder + * undelete: A plugin for the Video Disk Recorder * * See the README file for copyright information and how to reach the author. * diff --git a/menueditkeys.h b/menueditkeys.h index 0726159..1ce08c3 100644 --- a/menueditkeys.h +++ b/menueditkeys.h @@ -1,5 +1,5 @@ /* - * autotimeredit: A plugin for the Video Disk Recorder + * undelete: A plugin for the Video Disk Recorder * * See the README file for copyright information and how to reach the author. * diff --git a/menunoselectitem.h b/menunoselectitem.h index 854708c..9bc69be 100644 --- a/menunoselectitem.h +++ b/menunoselectitem.h @@ -1,5 +1,5 @@ /* - * autotimeredit: A plugin for the Video Disk Recorder + * undelete: A plugin for the Video Disk Recorder * * See the README file for copyright information and how to reach the author. * diff --git a/menusetup.c b/menusetup.c index 5500e98..90704bc 100644 --- a/menusetup.c +++ b/menusetup.c @@ -171,9 +171,9 @@ void cMenuSetupUndelete::Set(int FunctionToSelect) if (DisplayLine(functionline_num[1]) && functionline_b_e[1].u == 0x3) Add(new cMenuEditIntItem (tr("Setup$ Display bottom salvage ex lines"), &functionline_num[1].u, 1, 200)); if ((DisplayLine(functionline_b_e[0]) || DisplayLine(functionline_b_e[1])) && DisplayLine(firstsalvage) && ((functionline_b_e[0].u & functionline_b_e[1].u & 0x1) != 0x0 || (functionline_b_e[0].u & functionline_b_e[1].u & 0x2) != 0x0)) - Add(new cMenuEditBoolItem(tr("Setup$ inward lines"), &firstsalvage.u, tr("Choise$purge"), tr("Choise$salvage"))); + Add(new cMenuEditBoolItem(tr("Setup$ inward lines"), &firstsalvage.u, tr("Choice$purge"), tr("Choice$salvage"))); if (FunctionToSelect > 0) - current = Count(); // pre select this line for display + current = Count(); // preselect this line for display Add(new cMenuEditBoolItem(tr("Setup$Change assigned functionkeys"), &show_setupfunction)); if (show_setupfunction) { diff --git a/menuundelete.c b/menuundelete.c index 404a2a8..e457703 100644 --- a/menuundelete.c +++ b/menuundelete.c @@ -241,23 +241,23 @@ void cMenuRecordingSelect::AddFunctionLines(void) if (top_line[0]) Ins(new cOsdItem(tr("Display$Purge all records ..."), osUser2)); if (top_line[1]) - Ins(new cOsdItem(tr("Display$Salavge all records ..."), osUser3)); + Ins(new cOsdItem(tr("Display$Salvage all records ..."), osUser3)); if (bottom_line[0]) Add(new cOsdItem(tr("Display$Purge all records ..."), osUser2)); if (bottom_line[1]) - Add(new cOsdItem(tr("Display$Salavge all records ..."), osUser3)); + Add(new cOsdItem(tr("Display$Salvage all records ..."), osUser3)); } else { if (top_line[1]) - Ins(new cOsdItem(tr("Display$Salavge all records ..."), osUser3)); + Ins(new cOsdItem(tr("Display$Salvage all records ..."), osUser3)); if (top_line[0]) Ins(new cOsdItem(tr("Display$Purge all records ..."), osUser2)); if (bottom_line[1]) - Add(new cOsdItem(tr("Display$Salavge all records ..."), osUser3)); + Add(new cOsdItem(tr("Display$Salvage all records ..."), osUser3)); if (bottom_line[0]) Add(new cOsdItem(tr("Display$Purge all records ..."), osUser2)); } - d1syslog("cMenuRecordingSelect::AddFunctionLines", "new top(purge)=%s top(salavge)=%s bottom(purge)=%s bottom(salvage)=%s", top_line[0] ? "yes" : "no", top_line[1] ? "yes" : "no", bottom_line[0] ? "yes" : "no", bottom_line[1] ? "yes" : "no"); + d1syslog("cMenuRecordingSelect::AddFunctionLines", "new top(purge)=%s top(salvage)=%s bottom(purge)=%s bottom(salvage)=%s", top_line[0] ? "yes" : "no", top_line[1] ? "yes" : "no", bottom_line[0] ? "yes" : "no", bottom_line[1] ? "yes" : "no"); } void cMenuRecordingSelect::DelFunctionLines(void) @@ -447,7 +447,7 @@ eOSState cMenuRecordingSelect::FunctionCall(int FunctionNumber) state = osContinue; break; - // Choise$Display keys + // Choice$Display keys case 10: state = AddSubMenu(new cMenuDispKey()); break; } diff --git a/po/de_DE.po b/po/de_DE.po index 91b35d6..fa19d2a 100644 --- a/po/de_DE.po +++ b/po/de_DE.po @@ -93,11 +93,11 @@ msgid "Setup$ Display bottom salvage ex lines" msgstr " Anzahl Einträge für Darstellung" #: menusetup.c:175 undelete.c:114 undelete.c:142 undelete.c:275 -msgid "Choise$purge" +msgid "Choice$purge" msgstr "löschen" #: menusetup.c:175 undelete.c:114 undelete.c:142 undelete.c:276 -msgid "Choise$salvage" +msgid "Choice$salvage" msgstr "wiederherst." #: menusetup.c:175 @@ -155,7 +155,7 @@ msgid "Display$Purge all records ..." msgstr "Alle Aufnahmen endgültig löschen ..." #: menuundelete.c:241 menuundelete.c:245 menuundelete.c:249 menuundelete.c:253 -msgid "Display$Salavge all records ..." +msgid "Display$Salvage all records ..." msgstr "Alle Aufnahmen wiederherstellen ..." #: menuundelete.c:352 @@ -212,51 +212,51 @@ msgid "Error$error accessing indexfile" msgstr "Fehler beim lesen der Indexdatei" #: undelete.c:269 undelete.c:273 undelete.c:297 -msgid "Choise$none" +msgid "Choice$none" msgstr "ohne" #: undelete.c:270 -msgid "Choise$top" +msgid "Choice$top" msgstr "oben" #: undelete.c:271 -msgid "Choise$bottom" +msgid "Choice$bottom" msgstr "unten" #: undelete.c:272 -msgid "Choise$top and bottom" +msgid "Choice$top and bottom" msgstr "oben & unten" #: undelete.c:274 -msgid "Choise$open/summary" +msgid "Choice$open/summary" msgstr "Öffnen/Inhalt" #: undelete.c:277 -msgid "Choise$purge all" +msgid "Choice$purge all" msgstr "alle löschen" #: undelete.c:278 -msgid "Choise$salvage all" +msgid "Choice$salvage all" msgstr "alle wiederh." #: undelete.c:279 -msgid "Choise$open" +msgid "Choice$open" msgstr "Öffnen" #: undelete.c:280 -msgid "Choise$summary" +msgid "Choice$summary" msgstr "Inhalt" #: undelete.c:281 -msgid "Choise$switch hotkeys to 1" +msgid "Choice$switch hotkeys to 1" msgstr "Tastenbel. 1" #: undelete.c:282 -msgid "Choise$switch hotkeys to 2" +msgid "Choice$switch hotkeys to 2" msgstr "Tastenbel. 2" #: undelete.c:283 -msgid "Choise$Display keys" +msgid "Choice$Display keys" msgstr "Tastenanzeige" #: undelete.c:284 @@ -308,7 +308,7 @@ msgid "Blue" msgstr "" #: undelete.c:307 -msgid "Choise$User" +msgid "Choice$User" msgstr "Benutzer" #: undelete.c:406 @@ -500,12 +500,12 @@ msgstr "Löschung" #: vdrtools.c:179 msgid "DeleteLine" -msgstr "Zeile löschen" +msgstr "ZeileLöschen" #: vdrtools.c:180 msgid "HelpKeys" -msgstr "Hilfstasten" +msgstr "HilfeTasten" #: vdrtools.c:181 -msgid "unknow" +msgid "unknown" msgstr "unbekannt" diff --git a/po/fr_FR.po b/po/fr_FR.po index 9c270d3..4beb91b 100644 --- a/po/fr_FR.po +++ b/po/fr_FR.po @@ -96,11 +96,11 @@ msgid "Setup$ Display bottom salvage ex lines" msgstr " Nombre de ligne d'affichage" #: menusetup.c:175 undelete.c:114 undelete.c:142 undelete.c:275 -msgid "Choise$purge" +msgid "Choice$purge" msgstr "effacer" #: menusetup.c:175 undelete.c:114 undelete.c:142 undelete.c:276 -msgid "Choise$salvage" +msgid "Choice$salvage" msgstr "restaurer" #: menusetup.c:175 @@ -158,7 +158,7 @@ msgid "Display$Purge all records ..." msgstr "Effacer tous les enregistrement définitivement ..." #: menuundelete.c:241 menuundelete.c:245 menuundelete.c:249 menuundelete.c:253 -msgid "Display$Salavge all records ..." +msgid "Display$Salvage all records ..." msgstr "Restaurer tout les enregistrements ..." #: menuundelete.c:352 @@ -215,51 +215,51 @@ msgid "Error$error accessing indexfile" msgstr "" #: undelete.c:269 undelete.c:273 undelete.c:297 -msgid "Choise$none" +msgid "Choice$none" msgstr "sans" #: undelete.c:270 -msgid "Choise$top" +msgid "Choice$top" msgstr "en haut" #: undelete.c:271 -msgid "Choise$bottom" +msgid "Choice$bottom" msgstr "en bas" #: undelete.c:272 -msgid "Choise$top and bottom" +msgid "Choice$top and bottom" msgstr "en haut & en bas" #: undelete.c:274 -msgid "Choise$open/summary" +msgid "Choice$open/summary" msgstr "Ouvrir/contenu" #: undelete.c:277 -msgid "Choise$purge all" +msgid "Choice$purge all" msgstr "effacer tout" #: undelete.c:278 -msgid "Choise$salvage all" +msgid "Choice$salvage all" msgstr "restaurer tout" #: undelete.c:279 -msgid "Choise$open" +msgid "Choice$open" msgstr "ouvrir" #: undelete.c:280 -msgid "Choise$summary" +msgid "Choice$summary" msgstr "Contenu" #: undelete.c:281 -msgid "Choise$switch hotkeys to 1" +msgid "Choice$switch hotkeys to 1" msgstr "Choix touche 1" #: undelete.c:282 -msgid "Choise$switch hotkeys to 2" +msgid "Choice$switch hotkeys to 2" msgstr "Choix touche 2" #: undelete.c:283 -msgid "Choise$Display keys" +msgid "Choice$Display keys" msgstr "Affiche des touches" #: undelete.c:284 @@ -311,7 +311,7 @@ msgid "Blue" msgstr "" #: undelete.c:307 -msgid "Choise$User" +msgid "Choice$User" msgstr "Utilisateur" #: undelete.c:406 @@ -510,5 +510,5 @@ msgid "HelpKeys" msgstr "Touche d'aide" #: vdrtools.c:181 -msgid "unknow" +msgid "unknown" msgstr "inconnu" @@ -110,7 +110,7 @@ void DisplaySetings(void) if (functionline_b_e[1].u == 0x3) isyslog("%s: num entry for display = [ %c%c%c ] %d", IsDefault(functionline_num[1]), functionline_num[1].u); if ((functionline_b_e[0].u & functionline_b_e[1].u & 0x1) != 0x0 || (functionline_b_e[0].u & functionline_b_e[1].u & 0x2) != 0x0) - isyslog("%s: inward lines = [ %c%c%c ] %s", IsDefault(firstsalvage), firstsalvage.u ? tr("Choise$salvage") : tr("Choise$purge")); + isyslog("%s: inward lines = [ %c%c%c ] %s", IsDefault(firstsalvage), firstsalvage.u ? tr("Choice$salvage") : tr("Choice$purge")); for (int i = 2; i < MaxFunctionName; i++) isyslog("%s: key for %-20s = [ %c%c%c ] %s", plugin_name, FunctionName[i], IsDefaultS(functionkey[i]), KeysName[functionkey[i].u]); isyslog("%s: spec. function for OK-key = [ %c%c%c ] %s", IsDefault(okkey), FunctionName[okkey.u]); @@ -138,7 +138,7 @@ void DisplaySetings(void) if (functionline_b_e[1].u == 0x3) dsyslog("%s: num entry for display = [ %c%c%c ] %d", IsDefault(functionline_num[1]), functionline_num[1].u); if ((functionline_b_e[0].u & functionline_b_e[1].u & 0x1) != 0x0 || (functionline_b_e[0].u & functionline_b_e[1].u & 0x2) != 0x0) - dsyslog("%s: inward lines = [ %c%c%c ] %s", IsDefault(firstsalvage), firstsalvage.u ? tr("Choise$salvage") : tr("Choise$purge")); + dsyslog("%s: inward lines = [ %c%c%c ] %s", IsDefault(firstsalvage), firstsalvage.u ? tr("Choice$salvage") : tr("Choice$purge")); for (int i = 2; i < MaxFunctionName; i++) dsyslog("%s: key for %-20s = [ %c%c%c ] %s", plugin_name, FunctionName[i], IsDefaultS(functionkey[i]), KeysName[functionkey[i].u]); dsyslog("%s: spec. function for OK-key = [ %c%c%c ] %s", IsDefault(okkey), FunctionName[okkey.u]); @@ -265,21 +265,21 @@ void cPluginUndelete::TestAndSetOSDLanguage(void) if (OSDLanguage != Setup.OSDLanguage) { FreeKeyNames(); OSDLanguage = Setup.OSDLanguage; - FunctionLine[0] = tr("Choise$none"); - FunctionLine[1] = tr("Choise$top"); - FunctionLine[2] = tr("Choise$bottom"); - FunctionLine[3] = tr("Choise$top and bottom"); - FunctionName[0] = tr("Choise$none"); - FunctionName[1] = tr("Choise$open/summary"); - FunctionName[2] = tr("Choise$purge"); - FunctionName[3] = tr("Choise$salvage"); - FunctionName[4] = tr("Choise$purge all"); - FunctionName[5] = tr("Choise$salvage all"); - FunctionName[6] = tr("Choise$open"); - FunctionName[7] = tr("Choise$summary"); - FunctionName[8] = tr("Choise$switch hotkeys to 1"); - FunctionName[9] = tr("Choise$switch hotkeys to 2"); - FunctionName[10] = tr("Choise$Display keys"); + FunctionLine[0] = tr("Choice$none"); + FunctionLine[1] = tr("Choice$top"); + FunctionLine[2] = tr("Choice$bottom"); + FunctionLine[3] = tr("Choice$top and bottom"); + FunctionName[0] = tr("Choice$none"); + FunctionName[1] = tr("Choice$open/summary"); + FunctionName[2] = tr("Choice$purge"); + FunctionName[3] = tr("Choice$salvage"); + FunctionName[4] = tr("Choice$purge all"); + FunctionName[5] = tr("Choice$salvage all"); + FunctionName[6] = tr("Choice$open"); + FunctionName[7] = tr("Choice$summary"); + FunctionName[8] = tr("Choice$switch hotkeys to 1"); + FunctionName[9] = tr("Choice$switch hotkeys to 2"); + FunctionName[10] = tr("Choice$Display keys"); FunctionHotKey[2] = tr("Display$purge"); FunctionHotKey[3] = tr("Display$salvage"); FunctionHotKey[4] = tr("Display$purge all"); @@ -293,7 +293,7 @@ void cPluginUndelete::TestAndSetOSDLanguage(void) FunctionHotKey[8] = tr("Display$<--1"); FunctionHotKey[9] = tr("Display$2-->"); FunctionHotKey[10] = tr("Display$disp. keys"); - KeysName[0] = strdup(tr("Choise$none")); + KeysName[0] = strdup(tr("Choice$none")); for (int i = 1; i <= 2; i++) { asprintf(&KeysName[i], "%s (%d)", tr("Red"), i); asprintf(&KeysName[i+2], "%s (%d)", tr("Green"), i); @@ -303,7 +303,7 @@ void cPluginUndelete::TestAndSetOSDLanguage(void) for (int i = 0; i <= 9; i++) asprintf(&KeysName[i+9], "%d", i); for (int i = 1; i <= 9; i++) - asprintf(&KeysName[i+18], "%s %d", tr("Choise$User"), i); + asprintf(&KeysName[i+18], "%s %d", tr("Choice$User"), i); } } @@ -670,11 +670,11 @@ const char **cPluginUndelete::SVDRPHelpPages(void) { static const char *HelpPages[] = { "LSTD [ <number> ]\n" - " List deleted recordings. Without option, all deleted recordings are\n" - " listed.\n" + " List deleted recordings.\n" + " Without option, all deleted recordings are listed.\n" " Otherwise the information for the given deleted recording is listed.", "SIZED [ -h ]\n" - " Caclulate the size of deleted recordings. Result is in Bytes or\n" + " Calculate the size of deleted recordings. Result is in Bytes or\n" " with option -h in human readable format.", "RMDIR\n" " Start remove empty directory in the background", @@ -785,7 +785,7 @@ cString cPluginUndelete::SVDRPCommand(const char *Command, const char *Option, i if (strcasecmp(Option, "-h")) { ReplyCode = 501; - return cString::sprintf("Error in parameter \"%s\" (only -h allow)", Option); + return cString::sprintf("Error in parameter \"%s\" (only -h allowed)", Option); } else { float llsizetmp = llsize; @@ -795,7 +795,7 @@ cString cPluginUndelete::SVDRPCommand(const char *Command, const char *Option, i llsizetmp /= 1024; int decimalplaces = Unit < 2 ? 0 : Unit > 2 ? 2 : 1; ReplyCode = 904; - return cString::sprintf("size of deleted recordings are %1.*f %s", decimalplaces, llsizetmp, strUnit[Unit]); + return cString::sprintf("size of deleted recordings is %1.*f %s", decimalplaces, llsizetmp, strUnit[Unit]); } else { @@ -808,12 +808,12 @@ cString cPluginUndelete::SVDRPCommand(const char *Command, const char *Option, i if (oRemoveThread.ActiveWithCancel()) { ReplyCode = 554; - return "thread for remove empty directory alredy active"; + return "thread for removing empty directories already active"; } else { oRemoveThread.Start(); ReplyCode = 905; - return "thread for remove empty directory is started"; + return "thread for removing empty directories is started"; } } else if CMD("PURGE") { @@ -842,8 +842,8 @@ cString cPluginUndelete::SVDRPCommand(const char *Command, const char *Option, i isyslog("%s: purge deleted recording (%s)", plugin_name, recording->FileName()); if (!RemoveVideoFile(recording->FileName())) { - esyslog("%s: Error while remove deleted recording (%s)", plugin_name, recording->FileName()); - return cString::sprintf("error while purge the deleted recording \"%s\" [%s]", Option, recording->Title()); + esyslog("%s: Error while removing deleted recording (%s)", plugin_name, recording->FileName()); + return cString::sprintf("error while purging the deleted recording \"%s\" [%s]", Option, recording->Title()); } NextRemoveThreadStart = time(NULL) + 600; char *temp; @@ -851,7 +851,7 @@ cString cPluginUndelete::SVDRPCommand(const char *Command, const char *Option, i freenull(SVDRP_Process); SVDRP_Process = temp; ReplyCode = 906; - return cString::sprintf("purge of deleted recording \"%s\" [%s] is successful", Option, recording->Title()); + return cString::sprintf("purge of deleted recording \"%s\" [%s] was successful", Option, recording->Title()); } else return cString::sprintf("deleted recording \"%s\" not found%s", Option, DeletedRecordings.Count() ? "" : " (use LSTD before purge)"); } @@ -895,15 +895,15 @@ cString cPluginUndelete::SVDRPCommand(const char *Command, const char *Option, i bool recordingsavailable = DeletedRecordings.Count(); DeletedRecordings.Clear(); if (recordingsavailable) - return cString::sprintf("%snot all deleted recordings are purged (see lstd)", list ? (const char *)cString(list, true) : ""); + return cString::sprintf("%snot all deleted recordings are purged (see LSTD)", list ? (const char *)cString(list, true) : ""); else if (list) { ReplyCode = 907; - return cString::sprintf("%swarings while purge deleted recordings", (const char *)cString(list, true)); + return cString::sprintf("%swarnings while purge deleted recordings", (const char *)cString(list, true)); } else { ReplyCode = 908; - return "all deleted recordings are purged and thread for remove empty directory is started"; + return "all deleted recordings were purged and thread for removing empty directories is started"; } } else { @@ -913,7 +913,7 @@ cString cPluginUndelete::SVDRPCommand(const char *Command, const char *Option, i } else { ReplyCode = 501; - return "number of deleted recoding for purge missing"; + return "number of deleted recording for purge missing"; } } else if CMD("SALVAGE") { @@ -954,8 +954,8 @@ cString cPluginUndelete::SVDRPCommand(const char *Command, const char *Option, i { if (!RenameVideoFile(recording->FileName(), (const char *)NewName)) { - esyslog("%s: Error while rename deleted recording (%s) to (%s)", plugin_name, recording->FileName(), (const char *)NewName); - return cString::sprintf("error while rename deleted recording \"%s\" [%s]", Option, recording->Title()); + esyslog("%s: Error while renaming deleted recording (%s) to (%s)", plugin_name, recording->FileName(), (const char *)NewName); + return cString::sprintf("error while renaming deleted recording \"%s\" [%s]", Option, recording->Title()); } } } @@ -980,7 +980,7 @@ cString cPluginUndelete::SVDRPCommand(const char *Command, const char *Option, i index->Get(LastFrame, &FileNumber, &FileOffset); delete index; if (FileNumber == 0) - return cString::sprintf("error while read last filenumber for \"%s\" [%s]", Option, recording->Title()); + return cString::sprintf("error while reading last filenumber for \"%s\" [%s]", Option, recording->Title()); for (int i = 1; i <= FileNumber; i++) { #if VDRVERSNUM >= 10703 asprintf(&temp, recording->IsPesRecording() ? "%s/%03d.vdr" : "%s/%05d.ts", (const char *)NewName, i); @@ -1040,15 +1040,15 @@ cString cPluginUndelete::SVDRPCommand(const char *Command, const char *Option, i bool recordingsavailable = DeletedRecordings.Count(); DeletedRecordings.Clear(); if (recordingsavailable) - return cString::sprintf("%snot all deleted recordings are salvaged (see lstd)", list ? (const char *)cString(list, true) : ""); + return cString::sprintf("%snot all deleted recordings were salvaged (see LSTD)", list ? (const char *)cString(list, true) : ""); else if (list) { ReplyCode = 910; - return cString::sprintf("%swarings while salvage deleted recordings", (const char *)cString(list, true)); + return cString::sprintf("%swarnings while salvaging deleted recordings", (const char *)cString(list, true)); } else { ReplyCode = 911; - return "all deleted recordings are salvaged"; + return "all deleted recordings were salvaged"; } } else { @@ -1058,7 +1058,7 @@ cString cPluginUndelete::SVDRPCommand(const char *Command, const char *Option, i } else { ReplyCode = 501; - return "number of deleted recoding for purge missing"; + return "number of deleted recording for purge missing"; } } return NULL; @@ -84,7 +84,7 @@ char *SkipQuote(char *s) char *ExchangeChars(char *s, bool ToFileSystem) { -// ToFileSystem is not use, only for comatibility with 'ExchangeChars' from 'recording.c' +// ToFileSystem is not used, only for compatibility with 'ExchangeChars' from 'recording.c' char *p = s; while (*p) { @@ -177,7 +177,7 @@ const char *KeyName(eKeys Key) case kPurgeRec: return tr("Purge"); break; case kDelLine: return tr("DeleteLine"); break; case kHelpKeys: return tr("HelpKeys"); break; - default: return tr("unknow"); break; + default: return tr("unknown"); break; } } @@ -214,7 +214,7 @@ const char *OSStateName(eOSState OSState) case osUser8: return "osUser8"; case osUser9: return "osUser9"; case osUser10: return "osUser10"; - default: return "unknow"; + default: return "unknown"; } return ""; } |