Skip to content

Commit c122646

Browse files
committed
Some message clean-ups.
1 parent 6047016 commit c122646

File tree

3 files changed

+52
-43
lines changed

3 files changed

+52
-43
lines changed

po/de/text-block.po

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ msgid ""
3232
msgstr ""
3333
"Project-Id-Version: \"td-system-tools\" \"2.1.0\"\n"
3434
"Report-Msgid-Bugs-To: \"https://github.com/dreibh/system-tools/issues\"\n"
35-
"POT-Creation-Date: 2025-04-26 12:21+0200\n"
35+
"POT-Creation-Date: 2025-05-08 22:42+0200\n"
3636
"PO-Revision-Date: 2025-04-26 11:43+0100\n"
3737
"Last-Translator: Thomas Dreibholz <[email protected]>\n"
3838
"Language-Team:\n"
@@ -44,91 +44,96 @@ msgstr ""
4444
"X-Language: de\n"
4545
"X-Source-Language: en_GB\n"
4646

47-
#: src/text-block.c:119
47+
#: src/text-block.c:121
4848
#, c-format
4949
msgid "ERROR: Unable to open output file %s: %s"
5050
msgstr "FEHLER: Ausgabedatei %s kann nicht erstellt werden: %s"
5151

52-
#: src/text-block.c:146
52+
#: src/text-block.c:148
5353
#, c-format
5454
msgid "ERROR: Unable to write to output file %s: %s"
5555
msgstr "FEHLER: Ausgabedatei %s kann nicht beschrieben werden: %s"
5656

57-
#: src/text-block.c:182
57+
#: src/text-block.c:184
5858
#, c-format
5959
msgid "ERROR: Unable to read from insert file %s: %s"
6060
msgstr "FEHLER: Einfügedatei %s kann nicht gelesen werden: %s"
6161

62-
#: src/text-block.c:326
62+
#: src/text-block.c:331
6363
msgid "Usage:"
6464
msgstr "Aufruf:"
6565

66-
#: src/text-block.c:444
66+
#: src/text-block.c:449
6767
msgid "ERROR: Too few arguments for line selection (--select|-s)!"
6868
msgstr "FEHLER: Zu wenige Argumente für Zeilenauswahl (--select|-s)!"
6969

70-
#: src/text-block.c:478
70+
#: src/text-block.c:483
7171
msgid "ERROR: Invalid value for enumeration format (--enumerate-format)!"
7272
msgstr "FEHLER: Ungültiger Wert für das Nummerierungsformat (--enumerate-format)!"
7373

74-
#: src/text-block.c:524
74+
#: src/text-block.c:529
7575
msgid "ERROR: Too few arguments for highlight parameters (--highlight-params)!"
7676
msgstr "FEHLER: Zu wenige Argumente für Highlight-Parameter (--highlight-params)!"
7777

78-
#: src/text-block.c:536
78+
#: src/text-block.c:541
7979
#, c-format
8080
msgid "ERROR: Invalid argument %s!"
8181
msgstr "FEHLER: Ungültiges Argument %s!"
8282

83-
#: src/text-block.c:548
83+
#: src/text-block.c:553
8484
msgid "ERROR: Invalid min/max settings (--min-actions/-m/--max-actions/-M)!"
8585
msgstr "FEHLER: Ungültige Min/Max-Einstellungen (--min-actions/-m/--max-actions/-M)!"
8686

87-
#: src/text-block.c:559
87+
#: src/text-block.c:564
8888
msgid "ERROR: Line selection (--select|-s) and tags (--begin-tag/-b/--end-tag/-e/--tag/-t) are mutually exclusive!"
8989
msgstr "FEHLER: Zeilenauswahl (--select|-s) und Tags (--begin-tag/-b/--end-tag/-e/--tag/-t) schließen sich gegenseitig aus!"
9090

91-
#: src/text-block.c:571
91+
#: src/text-block.c:576
9292
msgid "WARNING: Begin/end tags (--begin-tag/-b/--end-tag/-e/--tag/-t) have no effect for Cat, Discard, or Enumerate!"
9393
msgstr "WARNUNG: Beginn-/End-Tags (--begin-tag/-b/--end-tag/-e/--tag/-t) haben keine Wirkung bei Cat, Discard oder Enumerate!"
9494

95-
#: src/text-block.c:581
95+
#: src/text-block.c:586
9696
msgid "WARNING: Identical begin/end tags (--tag/-t) with excluded tags (--exclude-tags/-x) are not useful for Extract, Remove, or Replace!"
9797
msgstr "WARNUNG: Identische Beginn/End-Tags (--tag/-t) mit ausgeschlossenen Tags (--exclude-tags/-x) sind nicht sinnvoll für Extract, Remove oder Replace!"
9898

