User forums > Nightly builds

The 17 August 2009 build (5731) is out.

<< < (6/7) > >>

gd_on:
This apply to svn 5811.
The new Start Here page with trash can icons is nice. But for translating some items (in French for me), I think that some strings contains non useful things, for example formatting strings, and two strings are missing.

I propose the following patch :


--- Code: ---Index: main.cpp
===================================================================
--- main.cpp (révision 5811)
+++ main.cpp (copie de travail)
@@ -1932,7 +1932,9 @@
     wxString buf = event.GetString();
     wxString links;
 
-    links << _("<table>\n<tr><td colspan=\"2\"><b>Recent projects</b></td></tr>\n");
+    links << _T("<table>\n<tr><td colspan=\"2\"><b>") ;
+ links << _("Recent projects") ;
+ links << _T("</b></td></tr>\n");
     if (m_pProjectsHistory->GetCount())
     {
         for (int i = 0; i < 9; ++i)
@@ -1948,10 +1950,14 @@
             links << _T("</td></tr>\n");
         }
     }
-    else
-        links << _T("<tr><td style=\"width:2em;\"></td><td>&nbsp;&nbsp;&nbsp;&nbsp;No recent projects</td></tr>\n");
-
-    links << _("</table>\n<table>\n<tr><td colspan=\"2\"><b>Recent files</b></td></tr>\n");
+    else {
+        links << _T("<tr><td style=\"width:2em;\"></td><td>&nbsp;&nbsp;&nbsp;&nbsp;") ;
+ links << _("No recent projects") ;
+ links << _T("</td></tr>\n");
+ }
+    links << _T("</table>\n<table>\n<tr><td colspan=\"2\"><b>") ;
+ links << _("Recent files") ;
+ links << _T("</b></td></tr>\n");
     if (m_pFilesHistory->GetCount())
     {
         for (int i = 0; i < 9; ++i)
@@ -1967,12 +1973,14 @@
             links << _T("</td></tr>\n");
         }
     }
-    else
-        links << _T("<tr><td style=\"width:2em;\"></td><td>&nbsp;&nbsp;&nbsp;&nbsp;No recent files</td></tr>\n");
+    else {
+        links << _T("<tr><td style=\"width:2em;\"></td><td>&nbsp;&nbsp;&nbsp;&nbsp;") ;
+ links << _("No recent files") ;
+ links << _T("</td></tr>\n");
+ }
+    links << _T("</table>\n");
 
-    links << _("</table>\n");
 
-
     // update page
     buf.Replace(_T("CB_VAR_RECENT_FILES_AND_PROJECTS"), links);
  buf.Replace(_T("CB_TXT_NEW_PROJECT"), _("Create a new project"));


--- End code ---

gd_on

Jenna:

--- Quote from: gd_on on September 19, 2009, 11:33:00 am ---This apply to svn 5811.
The new Start Here page with trash can icons is nice. But for translating some items (in French for me), I think that some strings contains non useful things, for example formatting strings, and two strings are missing.

I propose the following patch :

--- End quote ---

Slightly modified (coding-style), but committed as svn r5813.

Sorry for the inconvenience.

gd_on:
Thanks jens.
I hope you caught the very last version of the patch, because I made a small error the first time I sent it (some {} missing!).

gd_on

Jenna:

--- Quote from: gd_on on September 19, 2009, 12:02:41 pm ---Thanks jens.
I hope you caught the very last version of the patch, because I made a small error the first time I sent it (some {} missing!).

gd_on

--- End quote ---
I applied it manually (you forgot the braces for the else-clause if I remember right).

squalyl:
I get a crash with the latest svn revision (5825)
I have a console application project with RHEL 5 and wx 2.8.10

Right click on my project
select build options...
in left column, choose project (debug target is default selected)
click the linker settings tab
click add (a library)
the input box is empty.
choose "..."
click the left icon in the file chooser to get the path input text field
type a directory, e.g. /opt
*crash*

I notice that before the crash, the path autocompletion does not work.
If the completion works, c::b does not crash.
This does not happen every time.

c::b crashes with the following messages:

(codeblocks:13648): Gtk-WARNING **: idle activate multiple times without clearing the folder object first.
Gtk-ERROR **: file gtkfilechooserdefault.c: line 8174 (gtk_file_chooser_default_should_respond): assertion failed: (path != NULL)
aborting...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version