Skip to content

Commit

Permalink
typo ellipsis, added (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
leela authored and nijel committed Sep 16, 2019
1 parent 1e439bd commit 37c9629
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
6 changes: 3 additions & 3 deletions gammu/backup.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ void DoBackup(int argc, char *argv[])
}

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("Press Ctrl+C to break..."));
fprintf(stderr, "%s\n", _("Press Ctrl+C to break"));

GSM_Init(TRUE);

Expand Down Expand Up @@ -1023,7 +1023,7 @@ void Restore(int argc, char *argv[])
printf("%s\n", _("Use addnew command if you just want to add some entries to your phone."));

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("Press Ctrl+C to break..."));
fprintf(stderr, "%s\n", _("Press Ctrl+C to break"));

DoRestore = FALSE;
if (Backup.CallerLogos[0] != NULL) {
Expand Down Expand Up @@ -1642,7 +1642,7 @@ void AddNew(int argc, char *argv[])
}

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("Press Ctrl+C to break..."));
fprintf(stderr, "%s\n", _("Press Ctrl+C to break"));


GSM_Init(TRUE);
Expand Down
8 changes: 4 additions & 4 deletions gammu/calendar.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ void GetAllCalendar(int argc UNUSED, char *argv[]UNUSED)
gboolean refresh = TRUE;

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("Press Ctrl+C to break..."));
fprintf(stderr, "%s\n", _("Press Ctrl+C to break"));

GSM_Init(TRUE);

Expand Down Expand Up @@ -882,7 +882,7 @@ void ListToDoCategory(int argc UNUSED, char *argv[])
GSM_Init(TRUE);

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("Press Ctrl+C to break..."));
fprintf(stderr, "%s\n", _("Press Ctrl+C to break"));

Length = strlen(argv[2]);
for (j = 0; j < Length; j++) {
Expand Down Expand Up @@ -957,7 +957,7 @@ void GetAllToDo(int argc UNUSED, char *argv[]UNUSED)
gboolean start = TRUE;

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("Press Ctrl+C to break..."));
fprintf(stderr, "%s\n", _("Press Ctrl+C to break"));

GSM_Init(TRUE);

Expand All @@ -982,7 +982,7 @@ void GetAllNotes(int argc UNUSED, char *argv[]UNUSED)
gboolean start = TRUE;

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("Press Ctrl+C to break..."));
fprintf(stderr, "%s\n", _("Press Ctrl+C to break"));

GSM_Init(TRUE);

Expand Down
4 changes: 2 additions & 2 deletions gammu/depend/nokia/dct4.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ void DCT4VibraTest(int argc, char *argv[])
error=DCT4EnableVibra(gsm, TRUE);
Print_Error(error);

printf("%s\n", _("Press any key to continue..."));
printf("%s\n", _("Press any key to continue"));
GetLine(stdin, ans, 99);

error=DCT4EnableVibra(gsm, FALSE);
Expand Down Expand Up @@ -1003,7 +1003,7 @@ void DCT4DisplayTest(int argc, char *argv[])
req[8] = GetInt(argv[2]);
gsm->Protocol.Functions->WriteMessage(gsm, req, 10, 0x40);

printf("%s\n", _("Press any key to continue..."));
printf("%s\n", _("Press any key to continue"));
GetLine(stdin, ans, 99);

DCT4_SetPhoneMode(gsm, DCT4_MODE_NORMAL);
Expand Down
8 changes: 4 additions & 4 deletions gammu/gammu.c
Original file line number Diff line number Diff line change
Expand Up @@ -789,10 +789,10 @@ void HelpGeneral(void)

printf("%s\n\n", _("Usage: gammu [parameters] <command> [options]"));
printf("%s\n", _("Parameters before command configure gammu behaviour:"));
printf("%s\n", _("-c / --config <filename> ... name of configuration file"));
printf("%s\n", _("-s / --section <confign> ... section of config file to use, eg. 42"));
printf("%s\n", _("-d / --debug <level> ... debug level (nothing|text|textall|textalldate|binary|errors)"));
printf("%s\n\n", _("-f / --debug-file <filename> ... file for logging debug messages"));
printf("%s\n", _("-c / --config <filename> name of configuration file"));
printf("%s\n", _("-s / --section <confign> section of config file to use, eg. 42"));
printf("%s\n", _("-d / --debug <level> debug level (nothing|text|textall|textalldate|binary|errors)"));
printf("%s\n\n", _("-f / --debug-file <filename> file for logging debug messages"));

