#5 Patch for the NewLocalPage

closed-fixed
nobody
None
5
2007-09-12
2007-03-23
No

Hi all,

first of all please let me say congratulations and thanks for this nice plugin. I was able to easily include it into my project.

The behaviour of closing the editor on the creation of a new properties file (for a new locale), however, caused my editor to reinitialize the resource bundle (delete and rewrite all files) as they come from a server :-)

This is why I had to extend the editor to add a new page and activate the I18nPage (first page) when a new file is created. I've seen that this was a TODO item anyhow, so I hope my changes can be for the benefit of the project and can be included into the codebase. I've attaced a patch for your review.

Best regards
Alex

Discussion

  • Alexander Bieber

    Patch for adding new resource file

     
    Attachments
  • Alexander Bieber

    Logged In: YES
    user_id=945603
    Originator: YES

    Hi all,

    I've attached a second patch (including the changes of the first) that fixes a small bug, that caused the new page not to be the last before the "NewLocalePage" but one to the left.
    Additionally the editor now changes its dirtystate when a file for a new locale is created.

    Best regards
    Alex

    File Added: rbe-patch.txt

     
  • Alexander Bieber

    New patch with bugfix and port to usage of MANIFEST.MF

     
    Attachments
  • Alexander Bieber

    • status: open --> closed-fixed
     
  • Alexander Bieber

    Logged In: YES
    user_id=945603
    Originator: YES

    The patch has been applied.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks