Pandaemonium

My own little floating island in the Netherworld
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  Log in  

Share | 
 

 SuigintouJ_IDE messages

Go down 
AuthorMessage
Xian Nox
Demon Overlord
avatar

Posts : 290
Join date : 2011-10-05

Persona
Name: Stellmaria
Class: Ranger
Element: Fire

PostSubject: SuigintouJ_IDE messages   Mon Oct 31 2011, 19:58

1. general file handling

cannot open file for reading, cannot load file

[Can't open! *panics*]

cannot open file for writing, cannot save file

[Can't save! *panics*]



2. compiler-related

no file is loaded, cannot compile

[But what should I compile? *confused*]

compiler reports errors

compiler reports no errors

[It compiled. Yays~]



3. interpreter-related

no file is loaded, cannot run

[But what should I run? *confused*]

interpreter reports errors



4. clean-related (clean = delete old compiled files)

clean failed

clean complete




_________________

Suigintou fan. Nah... More like Suigintou-obsessed.

Disturbed0ne's ultimate wisdom:
 
My Projects:
 
Back to top Go down
http://pandaemonium.forumotion.com
jc_gargma
Six-winged Mystic
avatar

Posts : 247
Join date : 2011-10-29
Location : The Netherworld

Persona
Name: Sakura
Class: Caster
Element: Darkness

PostSubject: Re: SuigintouJ_IDE messages   Mon Oct 31 2011, 21:07

Xian Nox wrote:
1. general file handling

cannot open file for reading, cannot load file

[I can't get it to open! *panics*]

cannot open file for writing, cannot save file

[I can't make it save! *panics*]



2. compiler-related

no file is loaded, cannot compile

[But what am I supposed to compile? *confused*]

compiler reports errors

[I can't get these square pegs in the round holes. *frustrated*]

compiler reports no errors

[It compiled. Yays~]



3. interpreter-related

no file is loaded, cannot run

[But what am I supposed to run? *confused*]

interpreter reports errors

[Milk's shelf has furry apron wings? That doesn't sound right...]



4. clean-related (clean = delete old compiled files)

clean failed

[The dustbunnies were ferocious~ I didn't know what to do... *dejected*]

clean complete

[There. Everything is all neat and tidy. *smiles*]


_________________
Mantra of Equilibrium:
 
Back to top Go down
Xian Nox
Demon Overlord
avatar

Posts : 290
Join date : 2011-10-05

Persona
Name: Stellmaria
Class: Ranger
Element: Fire

PostSubject: Re: SuigintouJ_IDE messages   Wed Nov 02 2011, 01:41

Thanks a lot. Those messages will be included in 0.1-6, which is now being prepared.

_________________

Suigintou fan. Nah... More like Suigintou-obsessed.

Disturbed0ne's ultimate wisdom:
 
My Projects:
 
Back to top Go down
http://pandaemonium.forumotion.com
XxGodOfWar2xX

avatar

Posts : 29
Join date : 2011-10-06
Age : 21

Persona
Name: Chris
Class: Paladin
Element: Electricity

PostSubject: Re: SuigintouJ_IDE messages   Sun Nov 13 2011, 19:17

compiler reports no errors(how about)
[Nyaa~ It compiled.]
Back to top Go down
http://psparadise.forumotion.com
Xian Nox
Demon Overlord
avatar

Posts : 290
Join date : 2011-10-05

Persona
Name: Stellmaria
Class: Ranger
Element: Fire

PostSubject: Re: SuigintouJ_IDE messages   Sun Nov 13 2011, 21:58

XxGodOfWar2xX wrote:
compiler reports no errors(how about)
[Nyaa~ It compiled.]
Hmm, yes, it has more nyaa.

_________________

Suigintou fan. Nah... More like Suigintou-obsessed.

Disturbed0ne's ultimate wisdom:
 
My Projects:
 
Back to top Go down
http://pandaemonium.forumotion.com
Xian Nox
Demon Overlord
avatar

Posts : 290
Join date : 2011-10-05

Persona
Name: Stellmaria
Class: Ranger
Element: Fire

PostSubject: Re: SuigintouJ_IDE messages   Fri Nov 18 2011, 13:27

All messages are now added and used (I think). Here are a couple more that came up and need a cutesy translation:

Compiler failed to start
TITLE_COMPILER_FAILED
MESSAGE_COMPILER_FAILED

Title and message text of the window that shows the interpreter output
TITLE_RUN
MESSAGE_RUN

Clean: not all files have been removed

_________________

Suigintou fan. Nah... More like Suigintou-obsessed.

Disturbed0ne's ultimate wisdom:
 
My Projects:
 
Back to top Go down
http://pandaemonium.forumotion.com
jc_gargma
Six-winged Mystic
avatar

Posts : 247
Join date : 2011-10-29
Location : The Netherworld

Persona
Name: Sakura
Class: Caster
Element: Darkness

PostSubject: Re: SuigintouJ_IDE messages   Fri Nov 18 2011, 15:35

Xian Nox wrote:
Compiler failed to start
TITLE_COMPILER_FAILED
[It won't start?]
MESSAGE_COMPILER_FAILED
[Did I forget to install Java JDK? *confused*]

Title and message text of the window that shows the interpreter output
TITLE_RUN
[Taking a walk~ *skips along*]
MESSAGE_RUN
[Down this path I go~ *continues to skip*]

Clean: not all files have been removed
[I did what I could, but there was a stain or two the bleach wouldn't take out... *dejected*]

_________________
Mantra of Equilibrium:
 
Back to top Go down
Xian Nox
Demon Overlord
avatar

Posts : 290
Join date : 2011-10-05

Persona
Name: Stellmaria
Class: Ranger
Element: Fire

PostSubject: Re: SuigintouJ_IDE messages   Mon Nov 21 2011, 13:13

New request. This time it's about the dialog boxes that may pop up after the configuration check on startup.
Code:
TITLE_CONFIG_OK - title for the dialog with a "configuration ok" message
MESSAGE_CONFIG_OK - check passed
TITLE_CONFIG_ERROR - there was an error, one or more of the following; dialog box title
MESSAGE_CONFIG_MISSING - configuration is missing
MESSAGE_CONFIG_JAVA - java interpreter isn't working/missing
MESSAGE_CONFIG_JAVAC - java compiler isn't working/missing/not set
MESSAGE_CONFIG_KAREL - no Karel robot has been found

Now that I think about it, I should put those in a configuration file of their own. Will make modding somewhat easier.

_________________

Suigintou fan. Nah... More like Suigintou-obsessed.

Disturbed0ne's ultimate wisdom:
 
My Projects:
 
Back to top Go down
http://pandaemonium.forumotion.com
Xian Nox
Demon Overlord
avatar

Posts : 290
Join date : 2011-10-05

Persona
Name: Stellmaria
Class: Ranger
Element: Fire

PostSubject: Re: SuigintouJ_IDE messages   Wed Nov 23 2011, 06:48

Since I lost the sources earlier today (including almost all before 0.2-4, but it doesn't matter much, does it?), I have to start from 0.2-8 (latest on repository).
Here are the messages, please take a look and give me a note what you want changed.
Code:
#ifndef MESSAGES_H
#define MESSAGES_H

// messages, by jc_gargma

// Section 1: general file handling
// cannot open file for reading, cannot load file
#define TITLE_OPEN_ERROR    "File open error"
#define MESSAGE_OPEN_ERROR  "I can't get it to open! *panics*"
// cannot open file for writing, cannot save file
#define TITLE_SAVE_ERROR    "File save error"
#define MESSAGE_SAVE_ERROR  "I can't make it save! *panics*"

// Section 2: compiler-related
// no file is loaded, cannot compile
#define TITLE_NO_COMPILE_TARGET    "No compile target"
#define MESSAGE_NO_COMPILE_TARGET  "But what am I supposed to compile? *confused*"
// compiler failed to start
#define TITLE_COMPILER_FAILED      "It won't start?"
#define MESSAGE_COMPILER_FAILED    "Did I forget to install Java JDK? *confused*"
// compiler reports errors
#define TITLE_COMPILE_FAILED        "Compile failed"
#define MESSAGE_COMPILE_FAILED      "I can't get these square pegs in the round holes. *frustrated*"
// compile successful
#define TITLE_COMPILE_SUCCESS      "Compile successful"
#define MESSAGE_COMPILE_SUCCESS    "Nyaa~ It compiled."

// Section 3: interpreter-related
// no file is loaded, cannot run
#define TITLE_NO_RUN_TARGET    "No run target"
#define MESSAGE_NO_RUN_TARGET  "But what am I supposed to run? *confused*"
// interpreter reports errors
#define TITLE_RUN_FAILED        "Run failed"
#define MESSAGE_RUN_FAILED      "Milk's shelf has furry apron wings? That doesn't sound right..."
// interpreter doesn't complain
#define TITLE_RUN              "Taking a walk~ *skips along*"
#define MESSAGE_RUN            "Down this path I go~ *continues to skip*"

// Section 4: clean-related (clean = delete old compiled .class files)
// clean failed
#define TITLE_CLEAN_FAILED      "Clean failed"
#define MESSAGE_CLEAN_FAILED    "The dustbunnies were ferocious~ I didn't know what to do... *dejected*"
// clean complete
#define TITLE_CLEAN_COMPLETE    "Clean complete"
#define MESSAGE_CLEAN_COMPLETE  "There. Everything is all neat and tidy. *smiles*"
// clean incomplete
#define MESSAGE_CLEAN_INCOMPLETE    "I did what I could, but there was a stain or two the bleach wouldn't take out... *dejected*"

// Section 5:
#define TITLE_CONFIG_OK        "title config ok"
#define MESSAGE_CONFIG_OK      "config is ok"
#define TITLE_CONFIG_ERROR      "title config error"
#define MESSAGE_CONFIG_MISSING  "config is missing"
#define MESSAGE_CONFIG_JAVA    "java error"
#define MESSAGE_CONFIG_JAVAC    "javac error"
#define MESSAGE_CONFIG_KAREL    "karel missing"

#endif // MESSAGES_H

EDIT: Found 0.1-1, 0.1-4, 0.1-6 and 0.2-0 alpha 2. Laughing

_________________

Suigintou fan. Nah... More like Suigintou-obsessed.

Disturbed0ne's ultimate wisdom:
 
My Projects:
 
Back to top Go down
http://pandaemonium.forumotion.com
jc_gargma
Six-winged Mystic
avatar

Posts : 247
Join date : 2011-10-29
Location : The Netherworld

Persona
Name: Sakura
Class: Caster
Element: Darkness

PostSubject: Re: SuigintouJ_IDE messages   Sat Nov 26 2011, 16:29

I added a TITLE_CLEAN_INCOMPLETE in Section 4 since there wasn't one.
Code:
#ifndef MESSAGES_H
#define MESSAGES_H

// messages, by jc_gargma

// Section 1: general file handling
// cannot open file for reading, cannot load file
#define TITLE_OPEN_ERROR    "Something is wrong with this file to load!"
#define MESSAGE_OPEN_ERROR  "I can't get it to open! *panics*"
// cannot open file for writing, cannot save file
#define TITLE_SAVE_ERROR    "something is wrong with this file to overwrite!"
#define MESSAGE_SAVE_ERROR  "I can't make it save! *panics*"

// Section 2: compiler-related
// no file is loaded, cannot compile
#define TITLE_NO_COMPILE_TARGET    "There is no compile target?"
#define MESSAGE_NO_COMPILE_TARGET  "But then, what am I supposed to compile? *confused*"
// compiler failed to start
#define TITLE_COMPILER_FAILED      "It won't start?"
#define MESSAGE_COMPILER_FAILED    "Did I forget to install Java JDK? *confused*"
// compiler reports errors
#define TITLE_COMPILE_FAILED        "*sitting in a pile of toy blocks*"
#define MESSAGE_COMPILE_FAILED      "I can't get these square pegs in the round holes. *frustrated*"
// compile successful
#define TITLE_COMPILE_SUCCESS      "Yays~ It compiled."
#define MESSAGE_COMPILE_SUCCESS    "I knew I could do it! *smiles*"

// Section 3: interpreter-related
// no file is loaded, cannot run
#define TITLE_NO_RUN_TARGET    "There is no run target?"
#define MESSAGE_NO_RUN_TARGET  "But then, what am I supposed to run? *confused*"
// interpreter reports errors
#define TITLE_RUN_FAILED        "juumbletranslate says"
#define MESSAGE_RUN_FAILED      "Milk's shelf has furry apron wings? That doesn't sound right..."
// interpreter doesn't complain
#define TITLE_RUN              "Taking a walk~ *skips along*"
#define MESSAGE_RUN            "Down this path I go~ *continues to skip*"

// Section 4: clean-related (clean = delete old compiled .class files)
// clean failed
#define TITLE_CLEAN_FAILED      "That wasn't what I expected at all!"
#define MESSAGE_CLEAN_FAILED    "The dustbunnies were so ferocious~ I, didn't know what to do... *dejected*"
// clean complete
#define TITLE_CLEAN_COMPLETE    "Tada~"
#define MESSAGE_CLEAN_COMPLETE  "Everything is all neat and tidy now. *smiles*"
// clean incomplete
#define TITLE_CLEAN_INCOMPLETE      "I suppose I'm done."
#define MESSAGE_CLEAN_INCOMPLETE    "I did what I could, but there was a stain or two the bleach wouldn't take out... *dejected*"

// Section 5:
#define TITLE_CONFIG_OK        "The configuration is done~"
#define MESSAGE_CONFIG_OK      "Now for all Suigintou, all the time~"
#define TITLE_CONFIG_ERROR      "Something isn't right here..."
#define MESSAGE_CONFIG_MISSING  "Where is the configuration file?"
#define MESSAGE_CONFIG_JAVA    "Where is java located?"
#define MESSAGE_CONFIG_JAVAC    "Where is javac located?"
#define MESSAGE_CONFIG_KAREL    "Where is the karel file located?"

#endif // MESSAGES_H

_________________
Mantra of Equilibrium:
 
Back to top Go down
Xian Nox
Demon Overlord
avatar

Posts : 290
Join date : 2011-10-05

Persona
Name: Stellmaria
Class: Ranger
Element: Fire

PostSubject: Re: SuigintouJ_IDE messages   Sun Nov 27 2011, 01:59

Updated and submitted to repository (v. 0.3-0 pre 2). Thanks for the help.

_________________

Suigintou fan. Nah... More like Suigintou-obsessed.

Disturbed0ne's ultimate wisdom:
 
My Projects:
 
Back to top Go down
http://pandaemonium.forumotion.com
Xian Nox
Demon Overlord
avatar

Posts : 290
Join date : 2011-10-05

Persona
Name: Stellmaria
Class: Ranger
Element: Fire

PostSubject: Re: SuigintouJ_IDE messages   Thu Dec 01 2011, 10:25

More messages~

Code:
// Section 6: Updater messages
#define TITLE_UPDATE_OK        "version.txt received from server successfully"
#define MESSAGE_UP_TO_DATE      "Same version as online, up to date"
#define MESSAGE_OUT_OF_DATE    "Different version, out of date"
#define TITLE_UPDATE_ERROR      "Failed to get version.txt from server"
#define MESSAGE_UPDATE_ERROR    "Update check failed"

_________________

Suigintou fan. Nah... More like Suigintou-obsessed.

Disturbed0ne's ultimate wisdom:
 
My Projects:
 
Back to top Go down
http://pandaemonium.forumotion.com
Xian Nox
Demon Overlord
avatar

Posts : 290
Join date : 2011-10-05

Persona
Name: Stellmaria
Class: Ranger
Element: Fire

PostSubject: Re: SuigintouJ_IDE messages   Mon Dec 19 2011, 00:33

Messages are now loaded from an external xml file. This will make their changing much easier (no need to recompile just to fix a typo for example). And anyway, what I want with this project is maximum ease of modding.
Here are the default messages:
Code:
<messages>

    <author>jc_gargma</author>
    <language>Cute English</language>
    <revision>1</revision>
    <homepage></homepage>
    <comment></comment>

    <file_open_error>
        <title>Something is wrong with this file to load!</title>
        <message>I can't get it to open! *panics*</message>
    </file_open_error>

    <file_save_error>
        <title>Something is wrong with this file to overwrite!</title>
        <message>I can't make it save! *panics*</message>
    </file_save_error>

    <no_compile_target>
        <title>There is no compile target?</title>
        <message>But then, what am I supposed to compile? *confused*</message>
    </no_compile_target>

    <compiler_failed>
        <title>It won't start?</title>
        <message>Did I forget to install Java JDK? *confused*</message>
    </compiler_failed>

    <compile_failed>
        <title>*sitting in a pile of toy blocks*</title>
        <message>I can't get these square pegs in the round holes. *frustrated*</message>
    </compile_failed>

    <compile_success>
        <title>Yays~ It compiled.</title>
        <message>I knew I could do it! *smiles*</message>
    </compile_success>

    <no_run_target>
        <title>There is no run target?</title>
        <message>But then, what am I supposed to run? *confused*</message>
    </no_run_target>

    <run_failed>
        <title>juumbletranslate says</title>
        <message>Milk's shelf has furry apron wings? That doesn't sound right...</message>
    </run_failed>

    <run>
        <title>Taking a walk~ *skips along*</title>
        <message>Down this path I go~ *continues to skip*</message>
    </run>

    <clean_failed>
        <title>That wasn't what I expected at all!</title>
        <message>The dustbunnies were so ferocious~ I, didn't know what to do... *dejected*</message>
    </clean_failed>

    <clean_complete>
        <title>Tada~</title>
        <message>Everything is all neat and tidy now. *smiles*</message>
    </clean_complete>

    <clean_incomplete>
        <title>I suppose I'm done.</title>
        <message>I did what I could, but there was a stain or two the bleach wouldn't take out... *dejected*</message>
    </clean_incomplete>

    <config_ok>
        <title>The configuration is done~</title>
        <message>Now for all Suigintou, all the time~</message>
    </config_ok>

    <config_missing>
        <title>Something isn't right here...</title>
        <message>Where is the configuration file?</message>
    </config_missing>

    <config_java_missing>
        <title>Something isn't right here...</title>
        <message>Where is java located?</message>
    </config_java_missing>

    <config_javac_missing>
        <title>Something isn't right here...</title>
        <message>Where is javac located?</message>
    </config_javac_missing>

    <config_runtime_missing>
        <title>Something isn't right here...</title>
        <message>Where is the karel file located?</message>
    </config_runtime_missing>

    <up_to_date>
        <title>Got version.txt</title>
        <message>Same version</message>
    </up_to_date>

    <out_of_date>
        <title>Got version.txt</title>
        <message>Different version</message>
    </out_of_date>

    <update_error>
        <title>Failed to get version.txt</title>
        <message>Update check failed</message>
    </update_error>

</messages>
These up in the repository as well.

Since I wrote them on Linux, as well as the entire project, the line ending are the Linux ones, so you may have trouble viewing it on Windows with Notepad for example. Use Notepad2 (or something similar) instead, it opens them just fine for me, or Qt Creator. (Hmm, I should make a tutorial on installing and using the latter.)

A note on the structure: pretty much standard-looking xml. Each event gets a tag, with its children tags being title and message, for the title of the window and the message displayed respectively. In the first part is some metadata, which includes the author, revision, language and so on. If you can think of something else to add there, let me know please.

Oh, and one last thing: the last handful of messages need replacing. *looks at jc_gargma* Also, feel free to start your own thread about them, there is a homepage tag anyway, and this thread is more of a general discussion. And also, during the winter holidays I should be able to write my own runtime (meimei), so feel free to remove any karels from the messages.

In a later release, the user interface will have customizable strings too. Wonder if a certain someone will be interested in writing those as well. *wonders if he's giving away too many tasks*

EDIT: The About box message will be coming in here as well. I'll need some more time for 0.3-2, the end of this week is perhaps not the most realistic deadline, but end of next week should be.
The only structural change would be that the metadata will get it's own tag, so it will look something like this:
Code:
    <metadata>
        <author>Xian Nox</author>
        <date>19.12.2011</date>
        <revision>1</revision>
        <language>English</language>
        <content>ui_messages</content>
        <homepage></homepage>
        <comment></commment>
    </metadata>
as from the default-ui_messages.xml file, which will become xian-ui_messages if/after jc_gargma wants to write those as well.

_________________

Suigintou fan. Nah... More like Suigintou-obsessed.

Disturbed0ne's ultimate wisdom:
 
My Projects:
 
Back to top Go down
http://pandaemonium.forumotion.com
Sponsored content




PostSubject: Re: SuigintouJ_IDE messages   

Back to top Go down
 
SuigintouJ_IDE messages
Back to top 
Page 1 of 1
 Similar topics
-
» New Year Text Messages (SMS) for 2010
» How to capture the alert message in Selenium IDE
» Can't get the message from popup
» Can I check the error message displayed or not in Selenium?
» I won the Grand Prize (iPad) THANK YOU ALL!!!

Permissions in this forum:You cannot reply to topics in this forum
Pandaemonium :: Dev :: SuigintouJ-
Jump to: