- web: make some things in sample front page translatable.

TODO: make them all translatable.
- manager: compile fix for Linux

svn path=/trunk/boinc/; revision=16207
This commit is contained in:
David Anderson 2008-10-14 21:40:14 +00:00
parent e24e551bd8
commit a4380ee9a6
6 changed files with 56 additions and 40 deletions

View File

@ -8367,6 +8367,22 @@ David 14 Oct 2008
In addition: the client maintains a min_rpc_time which is set based
on request_delay and also by various exponential backoff schemes.
new_rpc_delay now overrides this as well, in the same sense.
client/
cs_scheduler.cpp
work_fetch.cpp
David 14 Oct 2008
- web: make some things in sample front page translatable.
TODO: make them all translatable.
- manager: compile fix for Linux
client/
client_types.h
clientgui/
AsyncRPC.cpp
html/
inc/
translation.inc
user/
sample_index.php

View File

@ -270,6 +270,10 @@ public:
/// earliest time to contact any server of this project (or zero)
double min_rpc_time;
void set_min_rpc_time(double future_time, const char* reason);
/// if nonzero, specifies a time when another scheduler RPC
/// should be done (as requested by server).
/// An RPC could be done sooner than this.
double next_rpc_time;
/// returns true if min_rpc_time > now
bool waiting_until_min_rpc_time();
/// need to fetch and parse the master URL
@ -278,9 +282,6 @@ public:
/// user request, propagate host CPID, time-based, etc.
/// Reasons are enumerated in scheduler_op.h
int sched_rpc_pending;
/// if nonzero, specifies a time when another scheduler RPC
/// should be done (as requested by server)
double next_rpc_time;
/// we need to call request_work_fetch() when a project
/// transitions from being backed off to not.
/// This (slightly misnamed) keeps track of whether this

View File

@ -765,6 +765,7 @@ void CMainDocument::HandleCompletedRPC() {
}
}
#if defined(__WXMSW__) || defined(__WXMAC__)
if (m_bNeedTaskBarRefresh && !m_bWaitingForRPC) {
m_bNeedTaskBarRefresh = false;
CTaskBarIcon* pTaskbar = wxGetApp().GetTaskBarIcon();
@ -774,6 +775,7 @@ void CMainDocument::HandleCompletedRPC() {
pTaskbar->ProcessEvent(event);
}
}
#endif
// CachedMessageUpdate() does not do any RPCs, so it is safe here
if (current_rpc_request.rpcType == RPC_TYPE_ASYNC_WITH_UPDATE_MESSAGE_LIST_AFTER) {

View File

@ -146,6 +146,7 @@ function show_other() {
<li> <a href=\"trac/wiki/AlphaInstructions\">Testing</a>
<li> <a href=\"trac/wiki/WikiMeta\">Documentation</a>
</ul>
<li> <a href=\"trac/wiki/SoftwareDevelopment\">Software development</a>
<li> <a href=\"trac/wiki/SoftwareAddon\">APIs for add-on software</a>
<li> <a href=\"trac/wiki/ProjectPeople\">Personnel and contributors</a>
<li> <a href=\"dev/\">Message boards</a>

View File

@ -273,10 +273,5 @@ for ($i=0; $i<sizeof($client_languages); $i++) {
}
}
// If you include this file, $language_in_use is now set
// to the language actually being used
$language_in_use = $languages_in_use[sizeof($languages_in_use)];
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
?>

View File

@ -63,13 +63,14 @@ function show_nav() {
<li><a href=\"team.php\">Teams</a> - create or join a team
<li><a href=\"cert1.php\">Certificate</a>
<li> <a href=\"apps.php\">".tra("Applications")."</a>
</ul>
<h2>Community</h2>
<h2>".tra("Community")."</h2>
<ul>
<li><a href=\"profile_menu.php\">Profiles</a>
<li><a href=\"profile_menu.php\">".tra("Profiles")."</a>
<li><a href=\"user_search.php\">User search</a>
<li><a href=\"forum_index.php\">Message boards</a>
<li><a href=\"forum_help_desk.php\">Questions and answers</a>
<li><a href=\"forum_index.php\">".tra("Message boards")."</a>
<li><a href=\"forum_help_desk.php\">".tra("Questions and Answers")."</a>
<li><a href=\"stats.php\">Statistics</a>
<li><a href=language_select.php>Languages</a>
</ul>
@ -131,7 +132,7 @@ if (!$stopped) {
if ($profile) {
echo "
<td id=\"uotd\">
<h2>User of the day</h2>
<h2>".tra("User of the day")."</h2>
";
show_uotd($profile);
echo "</td></tr>\n";