From 031c8d187b880d25161578f5c31153def2c0ff2e Mon Sep 17 00:00:00 2001 From: David Capello Date: Sun, 28 Feb 2010 22:16:58 -0200 Subject: [PATCH] Changing ASE name to aseprite. --- config.h | 2 +- src/core/check_args.cpp | 11 +++++------ src/dialogs/tips.cpp | 2 +- src/main.cpp | 2 +- src/modules/gui.cpp | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) diff --git a/config.h b/config.h index a4738aeeb..60a4c7bce 100644 --- a/config.h +++ b/config.h @@ -24,7 +24,7 @@ #define _CRT_SECURE_NO_WARNINGS /* general information */ -#define PACKAGE "ASE" +#define PACKAGE "aseprite" #define VERSION "0.8" #define WEBSITE "http://www.aseprite.org/" #define COPYRIGHT "Copyright (C) 2001-2010 David Capello" diff --git a/src/core/check_args.cpp b/src/core/check_args.cpp index eec6d7e90..8cdda9680 100644 --- a/src/core/check_args.cpp +++ b/src/core/check_args.cpp @@ -98,7 +98,7 @@ CheckArgs::CheckArgs(int argc, char* argv[]) else if (strncmp(arg+n, "version", len) == 0) { ase_mode |= MODE_BATCH; - console.printf("ase %s\n", VERSION); + console.printf("%s %s\n", PACKAGE, VERSION); } /* invalid argument */ else { @@ -139,9 +139,8 @@ void CheckArgs::usage(bool show_help) if (show_help) { // copyright console.printf - ("ase %s -- Allegro Sprite Editor, %s\n" - COPYRIGHT "\n\n", - VERSION, _("A tool to create sprites")); + ("%s v%s | animated sprite editor\n%s\n\n", + PACKAGE, VERSION, COPYRIGHT); // usage console.printf @@ -166,8 +165,8 @@ void CheckArgs::usage(bool show_help) /* web-site */ console.printf - ("%s: %s\n\n", - _("Find more information in the ASE's official web site at:"), WEBSITE); + ("Find more information in %s web site: %s\n\n", + PACKAGE, WEBSITE); } /* how to show options */ else { diff --git a/src/dialogs/tips.cpp b/src/dialogs/tips.cpp index 19cbc7907..7b700db23 100644 --- a/src/dialogs/tips.cpp +++ b/src/dialogs/tips.cpp @@ -83,7 +83,7 @@ void dialogs_tips(bool forced) } } - Frame* window = new Frame(false, "Allegro Sprite Editor"); + Frame* window = new Frame(false, PACKAGE " | tips"); vbox = jbox_new(JI_VERTICAL); hbox = jbox_new(JI_HORIZONTAL); box = jbox_new(0); diff --git a/src/main.cpp b/src/main.cpp index b9c988a0e..bf3cb3440 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -29,7 +29,7 @@ // Information for "ident". const char ase_ident[] = - "$ASE: " VERSION " " COPYRIGHT " $\n" + "$" PACKAGE ": " VERSION " " COPYRIGHT " $\n" "$Website: " WEBSITE " $\n"; ////////////////////////////////////////////////////////////////////// diff --git a/src/modules/gui.cpp b/src/modules/gui.cpp index eb0eb9d2b..03d7df044 100644 --- a/src/modules/gui.cpp +++ b/src/modules/gui.cpp @@ -285,7 +285,7 @@ int init_module_gui() gfx_done:; /* window title */ - set_window_title("Allegro Sprite Editor v" VERSION); + set_window_title(PACKAGE " v" VERSION); /* create the default-manager */ manager = jmanager_new();