Merge pull request #22 from hoijui/master

some misc minor improvements and fixes (two from open issues)
This commit is contained in:
Steven Honeyman 2017-12-17 15:07:21 +00:00 committed by GitHub
commit c10a6cf01d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 57 additions and 26 deletions

22
.gitignore vendored Normal file
View File

@ -0,0 +1,22 @@
/INSTALL
Makefile
Makefile.in
Makefile.in.in
/aclocal.m4
/compile
/config.h
/config.h.in
/config.status
/configure
/data/l3afpad.desktop
/depcomp
/install-sh
/missing
/po/.intltool-merge-cache
/po/POTFILES
/po/*.gmo
/po/stamp-it
/src/.deps/
/src/l3afpad
/stamp-h1

1
README
View File

@ -34,6 +34,7 @@ Simple install procedure:
$ tar xzvf l3afpad-x.x.x.tar.gz # unpack the sources $ tar xzvf l3afpad-x.x.x.tar.gz # unpack the sources
$ cd l3afpad-x.x.x # change to the toplevel directory $ cd l3afpad-x.x.x # change to the toplevel directory
$ ./autogen.sh # generate the `configure' script
$ ./configure # run the `configure' script $ ./configure # run the `configure' script
$ make # build L3afpad $ make # build L3afpad
[ Become root if necessary ] [ Become root if necessary ]

View File

@ -4,14 +4,15 @@
# Sebastian Stach <sebsta@t-online.de>, 2004. # Sebastian Stach <sebsta@t-online.de>, 2004.
# Ruediger Arp <ruediger@gmx.net>, 2004. # Ruediger Arp <ruediger@gmx.net>, 2004.
# Mario Blättermann <mario.blaettermann@t-online.de>, 2009. # Mario Blättermann <mario.blaettermann@t-online.de>, 2009.
# Robin Vobruba <hoijui.quaero@gmail.com>, 2017.
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: l3afpad 0.8.16\n" "Project-Id-Version: l3afpad 0.8.16\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-07-05 17:27+0200\n" "POT-Creation-Date: 2015-07-05 17:27+0200\n"
"PO-Revision-Date: 2009-06-28 13:12+0100\n" "PO-Revision-Date: 2017-12-16 16:44:00+0100\n"
"Last-Translator: Mario Blättermann <mario.blaettermann@t-online.de>\n" "Last-Translator: Robin Vobruba <hoijui.quaero@gmail.com>\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n" "Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
"Language: de\n" "Language: de\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -44,7 +45,7 @@ msgstr "_Neu"
#: ../src/menu.c:40 #: ../src/menu.c:40
msgid "_Open..." msgid "_Open..."
msgstr "Ö_ffnen" msgstr "Ö_ffnen..."
#: ../src/menu.c:41 #: ../src/menu.c:41
msgid "_Save" msgid "_Save"
@ -52,11 +53,11 @@ msgstr "_Speichern"
#: ../src/menu.c:42 #: ../src/menu.c:42
msgid "Save _As..." msgid "Save _As..."
msgstr "Speichern _unter" msgstr "Speichern _unter..."
#: ../src/menu.c:44 #: ../src/menu.c:44
msgid "Sta_tistics..." msgid "Sta_tistics..."
msgstr "" msgstr "Dokumentens_tatistik..."
#: ../src/menu.c:47 #: ../src/menu.c:47
msgid "Print Pre_view" msgid "Print Pre_view"
@ -64,7 +65,7 @@ msgstr "Druck_vorschau"
#: ../src/menu.c:48 #: ../src/menu.c:48
msgid "_Print..." msgid "_Print..."
msgstr "_Drucken" msgstr "_Drucken..."
#: ../src/menu.c:50 #: ../src/menu.c:50
msgid "_Quit" msgid "_Quit"
@ -112,15 +113,15 @@ msgstr "_Rückwärts suchen"
#: ../src/menu.c:61 #: ../src/menu.c:61
msgid "_Replace..." msgid "_Replace..."
msgstr "_Ersetzen" msgstr "_Ersetzen..."
#: ../src/menu.c:62 #: ../src/menu.c:62
msgid "_Jump To..." msgid "_Jump To..."
msgstr "_Gehe zu" msgstr "_Gehe zu..."
#: ../src/menu.c:63 #: ../src/menu.c:63
msgid "_Font..." msgid "_Font..."
msgstr "_Schriftart" msgstr "_Schriftart..."
#: ../src/menu.c:64 #: ../src/menu.c:64
msgid "_About" msgid "_About"
@ -140,18 +141,19 @@ msgstr "_Auto-Einzug"
#: ../src/callback.c:139 #: ../src/callback.c:139
msgid "<b>Statistics</b>" msgid "<b>Statistics</b>"
msgstr "" msgstr "<b>Dokumentenstatistik</b>"
#: ../src/callback.c:330 #: ../src/callback.c:330
msgid "GTK+ based simple text editor" msgid "GTK+ based simple text editor"
msgstr "Einfacher auf GTK+ basierender Texteditor" msgstr "Einfacher, auf GTK+ basierender Texteditor"
#: ../src/callback.c:338 #: ../src/callback.c:338
msgid "translator-credits" msgid "translator-credits"
msgstr "" msgstr ""
"Sebastian Stach <sebsta@t-online.de>\n" "Sebastian Stach <sebsta@t-online.de>\n"
"Ruediger Arp <ruediger@gmx.net>\n" "Ruediger Arp <ruediger@gmx.net>\n"
"Mario Blättermann <mariobl@gnome.org>" "Mario Blättermann <mariobl@gnome.org>\n"
"Robin Vobruba <hoijui.quaero@gmail.com>"
#: ../src/callback.c:349 #: ../src/callback.c:349
msgid "Lɜafpad" msgid "Lɜafpad"
@ -177,11 +179,11 @@ msgstr "Anderer Zeichensatz"
#: ../src/selector.c:155 ../src/selector.c:302 ../src/dialog.c:68 #: ../src/selector.c:155 ../src/selector.c:302 ../src/dialog.c:68
msgid "_Cancel" msgid "_Cancel"
msgstr "" msgstr "_Abbrechen"
#: ../src/selector.c:156 ../src/dialog.c:42 #: ../src/selector.c:156 ../src/dialog.c:42
msgid "_OK" msgid "_OK"
msgstr "" msgstr "_OK"
#: ../src/selector.c:165 #: ../src/selector.c:165
msgid "Code_set:" msgid "Code_set:"
@ -207,16 +209,16 @@ msgstr "Speichern unter"
#: ../src/selector.c:303 #: ../src/selector.c:303
#, fuzzy #, fuzzy
msgid "_Open" msgid "_Open"
msgstr "Öffnen" msgstr "Ö_ffnen"
#: ../src/selector.c:303 #: ../src/selector.c:303
#, fuzzy #, fuzzy
msgid "_Save As" msgid "_Save As"
msgstr "Speichern unter" msgstr "_Speichern unter"
#: ../src/selector.c:312 #: ../src/selector.c:312
msgid "C_haracter Coding:" msgid "C_haracter Coding:"
msgstr "Zeic_henkodierung: " msgstr "Zeic_henkodierung:"
#: ../src/selector.c:369 #: ../src/selector.c:369
#, c-format #, c-format
@ -249,6 +251,11 @@ msgid ""
"<u>Selection</u>\n" "<u>Selection</u>\n"
"Chars: %7d Words: %6d Lines: %5d\n" "Chars: %7d Words: %6d Lines: %5d\n"
msgstr "" msgstr ""
"<u>Gesammt</u>\n"
"Zeichen: %7d Wörter: %6d Zeilen: %5d\n"
"\n"
"<u>Auswahl</u>\n"
"Zeichen: %7d Wörter: %6d Zeilen: %5d\n"
#: ../src/search.c:129 #: ../src/search.c:129
msgid "Search string not found" msgid "Search string not found"
@ -261,7 +268,7 @@ msgstr "Ersetzen?"
#: ../src/search.c:245 #: ../src/search.c:245
#, c-format #, c-format
msgid "%d strings replaced" msgid "%d strings replaced"
msgstr "%d Mal gefunden und ersetzt" msgstr "%d Mal ersetzt"
#: ../src/search.c:308 #: ../src/search.c:308
msgid "Replace" msgid "Replace"
@ -281,11 +288,11 @@ msgstr "_Ersetzen durch: "
#: ../src/search.c:396 ../src/search.c:410 #: ../src/search.c:396 ../src/search.c:410
msgid "_Match case" msgid "_Match case"
msgstr "_Groß-/Kleinschreibung berücksichtigen" msgstr "_Groß-/Kleinschreibung beachten"
#: ../src/search.c:402 #: ../src/search.c:402
msgid "Replace _all at once" msgid "Replace _all at once"
msgstr "_Alles ersetzen" msgstr "_Alle ersetzen"
#: ../src/search.c:469 #: ../src/search.c:469
msgid "Jump To" msgid "Jump To"
@ -297,15 +304,15 @@ msgstr "_Gehe zu"
#: ../src/search.c:481 #: ../src/search.c:481
msgid "_Line number:" msgid "_Line number:"
msgstr "Zeilen_nummer: " msgstr "Zeilen_nummer:"
#: ../src/dialog.c:67 #: ../src/dialog.c:67
msgid "_No" msgid "_No"
msgstr "" msgstr "_Nein"
#: ../src/dialog.c:69 #: ../src/dialog.c:69
msgid "_Yes" msgid "_Yes"
msgstr "" msgstr "_Ja"
#: ../data/l3afpad.desktop.in.h:1 #: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad" msgid "L3afpad"

View File

@ -220,6 +220,7 @@ gint file_save_real(GtkWidget *view, FileInfo *fi)
if (fwrite(cstr, 1, wbytes, fp) != wbytes) { if (fwrite(cstr, 1, wbytes, fp) != wbytes) {
run_dialog_message(gtk_widget_get_toplevel(view), run_dialog_message(gtk_widget_get_toplevel(view),
GTK_MESSAGE_ERROR, _("Can't write file")); GTK_MESSAGE_ERROR, _("Can't write file"));
fclose(fp);
return -1; return -1;
} }

View File

@ -28,9 +28,9 @@ G_BEGIN_DECLS
typedef enum typedef enum
{ {
GTK_SOURCE_SEARCH_VISIBLE_ONLY, GTK_SOURCE_SEARCH_VISIBLE_ONLY = 1,
GTK_SOURCE_SEARCH_TEXT_ONLY, GTK_SOURCE_SEARCH_TEXT_ONLY = 2,
GTK_SOURCE_SEARCH_CASE_INSENSITIVE GTK_SOURCE_SEARCH_CASE_INSENSITIVE = 4
/* Possible future plans: SEARCH_REGEXP */ /* Possible future plans: SEARCH_REGEXP */
} GtkSourceSearchFlags; } GtkSourceSearchFlags;