After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 103415 - DiagramN.dia instead of Untitled-N.dia (or DrawingN.dia)
DiagramN.dia instead of Untitled-N.dia (or DrawingN.dia)
Status: VERIFIED FIXED
Product: dia
Classification: Other
Component: general
CVS head
Other All
: Normal enhancement
: 0.92
Assigned To: Dia maintainers
Alan Horkan
Depends on:
Blocks:
 
 
Reported: 2003-01-13 20:42 UTC by Alan Horkan
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
gzipped patch (312 bytes, application/octet-stream)
2003-01-13 20:47 UTC, Alan Horkan
Details
gzipped diff (312 bytes, application/octet-stream)
2003-01-22 16:34 UTC, Alan Horkan
Details
gzipped diff of en_GB.po (259 bytes, application/octet-stream)
2003-01-22 16:40 UTC, Alan Horkan
Details

Description Alan Horkan 2003-01-13 20:42:00 UTC
I was thinking that instead of saving documents as Untitled-N.dia Dia could
save them as DrawingN.dia or DiagramN.dia

I think DrawingN is better than DiagramN.  
(Visio uses this naming convention by the way)

I dont see any need to put a hyphen between the word Drawing and the
number, although it does make it a little bit clearer.  

Patch coming in a minute
Comment 1 Alan Horkan 2003-01-13 20:47:09 UTC
Created attachment 13541 [details]
gzipped patch
Comment 2 Alan Horkan 2003-01-13 20:49:38 UTC
I should probably patch the en-GB.po file as well

gonna mail the list now and see if others approve. 

Comment 3 Alan Horkan 2003-01-22 16:27:55 UTC
Lars says to use Diagram rather than Drawing
new patch needed.  
Comment 4 Alan Horkan 2003-01-22 16:34:38 UTC
Created attachment 13753 [details]
gzipped diff
Comment 5 Alan Horkan 2003-01-22 16:40:02 UTC
Created attachment 13754 [details]
gzipped diff of en_GB.po
Comment 6 Alan Horkan 2003-01-22 16:42:10 UTC
Patch to app/commands.c is attached

the string is now Diagram%d.dia

I get the feeling that i am really not supposed to directly edit .po
files, but anyway the patch is attached.  

Comment 7 Alan Horkan 2003-01-22 16:46:37 UTC
tweaked summary
Comment 8 Lars Clausen 2003-01-22 19:44:20 UTC
Let me just do a quick run-through of the commit process, then:

First be satisfied that your change works, or at the very least compiles.
Then do cvs update to be sure to be up to date.
Then add comments in the ChangeLog describing the change.
The ChangeLog comments are much more important than
the cvs commit comments.  In Emacs, ChangeLog comments 
are made with C-x 4 a.
Then do cvs commit ChangeLog <files...>.  Enter a small
appropriate comment.
That's it.

It's a very good idea to keep the commits concentrated on one
change (possibly over several files, though).  If you're fixing two
bugs, commit twice.  You can use cvs diff to see if you have
uncommitted changes lying around.

It may be a good idea to have a separate checkout of Dia
that you don't change anything in, to make sure that the
CVS version works.


Comment 9 Lars Clausen 2003-01-22 19:46:00 UTC
Oh, and don't go into the .po files to change the strings.
If you have translations to do, you may want to talk with
the translators, but don't change the base strings just
because it changed in the program.  It'll be updated
soon enough.
Comment 10 Alan Horkan 2003-04-30 22:47:03 UTC
verified 
using Dia 0.91