printf("%s\n\n", _("Commands can be specified with or without leading --."));

Expand Down
6 changes: 3 additions & 3 deletions gammu/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void GetAllMemory(int argc UNUSED, char *argv[])
GSM_MemoryType MemoryType;

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("Press Ctrl+C to break..."));
fprintf(stderr, "%s\n", _("Press Ctrl+C to break"));

MemoryType = GSM_StringToMemoryType(argv[2]);

Expand Down Expand Up @@ -309,7 +309,7 @@ void SearchMemory(int argc UNUSED, char *argv[])
int Length;

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("Press Ctrl+C to break..."));
fprintf(stderr, "%s\n", _("Press Ctrl+C to break"));

Length = strlen(argv[2]);
if (Length > GSM_PHONEBOOK_TEXT_LENGTH) {
Expand Down Expand Up @@ -373,7 +373,7 @@ void ListMemoryCategory(int argc UNUSED, char *argv[])
GSM_Init(TRUE);

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("Press Ctrl+C to break..."));
fprintf(stderr, "%s\n", _("Press Ctrl+C to break"));

Length = strlen(argv[2]);
for (j = 0; j < Length; j++) {
Expand Down
10 changes: 5 additions & 5 deletions gammu/message.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void GetUSSD(int argc UNUSED, char *argv[])
GSM_Init(TRUE);

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("Press Ctrl+C to break..."));
fprintf(stderr, "%s\n", _("Press Ctrl+C to break"));
fflush(stderr);

GSM_SetIncomingUSSDCallback(gsm, IncomingUSSD2, NULL);
Expand Down Expand Up @@ -602,7 +602,7 @@ void SendSaveDisplaySMS(int argc, char *argv[])
GSM_SetSendSMSStatusCallback(gsm, SendSMSStatus, NULL);

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("If you want break, press Ctrl+C..."));
fprintf(stderr, "%s\n", _("If you want break, press Ctrl+C"));
fflush(stderr);
}

Expand All @@ -627,7 +627,7 @@ void SendSaveDisplaySMS(int argc, char *argv[])
SMSStatus = ERR_TIMEOUT;
error = GSM_SendSavedSMS(gsm, 0, sms->SMS[i].Location);
Print_Error(error);
printf("%s", _("....waiting for network answer"));
printf("%s", _("waiting for network answer"));
fflush(stdout);

while (!gshutdown) {
Expand All @@ -642,7 +642,7 @@ void SendSaveDisplaySMS(int argc, char *argv[])
break;
case SMS_Send:
signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("If you want break, press Ctrl+C..."));
fprintf(stderr, "%s\n", _("If you want break, press Ctrl+C"));
fflush(stderr);

GSM_SetSendSMSStatusCallback(gsm, SendSMSStatus, NULL);
Expand All @@ -653,7 +653,7 @@ void SendSaveDisplaySMS(int argc, char *argv[])
SMSStatus = ERR_TIMEOUT;
error=GSM_SendSMS(gsm, &(sms->SMS[i]));
Print_Error(error);
printf("%s", _("....waiting for network answer"));
printf("%s", _("waiting for network answer"));
fflush(stdout);

while (!gshutdown) {
Expand Down
8 changes: 4 additions & 4 deletions gammu/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ GSM_Error GSM_PlayRingtone(GSM_Ringtone *ringtone)
GSM_Error error;

signal(SIGINT, interrupt);
printf("%s\n", _("Press Ctrl+C to break..."));
printf("%s\n", _("Press Ctrl+C to break"));

for (i = 0; i < ringtone->NoteTone.NrCommands; i++) {
if (gshutdown) break;
Expand Down Expand Up @@ -478,8 +478,8 @@ void Monitor(int argc, char *argv[])
}

signal(SIGINT, interrupt);
fprintf(stderr, "%s\n", _("Press Ctrl+C to break..."));
printf("%s\n\n", _("Entering monitor mode..."));
fprintf(stderr, "%s\n", _("Press Ctrl+C to break"));
printf("%s\n\n", _("Entering monitor mode"));

GSM_Init(TRUE);

Expand Down Expand Up @@ -574,7 +574,7 @@ void Monitor(int argc, char *argv[])
printf("\n");
}

printf("%s\n", _("Leaving monitor mode..."));
printf("%s\n", _("Leaving monitor mode"));

/* Report if we failed because of an error */
Print_Error(error);
Expand Down

0 comments on commit 37c9629

Please sign in to comment.