99-
#: src/text-block.c:600
99+
#: src/text-block.c:608
100100
#, c-format
101101
msgid "ERROR: Unable to open input file %s: %s"
102102
msgstr "FEHLER: Eingabedatei %s läßt sich nicht öffnen: %s"
103103

104-
#: src/text-block.c:621
104+
#: src/text-block.c:629
105105
#, c-format
106106
msgid "WARNING: Line selection range (%lld — %lld) is not useful. Input file too short?"
107107
msgstr "WARNUNG: Zeilenauswahlbereich (%lld — %lld) ist nicht sinnvoll. Eingabedatei zu kurz?"
108108

109-
#: src/text-block.c:628
109+
#: src/text-block.c:636
110110
msgid "ERROR: Select from end of file (negative line number) is only possible with input file!"
111111
msgstr "FEHLER: Zeilenauswahl vom Ende der Datei (negative Zeilennummer) ist nur mit Eingabedatei möglich!"
112112

113-
#: src/text-block.c:639
113+
#: src/text-block.c:650
114114
#, c-format
115115
msgid "ERROR: Unable to create output file %s: %s"
116116
msgstr "FEHLER: Ausgabedatei %s kann nicht erstellt werden: %s"
117117

118-
#: src/text-block.c:654
118+
#: src/text-block.c:665
119+
#, fuzzy
120+
msgid "ERROR: Insert from standard input requires an input file!"
121+
msgstr "FEHLER: Einfügen von der Standardeingabe erfordert eine Eingabedatei!"
122+
123+
#: src/text-block.c:674
119124
#, c-format
120125
msgid "ERROR: Unable to open insert file %s: %s"
121126
msgstr "FEHLER: Einfügedatei %s läßt sich nicht öffnen: %s"
122127

123-
#: src/text-block.c:665
128+
#: src/text-block.c:685
124129
msgid "ERROR: No insert file provided!"
125130
msgstr "FEHLER: Keine Einfügedatei angegeben!"
126131

127-
#: src/text-block.c:826
132+
#: src/text-block.c:846
128133
#, c-format
129134
msgid "ERROR: Read error: %s"
130135
msgstr "FEHLER: Lesefehler: %s"
131136

132-
#: src/text-block.c:840
137+
#: src/text-block.c:860
133138
msgid "ERROR: Number of actions outside of set limits (--min-actions/-m/--max-actions/-M)!"
134139
msgstr "FEHLER: Anzahl der Aktionen liegt außerhalb der festgelegten Grenzen (--min-actions/-m/--max-actions/-M)!"

po/nb/text-block.po

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ msgid ""
3232
msgstr ""
3333
"Project-Id-Version: \"td-system-tools\" \"2.1.0\"\n"
3434
"Report-Msgid-Bugs-To: \"https://github.com/dreibh/system-tools/issues\"\n"
35-
"POT-Creation-Date: 2025-04-26 12:21+0200\n"
35+
"POT-Creation-Date: 2025-05-08 22:42+0200\n"
3636
"PO-Revision-Date: 2025-04-26 11:43+0100\n"
3737
"Last-Translator: Thomas Dreibholz <[email protected]>\n"
3838
"Language-Team:\n"
@@ -44,91 +44,95 @@ msgstr ""
4444
"X-Language: nb\n"
4545
"X-Source-Language: en_GB\n"
4646

47-
#: src/text-block.c:119
47+
#: src/text-block.c:121
4848
#, c-format
4949
msgid "ERROR: Unable to open output file %s: %s"
5050
msgstr "FEIL: Kan ikke åpne utgangsfil %s: %s"
5151

52-
#: src/text-block.c:146
52+
#: src/text-block.c:148
5353
#, c-format
5454
msgid "ERROR: Unable to write to output file %s: %s"
5555
msgstr "FEIL: Kan ikke skrive til utdata %s: %s"
5656

57-
#: src/text-block.c:182
57+
#: src/text-block.c:184
5858
#, c-format
5959
msgid "ERROR: Unable to read from insert file %s: %s"
6060
msgstr "FEIL: Kan ikke lese for å sette inn fil %s: %s"
6161

62-
#: src/text-block.c:326
62+
#: src/text-block.c:331
6363
msgid "Usage:"
6464
msgstr "Bruk:"
6565

66-
#: src/text-block.c:444
66+
#: src/text-block.c:449
6767
msgid "ERROR: Too few arguments for line selection (--select|-s)!"
6868
msgstr "FEIL: For få argumenter for linjeutvalg (--select|-s)!"
6969

70-
#: src/text-block.c:478
70+
#: src/text-block.c:483
7171
msgid "ERROR: Invalid value for enumeration format (--enumerate-format)!"
7272
msgstr "FEIL: Ugyldig verdi for tallformat (--enumerate-format)!"
7373

74-
#: src/text-block.c:524
74+
#: src/text-block.c:529
7575
msgid "ERROR: Too few arguments for highlight parameters (--highlight-params)!"
7676
msgstr "FEIL: For få argumenter for highlight-parametere (--highlight-params)!"
7777

