Yes, it is too late: we need lead time for the translators these days.
(RGui has Chinese, German, Italian and Japanese menus available.)
Best,
Andy
--- R-beta/src/gnuwin32/rui.c 2005-03-06
+++ R-beta-new/src/gnuwin32/rui.c 2005-04-12
@@ -65,7 +65,8 @@
static menuitem msource, mdisplay, mload, msave, mloadhistory,
msavehistory, mpaste, mpastecmds, mcopy, mcopypaste,
mls, mrm, msearch, mhelp, mmanintro, mmanref, mmandata,
- mmanext, mmanlang, mmanadmin, mman0, mapropos,
+ mmanext, mmanlang, mmanadmin, mman0, mapropos,
+ msearchRsite,
mFAQ, mrwFAQ, mpkgl, mpkgm, mpkgi, mpkgil, mpkgu,
mde, mCRAN, mrepos;
static int lmanintro, lmanref, lmandata, lmanlang, lmanext,
@@ -485,6 +486,21 @@
}
}
+static void menusearchRsite(control m)
+{
+ char *s;
+ static char olds[256] = "";
+
+ if (!ConsoleAcceptCmd) return;
+ s = askstring(G_("Search R Site"), olds);
+ if (s && strlen(s)) {
+ snprintf(cmd, 1024, "RSiteSearch(\"%s\")", s);
+ if (strlen(s) > 255) s[255] = '\0';
+ strcpy(olds, s);
+ consolecmd(RConsole, cmd);
+ }
+}
+
static void menuapropos(control m)
{
char *s;
@@ -560,6 +576,7 @@
enable(msearch);
enable(mhelp);
enable(mhelpsearch);
+ enable(msearchRsite);
enable(mapropos);
enable(mpkgl);
enable(mpkgm);
@@ -579,6 +596,7 @@
disable(msearch);
disable(mhelp);
disable(mhelpsearch);
+ disable(msearchRsite);
disable(mapropos);
disable(mpkgl);
disable(mpkgm);
@@ -985,6 +1003,7 @@
MCHECK(mhelpstart = newmenuitem(G_("Html help"), 0,
if (!check_doc_file("doc\\html\\rwin.html"))
MCHECK(mhelpsearch = newmenuitem(G_("Search help..."), 0,
menuhelpsearch));
+ MCHECK(msearchRsite = newmenuitem(G_("Search R Site..."), 0,
menusearchRsite));
MCHECK(newmenuitem("-", 0, NULL));
MCHECK(mapropos = newmenuitem(G_("Apropos..."), 0,
MCHECK(newmenuitem("-", 0, NULL));