Skip to content

Commit

Permalink
Added MSG_VERSION and MSG_COPYRIGHT.
Browse files Browse the repository at this point in the history
  • Loading branch information
salass00 committed Oct 6, 2016
1 parent 0be2d21 commit 6f67034
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions catalogs/SRec.cd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ Screen Recorder
MSG_ABOUT_WINDOW_TITLE (//)
About - %s
;
MSG_VERSION (//)
version
;
MSG_COPYRIGHT (//)
Copyright
;
MSG_OK_GAD (//)
_Ok
;
Expand Down
7 changes: 4 additions & 3 deletions src/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -1190,10 +1190,11 @@ static void gui_about_requester(struct srec_gui *gd) {
GetString(loc, MSG_ABOUT_WINDOW_TITLE), PROGNAME);

IUtility->SNPrintf(body_text, sizeof(body_text),
"%s version %lu.%lu (%s)\n\n"
"Copyright (C) 2016 Fredrik Wikstrom <fredrik@a500.org>\n\n"
"%s %s %lu.%lu (%s)\n\n"
"%s (C) 2016 Fredrik Wikstrom <fredrik@a500.org>\n\n"
"%s",
PROGNAME, VERSION, REVISION, DATE, gpl_license);
PROGNAME, GetString(loc, MSG_VERSION), VERSION, REVISION, DATE,
GetString(loc, MSG_COPYRIGHT), gpl_license);

requester = IIntuition->NewObject(gd->requesterclass, NULL,
REQ_Image, REQIMAGE_INFO,
Expand Down

0 comments on commit 6f67034

Please sign in to comment.