78-
#: src/text-block.c:536
78+
#: src/text-block.c:541
7979
#, c-format
8080
msgid "ERROR: Invalid argument %s!"
8181
msgstr "FEIL: Ugyldig argument %s!"
8282

83-
#: src/text-block.c:548
83+
#: src/text-block.c:553
8484
msgid "ERROR: Invalid min/max settings (--min-actions/-m/--max-actions/-M)!"
8585
msgstr "FEIL: Ugyldige min/maks-innstillinger (--min-actions/-m/--max-actions/-M)!"
8686

87-
#: src/text-block.c:559
87+
#: src/text-block.c:564
8888
msgid "ERROR: Line selection (--select|-s) and tags (--begin-tag/-b/--end-tag/-e/--tag/-t) are mutually exclusive!"
8989
msgstr "FEIL: Linjeutvalg (--select|-s) og merker (--begin-tag/-b/--end-tag/-e/--tag/-t) er gjensidig utelukkende!"
9090

91-
#: src/text-block.c:571
91+
#: src/text-block.c:576
9292
msgid "WARNING: Begin/end tags (--begin-tag/-b/--end-tag/-e/--tag/-t) have no effect for Cat, Discard, or Enumerate!"
9393
msgstr "ADVARSEL: Begynn-/sluttmerker (--begin-tag/-b/--end-tag/-e/--tag/-t) har ingen effekt ved Cat, Discard og Enumerate!"
9494

95-
#: src/text-block.c:581
95+
#: src/text-block.c:586
9696
msgid "WARNING: Identical begin/end tags (--tag/-t) with excluded tags (--exclude-tags/-x) are not useful for Extract, Remove, or Replace!"
9797
msgstr "ADVARSEL: Identiske begynn-/sluttmerker (--tag/-t) med ekskluderte merker (--exclude-tags/-x) er ikke nyttige ved Extract, Remove og Replace!"
9898

99-
#: src/text-block.c:600
99+
#: src/text-block.c:608
100100
#, c-format
101101
msgid "ERROR: Unable to open input file %s: %s"
102102
msgstr "FEIL: Kan ikke åpne inngangsfil %s: %s"
103103

104-
#: src/text-block.c:621
104+
#: src/text-block.c:629
105105
#, c-format
106106
msgid "WARNING: Line selection range (%lld — %lld) is not useful. Input file too short?"
107107
msgstr "ADVARSEL: Linjeutvalg (%lld — %lld) er ikke nyttig. Input File for kort?"
108108

109-
#: src/text-block.c:628
109+
#: src/text-block.c:636
110110
msgid "ERROR: Select from end of file (negative line number) is only possible with input file!"
111111
msgstr "FEIL: Velg fra slutten av filen (negativ linjenummer) er bare mulig med inndatafil!"
112112

113-
#: src/text-block.c:639
113+
#: src/text-block.c:650
114114
#, c-format
115115
msgid "ERROR: Unable to create output file %s: %s"
116116
msgstr "FEIL: Kan ikke skrive til utgangsfil %s: %s"
117117

118-
#: src/text-block.c:654
118+
#: src/text-block.c:665
119+
msgid "ERROR: Insert from standard input requires an input file!"
120+
msgstr "FEIL: Innsetting fra standardinngang krever en inndatafil!"
121+
122+
#: src/text-block.c:674
119123
#, c-format
120124
msgid "ERROR: Unable to open insert file %s: %s"
121125
msgstr "FEIL: Kan ikke åpne innsettingsfil %s: %s"
122126

123-
#: src/text-block.c:665
127+
#: src/text-block.c:685
124128
msgid "ERROR: No insert file provided!"
125129
msgstr "FEIL: Ingen innsettingsfil oppgitt!"
126130

127-
#: src/text-block.c:826
131+
#: src/text-block.c:846
128132
#, c-format
129133
msgid "ERROR: Read error: %s"
130134
msgstr "FEIL: Lesefeil: %s"
131135

132-
#: src/text-block.c:840
136+
#: src/text-block.c:860
133137
msgid "ERROR: Number of actions outside of set limits (--min-actions/-m/--max-actions/-M)!"
134138
msgstr "FEIL: Antall handlinger utenfor sette grenser (--min-actions/-m/--max-actions/-M)!"

src/text-block.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ int main (int argc, char** argv)
662662
if( (InsertFileName != nullptr) && (strcmp(InsertFileName, "-") == 0) ) {
663663
InsertFileName = nullptr; // Special case: - => stdin
664664
if(InputFile == stdin) {
665-
fputs(gettext("ERROR: Insert from stdin requires an input file!"), stderr);
665+
fputs(gettext("ERROR: Insert from standard input requires an input file!"), stderr);
666666
fputs("\n", stderr);
667667
cleanUp(1);
668668
}

0 commit comments

Comments
 (0)